/* =====================================================================
   СК Резидент — premium consulting redesign
   Palette: ink (midnight navy) + brass (muted gold) + warm canvas
   Typography: Cormorant Garamond display + Inter sans
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* color */
  --ink: #0B1426;
  --ink-deep: #060B17;
  --ink-soft: #1A2740;
  --ink-mid: #2A3950;
  --canvas: #FAFAF7;
  --canvas-warm: #F4F1EA;
  --paper: #FFFFFF;
  --brass: #B8945A;
  --brass-deep: #8C6E3F;
  --brass-light: #E8DBC2;
  --brass-ultra: #F6F0E2;
  --royal: #2C4A7C;
  --text: #131826;
  --text-soft: #3D4658;
  --text-muted: #6B7488;
  --border: #E2DDD2;
  --border-soft: #EFEBE0;
  --success: #4A6B47;
  --danger: #8C3A3A;

  /* legacy aliases (для старых селекторов на других страницах) */
  --primary: var(--ink);
  --primary-dark: var(--ink-deep);
  --primary-light: var(--brass-ultra);
  --primary-ultra-light: var(--brass-ultra);
  --accent: var(--brass);
  --accent-light: var(--brass-light);
  --accent-dark: var(--brass-deep);
  --gold: var(--brass);
  --dark: var(--ink);
  --gray-900: var(--text);
  --gray-700: var(--text-soft);
  --gray-500: var(--text-muted);
  --gray-300: var(--border);
  --gray-100: var(--canvas-warm);
  --white: var(--paper);
  --bg-warm: var(--canvas);

  /* shape */
  --radius-sm: 2px;
  --radius: 4px;
  --radius-md: 6px;
  --radius-xl: 8px;

  /* shadow */
  --shadow: 0 1px 2px rgba(11,20,38,.04), 0 1px 1px rgba(11,20,38,.06);
  --shadow-lg: 0 12px 32px rgba(11,20,38,.08), 0 2px 6px rgba(11,20,38,.04);
  --shadow-xl: 0 24px 56px rgba(11,20,38,.14);

  /* motion */
  --transition: 200ms cubic-bezier(.4, 0, .2, 1);
  --transition-slow: 400ms cubic-bezier(.4, 0, .2, 1);
  --ease-lux: cubic-bezier(.22, 1, .36, 1);

  /* type */
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* layout */
  --container: 1240px;
  --container-narrow: 780px;
  --container-prose: 680px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 17px; line-height: 1.65; color: var(--text);
  background: var(--canvas);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.003em;
}

a { color: var(--ink); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brass-deep); }
img { max-width: 100%; height: auto; display: block; }
strong, b { font-weight: 600; color: var(--text); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: var(--container-narrow); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--brass-deep); }
.text-green { color: var(--success); }
.mt-2 { margin-top: 2rem; }

/* ============ TYPOGRAPHY UTILS ============ */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--brass-deep);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ''; display: block; width: 28px; height: 1px; background: var(--brass);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { display: none; }
.eyebrow--center::after, .eyebrow--center::before { display: none; }

/* ============ SCROLL ANIMATIONS ============ */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s var(--ease-lux), transform .6s var(--ease-lux);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px; border-radius: var(--radius);
  font-family: var(--sans); font-weight: 500; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  line-height: 1.4; gap: 10px;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
  letter-spacing: 0.02em;
}
.btn--primary {
  background: var(--ink); color: var(--canvas); border-color: var(--ink);
  position: relative;
}
.btn--primary::after {
  content: ''; position: absolute; left: 32px; right: 32px; bottom: 10px;
  height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition-slow) var(--ease-lux);
}
.btn--primary:hover {
  background: var(--ink-deep); color: var(--canvas); border-color: var(--ink-deep);
  transform: translateY(-1px);
}
.btn--primary:hover::after { transform: scaleX(1); }
.btn--outline {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn--outline:hover {
  background: var(--ink); color: var(--canvas); border-color: var(--ink);
  transform: translateY(-1px);
}
.btn--brass {
  background: transparent; color: var(--brass-deep); border-color: var(--brass);
}
.btn--brass:hover {
  background: var(--brass); color: var(--ink); border-color: var(--brass);
}
.btn--lg { padding: 18px 40px; font-size: 16px; }
.btn--full { width: 100%; }
.btn--glow { /* legacy class, neutralized — no glow in premium */ }

/* dark sections: outline buttons get light borders */
.hero--v2 .btn--outline,
.section--ink .btn--outline,
.cta-block .btn--outline {
  color: var(--brass-light); border-color: rgba(184,148,90,.55);
}
.hero--v2 .btn--outline:hover,
.section--ink .btn--outline:hover,
.cta-block .btn--outline:hover {
  background: var(--brass); color: var(--ink); border-color: var(--brass);
}

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,247,.88); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow var(--transition), background var(--transition);
}
.header--scrolled {
  background: rgba(250,250,247,.96);
  box-shadow: 0 1px 0 var(--border-soft), 0 4px 24px rgba(11,20,38,.04);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; gap: 24px;
}
.header__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.header__logo img, .header__logo svg { height: 38px; width: auto; display: block; }
.header__logo-text {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  color: var(--ink); letter-spacing: 0.01em;
}
.header__nav { display: flex; gap: 4px; align-items: center; }
.nav__link {
  padding: 10px 16px; font-family: var(--sans); font-size: 14px;
  font-weight: 500; color: var(--text-soft); letter-spacing: 0.01em;
  position: relative; transition: color var(--transition);
}
.nav__link::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link--active { color: var(--ink); font-weight: 600; }
.nav__link--active::after { transform: scaleX(1); background: var(--ink); }

