/* ═══════════════════════════════════════════════════════════
   Центр Права PRECEDENT — styles.css
   Палитра: navy #1F3B57 · gold #B08D57 · white #FFFFFF
            ink #1A1A1A · gray #EEF1F5
   Шрифты: Playfair Display (заголовки) · Manrope (текст)
   Mobile-first
   ═══════════════════════════════════════════════════════════ */

:root {
  --navy: #1F3B57;
  --navy-deep: #16293D;
  --navy-soft: #2A4A69;
  --gold: #B08D57;
  --gold-light: #C9A878;
  --gold-deep: #97753F;
  --white: #FFFFFF;
  --ink: #1A1A1A;
  --ink-soft: #4A5261;
  --gray: #EEF1F5;
  --line: rgba(31, 59, 87, .12);
  --line-gold: rgba(176, 141, 87, .35);
  --wa: #25D366;
  --wa-dark: #1DA851;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --shadow-card: 0 6px 24px rgba(31, 59, 87, .08);
  --shadow-card-hover: 0 16px 40px rgba(31, 59, 87, .16);
  --shadow-gold: 0 8px 24px rgba(176, 141, 87, .35);
  --radius: 14px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ── Reset / base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

img, svg, picture { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

ul { list-style: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.18; }

[hidden] { display: none !important; }

::selection { background: var(--gold); color: var(--white); }

.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ═══════════ КНОПКИ / ССЫЛКИ ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: .02em;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.98); }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  background-origin: border-box;
  color: var(--white);
  box-shadow: var(--shadow-gold);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(176, 141, 87, .5); }

.btn-outline {
  border-color: var(--line-gold);
  color: var(--gold-light);
  background: rgba(176, 141, 87, .07);
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(176, 141, 87, .16);
  transform: translateY(-2px);
}

.btn-wa {
  background: var(--wa);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(37, 211, 102, .35);
}
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-2px); }

.btn-ghost {
  color: var(--ink-soft);
  border-color: var(--line);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

.btn-lg { padding: 16px 34px; font-size: 16px; }

.link-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.link-gold:hover { color: var(--gold); border-color: var(--gold); }

.link-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 14px;
  transition: color .2s;
}
.link-back:hover { color: var(--gold-deep); }

/* ═══════════ HEADER ═══════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(176, 141, 87, .22);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(22, 41, 61, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(10, 20, 32, .4);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-crest img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line-gold);
  background: var(--navy-deep);
  object-fit: cover;
  transition: transform .3s var(--ease);
}
.brand:hover .brand-crest img { transform: rotate(-6deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .12em;
  color: var(--gold-light);
}
.brand-sub {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
}

/* Навигация: мобильное выезжающее меню */
.main-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px 24px 40px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .38s var(--ease), visibility .38s;
  overflow-y: auto;
}
.main-nav.is-open { transform: translateX(0); visibility: visible; }

.main-nav > a {
  color: rgba(255, 255, 255, .88);
  font-size: 20px;
  font-weight: 600;
  font-family: var(--serif);
  padding: 14px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: color .2s, padding-left .25s var(--ease);
}
.main-nav > a:hover { color: var(--gold-light); padding-left: 14px; }

.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .85);
  transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease);
}
.icon-btn.wa:hover {
  background: var(--wa);
  border-color: var(--wa);
  color: var(--white);
  transform: translateY(-2px);
}

.header-cta { display: none; }

