/* ============ TOKENS — LIGHT THEME ============ */
:root {
  --bg-0: #f6f2ea;         /* тёплый кремовый — основной фон */
  --bg-1: #ffffff;         /* чистый белый для карточек */
  --bg-2: #efe7d5;         /* песочный акцент */
  --bg-3: #e7dcc3;         /* более насыщенный песок */
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: #ffffff;
  --border: rgba(30, 45, 68, 0.14);
  --border-strong: rgba(181, 143, 82, 0.55);
  --line: rgba(30, 45, 68, 0.10);
  --text: #1a2c46;         /* тёмно-синий текст */
  --text-strong: #0f1d33;
  --muted: #5a6a82;
  --dim: #8593a8;
  --gold: #b58f52;         /* насыщенное золото для читаемости на светлом */
  --gold-2: #8f6d38;
  --gold-soft: #d4b478;
  --sand: #e8d7b3;
  --red: #b8322f;
  --red-soft: rgba(184, 50, 47, 0.10);
  --teal: #2e6a86;
  --success: #2f7a3a;
  --shadow-lg: 0 18px 44px -18px rgba(30,45,68,.28), 0 6px 18px -10px rgba(30,45,68,.16);
  --shadow-sm: 0 4px 14px -6px rgba(30,45,68,.12);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;

  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1100px 620px at 82% -10%, rgba(181, 143, 82, 0.12) 0%, transparent 60%),
    radial-gradient(900px 580px at -10% 15%, rgba(46, 106, 134, 0.08) 0%, transparent 55%),
    var(--bg-0);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0 0 .5rem; letter-spacing: -0.01em; line-height: 1.1; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 .5rem; color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