.header__actions { display: flex; align-items: center; gap: 20px; }
.header__socials { display: flex; gap: 4px; }
.header__social {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius);
  color: var(--text-muted); transition: all var(--transition);
}
.header__social:hover { color: var(--brass-deep); background: var(--brass-ultra); }
.header__phone {
  font-family: var(--serif); font-size: 18px; font-weight: 500;
  color: var(--ink); white-space: nowrap; letter-spacing: 0.005em;
}
.header__cta { display: none; }
.header__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.header__burger span {
  width: 24px; height: 1.5px; background: var(--ink);
  transition: var(--transition);
}

/* ============ HERO ============ */
.hero, .hero--v2 {
  padding: 96px 0 0;
  background: var(--canvas);
  color: var(--text);
  position: relative; overflow: hidden;
}
.hero--v2::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
}

/* legacy shapes — neutralized */
.hero__bg-shapes { display: none; }
.hero__shape { display: none; }

.hero--v2 .hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 72px; align-items: center; position: relative; z-index: 1;
}

.hero__content { max-width: 580px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0; background: none; color: var(--brass-deep);
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em;
  margin-bottom: 28px;
}
.hero__badge::before {
  content: ''; width: 32px; height: 1px; background: var(--brass);
  animation: none; border-radius: 0; display: block;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 500; line-height: 1.06; color: var(--ink);
  margin-bottom: 28px; letter-spacing: -0.025em;
}
.hero__title .text-gradient {
  background: none; -webkit-text-fill-color: var(--brass-deep);
  color: var(--brass-deep); font-style: italic;
}
.hero__subtitle {
  font-family: var(--sans); font-size: 19px; line-height: 1.55;
  color: var(--text-soft); margin-bottom: 44px; max-width: 540px;
  font-weight: 400;
}
.hero__stats { display: flex; gap: 0; margin-bottom: 44px; border-top: 1px solid var(--border); padding-top: 32px; }
.hero--v2 .hero__stats { border-top-color: var(--border); }
.stat {
  flex: 1; padding: 0 24px 0 0; background: none; border: none;
  box-shadow: none; min-width: 0; position: relative;
}
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--border); }
.stat--glass { background: none; border: none; backdrop-filter: none; padding: 0 24px 0 0; }
.stat--glass + .stat--glass { padding-left: 24px; border-left: 1px solid var(--border); }
.stat__number {
  font-family: var(--serif); font-size: clamp(40px, 4.4vw, 56px);
  font-weight: 400; color: var(--ink); letter-spacing: -0.02em; line-height: 1;
}
.hero--v2 .stat__number { color: var(--ink); }
.stat__label {
  font-family: var(--sans); font-size: 12px; color: var(--text-muted);
  margin-top: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
}
.hero--v2 .stat__label { color: var(--text-muted); }

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero__microcopy {
  width: 100%; font-size: 13px; color: var(--text-muted);
  margin-top: 18px; letter-spacing: 0.01em;
}
.hero--v2 .hero__microcopy { color: var(--text-muted); }