/* Бургер */
.burger {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 10px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-light);
  transition: transform .32s var(--ease), opacity .2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 78%);
  color: var(--white);
  padding: 56px 0 64px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-lines {
  position: absolute;
  inset: -20%;
  background:
    repeating-linear-gradient(115deg,
      transparent 0 120px,
      rgba(176, 141, 87, .06) 120px 121px),
    repeating-linear-gradient(25deg,
      transparent 0 180px,
      rgba(255, 255, 255, .025) 180px 181px);
}
.hero-glow {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 141, 87, .22) 0%, transparent 62%);
  filter: blur(10px);
  animation: glowPulse 7s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  from { opacity: .7; transform: scale(1); }
  to   { opacity: 1;  transform: scale(1.12); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.kicker-dark { color: var(--gold-deep); }

.hero h1 {
  font-size: clamp(38px, 8.4vw, 64px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.gold-serif {
  font-family: var(--serif);
  color: var(--gold-light);
  letter-spacing: .05em;
  background: linear-gradient(100deg, var(--gold-light) 15%, #E4C892 50%, var(--gold) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 17px;
  color: rgba(255, 255, 255, .82);
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 12px 32px;
  justify-content: start;
  border-top: 1px solid rgba(176, 141, 87, .25);
  padding-top: 26px;
}
.hero-stats dt {
  font-family: var(--serif);
  font-size: clamp(30px, 6vw, 44px);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.hero-stats dd {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  margin-top: 6px;
  max-width: 110px;
}

/* Герб */
.hero-crest {
  position: relative;
  width: min(72vw, 320px);
  margin-inline: auto;
  aspect-ratio: 1;
  display: none;
}
.hero-crest picture {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
}
.hero-crest picture,
.hero-crest img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 18px 44px rgba(0, 0, 0, .45));
}
.crest-ring {
  position: absolute;
  inset: -7%;
  z-index: 1;
  border-radius: 50%;
  border: 1px dashed rgba(176, 141, 87, .55);
  animation: ringSpin 40s linear infinite;
}

/* Пульсирующие расходящиеся кольца вокруг герба */
.crest-pulse {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(176, 141, 87, .5);
  pointer-events: none;
  opacity: 0;
  transform: scale(.92);
  animation: crestPulse 3.6s cubic-bezier(.22, .61, .36, 1) infinite;
}
.crest-pulse:nth-of-type(2) { animation-delay: 1.2s; }
.crest-pulse:nth-of-type(3) { animation-delay: 2.4s; }
@keyframes crestPulse {
  0%   { transform: scale(.92); opacity: 0; }
  12%  { opacity: .6; }
  70%  { opacity: .1; }
  100% { transform: scale(1.75); opacity: 0; }
}
.crest-ring::before {
  content: "";
  position: absolute;
  inset: 4.5%;
  border-radius: 50%;
  border: 1px solid rgba(176, 141, 87, .28);
}
@keyframes ringSpin { to { transform: rotate(360deg); } }

/* ── Приветствие основателя ── */
.founder-card {
  margin-top: 58px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  background: linear-gradient(145deg, var(--navy-soft) 0%, var(--navy-deep) 90%);
  border: 1px solid rgba(176, 141, 87, .35);
  border-radius: calc(var(--radius) + 6px);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.founder-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.founder-photo {
  width: 100%;
  aspect-ratio: 500 / 625;
  flex-shrink: 0;
  margin-inline: auto;
  border-radius: 12px;
  border: 1.5px dashed var(--line-gold);
  background: rgba(255, 255, 255, .04);
  color: rgba(201, 168, 120, .8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
}
.founder-photo svg { width: 64px; height: 74px; }
.founder-photo picture,
.founder-photo img,
.team-photo picture,
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  border-radius: inherit;
}
.founder-photo:has(img),
.team-photo:has(img) { border-style: solid; }
.founder-photo span {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.4;
}

.founder-greeting {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 4.4vw, 24px);
  line-height: 1.45;
  color: var(--white);
  margin-bottom: 18px;
}
.founder-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-light);
}
.founder-role {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .65);
  margin: 4px 0 16px;
}
.founder-regalia li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 8px;
}
.founder-regalia li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/9px no-repeat;
}

/* ═══════════ СЕКЦИИ ═══════════ */
.section { padding: 74px 0; position: relative; }
.section-white { background: var(--white); }
.section-gray { background: var(--gray); }
.section-navy {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 85%);
  color: var(--white);
  overflow: hidden;
}