@media (min-width: 1401px) { .header-inner { max-width: 1400px; gap: 18px; } }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: linear-gradient(180deg, #c9a464, var(--gold-2)); color: #ffffff; box-shadow: 0 10px 24px -10px rgba(143, 109, 56, .45); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(143, 109, 56, .6); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(30, 45, 68, 0.22); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(181, 143, 82, 0.06); }
.btn-sm { padding: 10px 16px; font-size: .85rem; }
.btn-lg { padding: 16px 26px; font-size: 1rem; width: 100%; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(246, 242, 234, 0.85);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; padding: 14px 24px; }
.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--gold-2); }
.logo svg { flex: 0 0 auto; }
.logo-copy { display: grid; gap: 2px; line-height: 1; }
.logo-copy b { color: var(--text-strong); font-size: .98rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.logo-copy small { color: var(--muted); font-size: .58rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; gap: 16px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); font-size: .82rem; font-weight: 600; transition: color .15s; white-space: nowrap; }
.nav a:hover { color: var(--gold-2); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; margin-left: auto; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ============ HERO ============ */
.hero { position: relative; overflow: hidden; padding: 60px 0 0; background: linear-gradient(180deg, #ffffff 0%, var(--bg-0) 100%); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .08; filter: saturate(.9); }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(246,242,234,.98) 0%, rgba(246,242,234,.82) 45%, rgba(246,242,234,.5) 75%, rgba(246,242,234,.88) 100%),
    linear-gradient(180deg, rgba(255,255,255,.3), rgba(246,242,234,.95) 92%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 32px; max-width: 1440px; padding: 40px 24px 80px; align-items: center; }
.hero-copy .eyebrow, .section-head .eyebrow, .apply-copy .eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .18em;
  font-size: .78rem;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.accent { color: var(--gold); }
.pill { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px; font-weight: 700; letter-spacing: .12em; font-size: .8rem; text-transform: uppercase; }
.pill-gold { background: linear-gradient(180deg, #e2c283, var(--gold-2)); color: #1a1206; margin: 12px 0 20px; }

.contact-line { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); max-width: 380px; }
.contact-name { display: block; color: var(--gold-2); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 4px; }
.contact-phone { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.01em; color: var(--text-strong); }
.contact-line.big .contact-phone { font-size: 2.4rem; }

.hero-checks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.hero-checks li { display: flex; align-items: center; gap: 14px; color: var(--text); font-weight: 500; font-size: .95rem; }
.chk {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(181, 143, 82, 0.14); border: 1px solid var(--border-strong);
  position: relative;
}
.chk::after {
  content: ""; position: absolute; left: 6px; top: 3px; width: 6px; height: 11px;
  border: solid var(--gold); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.pay-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbf7ee 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.pay-title { color: var(--gold-2); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin-bottom: 20px; }
.pay-row { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); gap: 24px; align-items: start; }
.pay-sep { width: 1px; background: var(--line); align-self: stretch; }
.pay-region { color: var(--muted); font-size: .77rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; white-space: nowrap; }
.pay-sum { color: var(--gold-2); font-size: clamp(1.85rem, 2.45vw, 2.35rem); line-height: 1.08; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.025em; white-space: nowrap; }
.pay-detail { color: var(--muted); font-size: .82rem; line-height: 1.45; white-space: nowrap; }
.pay-detail + .pay-detail { margin-top: 3px; }
.pay-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.pay-foot span { color: var(--muted); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }
.pay-foot b { color: var(--gold-2); font-weight: 800; }
@media (max-width: 1400px) and (min-width: 981px) {
  .nav { display: none; }
  .burger { display: block; margin-left: 0; }
  .header-inner .btn-primary { margin-left: auto; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 14px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
}

.hero-strip {
  position: relative; z-index: 2;
  background: linear-gradient(180deg, var(--gold-soft) 0%, var(--gold) 100%);
  color: #1a1206;
}
.hero-strip .wrap { padding: 14px 24px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.hero-strip .dot { opacity: .5; }

/* ============ SECTIONS ============ */
.section { padding: 90px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, #ffffff 0%, #fbf7ee 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 780px; margin: 0 auto 50px; text-align: center; }
.section-head h2 { color: var(--text-strong); }
.section-head .lead { color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ============ CARDS ============ */
.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(180deg, #f6ecd7 0%, #ecd9ad 100%);
  color: var(--gold-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(181, 143, 82, 0.25);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { color: var(--text-strong); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .93rem; }

/* ============ AGES ============ */
.age-grid { margin-bottom: 30px; }
.age-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s, box-shadow .2s;
}
.age-card.highlight { border-color: var(--border-strong); background: linear-gradient(180deg, #fbf3e0 0%, #ffffff 100%); }
.age-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.age-num { font-size: 2.6rem; font-weight: 800; color: var(--gold-2); letter-spacing: -0.02em; }
.age-role { font-size: 1.05rem; font-weight: 700; color: var(--text-strong); margin: 6px 0 12px; }
.age-card p { font-size: .9rem; color: var(--muted); }

.req-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.req-list li { color: var(--muted); padding-left: 22px; position: relative; font-size: .93rem; }
.req-list li::before { content: "•"; color: var(--gold-2); position: absolute; left: 4px; font-weight: 700; }

/* ============ DIRECTIONS (light card fallback — poster overrides ниже) ============ */
.dir-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 160px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s;
}
.dir-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.dir-card h3 { color: var(--text-strong); margin-bottom: 10px; }
.dir-card p { font-size: .9rem; color: var(--muted); }

/* ============ STEPS ============ */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  counter-reset: step;
  max-width: 900px;
  margin: 0 auto;
}
.steps li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  align-items: start;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.step-n {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(180deg, #d5b681, var(--gold-2));
  color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
}
.steps b { color: var(--text-strong); display: block; margin-bottom: 4px; }
.steps p { font-size: .93rem; color: var(--muted); }

/* ============ STAGES ============ */
.stage {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.stage-n {
  font-size: 3rem; font-weight: 800; color: rgba(181, 143, 82, 0.32); letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}
.stage h3 { color: var(--text-strong); margin-bottom: 10px; font-size: 1.2rem; }
.stage p { font-size: .95rem; color: var(--muted); }

/* ============ MENTORS ============ */
.mentor-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  box-shadow: var(--shadow-sm);
}
.mentor-card.mentor-card-text { grid-template-columns: minmax(0, 1fr); }
.mentor-card > div { min-width: 0; }
.mentor-avatar { color: var(--gold-2); }
.mentor-avatar svg { width: 64px; height: 64px; }
.mentor-name { font-weight: 800; color: var(--text-strong); font-size: 1.1rem; }
.mentor-role { color: var(--muted); font-size: .85rem; letter-spacing: .05em; margin-bottom: 8px; }
.mentor-phone { display: block; color: var(--gold-2); font-weight: 700; margin: 8px 0; }
.mentor-card p { font-size: .93rem; color: var(--muted); }

/* ============ PAYMENTS ============ */
.pay-blocks { margin-bottom: 22px; }
.pay-block {
  background: linear-gradient(180deg, #ffffff 0%, #fbf3e0 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.pay-block-title { color: var(--muted); text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; margin-bottom: 6px; }
.pay-block-sum { color: var(--gold-2); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.pay-block-list { list-style: none; padding: 0; margin: 0 0 14px; }
.pay-block-list li { color: var(--muted); font-size: .93rem; padding: 4px 0; }
.pay-note { color: var(--dim); font-size: .82rem; letter-spacing: .06em; }

.pay-mini {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}
.mini-label { color: var(--muted); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; margin-bottom: 4px; }
.mini-sum { color: var(--gold-2); font-size: 1.6rem; font-weight: 800; }
.mini-note { color: var(--dim); font-size: .87rem; margin-top: 6px; }

.sub-h { color: var(--text-strong); font-size: 1.35rem; margin: 40px 0 20px; letter-spacing: -0.01em; }

.pay-cards { margin-bottom: 22px; }
.pay-mini-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.pmc-sum { color: var(--gold-2); font-size: 1.55rem; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.01em; }
.pmc-desc { color: var(--text-strong); font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.pmc-note { color: var(--dim); font-size: .85rem; }

.callout {
  background: var(--red-soft);
  border: 1px solid rgba(184, 50, 47, 0.28);
  color: var(--text);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: .93rem;
  margin: 22px 0;
}
.callout b { color: var(--red); }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #ffffff; box-shadow: var(--shadow-sm); }
.pay-table {
  width: 100%; border-collapse: collapse; background: #ffffff;
  font-size: .93rem;
}
.pay-table th, .pay-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); color: var(--text); }
.pay-table th { background: #fbf7ee; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; }
.pay-table td:last-child { color: var(--gold-2); font-weight: 700; white-space: nowrap; }
.pay-table tr:last-child td { border-bottom: 0; }
.pay-table tbody tr:hover { background: #fbf7ee; }

.foot-note { color: var(--dim); font-size: .87rem; margin-top: 14px; }

/* ============ SOURCES LIST ============ */
.src-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.src-list li {
  color: var(--muted); font-size: .93rem;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
}

/* ============ FAQ ============ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color .2s;
  box-shadow: var(--shadow-sm);
}
.faq details[open] { border-color: var(--border-strong); }
.faq details summary {
  min-width: 0;
  overflow-wrap: anywhere;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--text-strong);
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px;
}
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary::after {
  content: "+"; color: var(--gold-2); font-size: 1.6rem; font-weight: 300;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 14px 0 0; font-size: .95rem; }
.faq details summary b { color: var(--gold-2); font-weight: 800; margin-right: 4px; }

/* FAQ tabs */
.faq-tabs {
  max-width: 860px;
  margin: 0 auto 20px;
  display: inline-flex;
  padding: 6px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  gap: 4px;
}
.faq-tabs { display: flex; justify-content: center; width: fit-content; margin-left: auto; margin-right: auto; margin-bottom: 28px; }
.faq-tab {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--muted);
  cursor: pointer;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
  min-height: 44px;
}
.faq-tab:hover { color: var(--text-strong); }
.faq-tab.is-active {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #fff;
  box-shadow: 0 6px 18px -8px rgba(143, 109, 56, 0.45);
}
.faq-tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.faq-group { display: none; }
.faq-group.is-active { display: grid; }
@media (max-width: 560px) {
  .faq-tabs { width: 100%; max-width: none; }
  .faq-tab { flex: 1; min-width: 0; padding: 10px 12px; font-size: 0.85rem; white-space: normal; line-height: 1.4; }
  .faq details summary { display: block; position: relative; padding-right: 32px; }
  .faq details summary::after { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
  .faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
}

/* ============ APPLY ============ */
.apply-section {
  background:
    radial-gradient(700px 400px at 90% 30%, rgba(181, 143, 82, .12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-0) 100%);
  border-top: 1px solid var(--line);
}
.apply-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.apply-copy h2 { color: var(--text-strong); }
.apply-copy .lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; }

/* ============ MORE MENU + INFORMATION PAGES ============ */
.more-menu { position: relative; flex: 0 0 auto; }
.more-menu summary {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none;
  color: var(--text-strong);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.more-menu summary::-webkit-details-marker { display: none; }
.more-menu summary:hover,
.more-menu[open] summary { background: #fbf7ee; border-color: var(--gold); }
.more-menu summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.more-menu summary span {
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
}
.more-menu-popover {
  position: absolute;
  z-index: 150;
  top: calc(100% + 12px);
  right: 0;
  width: 280px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.more-menu-popover a {
  display: block;
  padding: 12px 14px;
  color: var(--text);
  font-size: .88rem;
  font-weight: 650;
  border-radius: 9px;
}
.more-menu-popover a:hover { background: #fbf7ee; color: var(--gold-2); }

.info-page-main {
  min-height: calc(100vh - 260px);
  padding-top: 70px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-0) 100%);
}
.info-page-main .section,
.info-page-main .legal-section { padding-top: 70px; }
.info-page-main .section-head h1 {
  color: var(--text-strong);
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  text-transform: none;
}
.info-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--gold-2);
  font-size: .86rem;
  font-weight: 750;
}
.info-back:hover { color: var(--text-strong); }

.apply-form {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 16px;
}
.apply-form label { display: grid; gap: 6px; }
.apply-form label > span {
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
}
.apply-form input, .apply-form select, .apply-form textarea {
  background: #fbf7ee;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .15s, background .15s;
}
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus { outline: none; border-color: var(--gold); background: #ffffff; }
.apply-form select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23b58f52' d='M6 8L0 0h12z'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; }
.agree { grid-template-columns: auto 1fr; align-items: flex-start; gap: 12px !important; }
.agree input { width: 18px; height: 18px; accent-color: var(--gold-2); margin: 2px 0 0; }
.agree span { text-transform: none !important; letter-spacing: 0 !important; font-size: .85rem !important; color: var(--muted) !important; font-weight: 400 !important; line-height: 1.5; }
.agree a { color: var(--gold-2); border-bottom: 1px dashed rgba(181, 143, 82, .5); }
.agree a:hover { color: var(--text-strong); }
.form-note { color: var(--dim); font-size: .82rem; text-align: center; margin-top: 4px; }
.form-note b { color: var(--gold-2); }
.form-success {
  background: rgba(47, 122, 58, .10);
  border: 1px solid rgba(47, 122, 58, .35);
  color: #1f5527;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  line-height: 1.5;
}
.form-error {
  background: var(--red-soft);
  border: 1px solid rgba(184, 50, 47, .35);
  color: #7a1f1c;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  line-height: 1.5;
}
.form-error a { color: var(--red); border-bottom: 1px dashed rgba(184, 50, 47, .45); }

/* ============ FOOTER ============ */
.footer { background: linear-gradient(180deg, #ffffff 0%, #f0e6cf 100%); border-top: 1px solid var(--line); padding: 50px 0 24px; margin-top: 0; color: var(--text); }
.footer .logo b { color: var(--text-strong); }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 30px; padding: 0 24px 32px;
  border-bottom: 1px solid var(--line);
}
.foot-title { color: var(--gold-2); text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; font-weight: 700; margin-bottom: 12px; }
.foot-link { display: block; color: var(--muted); font-size: .93rem; padding: 4px 0; }
.foot-link:hover { color: var(--gold-2); }
.foot-desc { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.foot-desc.small { font-size: .82rem; color: var(--dim); }
.copyright { padding: 20px 24px 0; color: var(--dim); font-size: .82rem; text-align: center; }

/* ============ ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; padding-bottom: 60px; }
  .apply-wrap { grid-template-columns: 1fr; gap: 30px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #ffffff; flex-direction: column; padding: 20px 24px; gap: 14px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .burger { display: block; }
  .header-inner .btn-primary { display: none; }
  .req-list { grid-template-columns: 1fr; }
  .src-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .hero { padding-top: 30px; }
  .hero-inner { padding: 20px 24px 50px; }
  .pay-card { padding: 22px 18px; }
  .pay-row { grid-template-columns: 1fr; gap: 20px; }
  .pay-sep { display: none; }
  .pay-sum { font-size: 1.7rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 44px 1fr; gap: 14px; padding: 16px; }
  .step-n { width: 36px; height: 36px; font-size: .95rem; }
  .pay-block { padding: 22px; }
  .pay-block-sum { font-size: 2rem; }
  .mentor-card { grid-template-columns: 1fr; }
  .mentor-avatar svg { width: 48px; height: 48px; }
  .contact-phone { font-size: 1.5rem; }
  .contact-line.big .contact-phone { font-size: 1.8rem; }
  .apply-form { padding: 22px; }
  .hero-strip .wrap { font-size: .7rem; padding: 12px 20px; }
}

/* ============================================================
   DIRECTIONS — 5 tabs, макет-стилистика
   ============================================================ */
.directions-section {
  padding: 90px 0 100px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-0) 60%, #ffffff 100%);
}

.dir-picker {
  margin-top: 40px;
}

/* Табы */
.dir-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.dir-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 10px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 126px;
}

.dir-tab:hover {
  color: var(--gold-2);
  background: rgba(181, 143, 82, 0.08);
}

.dir-tab.is-active {
  background: linear-gradient(180deg, #fbf3e0, #f6ecd0);
  border-color: var(--border-strong);
  color: var(--text-strong);
  box-shadow: 0 4px 14px rgba(181, 143, 82, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.dir-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(181, 143, 82, 0.12);
  color: var(--gold-2);
  transition: all 0.25s ease;
}

.dir-tab.is-active .dir-tab-icon {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(181, 143, 82, 0.35);
}

.dir-tab-icon svg { width: 25px; height: 25px; }
.dir-tab-label { display: grid; gap: 5px; width: 100%; }
.dir-tab-label b { color: inherit; font-size: .82rem; letter-spacing: .025em; }
.dir-tab-label small { color: var(--muted); font-size: .62rem; font-weight: 500; line-height: 1.35; }
.dir-tab.is-active .dir-tab-label small { color: var(--gold-2); }

/* Панели */
.dir-panel {
  display: none;
  animation: dir-fade 0.35s ease;
}
.dir-panel.is-active { display: block; }

@keyframes dir-fade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Карточка направления (светлый постер) */
.dir-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background-color: #ffffff;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.dir-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 40%, rgba(255, 255, 255, 0.65) 65%, rgba(255, 255, 255, 0.35) 100%);
  pointer-events: none;
}

.dir-card-inner {
  position: relative;
  padding: 44px 44px 32px;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px 40px;
  min-height: 720px;
}

/* Верх карточки */
.dir-hero { grid-column: 1; }

.dir-hero .dir-eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 700;
  margin-bottom: 12px;
}

.dir-h {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text-strong);
  margin: 0 0 24px;
}

.dir-tag {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.dir-tag-gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(181, 143, 82, 0.4);
}
.dir-tag-red {
  background: linear-gradient(180deg, #d94641, var(--red));
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(184, 50, 47, 0.4);
}

.dir-contact {
  margin: 4px 0 22px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-strong);
  max-width: 340px;
}
.dir-contact-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 4px;
  font-weight: 600;
}
.dir-phone {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-strong);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.dir-phone:hover { color: var(--gold-2); }

.dir-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dir-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-strong);
}
.dir-check-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(181, 143, 82, 0.15);
  border: 1.5px solid var(--gold);
  color: var(--gold-2);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Блок выплат */
.dir-pay {
  grid-column: 1 / -1;
  padding: 24px 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf3e0 100%);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  margin-top: 8px;
  box-shadow: var(--shadow-sm);
}
.dir-pay-title {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-strong);
  font-weight: 700;
  margin-bottom: 20px;
}
.dir-pay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.dir-pay-grid-single {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 40px;
}
.dir-pay-region {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.dir-pay-sum {
  display: block;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--gold-2);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.dir-pay-detail {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.dir-pay-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
}
.dir-pay-foot span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.dir-pay-foot b {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: 0.02em;
}

/* Две колонки */
.dir-cols {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  margin-top: 4px;
}
.dir-col {
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
}
.dir-col:last-child { border-top-color: var(--red); }
.dir-col-title {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 700;
  margin-bottom: 16px;
}
.dir-col-title-red { color: var(--red); }

.dir-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dir-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.5;
}
.dir-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dir-list-gold li::before {
  background: transparent;
  border: 1.5px solid var(--gold);
}
.dir-list-red li::before {
  background: var(--red);
}

/* Согласованная должность */
.dir-badge-gold {
  grid-column: 1 / -1;
  padding: 18px 26px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #ffffff;
  border-radius: 8px;
  margin-top: 4px;
  box-shadow: 0 6px 16px rgba(181, 143, 82, 0.3);
}
.dir-badge-eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.85;
  margin-bottom: 4px;
}
.dir-badge-gold b {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dir-card-foot {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 600;
}

.dir-apply-btn {
  grid-column: 1 / -1;
  justify-self: center;
  width: auto;
  padding: 14px 40px;
  margin-top: 10px;
}

.dir-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding: 22px 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.dir-help p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  max-width: 640px;
}

/* Responsive */
@media (max-width: 1024px) {
  .dir-card-inner { grid-template-columns: 1fr; min-height: 0; gap: 24px; padding: 32px 28px 28px; }
  .dir-card::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.9) 55%, rgba(255, 255, 255, 0.97) 100%);
  }
  .dir-card { background-position: center 15%; }
  .dir-h { font-size: 2rem; }
}

@media (max-width: 780px) {
  .dir-tabs { grid-template-columns: repeat(3, 1fr); }
  .dir-tab { min-height: 112px; font-size: 0.72rem; padding: 12px 6px; }
  .dir-tab-icon { width: 40px; height: 40px; }
  .dir-tab-icon svg { width: 18px; height: 18px; }
  .dir-h { font-size: 1.7rem; }
  .dir-phone { font-size: 1.4rem; }
  .dir-pay-grid { grid-template-columns: 1fr; gap: 20px; }
  .dir-pay-grid-single { grid-template-columns: 1fr; }
  .dir-pay-sum { font-size: 1.7rem; }
  .dir-cols { grid-template-columns: 1fr; }
  .dir-card-foot { justify-content: flex-start; flex-direction: column; gap: 8px; }
  .dir-help { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .dir-tabs { grid-template-columns: repeat(2, 1fr); }
  .dir-card-inner { padding: 24px 20px; }
  .dir-h { font-size: 1.5rem; }
  .dir-pay { padding: 18px 18px; }
  .dir-col { padding: 18px 18px; }
}

/* ============================================================
   LEGAL DISCLAIMER
   ============================================================ */
.legal-section {
  padding: 90px 0 100px;
  background:
    radial-gradient(circle at 20% 0%, rgba(184, 50, 47, 0.08), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #fbf7ee 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.legal-eyebrow { color: var(--red) !important; }

.legal-section .section-head h2 { color: var(--text-strong); }

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  margin-bottom: 32px;
}

.legal-card {
  padding: 26px 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.legal-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.legal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(181, 143, 82, 0.12);
  color: var(--gold-2);
  margin-bottom: 16px;
}

.legal-icon svg { width: 22px; height: 22px; }

.legal-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.3;
  margin: 0 0 10px;
}

.legal-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.legal-notice {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px 26px;
  background: linear-gradient(135deg, rgba(184, 50, 47, 0.10), rgba(184, 50, 47, 0.03));
  border: 1px solid rgba(184, 50, 47, 0.25);
  border-radius: 14px;
}

.legal-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(184, 50, 47, 0.15);
  color: var(--red);
  flex-shrink: 0;
}

.legal-notice-icon svg { width: 22px; height: 22px; }

.legal-notice b {
  display: block;
  color: var(--text-strong);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.legal-notice p {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 900px) {
  .dir-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .dir-tab { min-height: 88px; font-size: 0.78rem; }
  .dir-panel { padding: 24px 20px 20px; }
  .dir-panel-head .dir-title { font-size: 1.4rem; }
  .dir-cols { grid-template-columns: 1fr; gap: 24px; }
  .legal-grid { grid-template-columns: 1fr; }
  .dir-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .dir-tab { padding: 14px 8px; min-height: 78px; }
  .dir-tab-icon { width: 32px; height: 32px; }
  .dir-tab-icon svg { width: 18px; height: 18px; }
  .dir-panel-head { flex-direction: column; align-items: flex-start; }
  .dir-pay-mini > div { min-width: 100px; padding: 8px 12px; }
}

/* Подсветка автозаполненного селекта */
select.is-prefilled {
  animation: prefill-flash 1.4s ease;
}
@keyframes prefill-flash {
  0%   { box-shadow: 0 0 0 0 rgba(212, 180, 120, 0.6); }
  25%  { box-shadow: 0 0 0 6px rgba(212, 180, 120, 0.25); border-color: #d4b478; }
  100% { box-shadow: 0 0 0 0 rgba(212, 180, 120, 0); }
}

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-section .video-wrap {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 32px;
  margin-top: 40px;
}
.video-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}
.video-placeholder {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  background: #ffffff;
  outline: none;
}
.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9) saturate(1.05);
  transition: filter 0.3s ease;
}
.video-placeholder:hover img,
.video-placeholder:focus-visible img { filter: brightness(1) saturate(1.1); }
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 34px rgba(181, 143, 82, 0.5);
  transition: transform 0.25s ease;
}
.video-placeholder:hover .video-play { transform: translate(-50%, -50%) scale(1.06); }
.video-duration {
  position: absolute;
  bottom: 14px;
  right: 14px;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(26, 44, 70, 0.85);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.video-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 8px 4px;
}
.video-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.video-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 0.95rem;
}
.video-list li span {
  font-family: 'Montserrat', monospace;
  font-weight: 700;
  color: var(--gold-2);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.video-note {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid { margin-top: 40px; }
.testimonial {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.testimonial:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 4px; left: 18px;
  font-family: Georgia, serif;
  font-size: 4rem;
  color: rgba(181, 143, 82, 0.28);
  line-height: 1;
}
.testimonial-quote {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  padding-top: 12px;
}
.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  min-height: 86px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.testimonial-meta b {
  color: var(--text-strong);
  font-weight: 700;
  font-size: 0.95rem;
}
.testimonial-meta span {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.testimonials-disclaimer {
  margin-top: 28px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--dim);
  font-style: italic;
}

/* ============================================================
   TRAINING CENTER MAP
   ============================================================ */
.center-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  margin-top: 40px;
  align-items: stretch;
}
.center-info {
  padding: 32px 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.center-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
}
.center-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.center-list li:last-child { border-bottom: none; }
.center-list-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 600;
}
.center-list b {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-strong);
}
.center-list b a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(181, 143, 82, 0.5);
}
.center-list b a:hover { color: var(--gold-2); }
.center-note {
  margin: auto 0 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted);
  padding: 16px 18px;
  background: var(--red-soft);
  border-left: 3px solid var(--red);
  border-radius: 4px;
}
.center-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
  min-height: 400px;
  box-shadow: var(--shadow-sm);
}
.center-map svg { display: block; width: 100%; height: 100%; }