/* hero visual — photo dominant */
.hero__visual {
  position: relative; padding: 0;
  display: flex; flex-direction: column; gap: 0;
}
.hero__photo {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  background: var(--canvas-warm) url('../img/hero-boardroom.webp') center/cover no-repeat;
  border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.hero__photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(11,20,38,.02), rgba(11,20,38,.18));
  pointer-events: none;
}
.hero__photo-frame {
  position: relative;
}
.hero__photo-frame::before {
  content: ''; position: absolute; top: -16px; right: -16px; width: 60%; height: 60%;
  border-top: 1px solid var(--brass); border-right: 1px solid var(--brass);
  pointer-events: none; z-index: 0;
}
.hero__photo-frame::after {
  content: ''; position: absolute; bottom: -16px; left: -16px; width: 60%; height: 60%;
  border-bottom: 1px solid var(--brass); border-left: 1px solid var(--brass);
  pointer-events: none; z-index: 0;
}
.hero__photo-img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block;
  position: relative; z-index: 1;
}

/* legacy cards — neutralized but kept */
.hero__card {
  display: none;
}

/* hero partners — refined */
.hero__partners {
  padding: 56px 0 0; margin-top: 96px; position: relative; z-index: 1;
  border-top: 1px solid var(--border);
}
.hero--v2 .hero__partners { border-top-color: var(--border); }
.hero__partners-label {
  font-family: var(--sans); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--text-muted); margin-bottom: 24px; text-align: center;
}
.hero__partners-logos {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  padding-bottom: 56px;
}
.partner-logo {
  padding: 0; background: none; border: none;
  font-family: var(--serif); font-size: 18px; font-weight: 500;
  color: var(--ink-mid); letter-spacing: 0.02em;
  font-style: italic;
  transition: color var(--transition);
  position: relative;
}
.partner-logo + .partner-logo::before {
  content: ''; position: absolute; left: -24px; top: 50%;
  width: 3px; height: 3px; background: var(--brass); border-radius: 50%;
}
.partner-logo:hover { color: var(--brass-deep); background: none; }

/* ============ TRUST BAR ============ */
.trust-bar, .trust-bar--v2 {
  padding: 56px 0; background: var(--paper);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.trust-bar__items {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item, .trust-item--v2 {
  display: flex; align-items: center; gap: 18px;
  color: var(--text); font-family: var(--sans); font-size: 14px;
  padding: 0 28px;
  position: relative;
}
.trust-item + .trust-item::before,
.trust-item--v2 + .trust-item--v2::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 1px; background: var(--border);
}
.trust-item__icon-wrap, .trust-item__icon {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: none; color: var(--brass-deep); flex-shrink: 0;
  border: 1px solid var(--brass-light); border-radius: var(--radius);
}
.trust-item__number {
  font-family: var(--serif); font-size: 32px; font-weight: 400;
  color: var(--ink); line-height: 1; letter-spacing: -0.02em;
}
.trust-item__label {
  font-family: var(--sans); font-size: 12px; color: var(--text-muted);
  margin-top: 8px; text-transform: uppercase; letter-spacing: 0.1em;
}

/* ============ SECTIONS ============ */
.section { padding: 120px 0; }
.section--tight { padding: 80px 0; }
.section--canvas { background: var(--canvas); }
.section--paper { background: var(--paper); }
.section--warm { background: var(--canvas-warm); }
.section--ink { background: var(--ink); color: var(--canvas); }
.section--ink .section__title { color: var(--canvas); }
.section--ink .section__subtitle { color: rgba(250,250,247,.65); }

.section__title {
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 500; color: var(--ink);
  margin-bottom: 16px; text-align: center;
  letter-spacing: -0.02em; line-height: 1.15;
}
.section__subtitle {
  font-family: var(--sans); font-size: 17px;
  color: var(--text-muted); text-align: center;
  margin: 0 auto 72px; max-width: 640px;
  line-height: 1.6;
}

/* ============ BENEFITS ============ */
.benefits { padding: 120px 0; background: var(--paper); }
.benefits__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid var(--border-soft);
  border-left: 1px solid var(--border-soft);
}
.benefit-card {
  padding: 40px 36px;
  background: var(--paper);
  border-right: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  transition: background var(--transition);
  position: relative;
}
.benefit-card::before { display: none; }
.benefit-card::after {
  content: ''; position: absolute; left: 36px; bottom: 0;
  width: 0; height: 1px; background: var(--brass);
  transition: width var(--transition-slow) var(--ease-lux);
}
.benefit-card:hover {
  background: var(--canvas);
  transform: none; box-shadow: none;
}
.benefit-card:hover::after { width: calc(100% - 72px); }
.benefit-card:hover .benefit-card__title,
.benefit-card:hover .benefit-card__text { color: inherit; }
.benefit-card:hover .benefit-card__icon {
  background: var(--ink) !important; color: var(--brass) !important;
}
.benefit-card__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); margin-bottom: 28px;
  border: 1px solid var(--border);
  background: var(--canvas) !important; color: var(--ink) !important;
  transition: all var(--transition);
}
.benefit-card:nth-child(1) .benefit-card__icon,
.benefit-card:nth-child(2) .benefit-card__icon,
.benefit-card:nth-child(3) .benefit-card__icon,
.benefit-card:nth-child(4) .benefit-card__icon,
.benefit-card:nth-child(5) .benefit-card__icon,
.benefit-card:nth-child(6) .benefit-card__icon {
  background: var(--canvas); color: var(--ink);
}
.benefit-card__title {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  color: var(--ink); margin-bottom: 12px; letter-spacing: -0.01em;
  line-height: 1.25;
}
.benefit-card__text {
  font-family: var(--sans); font-size: 15px;
  color: var(--text-soft); line-height: 1.65;
}
a.benefit-card--link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
a.benefit-card--link:hover { transform: none; box-shadow: none; }
.benefit-card__more {
  margin-top: 20px; font-family: var(--sans); font-size: 13px;
  font-weight: 600; color: var(--brass-deep);
  text-transform: uppercase; letter-spacing: 0.15em;
  display: inline-flex; align-items: center; gap: 8px;
}
.benefit-card__more::after { content: '→'; transition: transform var(--transition); }
.benefit-card:hover .benefit-card__more::after { transform: translateX(4px); }