.section-title {
  font-size: clamp(28px, 6vw, 42px);
  color: var(--navy);
  margin-bottom: 18px;
  max-width: 760px;
}
.section-title em {
  font-style: italic;
  color: var(--gold-deep);
}
.section-title.light { color: var(--white); }
.section-title.light em { color: var(--gold-light); }

.section-lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 44px;
}

/* ═══════════ О БЮРО — FEATURES ═══════════ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.feature {
  background: var(--gray);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--line-gold);
}
.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(31, 59, 87, .25);
}
.feature-icon svg { width: 30px; height: 30px; }
.feature h3 { font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.feature p { font-size: 14.5px; color: var(--ink-soft); }

/* ═══════════ НАПРАВЛЕНИЯ ═══════════ */
.practice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.practice-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.practice-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.practice-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--line-gold);
}
.practice-card:hover::before { transform: scaleX(1); }

.practice-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.practice-icon svg { width: 32px; height: 32px; }

.practice-card h3 { font-size: 22px; color: var(--navy); margin-bottom: 10px; }
.practice-desc { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 18px; }

.practice-list { margin-bottom: 24px; flex-grow: 1; }
.practice-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 9px;
}
.practice-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(176, 141, 87, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2397753F' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/9px no-repeat;
}

.practice-btn { align-self: flex-start; }
.practice-btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}

/* ═══════════ PRECEDENT MEDIA ═══════════ */
.media-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(560px 420px at 88% 8%, rgba(176, 141, 87, .16) 0%, transparent 68%),
    radial-gradient(480px 400px at 4% 96%, rgba(176, 141, 87, .1) 0%, transparent 66%),
    repeating-linear-gradient(115deg, transparent 0 140px, rgba(255, 255, 255, .022) 140px 141px);
}
.section-navy .container { position: relative; }

.media-slogan {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 4.2vw, 23px);
  color: var(--gold-light);
  max-width: 640px;
  margin-bottom: 46px;
  line-height: 1.5;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 42px;
}
.media-item {
  position: relative;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(176, 141, 87, .22);
  border-radius: var(--radius);
  padding: 30px 24px 26px;
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.media-item:hover {
  transform: translateY(-5px);
  border-color: rgba(176, 141, 87, .55);
  background: rgba(255, 255, 255, .07);
}
.media-num {
  position: absolute;
  top: 6px;
  right: 14px;
  font-family: var(--serif);
  font-size: 74px;
  font-weight: 700;
  line-height: 1;
  color: rgba(176, 141, 87, .18);
  user-select: none;
}
.media-item h3 { font-size: 19px; color: var(--white); margin-bottom: 10px; position: relative; }
.media-item p { font-size: 14.5px; color: rgba(255, 255, 255, .72); position: relative; }

.media-cta { display: flex; justify-content: center; }

/* ═══════════ КОМАНДА ═══════════ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.team-card {
  background: var(--gray);
  border: 1px solid transparent;
  border-radius: calc(var(--radius) + 4px);
  padding: 28px 24px;
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--line-gold);
}
.team-photo {
  position: relative;
  width: 128px;
  height: 148px;
  margin: 0 auto 20px;
  border-radius: 14px;
  border: 1.5px dashed rgba(31, 59, 87, .3);
  background: var(--white);
  color: rgba(31, 59, 87, .45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.team-photo svg { width: 62px; height: 72px; }
.photo-note {
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 2px;
}
.team-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 6px; }
.team-role {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.team-bio { font-size: 14px; color: var(--ink-soft); }

/* ═══════════ КОНТАКТЫ ═══════════ */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.contacts-list { display: flex; flex-direction: column; gap: 12px; }

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 18px;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.contact-row b { color: var(--navy); font-size: 15px; }
a.contact-row:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-card);
  border-color: var(--line-gold);
}
.contact-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-light), var(--gold-deep));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(176, 141, 87, .35);
}