/* ============================================================
   DOCS FAQ
   ============================================================ */
.docs-faq {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.docs-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease;
}
.docs-item[open] { border-color: var(--border-strong); }
.docs-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-strong);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}
.docs-item summary::-webkit-details-marker { display: none; }
.docs-item summary::before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: rgba(181, 143, 82, 0.10);
  position: relative;
  transition: all 0.25s ease;
}
.docs-item summary::after {
  content: "";
  position: absolute;
  left: 32px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--gold-2);
  border-bottom: 2px solid var(--gold-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.docs-item[open] summary::before {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  border-color: var(--gold);
}
.docs-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: #ffffff;
}
.docs-body {
  padding: 0 24px 22px 64px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.docs-body p { margin: 0; }

/* ============================================================
   POLICY PAGE
   ============================================================ */
.policy-body { background: var(--bg-0); }
.policy-main {
  padding: 60px 0 80px;
  min-height: calc(100vh - 200px);
}
.policy-wrap { max-width: 820px; }
.policy-wrap h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-strong);
  margin: 12px 0 8px;
  line-height: 1.15;
}
.policy-meta {
  color: var(--gold-2);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin: 0 0 32px;
}
.policy-wrap h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-2);
  margin: 32px 0 12px;
  letter-spacing: -0.01em;
}
.policy-wrap p, .policy-wrap ul {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 12px;
}
.policy-wrap ul { padding-left: 20px; }
.policy-wrap li { margin-bottom: 6px; }
.policy-wrap a {
  color: var(--gold-2);
  text-decoration: none;
  border-bottom: 1px dashed rgba(181, 143, 82, 0.5);
}
.policy-wrap a:hover { color: var(--text-strong); }
.policy-note {
  margin-top: 40px;
  padding: 18px 22px;
  background: rgba(181, 143, 82, 0.08);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

.legal-table {
  margin: 22px 0 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, .52);
}
.legal-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}
.legal-row + .legal-row { border-top: 1px solid var(--border); }
.legal-row > span { padding: 16px 18px; }
.legal-row > span + span { border-left: 1px solid var(--border); }
.legal-row-head { font-weight: 750; color: var(--text-strong); background: rgba(214, 194, 146, .18); }
.requisites-grid { display: grid; gap: 20px; margin: 28px 0; }
.requisites-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, .58);
  box-shadow: var(--shadow-sm);
}
.requisites-card h2 { margin-top: 0; }
.requisites-list { margin: 0; }
.requisites-list > div {
  display: grid;
  grid-template-columns: minmax(160px, .8fr) minmax(0, 1.4fr);
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--border);
}
.requisites-list dt { color: var(--muted); }
.requisites-list dd { margin: 0; color: var(--text-strong); font-weight: 650; overflow-wrap: anywhere; }