/* ============ PROCESS ============ */
.process { padding: 120px 0; background: var(--canvas); }
.process__timeline {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px; position: relative; max-width: var(--container); margin: 0 auto;
}
.process__timeline::before {
  content: ''; position: absolute; top: 32px; left: 8%; right: 8%; height: 1px;
  background: var(--brass); z-index: 0;
}
.process__step {
  text-align: center; padding: 0 8px; position: relative; z-index: 1;
}
.process__number {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--canvas); color: var(--ink); border: 1px solid var(--brass);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 26px; font-weight: 400;
  margin: 0 auto 24px; transition: all var(--transition);
  position: relative; box-shadow: none;
}
.process__step:hover .process__number {
  background: var(--ink); color: var(--brass); border-color: var(--ink);
  transform: none; box-shadow: none;
}
.process__step-title {
  font-family: var(--serif); font-size: 18px; font-weight: 500;
  color: var(--ink); margin-bottom: 8px; letter-spacing: -0.005em;
}
.process__step-text {
  font-family: var(--sans); font-size: 13px;
  color: var(--text-muted); line-height: 1.55;
}

/* ============ TAX COMPARE ============ */
.tax-compare { padding: 120px 0; background: var(--paper); }
.tax-table {
  max-width: 760px; margin: 0 auto;
  border: 1px solid var(--border);
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
}
.tax-table__row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; }
.tax-table__header { background: var(--ink); }
.tax-table__header .tax-table__cell {
  color: var(--brass-light); font-family: var(--sans); font-weight: 600;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em;
  padding: 22px 28px;
}
.tax-table__cell {
  padding: 22px 28px; font-family: var(--sans); font-size: 16px;
  border-bottom: 1px solid var(--border-soft); color: var(--text);
}
.tax-table__cell:first-child { color: var(--text-soft); font-size: 15px; }
.tax-table__cell--accent {
  background: var(--canvas-warm);
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  color: var(--ink); letter-spacing: -0.015em;
}
.tax-table__row:last-child .tax-table__cell { border-bottom: none; }
.tax-table__row:not(.tax-table__header):hover .tax-table__cell { background: var(--canvas); }
.tax-table__row:not(.tax-table__header):hover .tax-table__cell--accent { background: var(--brass-ultra); }