.geo-card {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 90%);
  border: 1px solid rgba(176, 141, 87, .3);
  border-radius: calc(var(--radius) + 4px);
  padding: 34px 28px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.geo-card h3 { font-size: 24px; color: var(--gold-light); margin-bottom: 10px; }
.geo-card > p { font-size: 15px; color: rgba(255, 255, 255, .75); margin-bottom: 20px; }
.geo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
}
.geo-list li {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(176, 141, 87, .45);
  background: rgba(176, 141, 87, .1);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold-light);
}

/* ═══════════ FOOTER ═══════════ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .6);
  padding: 40px 0;
  border-top: 1px solid rgba(176, 141, 87, .2);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-brand { display: flex; flex-direction: column; line-height: 1.15; }
.footer-brand .brand-name { font-size: 22px; }
.footer-note { font-size: 13px; line-height: 1.7; }

/* ═══════════ WHATSAPP FLOAT ═══════════ */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
  transition: transform .25s var(--ease), box-shadow .25s;
  animation: waPulse 2.6s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); animation-play-state: paused; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .4); }
  55%      { box-shadow: 0 10px 28px rgba(37, 211, 102, .45), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ═══════════ REVEAL-АНИМАЦИИ ═══════════ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: 0s;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .12s; }
.reveal.delay-2 { transition-delay: .24s; }
.reveal.delay-3 { transition-delay: .36s; }
.reveal.delay-4 { transition-delay: .48s; }

/* ═══════════ МОДАЛ ═══════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 26, 38, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
  transition: opacity .3s var(--ease);
  overflow-y: auto;
}
.modal-overlay.is-open { opacity: 1; }

.modal {
  position: relative;
  width: 100%;
  min-height: 100%;
  background: var(--white);
  padding: 58px 22px 34px;
  transform: translateY(24px) scale(.98);
  transition: transform .35s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.modal-overlay.is-open .modal { transform: none; }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  color: var(--ink-soft);
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, transform .25s var(--ease);
  z-index: 2;
}
.modal-close:hover { background: var(--navy); color: var(--white); transform: rotate(90deg); }

.modal-screen { animation: screenIn .35s var(--ease); }
@keyframes screenIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.modal-title {
  font-size: clamp(22px, 5vw, 28px);
  color: var(--navy);
  margin-bottom: 22px;
}

/* Пикер направлений */
.picker-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.picker-item {
  position: relative;
  text-align: left;
  background: var(--gray);
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  padding: 18px 48px 18px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  transition: border-color .25s, background .25s, transform .25s var(--ease), box-shadow .25s;
}
.picker-item::after {
  content: "→";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-deep);
  font-weight: 700;
  transition: transform .25s var(--ease);
}
.picker-item:hover {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.picker-item:hover::after { transform: translate(4px, -50%); }

/* Прогресс */
.progress {
  height: 6px;
  border-radius: 999px;
  background: var(--gray);
  overflow: hidden;
  margin-bottom: 8px;
}
.progress-bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-deep));
  transition: width .45s var(--ease);
}
.progress-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 22px;
}

/* Шаги формы */
.form-step { animation: screenIn .3s var(--ease); }
.form-step-title {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 16px;
}

.form-field { margin-bottom: 16px; }
.form-field > label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-field .field-hint {
  display: block;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 7px;
}

#leadForm input[type="text"],
#leadForm input[type="tel"],
#leadForm input[type="number"],
#leadForm select,
#leadForm textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--gray);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 13px 16px;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
#leadForm select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3B57' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
}
#leadForm textarea { min-height: 118px; resize: vertical; }
#leadForm input:focus,
#leadForm select:focus,
#leadForm textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(176, 141, 87, .14);
}
#leadForm .field-invalid {
  border-color: #C0392B !important;
  box-shadow: 0 0 0 4px rgba(192, 57, 43, .12) !important;
}