@media (max-width: 640px) {
  .legal-row, .requisites-list > div { grid-template-columns: 1fr; gap: 6px; }
  .legal-row > span + span { border-left: 0; padding-top: 0; }
}
.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.9rem;
}

/* ============================================================
   FORM POLISH
   ============================================================ */
.apply-form .hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}
.apply-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 80px;
}
.apply-form label em {
  color: var(--dim);
  font-style: normal;
  font-weight: 400;
  font-size: 0.85em;
}

/* ============================================================
   Small polish
   ============================================================ */
.section-head .eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(181, 143, 82, 0.10);
  border: 1px solid rgba(181, 143, 82, 0.30);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 14px;
}
.section-head .lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto;
}

/* ============================================================
   Adaptive
   ============================================================ */
@media (max-width: 900px) {
  .video-section .video-wrap { grid-template-columns: 1fr; }
  .center-grid { grid-template-columns: 1fr; }
  .center-map { min-height: 320px; }
  .docs-body { padding-left: 24px; }
  .docs-item summary::after { left: 44px; }
}

@media (max-width: 640px) {
  .testimonial { padding: 22px 20px; }
  .testimonial::before { top: 2px; left: 12px; font-size: 3rem; }
  .video-list li { grid-template-columns: 50px 1fr; }
  .center-info { padding: 22px 20px; }
  .policy-wrap h1 { font-size: 1.7rem; }
  .policy-wrap h2 { font-size: 1.1rem; }
  .docs-item summary { padding: 16px 18px; font-size: 0.95rem; gap: 12px; }
  .docs-item summary::after { left: 40px; }
}