/* ============ CTA SECTION ============ */
.cta-section { padding: 0 0 120px; background: var(--paper); }
.cta-block {
  background: var(--ink);
  border-radius: 0; padding: 88px 56px; text-align: center;
  position: relative; overflow: hidden;
  border-top: 1px solid var(--brass);
}
.cta-block::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  border-radius: 0;
  width: auto;
}
.cta-block::after { display: none; }
.cta-block__title {
  font-family: var(--serif); font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 500; color: var(--canvas); margin-bottom: 18px;
  position: relative; z-index: 1; letter-spacing: -0.02em; line-height: 1.15;
}
.cta-block__text {
  font-family: var(--sans); font-size: 17px;
  color: rgba(250,250,247,.7); margin-bottom: 40px;
  position: relative; z-index: 1;
  max-width: 540px; margin-left: auto; margin-right: auto;
  line-height: 1.6;
}
.cta-block .btn--primary {
  background: var(--brass); color: var(--ink); border-color: var(--brass);
  box-shadow: none;
}
.cta-block .btn--primary:hover {
  background: var(--brass-deep); border-color: var(--brass-deep); color: var(--canvas);
}
.cta-block .btn--primary::after { background: var(--ink); }
.cta-block__trust {
  font-size: 12px; color: rgba(250,250,247,.45); margin-top: 24px;
  text-transform: uppercase; letter-spacing: 0.15em;
  position: relative; z-index: 1;
}
/* split CTA */
.cta-block--split {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 72px; text-align: left; align-items: center;
}
.cta-block__left, .cta-block__right { position: relative; z-index: 1; }
.cta-block__list { list-style: none; margin-top: 32px; }
.cta-block__list li {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 15px;
  color: rgba(250,250,247,.8); margin-bottom: 16px;
}
.form__input--dark {
  background: rgba(250,250,247,.04);
  border: 1px solid rgba(184,148,90,.3);
  color: var(--canvas);
  border-radius: var(--radius);
}
.form__input--dark::placeholder { color: rgba(250,250,247,.4); }
.form__input--dark:focus {
  border-color: var(--brass);
  background: rgba(250,250,247,.06);
  box-shadow: 0 0 0 3px rgba(184,148,90,.15);
}
.cta-form .form__label {
  color: rgba(250,250,247,.65);
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 11px; font-weight: 600;
}
.cta-form .btn--primary {
  background: var(--brass); color: var(--ink); border-color: var(--brass);
  margin-top: 8px;
}
.cta-form .btn--primary:hover { background: var(--brass-deep); color: var(--canvas); }

/* ============ BLOG / POSTS ============ */
.blog-section { padding: 80px 0 120px; background: var(--canvas); }
.blog__filters { display: flex; gap: 8px; margin-bottom: 48px; flex-wrap: wrap; }
.blog__filter {
  padding: 10px 22px; border-radius: var(--radius); background: transparent;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.1em;
  transition: all var(--transition); border: 1px solid var(--border);
}
.blog__filter:hover { border-color: var(--brass); color: var(--brass-deep); }
.blog__filter--active {
  background: var(--ink); color: var(--canvas); border-color: var(--ink);
}
.posts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.post-card {
  background: var(--paper); border-radius: 0;
  text-decoration: none; color: inherit;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid transparent;
  padding-top: 28px;
  transition: border-color var(--transition);
}
.post-card:hover { color: inherit; border-bottom-color: var(--brass); transform: none; box-shadow: none; }
.post-card__img {
  height: 220px; background-size: cover; background-position: center;
  background-color: var(--canvas-warm);
  margin-bottom: 24px;
  transition: opacity var(--transition);
  overflow: hidden;
}
.post-card:hover .post-card__img { transform: none; opacity: .92; }
.post-card__body { padding: 0 0 28px; }
.post-card__category {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  color: var(--brass-deep); text-transform: uppercase; letter-spacing: 0.22em;
}
.post-card__title {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  color: var(--ink); margin: 12px 0; line-height: 1.25;
  letter-spacing: -0.01em;
}
.post-card__excerpt {
  font-family: var(--sans); font-size: 15px;
  color: var(--text-soft); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__meta {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 6px; flex-wrap: wrap;
}
.post-card__date, .post-card__read {
  font-family: var(--sans); font-size: 12px; color: var(--text-muted);
  letter-spacing: 0.05em;
}
.post-card__read::before { content: '·'; margin-right: 6px; }
.latest-posts { padding: 120px 0; background: var(--canvas); }

/* ============ BREADCRUMBS ============ */
.breadcrumbs { padding: 24px 0 0; background: var(--canvas); }
.breadcrumbs__list {
  display: flex; flex-wrap: wrap; gap: 6px; list-style: none;
  font-family: var(--sans); font-size: 12px;
  color: var(--text-muted); letter-spacing: 0.08em;
  text-transform: uppercase;
}
.breadcrumbs__list li:not(:last-child)::after { content: '·'; margin-left: 6px; color: var(--brass); }
.breadcrumbs__list a { color: var(--brass-deep); text-decoration: none; }
.breadcrumbs__list a:hover { color: var(--ink); text-decoration: none; }

/* ============ ARTICLE ============ */
.article { padding: 60px 0 96px; background: var(--canvas); }
.article__meta { display: flex; gap: 20px; margin-bottom: 20px; }
.article__category {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  color: var(--brass-deep); text-transform: uppercase; letter-spacing: 0.22em;
}
.article__date {
  font-family: var(--sans); font-size: 12px;
  color: var(--text-muted); letter-spacing: 0.05em;
}
.article__title {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px); font-weight: 500;
  line-height: 1.12; margin-bottom: 40px;
  letter-spacing: -0.025em; color: var(--ink);
}
.article__hero {
  width: 100%; border-radius: var(--radius); margin-bottom: 40px;
}
.related-posts { padding: 100px 0; background: var(--paper); border-top: 1px solid var(--border-soft); }
.prose {
  font-family: var(--sans); font-size: 18px; line-height: 1.75;
  color: var(--text-soft); max-width: var(--container-prose); margin: 0 auto;
}
.prose h2 {
  font-family: var(--serif); font-size: 30px; font-weight: 500;
  color: var(--ink); margin: 56px 0 20px;
  letter-spacing: -0.015em; line-height: 1.25;
}
.prose h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  color: var(--ink); margin: 40px 0 14px; letter-spacing: -0.01em;
}
.prose p { margin-bottom: 20px; }
.prose ul, .prose ol { margin-bottom: 20px; padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose a {
  color: var(--ink); text-decoration: underline;
  text-decoration-color: var(--brass); text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--brass-deep); }