#leadForm input[type="file"] {
  width: 100%;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--gray);
  border: 1.5px dashed var(--line-gold);
  border-radius: 12px;
  padding: 14px;
}
#leadForm input[type="file"]::file-selector-button {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--white);
  background: var(--navy);
  border: none;
  border-radius: 8px;
  padding: 9px 15px;
  margin-right: 12px;
  cursor: pointer;
}

/* Радио и чекбоксы */
.form-field label.radio-item,
.form-field label.check-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: var(--gray);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 13px 15px;
  margin-bottom: 9px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.radio-item:hover, .check-item:hover { border-color: var(--line-gold); }
.radio-item.field-invalid-box, .check-item.field-invalid-box { border-color: #C0392B; }
.radio-item:has(input:checked), .check-item:has(input:checked) {
  border-color: var(--gold);
  background: rgba(176, 141, 87, .08);
}

/* Кастомные радио/чекбоксы — без нативного «квадрата», ровное выравнивание */
.radio-item input[type="radio"],
.check-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  position: relative;
  background: var(--white);
  border: 2px solid rgba(31, 59, 87, .38);
  cursor: pointer;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.radio-item input[type="radio"] { border-radius: 50%; }
.check-item input[type="checkbox"] { border-radius: 6px; }

.radio-item input[type="radio"]:checked,
.check-item input[type="checkbox"]:checked { border-color: var(--gold-deep); }

.radio-item input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold-deep);
}
.check-item input[type="checkbox"]:checked { background: var(--gold-deep); }
.check-item input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 1.5px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.radio-item input:focus-visible,
.check-item input:focus-visible {
  box-shadow: 0 0 0 3px rgba(176, 141, 87, .3);
}

/* Навигация формы */
.form-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}
.form-nav .btn { flex: 1; }
#prevStep { flex: 0 0 auto; }

.form-error {
  margin-top: 14px;
  padding: 11px 15px;
  border-radius: 10px;
  background: rgba(192, 57, 43, .09);
  border: 1px solid rgba(192, 57, 43, .3);
  color: #A93226;
  font-size: 13.5px;
  font-weight: 600;
}

/* Экран «отправлено» */
.modal-done { text-align: center; padding-top: 16px; }
.done-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(176, 141, 87, .12);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: donePop .5s var(--ease);
}
.done-icon svg { width: 46px; height: 46px; }
@keyframes donePop {
  0% { transform: scale(.4); opacity: 0; }
  70% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
.modal-done p {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 420px;
  margin: 0 auto 26px;
}

/* ═══════════════════════════════════════════════════════════
   ДЕСКТОП
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 760px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .media-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; }
  .picker-grid { grid-template-columns: repeat(2, 1fr); }

  .founder-card {
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 40px 44px;
    gap: 26px;
  }
  .founder-photo { width: 216px; height: 270px; margin-inline: 0; }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .footer-note { text-align: right; }

  /* Модалка становится карточкой */
  .modal-overlay { padding: 32px 20px; }
  .modal {
    max-width: 620px;
    min-height: 0;
    border-radius: 20px;
    padding: 56px 44px 40px;
    box-shadow: 0 40px 90px rgba(10, 20, 32, .5);
    margin: auto;
  }
  .form-nav .btn { flex: 0 0 auto; min-width: 150px; }
  .form-nav { justify-content: flex-end; }
  #prevStep { margin-right: auto; }
}