/* ============================================================
   PATH TOGGLE (hero + choose section)
   ============================================================ */
.path-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  margin: 20px 0 24px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}
.path-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.22s ease;
  letter-spacing: 0.01em;
}
.path-btn:hover { color: var(--text-strong); background: rgba(181, 143, 82, 0.08); }
.path-btn.is-active {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #ffffff;
  box-shadow: 0 6px 18px -6px rgba(181, 143, 82, 0.55);
}
.path-btn.is-active:hover { color: #ffffff; }
.path-btn svg { flex-shrink: 0; }

/* ============================================================
   CHOOSE SECTION
   ============================================================ */
.choose-section {
  padding: 80px 0 90px;
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  border-top: 1px solid var(--line);
}
.choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 42px;
}
.choose-card {
  padding: 34px 32px 32px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}
.choose-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
}
.choose-contract::before {
  background: linear-gradient(90deg, #d94a47, var(--red));
}
.choose-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.choose-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.choose-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(181, 143, 82, 0.12), rgba(181, 143, 82, 0.05));
  border: 1px solid rgba(181, 143, 82, 0.30);
  color: var(--gold-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.choose-icon-red {
  background: linear-gradient(180deg, rgba(184, 50, 47, 0.12), rgba(184, 50, 47, 0.04));
  border-color: rgba(184, 50, 47, 0.28);
  color: var(--red);
}
.choose-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 700;
  margin-bottom: 6px;
}
.choose-contract .choose-eyebrow { color: var(--red); }
.choose-head h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-strong);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.choose-desc {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0 0 20px;
}
.choose-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.choose-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
}
.choose-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(181, 143, 82, 0.14);
  border: 1.5px solid var(--gold);
}
.choose-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 5px;
  height: 8px;
  border-right: 2px solid var(--gold-2);
  border-bottom: 2px solid var(--gold-2);
  transform: rotate(45deg);
}
.choose-contract .choose-list li::before {
  background: rgba(184, 50, 47, 0.10);
  border-color: var(--red);
}
.choose-contract .choose-list li::after {
  border-right-color: var(--red);
  border-bottom-color: var(--red);
}
.choose-list-dirs li b {
  color: var(--text-strong);
  font-weight: 700;
}
.choose-cta {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .choose-grid { grid-template-columns: 1fr; gap: 22px; }
  .choose-card { padding: 28px 24px; }
  .path-toggle { width: 100%; justify-content: center; }
  .path-btn { flex: 1 1 auto; justify-content: center; font-size: 0.82rem; padding: 10px 14px; }
}