.prose img { border-radius: var(--radius); margin: 32px 0; }
.prose blockquote {
  border-left: 2px solid var(--brass); padding: 8px 0 8px 28px;
  margin: 32px 0; font-family: var(--serif); font-size: 22px;
  color: var(--ink); font-style: italic; line-height: 1.45;
}

/* ============ PAGE HERO ============ */
.page-hero {
  padding: 80px 0 60px; background: var(--canvas);
  border-top: 1px solid var(--brass);
  border-image: none;
}
.page-hero__title {
  font-family: var(--serif); font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 500; color: var(--ink); letter-spacing: -0.025em;
  line-height: 1.12;
}
.page-hero__subtitle {
  font-family: var(--sans); font-size: 18px;
  color: var(--text-soft); margin-top: 16px; line-height: 1.6;
  max-width: 680px;
}
.page-content { padding: 80px 0; }
.page-section { padding: 80px 0; }

/* ============ FAQ ============ */
.faq { padding: 120px 0; background: var(--canvas); }
.faq__list { max-width: 820px; margin: 0 auto; }
.faq__item {
  background: var(--paper); border-radius: 0;
  margin-bottom: 0; overflow: hidden;
  border: 1px solid var(--border-soft);
  border-bottom: none;
  transition: background var(--transition);
}
.faq__item:last-child { border-bottom: 1px solid var(--border-soft); }
.faq__item.active { background: var(--paper); box-shadow: none; }
.faq__question {
  width: 100%; text-align: left; padding: 28px 32px;
  border: none; background: none;
  font-family: var(--serif); font-size: 19px; font-weight: 500;
  color: var(--ink); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  letter-spacing: -0.005em; transition: color var(--transition);
}
.faq__question:hover { color: var(--brass-deep); }
.faq__question::after {
  content: '+'; font-family: var(--sans); font-size: 24px; font-weight: 300;
  color: var(--brass); transition: all var(--transition);
}
.faq__item.active .faq__question::after { content: '−'; color: var(--brass-deep); }
.faq__answer {
  padding: 0 32px; max-height: 0; overflow: hidden;
  transition: all .3s var(--ease-lux);
}
.faq__item.active .faq__answer { padding: 0 32px 28px; max-height: 600px; }
.faq__answer p {
  font-family: var(--sans); font-size: 16px;
  color: var(--text-soft); line-height: 1.7;
}