@media (min-width: 980px) {
  .container { padding-inline: 28px; }

  /* Десктоп-навигация вместо мобильного меню */
  .burger { display: none; }
  .main-nav {
    position: static;
    transform: none;
    visibility: visible;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: none;
    overflow: visible;
  }
  .main-nav > a {
    font-family: var(--sans);
    font-size: 14.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, .82);
    padding: 8px 13px;
    border-bottom: none;
    border-radius: 8px;
    position: relative;
  }
  .main-nav > a::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform .28s var(--ease);
  }
  .main-nav > a:hover { color: var(--gold-light); padding-left: 13px; }
  .main-nav > a:hover::after { transform: scaleX(1); }
  .nav-mobile-actions { display: none; }
  .header-cta { display: inline-flex; padding: 11px 22px; font-size: 14px; }

  .hero { padding: 84px 0 88px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .hero-crest { display: block; width: min(34vw, 380px); }
  .hero-lead { font-size: 18px; }

  .section { padding: 96px 0; }
  .features-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .contacts-grid { grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: start; }
  .geo-card { position: sticky; top: calc(var(--header-h) + 24px); }

  .wa-float { right: 26px; bottom: 26px; }
}

/* ═══════════════════════════════════════════════════════════
   ПРЕМИУМ-АПГРЕЙД: прогресс, hero-parallax, marquee,
   ситуации (cover-action), таймлайн, FAQ, CTA-band
   ═══════════════════════════════════════════════════════════ */

.container-narrow { max-width: 820px; }

/* ── Индикатор прокрутки ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 300;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light), var(--gold));
  box-shadow: 0 0 12px rgba(176, 141, 87, .6);
  transition: width .1s linear;
  pointer-events: none;
}

/* ═══════════ ПРЕЛОАДЕР (печать → зум) ═══════════ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background:
    radial-gradient(circle at 50% 42%, var(--navy) 0%, var(--navy-deep) 68%);
  color: var(--gold-light);
  cursor: pointer;
  overflow: hidden;
  animation: preEnd 2s var(--ease) forwards;
}
.preloader.pre-done { display: none !important; }
body.is-preloading { overflow: hidden; }

.preloader-noise {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  opacity: .5;
  background:
    radial-gradient(520px 420px at 50% 44%, rgba(176, 141, 87, .16) 0%, transparent 66%),
    repeating-linear-gradient(115deg, transparent 0 120px, rgba(176, 141, 87, .05) 120px 121px),
    repeating-linear-gradient(25deg, transparent 0 160px, rgba(255, 255, 255, .02) 160px 161px);
  animation: preNoiseOut 2s var(--ease) forwards;
}

.stamp-wrap {
  position: relative;
  width: min(58vw, 240px);
  height: min(58vw, 240px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stamp {
  width: 100%;
  height: 100%;
  color: var(--gold-light);
  transform-origin: 50% 50%;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .5));
  animation: stampSeq 2s ease-out forwards;
}
.stamp-arc {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.4px;
}

/* Ударная волна при «шлепке» */
.stamp-shock {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  margin: -100px 0 0 -100px;
  border-radius: 50%;
  border: 2px solid rgba(176, 141, 87, .6);
  opacity: 0;
  transform: scale(.4);
  animation: stampShock .7s ease-out .6s forwards;
}
.stamp-shock-2 { animation-delay: .68s; border-color: rgba(176, 141, 87, .35); }

.stamp-caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 4vw, 19px);
  letter-spacing: .16em;
  color: rgba(201, 168, 120, .9);
  text-transform: uppercase;
  opacity: 0;
  animation: stampCap 2s var(--ease) forwards;
}

@keyframes stampSeq {
  0%   { transform: translateY(-64px) rotate(-14deg) scale(1.16); opacity: 0; }
  16%  { opacity: 1; }
  25%  { transform: translateY(0) rotate(0) scale(1); opacity: 1; }
  31%  { transform: translateY(0) rotate(0) scale(.9); }
  40%  { transform: translateY(0) rotate(0) scale(1.03); }
  48%  { transform: translateY(0) rotate(0) scale(1); }
  /* ── непрерывный ускоряющийся зум внутрь: один сегмент 56%→100% ── */
  56%  { transform: translateY(0) rotate(0) scale(1); opacity: 1;
         animation-timing-function: cubic-bezier(.62, .04, .98, .35); }
  100% { transform: translateY(0) rotate(0) scale(24); opacity: 1; }
}
@keyframes stampShock {
  0%   { opacity: .9; transform: scale(.4); }
  100% { opacity: 0; transform: scale(2.5); }
}
@keyframes stampCap {
  0%, 18% { opacity: 0; transform: translateY(8px); }
  32%     { opacity: 1; transform: none; }
  56%     { opacity: 1; }
  70%     { opacity: 0; }
  100%    { opacity: 0; }
}
@keyframes preNoiseOut {
  0%, 74% { opacity: .5; }
  100%    { opacity: 0; }
}
@keyframes preEnd {
  0%, 80% { opacity: 1; visibility: visible; }
  100%    { opacity: 0; visibility: hidden; }
}