@media (max-width: 560px) {
  .path-btn span { font-size: 0.8rem; }
  .choose-head { flex-direction: column; gap: 12px; }
  .choose-icon { width: 52px; height: 52px; }
  .choose-head h3 { font-size: 1.25rem; }
}

/* ============================================================
   DIRECTIONS — POSTER LAYOUT (full presentation image + CTA side)
   ============================================================ */
.dir-poster {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.dir-poster-img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.dir-poster-side {
  padding: 36px 34px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-0) 100%);
}
.dir-poster-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 700;
}
.dir-poster-h {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--text-strong);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.dir-poster-desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 4px 0 0;
}
.dir-training-drawer {
  overflow: hidden;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.dir-training-drawer summary {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 20px;
  min-height: 66px;
  padding: 12px 48px 12px 16px;
  cursor: pointer;
  list-style: none;
}
.dir-training-drawer summary::-webkit-details-marker { display: none; }
.dir-training-drawer summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 16px;
  color: var(--gold-2);
  font-size: 1.25rem;
  transform: translateY(-50%);
  transition: transform .2s ease;
}
.dir-training-drawer[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.dir-training-drawer summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.dir-training-drawer summary span { display: grid; gap: 3px; }
.dir-training-drawer summary small {
  color: var(--gold-2);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.dir-training-drawer summary b {
  color: var(--text-strong);
  font-size: .96rem;
}
.dir-training-drawer summary em {
  color: var(--muted);
  font-size: .76rem;
  font-style: normal;
  font-weight: 650;
  white-space: nowrap;
}
.dir-training-body {
  padding: 14px 16px 16px;
  background: #fbf7ee;
  border-top: 1px solid var(--line);
}
.dir-training-body p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55;
}
.dir-training-body span {
  display: block;
  margin-top: 8px;
  color: var(--gold-2);
  font-size: .76rem;
  font-weight: 750;
}
.dir-poster-contact {
  margin-top: 8px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}
.dir-poster-contact span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 700;
}
.dir-poster-contact a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.01em;
  border-bottom: 1px dashed rgba(181, 143, 82, 0.5);
  align-self: flex-start;
}
.dir-poster-contact a:hover { color: var(--gold-2); }
.dir-poster-cta {
  margin-top: 6px;
  padding: 14px 22px;
  align-self: flex-start;
  font-size: 0.95rem;
}
.dir-poster-note {
  margin: auto 0 0;
  padding-top: 12px;
  font-size: 0.8rem;
  color: var(--dim);
  font-style: italic;
  border-top: 1px solid var(--line);
}
.dir-poster-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -2px 0 2px;
}
.dir-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  line-height: 1;
}
.dir-tag-gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #fff;
  box-shadow: 0 2px 8px -2px rgba(143, 109, 56, 0.35);
}
.dir-tag-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 2px 8px -2px rgba(184, 50, 47, 0.35);
}
.dir-tag-outline {
  background: transparent;
  color: var(--gold-2);
  border: 1px solid var(--border-strong);
}
.dir-poster-pay {
  margin-top: 6px;
  padding: 14px 18px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-2) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dir-poster-pay-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 700;
}
.dir-poster-pay b {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.dir-poster-pay em {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .dir-poster { grid-template-columns: 1fr; }
  .dir-poster-img { min-height: 0; aspect-ratio: 4/5; }
  .dir-poster-side { padding: 28px 24px 26px; }
  .dir-training-drawer summary { grid-template-columns: 1fr; gap: 5px; }
  .dir-training-drawer summary em { white-space: normal; }
}

/* ============================================================
   HERO PORTRAIT
   ============================================================ */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: stretch;
}
.hero-portrait {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}
.hero-portrait-img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: center 25%;
}
@media (max-width: 960px) {
  .hero-portrait { display: none; }
}