/* ============ FORMS / MODAL ============ */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; }
.modal.active { display: flex; }
.modal__overlay {
  position: absolute; inset: 0;
  background: rgba(11,20,38,.6); backdrop-filter: blur(4px);
}
.modal__content {
  position: relative; background: var(--paper);
  border-radius: var(--radius); padding: 56px 48px 48px;
  max-width: 480px; width: 90%; z-index: 1;
  box-shadow: var(--shadow-xl);
  border-top: 2px solid var(--brass);
  animation: modal-in .3s var(--ease-lux);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal__close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; font-size: 26px;
  color: var(--text-muted); cursor: pointer;
  transition: color var(--transition);
}
.modal__close:hover { color: var(--ink); }
.modal__title {
  font-family: var(--serif); font-size: 28px; font-weight: 500;
  color: var(--ink); margin-bottom: 10px;
  letter-spacing: -0.015em; line-height: 1.15;
}
.modal__text {
  font-family: var(--sans); font-size: 15px;
  color: var(--text-soft); margin-bottom: 28px;
  line-height: 1.55;
}
.form__label {
  display: block; font-family: var(--sans); font-size: 11px;
  font-weight: 600; color: var(--text-soft);
  margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.15em;
}
.form__input, .form__textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 15px;
  font-family: var(--sans); transition: all var(--transition);
  margin-bottom: 16px; background: var(--paper);
  color: var(--text);
}
.modal .form__label { color: var(--text-soft); }
.form__input:focus, .form__textarea:focus {
  outline: none; border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(184,148,90,.15);
  background: var(--paper);
}
.form__note {
  font-family: var(--sans); font-size: 12px;
  color: var(--text-muted); margin-top: 16px; text-align: center;
  letter-spacing: 0.02em; line-height: 1.55;
}
.form__note a { color: var(--brass-deep); }

/* ============ FOOTER ============ */
.footer {
  padding: 88px 0 0; background: var(--ink); color: rgba(250,250,247,.7);
  border-top: 1px solid var(--brass);
}
.footer__inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer__logo {
  font-family: var(--serif); font-size: 26px; font-weight: 500;
  color: var(--canvas); margin-bottom: 16px;
  letter-spacing: -0.005em;
}
.footer__desc {
  font-family: var(--sans); font-size: 14px;
  line-height: 1.7; color: rgba(250,250,247,.55);
}
.footer__title {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  color: var(--brass); margin-bottom: 20px;
  text-transform: uppercase; letter-spacing: 0.22em;
}
.footer__link {
  display: block; font-family: var(--sans); font-size: 14px;
  color: rgba(250,250,247,.55); margin-bottom: 12px;
  transition: color var(--transition);
}
.footer__link:hover { color: var(--canvas); transform: none; }
.footer__address { font-family: var(--sans); font-size: 14px; line-height: 1.7; color: rgba(250,250,247,.55); }
.footer__messengers { display: flex; gap: 10px; margin-top: 20px; }
.footer__messenger {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius);
  background: transparent; border: 1px solid rgba(250,250,247,.12);
  color: rgba(250,250,247,.55); transition: all var(--transition);
}
.footer__messenger:hover {
  background: var(--brass); color: var(--ink);
  border-color: var(--brass); transform: none;
}
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0; margin-top: 72px;
  border-top: 1px solid rgba(250,250,247,.08);
  font-family: var(--sans); font-size: 12px;
  color: rgba(250,250,247,.4); letter-spacing: 0.04em;
}
.footer__bottom a { color: rgba(250,250,247,.55); }
.footer__bottom a:hover { color: var(--brass); }