/* ── Hero: плавающие блики + parallax ── */
[data-parallax] { will-change: transform; }

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(38px);
  opacity: .55;
  mix-blend-mode: screen;
}
.hero-blob-1 {
  top: 8%;
  left: -6%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(176, 141, 87, .35), transparent 68%);
  animation: blobDrift 14s ease-in-out infinite alternate;
}
.hero-blob-2 {
  bottom: -8%;
  right: 12%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(90, 130, 175, .4), transparent 66%);
  animation: blobDrift 18s ease-in-out infinite alternate-reverse;
}
@keyframes blobDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(26px, -22px) scale(1.14); }
}

.hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 2px solid rgba(176, 141, 87, .5);
  border-radius: 14px;
  display: none;
}
.hero-scroll-hint span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--gold-light);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translateY(12px); }
}

/* Мерцание золотого текста */
.gold-serif {
  background-size: 220% auto;
  animation: goldShimmer 6s ease-in-out infinite;
}
@keyframes goldShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── Бегущая строка ── */
.marquee {
  background: var(--navy-deep);
  border-top: 1px solid rgba(176, 141, 87, .22);
  border-bottom: 1px solid rgba(176, 141, 87, .22);
  overflow: hidden;
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
  will-change: transform;
  animation: marqueeMove 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .82);
}
.marquee-track .dot { color: var(--gold); font-size: 12px; }
@keyframes marqueeMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Секция «Узнаёте ситуацию?» — cover-action ── */
.situation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.situation-card {
  position: relative;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  min-height: 176px;
  overflow: hidden;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s;
  isolation: isolate;
}
.situation-card::after {
  content: "→";
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-deep);
  opacity: .55;
  transition: transform .3s var(--ease), opacity .3s;
  z-index: 1;
}
.situation-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--line-gold);
}
.situation-card:hover::after { opacity: 0; transform: translateX(8px); }

.situation-face {
  padding: 26px 24px;
  transition: transform .4s var(--ease), opacity .35s;
}
.situation-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--gray), #E1E7EF);
  color: var(--navy);
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background .35s, color .35s, transform .35s var(--ease);
}
.situation-icon svg { width: 28px; height: 28px; }
.situation-card:hover .situation-icon {
  background: linear-gradient(145deg, var(--navy), var(--navy-deep));
  color: var(--gold-light);
  transform: rotate(-4deg) scale(1.05);
}
.situation-face h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.situation-face p { font-size: 14px; color: var(--ink-soft); }

.situation-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  transform: translateY(101%);
  transition: transform .42s var(--ease);
}
.situation-cover::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.situation-cover i {
  font-style: normal;
  font-size: 26px;
  transition: transform .3s var(--ease);
}
.situation-card:hover .situation-cover,
.situation-card:focus-visible .situation-cover { transform: translateY(0); }
.situation-card:hover .situation-cover i { transform: translateX(6px); }
.situation-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ── Практики: диагональный блик при наведении ── */
.practice-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: translateX(-160%) skewX(-18deg);
  transition: transform .8s var(--ease);
  pointer-events: none;
}
.practice-card:hover::after { transform: translateX(320%) skewX(-18deg); }
.practice-icon { transition: transform .4s var(--ease); }
.practice-card:hover .practice-icon { transform: translateY(-3px) scale(1.06); }