/* ============================================================
   CHOOSE CARD IMAGES
   ============================================================ */
.choose-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
}
.choose-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 0 0 18px;
}
.choose-thumbs img {
  width: 100%;
  aspect-ratio: 1/1.2;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  transition: transform 0.25s ease;
}
.choose-thumbs img:hover { transform: translateY(-2px); border-color: var(--border-strong); }

@media (max-width: 560px) {
  .choose-thumbs { grid-template-columns: repeat(5, 1fr); gap: 4px; }
}

/* ============= FRESH: dir-poster-photo, badge, spec ============= */
.dir-poster-photo{
  position:relative;
  width:100%;
  aspect-ratio:4/5;
  overflow:hidden;
  background:#e9e0cc;
}
.dir-poster-photo img{
  width:100%;height:100%;
  object-fit:cover;
  display:block;
  filter:saturate(0.95) contrast(1.02);
}
.dir-poster-badge{
  position:absolute;
  left:16px;bottom:16px;
  padding:8px 14px;
  background:rgba(26,44,70,0.85);
  color:#fff;
  border-radius:999px;
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.01em;
  backdrop-filter:blur(6px);
  box-shadow:0 6px 20px rgba(0,0,0,.15);
}
.dir-poster-spec{
  margin:18px 0 20px;
  padding:16px 18px;
  background:var(--bg-2, #efe7d5);
  border-radius:12px;
  border:1px solid rgba(181,143,82,.2);
}
.dir-poster-spec-title{
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--gold-2, #8f6d38);
  margin-bottom:10px;
}
.dir-poster-spec-list{
  list-style:none;
  padding:0;margin:0;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px 18px;
}
.dir-poster-spec-list li{
  position:relative;
  padding-left:16px;
  font-size:.9rem;
  color:var(--text, #1a2c46);
  line-height:1.45;
}
.dir-poster-spec-list li::before{
  content:"";
  position:absolute;
  left:0;top:.7em;
  width:6px;height:6px;
  border-radius:50%;
  background:var(--gold, #b58f52);
}
@media (max-width: 720px){
  .dir-poster-spec-list{ grid-template-columns:1fr; }
  .dir-poster-photo{ aspect-ratio:4/3; }
  .dir-poster-badge{ font-size:.72rem; padding:6px 12px; left:12px; bottom:12px; }
}

/* ============= mentors-strip: три факта ============= */
.mentors-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin:0 auto 36px;
  max-width:900px;
}
.mentors-fact{
  padding:22px 20px;
  background:#fff;
  border:1px solid rgba(181,143,82,.2);
  border-radius:14px;
  text-align:center;
  box-shadow:0 4px 20px rgba(26,44,70,.05);
}
.mentors-fact b{
  display:block;
  font-size:1.7rem;
  color:var(--gold-2, #8f6d38);
  line-height:1;
  margin-bottom:6px;
  font-weight:700;
}
.mentors-fact span{
  display:block;
  font-size:.85rem;
  color:var(--muted, #5a6a82);
}
@media (max-width: 720px){
  .mentors-strip{ grid-template-columns:1fr; }
  .mentors-fact{ padding:16px 18px; }
  .mentors-fact b{ font-size:1.4rem; }
}

/* ============================================================
   LOCAL STRUCTURE REDESIGN: PROCESS + COMPACT MOBILE JOURNEY
   ============================================================ */
.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 4.4vw, 4.2rem);
  line-height: .98;
}

.process-section {
  background:
    radial-gradient(circle at 8% 15%, rgba(181, 143, 82, .11), transparent 32%),
    linear-gradient(180deg, #fbf7ee 0%, #ffffff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 38px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-sm);
}
.process-card {
  position: relative;
  min-height: 275px;
  padding: 34px 28px 30px;
  border-right: 1px solid var(--line);
}
.process-card:last-child { border-right: 0; }
.process-num {
  display: block;
  margin-bottom: 52px;
  color: var(--gold-2);
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .18em;
}
.process-card h3 {
  margin: 0 0 12px;
  color: var(--text-strong);
  font-size: 1.1rem;
  line-height: 1.3;
}
.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
}
.process-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
}
.process-phone {
  color: var(--text-strong);
  font-weight: 700;
  border-bottom: 1px dashed var(--border-strong);
}

.official-section {
  padding-top: 64px;
  padding-bottom: 64px;
}
.official-section .src-list { margin-top: 26px; }

.legal-section { padding-top: 64px; padding-bottom: 72px; }
.legal-section .section-head { margin-bottom: 24px; }
.legal-card { padding: 20px 20px; }
.legal-icon { width: 36px; height: 36px; margin-bottom: 12px; }
.legal-icon svg { width: 18px; height: 18px; }

.mobile-actions { display: none; }

@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-card:nth-child(2) { border-right: 0; }
  .process-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .dir-tabs .dir-tab:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { padding-bottom: 68px; }
  .section,
  .directions-section { padding-top: 48px; padding-bottom: 48px; }
  .section-head { margin-bottom: 28px; }
  .hero-copy h1 { font-size: clamp(2.35rem, 11vw, 3.25rem); line-height: 1.02; }
  .hero-sub { max-width: 34rem; }
  .process-grid { grid-template-columns: 1fr; margin-top: 28px; }
  .process-card {
    min-height: 0;
    padding: 24px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .process-card:nth-child(3) { border-bottom: 1px solid var(--line); }
  .process-card:last-child { border-bottom: 0; }
  .process-num { margin-bottom: 22px; }
  .process-cta { align-items: stretch; flex-direction: column; gap: 14px; text-align: center; }
  .process-phone { align-self: center; font-size: .88rem; }
  .legal-section { padding-top: 48px; padding-bottom: 52px; }
  .legal-grid { grid-template-columns: 1fr; gap: 12px; }
  .legal-card { padding: 18px; }
  .mobile-actions {
    position: fixed;
    z-index: 120;
    left: 12px;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    min-height: 54px;
    padding: 5px;
    background: rgba(8, 20, 34, .95);
    border: 1px solid rgba(212, 180, 120, .32);
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(3, 10, 18, .3);
    backdrop-filter: blur(12px);
  }
  .mobile-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .03em;
  }
  .mobile-action svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
  .mobile-action-apply {
    color: #102033;
    background: linear-gradient(180deg, #e2c78e, #cba65e);
    border-radius: 10px;
  }
}

/* ============================================================
   DESIGN AUDIT: COMPACT PAYMENTS + MOBILE HERO
   ============================================================ */
html { scroll-padding-top: 78px; }
#top { scroll-margin-top: 78px; }

.payment-details-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.payment-details {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.payment-details summary {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 22px 64px 22px 24px;
  color: var(--text-strong);
  cursor: pointer;
  list-style: none;
  transition: background .25s ease;
}
.payment-details summary::-webkit-details-marker { display: none; }
.payment-details summary:hover { background: #fbf7ee; }
.payment-details summary:focus-visible {
  outline: 2px solid rgba(181, 143, 82, .7);
  outline-offset: -2px;
}
.payment-details summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 24px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--gold-2);
  font-size: 1.45rem;
  font-weight: 500;
  transform: translateY(-50%);
  transition: transform .25s ease;
}
.payment-details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.payment-details summary span {
  font-size: 1.08rem;
  font-weight: 800;
}
.payment-details summary small {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 500;
}
.payment-details-body {
  padding: 0 24px 24px;
  border-top: 1px solid var(--line);
}
.payment-details-body .table-wrap { margin-top: 24px; }

@media (max-width: 960px) {
}

@media (max-width: 640px) {
  html { scroll-padding-top: 70px; }
  #top { scroll-margin-top: 70px; }

  .payment-details-list { margin-top: 20px; }
  .payment-details summary { padding: 18px 52px 18px 18px; }
  .payment-details summary::after { right: 16px; }
  .payment-details summary span { font-size: 1rem; }
  .payment-details summary small { font-size: .78rem; line-height: 1.45; }
  .payment-details-body { padding: 0 14px 16px; }

  .payment-details .table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .payment-details .pay-table,
  .payment-details .pay-table tbody,
  .payment-details .pay-table tr,
  .payment-details .pay-table td {
    display: block;
    width: 100%;
  }
  .payment-details .pay-table thead { display: none; }
  .payment-details .pay-table { background: transparent; }
  .payment-details .pay-table tr {
    margin-bottom: 10px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  .payment-details .pay-table tr:last-child { margin-bottom: 0; }
  .payment-details .pay-table td {
    padding: 0;
    border: 0;
    white-space: normal;
  }
  .payment-details .pay-table td:first-child {
    color: var(--text);
    font-size: .86rem;
    line-height: 1.45;
  }
  .payment-details .pay-table td:last-child {
    margin-top: 8px;
    color: var(--gold-2);
    font-size: .98rem;
    line-height: 1.4;
  }
}

@media (max-width: 640px) {
  .more-menu { margin-left: auto; }
  .more-menu-popover {
    position: fixed;
    top: 68px;
    left: 12px;
    right: 12px;
    width: auto;
  }
  .info-page-main { padding-top: 40px; }
}

/* Editorial pass: clear contact options and consistent secondary pages. */
.apply-response-time { margin: 12px 0 18px; color: var(--gold-2); font-size: 1.12rem; font-weight: 650; }
.pay-social-card .pay-mini-card { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 8px 30px; align-items: center; }
.pay-social-card .pmc-sum { grid-row: span 2; margin: 0; }
.pay-social-card .pmc-desc, .pay-social-card .pmc-note { margin: 0; }
.secondary-footer .footer-inner { grid-template-columns: 1.3fr 1fr 1.2fr; }
.site-header .burger, .site-header .more-menu { flex-shrink: 0; }
.nav a[aria-current="page"], .foot-link[aria-current="page"] { color: var(--gold-2); }
.dir-poster-pay em, .dir-poster-badge, .dir-tag-pill { white-space: normal; overflow-wrap: anywhere; }
@media (min-width: 1401px) { .site-header .header-inner { max-width: 1400px; gap: 18px; } }
@media (max-width: 980px) { .pay-cards.grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .secondary-footer .footer-inner { grid-template-columns: 1fr; }
  .pay-social-card .pay-mini-card { grid-template-columns: minmax(0,1fr); }
  .pay-social-card .pmc-sum { grid-row: auto; }
  .site-header .header-inner { gap: 10px; padding-left: 16px; padding-right: 16px; }
  .site-header .logo { gap: 7px; }
  .site-header .logo svg { width: 30px; height: 30px; }
  .site-header .logo-copy b { font-size: .86rem; }
  .site-header .logo-copy small { font-size: .5rem; }
}