/* ============ CONTACTS PAGE ============ */
.contacts-section { padding: 80px 0 120px; background: var(--canvas); }
.contacts-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start;
}
.contact-card {
  display: flex; align-items: flex-start; gap: 18px; padding: 24px 0;
  border-bottom: 1px solid var(--border-soft);
}
.contact-card:last-of-type { border-bottom: none; }
.contact-card__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--brass-light);
  color: var(--brass-deep); flex-shrink: 0;
}
.contact-card__title {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.18em; margin-bottom: 6px;
}
.contact-card__value {
  font-family: var(--serif); font-size: 20px; font-weight: 500;
  color: var(--ink); text-decoration: none; display: block;
  letter-spacing: -0.005em;
}
a.contact-card__value:hover { color: var(--brass-deep); }
.contacts-messengers { padding-top: 32px; }
.contacts-messengers__title {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.18em; margin-bottom: 16px;
}
.contacts-messengers__list { display: flex; gap: 12px; flex-wrap: wrap; }
.contacts-messenger {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: var(--radius);
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  color: var(--canvas); text-decoration: none;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.contacts-messenger:hover { transform: translateY(-1px); color: var(--canvas); }
.contacts-messenger--tg { background: #0088cc; }
.contacts-messenger--tg:hover { background: #006daa; }
.contacts-messenger--wa { background: #25d366; }
.contacts-messenger--wa:hover { background: #1da851; }
.contacts-messenger--max { background: var(--ink); }
.contacts-messenger--max:hover { background: var(--ink-deep); }
.contacts-form-wrap {
  background: var(--paper); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 40px;
  box-shadow: none;
  border-top: 2px solid var(--brass);
}
.contacts-form__title {
  font-family: var(--serif); font-size: 26px; font-weight: 500;
  color: var(--ink); margin-bottom: 10px; letter-spacing: -0.015em;
}
.contacts-form__text {
  font-family: var(--sans); font-size: 15px;
  color: var(--text-soft); margin-bottom: 28px; line-height: 1.55;
}
.form__label--light { color: var(--text-soft); }
.contacts-map { border-top: 1px solid var(--border-soft); }

/* ============ SCROLL TOP ============ */
.scroll-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 99;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: var(--brass); border: 1px solid var(--brass);
  font-size: 18px; cursor: pointer; opacity: 0; visibility: hidden;
  transition: all var(--transition); box-shadow: var(--shadow-lg);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--brass); color: var(--ink); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .header__nav { display: none; }
  .header__burger { display: flex; }
  .header__cta { display: inline-flex; }
  .header__phone { display: none; }
  .header__socials { display: none; }
  .header__nav.active {
    display: flex; flex-direction: column; position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--canvas); padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .hero--v2 .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { order: -1; max-width: 560px; margin: 0 auto; }
  .hero__title { font-size: 44px; }
  .hero__stats { gap: 0; flex-wrap: wrap; }
  .stat { padding: 0 18px 0 0; }
  .stat__number { font-size: 36px; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .posts__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .process__timeline::before { display: none; }
  .cta-block--split { grid-template-columns: 1fr; gap: 48px; }
  .trust-bar__items { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .trust-item + .trust-item::before { display: none; }
  .trust-item--v2 + .trust-item--v2::before { display: none; }
  .contacts-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero, .hero--v2 { padding: 64px 0 0; }
  .hero__title { font-size: 36px; }
  .hero__subtitle { font-size: 17px; }
  .hero__stats { flex-direction: column; gap: 24px; padding-top: 24px; }
  .stat, .stat--glass { padding: 0; }
  .stat + .stat, .stat--glass + .stat--glass { padding-left: 0; border-left: none; padding-top: 24px; border-top: 1px solid var(--border); }
  .stat__number { font-size: 40px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__partners { margin-top: 64px; padding-top: 40px; }
  .hero__partners-logos { gap: 32px; }
  .partner-logo + .partner-logo::before { left: -16px; }
  .section { padding: 72px 0; }
  .section__title { font-size: 28px; }
  .section__subtitle { margin-bottom: 48px; }
  .benefits, .process, .tax-compare, .faq, .latest-posts { padding: 72px 0; }
  .benefits__grid { grid-template-columns: 1fr; border-left: none; border-top: 1px solid var(--border-soft); }
  .benefit-card { border-right: none; padding: 32px 24px; }
  .benefit-card::after { left: 24px; }
  .process__timeline { grid-template-columns: 1fr; gap: 36px; }
  .tax-table__row { grid-template-columns: 1.4fr 1fr 1fr; }
  .tax-table__cell { padding: 16px 14px; font-size: 13px; }
  .tax-table__cell--accent { font-size: 17px; }
  .posts__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer { padding: 64px 0 0; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .article__title { font-size: 28px; }
  .cta-block { padding: 56px 24px; }
  .modal__content { padding: 40px 28px 32px; }
  .trust-bar { padding: 40px 0; }
  .trust-bar__items { grid-template-columns: 1fr; }
  .trust-item + .trust-item { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border-soft); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__shape { animation: none; }
  .post-card__img { transition: none; }
  .modal__content { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