/* ── Таймлайн «Как работаем» ── */
.timeline {
  position: relative;
  margin-top: 8px;
  padding-left: 8px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: rgba(31, 59, 87, .14);
}
.timeline-step {
  position: relative;
  padding: 0 0 30px 74px;
  min-height: 62px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 24px;
  width: 2px;
  height: 0;
  background: linear-gradient(var(--gold-light), var(--gold-deep));
  transition: height .6s var(--ease);
}
.timeline-step.is-visible::before { height: calc(100% - 24px); }

.timeline-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-deep);
  background: var(--white);
  border: 2px solid var(--line-gold);
  box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease), background .5s, color .5s, border-color .5s, box-shadow .5s;
  z-index: 1;
}
.section-gray .timeline-num { background: var(--gray); }
.timeline-step.is-visible .timeline-num {
  background: linear-gradient(145deg, var(--navy), var(--navy-deep));
  color: var(--gold-light);
  border-color: var(--gold);
  transform: scale(1.06);
  box-shadow: 0 12px 26px rgba(31, 59, 87, .28);
}
.timeline-body {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.timeline-step:hover .timeline-body {
  transform: translateX(5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--line-gold);
}
.timeline-body h3 { font-size: 19px; color: var(--navy); margin-bottom: 7px; }
.timeline-body p { font-size: 14.5px; color: var(--ink-soft); }

/* ── FAQ-аккордеон ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq-item[open] { border-color: var(--line-gold); box-shadow: var(--shadow-card); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-deep); }
.faq-plus {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  background: var(--gold-deep);
  border-radius: 2px;
  transition: transform .3s var(--ease);
}
.faq-plus::before { top: 11px; left: 4px; width: 16px; height: 2px; }
.faq-plus::after { left: 11px; top: 4px; width: 2px; height: 16px; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-item[open] .faq-plus::before { background: var(--gold); }
.faq-answer {
  overflow: hidden;
  will-change: height;
}
.faq-answer p {
  padding: 2px 22px 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ── CTA-band ── */
.cta-band {
  position: relative;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 90%);
  color: var(--white);
  padding: 62px 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(560px 380px at 90% 0%, rgba(176, 141, 87, .2) 0%, transparent 66%),
    radial-gradient(460px 360px at 0% 100%, rgba(176, 141, 87, .12) 0%, transparent 64%),
    repeating-linear-gradient(115deg, transparent 0 130px, rgba(255, 255, 255, .02) 130px 131px);
}
.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.cta-text .section-title { margin-bottom: 12px; }
.cta-lead { font-size: 16px; color: rgba(255, 255, 255, .8); max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── Стаггер для reveal внутри сеток ── */
.reveal.stagger-1 { transition-delay: .08s; }
.reveal.stagger-2 { transition-delay: .16s; }
.reveal.stagger-3 { transition-delay: .24s; }
.reveal.stagger-4 { transition-delay: .32s; }
.reveal.stagger-5 { transition-delay: .40s; }

/* ═══════════ ПЛАНШЕТ / ДЕСКТОП — новые блоки ═══════════ */
@media (min-width: 620px) {
  .situation-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 760px) {
  .hero-scroll-hint { display: block; }
}
@media (min-width: 980px) {
  .situation-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .timeline { padding-left: 0; }
  .cta-inner {
    grid-template-columns: 1.4fr .9fr;
    gap: 44px;
  }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-band { padding: 78px 0; }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .crest-ring, .hero-glow, .wa-float,
  .hero-blob, .marquee-track, .gold-serif, .hero-scroll-hint span { animation: none; }
  .crest-pulse { animation: none; opacity: 0; }
  .hero-scroll-hint { display: none; }
  .preloader { display: none !important; }
  .timeline-step::before { height: calc(100% - 24px); }
  .faq-answer { transition: none; }
}
