:root {
  --ink: #141416;
  --cream: #f5f1e8;
  --cream-alt: #fbfaf6;
  --gold: #c8a45d;
  --gold-light: #e6c878;
  --gold-dark: #6f4e18;
  --dark-bg: #0d0d0f;
  --dark-bg-alt: #1a1b1f;
  --dark-text: #f3ead6;
  --dark-text-muted: #b9b2a4;
  --dark-text-muted-2: #cfc8ba;
  --body-muted: #797267;
}

[hidden] { display: none !important; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
html { scroll-behavior: smooth; }
#top, #program, #video, #price, #license, #contacts { scroll-margin-top: 90px; }
body {
  font-family: -apple-system, "SF Pro Display", "Segoe UI", system-ui, Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button { font-family: inherit; }
input, textarea { font-family: inherit; }
img { max-width: 100%; }
a { color: inherit; }

.page { position: relative; width: 100%; overflow: hidden; background: var(--cream); }

/* ===== keyframes ===== */
@keyframes spinGold { from{transform:rotate(0deg);} to{transform:rotate(360deg);} }
@keyframes ringFloatA { 0%{transform:translate(0,0) rotate(0deg);} 50%{transform:translate(14px,-26px) rotate(40deg);} 100%{transform:translate(0,0) rotate(0deg);} }
@keyframes ringFloatB { 0%{transform:translate(0,0) rotate(0deg);} 50%{transform:translate(-20px,18px) rotate(-50deg);} 100%{transform:translate(0,0) rotate(0deg);} }
@keyframes ringFloatC { 0%{transform:translate(0,0) rotate(0deg);} 50%{transform:translate(22px,16px) rotate(60deg);} 100%{transform:translate(0,0) rotate(0deg);} }
@keyframes modalIn { from{opacity:0;transform:translateY(24px) scale(.98);} to{opacity:1;transform:translateY(0) scale(1);} }
@keyframes overlayIn { from{opacity:0;} to{opacity:1;} }
@keyframes marqL { from{transform:translateX(0);} to{transform:translateX(-50%);} }
@keyframes marqR { from{transform:translateX(-50%);} to{transform:translateX(0);} }
@keyframes tlPulse { 0%{box-shadow:0 0 0 0 rgba(200,164,93,.6);} 70%{box-shadow:0 0 0 11px rgba(200,164,93,0);} 100%{box-shadow:0 0 0 0 rgba(200,164,93,0);} }
@keyframes tlGlow { 0%,100%{opacity:.55;transform:scale(.8);} 50%{opacity:1;transform:scale(1.2);} }

/* ===== reveal-on-scroll ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .22s; }
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: .08s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: .16s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: .24s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: .32s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
  .gold-disc-spin, .ring-a, .ring-b, .ring-c, .ring-d,
  .marq-l1, .marq-r1, .marq-l2,
  .tl-dot, .tl-dot > span {
    animation: none !important;
  }
}

/* ===== focus-visible ===== */
.btn-gold:focus-visible,
.btn-outline:focus-visible,
.nav-link:focus-visible,
.vk-btn:focus-visible,
.head-phone-icon:focus-visible,
.head-phone:focus-visible,
.social-btn:focus-visible,
.gallery-arrow:focus-visible,
.video-card:focus-visible,
.modal-close:focus-visible,
.lightbox-close:focus-visible,
.logo-link:focus-visible,
.footer-logo-link:focus-visible,
.contact-phone:focus-visible,
.contact-email:focus-visible,
.form-input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ===== shared background patterns ===== */
.audience-pattern, .program-pattern, .hero-pattern {
  position: absolute; inset: 0; background-image: url("../img/pattern-light.svg");
  background-size: 78px; opacity: .035; pointer-events: none;
}
.hero-pattern { opacity: .14; }
.dark-card-pattern {
  position: absolute; inset: 0; z-index: 0; background-image: url("../img/pattern-dark.svg");
  background-size: 88px; opacity: .09; pointer-events: none;
}

/* ===== buttons ===== */
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--ink); border: none; border-radius: 14px; padding: 14px 26px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  box-shadow: 0 12px 30px rgba(200,164,93,.3);
  transition: transform .25s, box-shadow .25s;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(200,164,93,.44); }
.btn-lg { padding: 17px 30px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

.btn-outline {
  background: rgba(255,255,255,.05); color: var(--gold-light);
  border: 1px solid rgba(200,164,93,.5); border-radius: 14px; padding: 17px 28px;
  font-size: 16px; font-weight: 600; cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.btn-outline:hover { background: rgba(200,164,93,.16); border-color: rgba(200,164,93,.9); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(200,164,93,.18); }

.dash { color: var(--gold); flex-shrink: 0; }
.dash-dull { color: #6f695d; }
.eyebrow {
  color: var(--gold-dark); text-transform: uppercase; letter-spacing: .22em;
  font-size: 12px; font-weight: 700; margin-bottom: 16px; display: block;
}
.eyebrow-dark { color: var(--gold); letter-spacing: .2em; font-size: 11px; }
.eyebrow-dull { color: #6f695d; letter-spacing: .16em; font-size: 11px; }
.h2-light { margin: 0 0 clamp(30px,4vw,48px); font-size: clamp(28px,4.6vw,52px); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; max-width: 640px; }
.program-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14.5px; font-weight: 700; color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px;
  transition: color .2s, gap .2s;
}
.program-link:hover { color: var(--gold); gap: 9px; }
.program-link-end { display: flex; justify-content: center; margin-top: clamp(36px,4.5vw,56px); font-size: 15.5px; }
.h2-dark { margin: 0 0 20px; font-size: clamp(26px,4.2vw,48px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; color: var(--cream-alt); max-width: 560px; }
.h3-dark { margin: 0 0 12px; font-size: clamp(24px,3.2vw,38px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; color: var(--cream-alt); }
.p-dark { margin: 0; max-width: 520px; font-size: 15px; line-height: 1.65; color: var(--dark-text-muted); }
.p-muted { margin: 0; max-width: 520px; font-size: 16px; line-height: 1.6; color: var(--body-muted); }

.section-inner { position: relative; max-width: 1240px; margin: 0 auto; }

/* ===== header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform .35s ease, background .3s ease, box-shadow .3s ease;
  background: transparent;
}
.site-header.is-scrolled {
  background: rgba(245,241,232,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(20,20,22,.06);
}
.site-header.is-hidden { transform: translateY(-130%); }
.header-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 clamp(18px,5vw,40px); height: 74px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; transition: opacity .25s, transform .25s; }
.logo-link:hover { opacity: .82; transform: scale(1.02); }
.logo-img { height: clamp(42px,4.6vw,54px); width: auto; display: block; transition: filter .3s ease; }
.is-scrolled .logo-img { filter: brightness(0); }

.nav-links {
  display: none; align-items: center; gap: 26px; border-radius: 999px; padding: 11px 26px;
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  background: rgba(16,16,18,.42); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 8px 30px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.12);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.is-scrolled .nav-links { background: rgba(20,20,22,.05); border-color: rgba(20,20,22,.12); box-shadow: none; }
.nav-link {
  text-decoration: none; font-size: 14px; letter-spacing: .01em; white-space: nowrap;
  transition: color .3s ease, transform .2s ease; display: inline-block; color: #e8e2d4;
  padding: 12px 0; margin: -12px 0;
}
.is-scrolled .nav-link { color: var(--ink); }
.nav-link:hover { color: var(--gold-light); transform: translateY(-1px); }

.header-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.head-phone { display: none; align-items: center; font-size: 14px; font-weight: 700; letter-spacing: .01em; text-decoration: none; white-space: nowrap; transition: color .3s ease; color: var(--gold-light); }
.is-scrolled .head-phone { color: var(--ink); }
.head-phone:hover { opacity: .75; }

.vk-btn {
  display: flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 50%; font-size: 14px; font-weight: 800; letter-spacing: -.02em; text-decoration: none;
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  transition: transform .25s ease, color .3s ease, background .3s ease, border-color .3s ease;
  background: rgba(16,16,18,.42); border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12); color: var(--gold-light);
}
.is-scrolled .vk-btn { background: rgba(20,20,22,.05); border-color: rgba(20,20,22,.12); color: var(--ink); }
.vk-btn:hover { transform: translateY(-2px); }
.vk-btn svg { width: 20px; height: 20px; display: block; }

.head-phone-icon {
  display: flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 50%; text-decoration: none; flex-shrink: 0;
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  transition: transform .25s ease, color .3s ease, background .3s ease, border-color .3s ease;
  background: rgba(16,16,18,.42); border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12); color: var(--gold-light);
}
.is-scrolled .head-phone-icon { background: rgba(20,20,22,.05); border-color: rgba(20,20,22,.12); color: var(--ink); }
.head-phone-icon:hover { transform: translateY(-2px); }
.head-phone-icon svg { width: 18px; height: 18px; display: block; }
.header-right .btn-gold { display: none; }

@media (min-width: 880px) {
  .nav-links { display: flex; }
  .head-phone { display: inline-flex; }
  .head-phone-icon { display: none; }
  .header-right .btn-gold { display: inline-flex; }
}

/* ===== hero ===== */
.hero {
  position: relative;
  background: radial-gradient(95% 85% at 76% 64%, #2a2218 0%, #1a1712 32%, #0e0d0d 66%, #080808 100%);
  color: var(--dark-text);
  padding: clamp(104px,12vw,150px) clamp(18px,5vw,40px) 0;
  overflow: hidden;
  border-radius: 0 0 clamp(28px,4vw,56px) clamp(28px,4vw,56px);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 36px; position: relative; z-index: 2; max-width: 1240px; margin: 0 auto;
  grid-template-areas: "title" "copy" "visual";
}
.hero-h1 { grid-area: title; }
.hero-copy { grid-area: copy; }
.hero-visual { grid-area: visual; }
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; column-gap: 54px; row-gap: 0; align-items: center; grid-template-areas: "title visual" "copy visual"; }
  .hero-h1 { margin-right: -110px; }
  .desk-arrows { display: flex !important; }
}
.desk-arrows { display: none; gap: 10px; }

.hero-copy { text-align: left; padding-bottom: clamp(40px,6vw,72px); }
.hero-h1 { position: relative; z-index: 4; margin: 0 0 28px; max-width: 760px; font-size: clamp(34px,5.6vw,68px); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; color: var(--cream-alt); text-wrap: balance; }
@media (max-width: 480px) { .hero-h1 { font-size: clamp(27px,7.5vw,34px); overflow-wrap: break-word; } }

.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-primary-cta { display: inline-flex; align-items: center; justify-content: center; gap: 14px; max-width: 100%; min-height: 64px; padding: 17px 30px; font-size: 17px; box-shadow: 0 16px 40px rgba(200,164,93,.38); }
.hero-primary-cta span { font-size: 24px; line-height: 1; }
.hero-program-link { border: 0; padding: 12px 0; background: none; color: #d8cfbc; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.hero-program-link:hover { color: var(--gold-light); }
.hero-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; max-width: 520px; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(230,200,120,.22); }
.review-rating, .hero-payment-note { display: inline-flex; align-items: center; gap: 8px; color: #d1c8b5; font-size: 13px; font-weight: 600; line-height: 1.2; text-decoration: none; }
.review-rating:hover, .hero-payment-note:hover { color: var(--gold-light); }
.review-rating-yandex { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 7px; background: #fff; color: #df3129; font-size: 18px; font-weight: 800; }
.hero-payment-note strong { color: var(--gold-light); font-size: 18px; }
.review-rating small, .hero-payment-note small { display: block; margin-top: 2px; color: #a79c85; font-size: 11px; font-weight: 500; }
.hero-program-link:focus-visible, .hero-payment-note:focus-visible, .review-rating:focus-visible, .license-image-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.hero-trust-strip { background: #eee8db; padding: 20px clamp(18px,5vw,40px); }
.hero-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px clamp(18px,3vw,42px); }
.trust-badge { display: inline-flex; align-items: center; gap: 8px; color: #625942; font-size: 13px; line-height: 1.4; }
.trust-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-dark); flex-shrink: 0; }

.hero-visual { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; min-height: clamp(380px,42vw,560px); }
.gold-disc {
  position: absolute; bottom: 0; left: 50%; transform: translate(-50%,50%);
  width: clamp(300px,38vw,500px); height: clamp(300px,38vw,500px); border-radius: 50%; overflow: hidden;
  box-shadow: 0 30px 80px rgba(200,164,93,.22);
}
.gold-disc-spin {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg,#7d5a22,#e6c878,#fff4d6,#d8b463,#8f6a2a,#f0dca0,#c8a45d,#7d5a22);
  animation: spinGold 22s linear infinite;
}
.gold-disc-shine {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(255,250,235,.35) 0%, transparent 55%);
}
.ring { position: absolute; border-radius: 50%; background: transparent; pointer-events: none; z-index: 1; }
.ring-a { top: 1%; right: -3%; width: clamp(60px,8vw,104px); height: clamp(60px,8vw,104px); border: clamp(7px,1vw,13px) solid var(--gold-light); animation: ringFloatA 12s ease-in-out infinite; }
.ring-b { top: 30%; right: -9%; width: clamp(40px,5vw,68px); height: clamp(40px,5vw,68px); border: clamp(5px,.7vw,9px) solid #d8b463; animation: ringFloatB 10s ease-in-out infinite; }
.ring-c { bottom: 24%; left: -8%; width: clamp(52px,6.5vw,86px); height: clamp(52px,6.5vw,86px); border: clamp(6px,.9vw,11px) solid #f0dca0; animation: ringFloatC 14s ease-in-out infinite; }
.ring-d { bottom: 6%; left: 14%; width: clamp(34px,4vw,54px); height: clamp(34px,4vw,54px); border: clamp(4px,.6vw,8px) solid var(--gold-light); animation: ringFloatA 9s ease-in-out infinite; }
.hero-photo { position: relative; z-index: 2; display: flex; justify-content: center; }
.hero-photo-img { width: min(100%,400px); height: auto; display: block; border-radius: 18px; }
.hero-photo-caption {
  position: absolute; left: 16px; bottom: 16px; right: 16px; background: rgba(8,8,8,.72); backdrop-filter: blur(6px);
  border: 1px solid rgba(200,164,93,.34); border-radius: 12px; padding: 13px 16px; text-align: center;
}
.hero-photo-name { font-size: 15px; font-weight: 700; color: var(--cream-alt); }
.hero-photo-role { font-size: 13px; color: var(--gold); margin-top: 3px; }

@media (max-width: 879.98px) {
  .hero-h1 { margin-bottom: 0; }
  /* Заголовок — во всю ширину сверху, а под ним текст CTA/бейджей и фото
     идут двумя колонками (фото — узкая колонка справа), а не одно под другим,
     как раньше. */
  /* Класс .hero-grid переиспользуется в .contacts-grid и .inline-form-grid —
     селектор обязательно со скоупом на .hero, иначе эта раскладка "title
     title / copy visual" протекает и в блок контактов, и в форму заявки,
     ломая там нормальную одну колонку на мобильном (уже так было один раз). */
  .hero .hero-grid { grid-template-columns: 1.35fr 1fr; grid-template-areas: "title title" "copy visual"; column-gap: 14px; row-gap: 18px; }
  /* Колонки "copy" (кнопки+бейджи) и "visual" (фото) на некоторых ширинах
     заметно расходятся по высоте — текста может быть то на 2, то на 3 строки
     в бейдже. padding-bottom именно у .hero-copy (а не у .hero) даёт отступ
     после последнего бейджа, когда текстовая колонка выше фото, но не мешает
     фото по-прежнему касаться самого низа блока — у .hero свой bottom
     padding остаётся 0, как и задумано изначально. align-self:end держит
     фото прижатым к низу в любом случае, а не "отлипающим" с пустотой под
     ним, если колонка с текстом оказалась выше. */
  .hero-copy { position: relative; z-index: 5; padding-bottom: clamp(20px,4vw,32px); text-align: left; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-facts { align-items: flex-start; margin-top: 18px; }
  .hero-visual { margin-top: 0; z-index: 1; min-height: 0; align-self: end; align-items: flex-start; }
  .hero-photo-img { width: 100%; }
  .hero-photo-caption { left: 8px; right: 8px; bottom: 8px; padding: 8px 10px; }
  .hero-photo-name { font-size: 12px; }
  .hero-photo-role { font-size: 10.5px; }
  /* золотой круг за фото теперь в узкой колонке, а не во всю ширину экрана —
     размер задаём в % от неё самой, а не в vw от вьюпорта. */
  .gold-disc { width: 92%; height: auto; aspect-ratio: 1 / 1; transform: translate(-50%,20%); }
}

@media (max-width: 600px) {
  .hero .hero-grid { grid-template-columns: 1fr; grid-template-areas: "title" "copy" "visual"; }
  .hero-copy { padding-bottom: 0; }
  .hero-facts { flex-direction: column; gap: 14px; margin-top: 24px; }
  .hero-photo-img { width: min(100%,300px); }
}

/* ===== audience marquee ===== */
.audience { position: relative; background: var(--cream); padding: clamp(40px,6vw,72px) 0; overflow: hidden; }
.marq-stack { position: relative; display: flex; flex-direction: column; gap: clamp(12px,1.8vw,18px); }
.marq-row { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent); mask-image: linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent); }
.marq-track { display: flex; width: max-content; will-change: transform; }
.marq-l1 { animation: marqL 44s linear infinite; }
.marq-r1 { animation: marqR 52s linear infinite; }
.marq-l2 { animation: marqL 60s linear infinite; }
.tg {
  flex-shrink: 0; white-space: nowrap; margin-right: clamp(12px,1.6vw,18px); font-size: clamp(13px,1.7vw,19px);
  font-weight: 600; letter-spacing: -.01em; padding: clamp(8px,1vw,12px) clamp(12px,1.4vw,18px);
  border-radius: 999px; border: none; background: transparent; color: rgba(168,132,47,.72);
}
.tg-a { color: rgba(200,164,93,.95); }
.tg-d { color: rgba(143,106,42,.52); }

/* ===== dark cards (visibility / price) ===== */
.visibility, .price-section { position: relative; background: var(--cream); padding: clamp(28px,4vw,56px) clamp(18px,5vw,40px) clamp(56px,8vw,104px); overflow: visible; }
.dark-card {
  position: relative; max-width: 1240px; margin: 0 auto; border-radius: clamp(24px,3vw,40px); overflow: hidden;
  background: radial-gradient(120% 100% at 20% 0%, #1c1d22 0%, #0d0d0f 55%, #080808 100%);
  color: var(--dark-text); padding: clamp(40px,6vw,80px) clamp(24px,4.5vw,64px);
  box-shadow: 0 30px 30px 0 rgba(13,13,15,.22);
}
.price-dark-card { background: radial-gradient(120% 100% at 80% 0%, #1c1d22 0%, #0d0d0f 55%, #080808 100%); }

.visibility-grid { position: relative; max-width: none; margin: 0; display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 880px) { .visibility-grid { grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; } }

.graduate-card { position: relative; aspect-ratio: 4/5; max-height: 560px; border: 1px solid rgba(200,164,93,.3); border-radius: 24px; overflow: hidden; background: var(--dark-bg); box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.graduate-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.graduate-caption { position: absolute; left: 16px; bottom: 16px; right: 16px; background: rgba(8,8,8,.72); backdrop-filter: blur(6px); border: 1px solid rgba(200,164,93,.34); border-radius: 12px; padding: 13px 16px; }
.graduate-name { font-size: 15px; font-weight: 700; color: var(--cream-alt); }
.graduate-meta { font-size: 13px; color: var(--gold); margin-top: 3px; }

.internship-banner {
  position: relative; margin-top: clamp(28px,3.4vw,44px); background: linear-gradient(135deg,var(--gold-light),var(--gold));
  border-radius: 20px; padding: clamp(20px,2.6vw,28px) clamp(22px,3vw,30px); box-shadow: 0 20px 50px rgba(200,164,93,.25);
}
.internship-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(20,20,22,.65); margin-bottom: 8px; }
.internship-title { font-size: clamp(17px,2vw,20px); font-weight: 800; letter-spacing: -.01em; color: var(--ink); margin-bottom: 8px; line-height: 1.25; max-width: 640px; }
.internship-text { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(20,20,22,.75); max-width: 640px; }

/* ===== program ===== */
.program { position: relative; background: var(--cream); padding: clamp(56px,8vw,110px) clamp(18px,5vw,40px); overflow: hidden; }
.program-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
/* Раньше карточки 4 и 5 были специально шире остальных (span 3 вместо span 2) —
   рассчитано ровно на 5 дисциплин с раскладкой 3+2. Дисциплин стало больше, и
   этот фиксированный расчёт делал часть карточек заметно крупнее других.
   Теперь все карточки одного размера и просто равномерно переносятся по
   строкам — при любом количестве дисциплин, не только текущих 7. */
.disc-grid { display: grid; grid-template-columns: 1fr; gap: 16px; align-content: start; }
@media (min-width: 760px) {
  .disc-grid { grid-template-columns: repeat(2,1fr); }
}
@media (min-width: 1024px) {
  .disc-grid { grid-template-columns: repeat(3,1fr); }
}
.disc-card {
  display: flex; flex-direction: row; align-items: flex-start; gap: 16px;
  background: linear-gradient(160deg,#ffffff,var(--cream)); border: 1px solid rgba(143,106,42,.2);
  border-radius: 18px; padding: 20px 22px; box-shadow: 0 10px 26px rgba(143,106,42,.08);
  transition: transform .3s, box-shadow .3s;
}
.disc-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(143,106,42,.16); }
.disc-img { width: 128px; height: 128px; aspect-ratio: 1 / 1; object-fit: cover; display: block; flex-shrink: 0; border-radius: 14px; }
.disc-card-body { flex: 1; min-width: 0; }
.disc-num { font-size: 13px; font-weight: 800; color: var(--gold); letter-spacing: .06em; margin-bottom: 8px; }
.disc-title { font-size: 18px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 9px; color: var(--ink); }
.disc-text { font-size: 14px; line-height: 1.55; color: var(--body-muted); }

.format-aside {
  position: relative; background: linear-gradient(160deg,var(--dark-bg-alt),var(--dark-bg)); border-radius: 22px;
  padding: clamp(26px,3vw,40px); color: var(--dark-text); align-self: start;
  box-shadow: 0 22px 50px rgba(13,13,15,.2); overflow: hidden;
}
.fmt-inner { display: grid; grid-template-columns: 1fr; gap: clamp(22px,3vw,32px); position: relative; }
.fmt-stats { display: grid; grid-template-columns: 1fr; gap: 12px; }
.fmt-stat { display: flex; flex-direction: column; gap: 8px; border: 1px solid rgba(200,164,93,.28); background: rgba(200,164,93,.07); border-radius: 16px; padding: 20px 22px; }
.fmt-stat-num { font-size: clamp(40px,5vw,54px); font-weight: 800; letter-spacing: -.04em; color: var(--gold-light); line-height: 1; }
.fmt-stat-label { font-size: 13px; color: #d8d2c6; line-height: 1.3; }
.fmt-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.fmt-points li { display: flex; gap: 11px; font-size: 14.5px; line-height: 1.5; color: #d8d2c6; }
@media (min-width: 760px) {
  .fmt-inner { grid-template-columns: 2fr 1fr; align-items: start; }
  .fmt-stats { grid-template-columns: repeat(3,1fr); }
}

/* timeline */
.timeline-wrap { margin-top: clamp(28px,3.4vw,44px); }
.tl { position: relative; display: flex; flex-direction: column; gap: clamp(22px,2.6vw,32px); }
.tl::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; transform: translateX(-50%); background: linear-gradient(180deg,var(--gold),rgba(200,164,93,.3)); }
.tl-row { position: relative; padding-left: 52px; }
.tl-dot { position: absolute; left: 19px; top: 2px; transform: translateX(-50%); width: 20px; height: 20px; border-radius: 50%; background: #f5f1e8; border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; animation: tlPulse 2.2s ease-out infinite; }
.tl-dot > span { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: tlGlow 2.2s ease-in-out infinite; }
.tl-dot-final { width: 26px; height: 26px; border-color: var(--gold); background: linear-gradient(135deg,var(--gold-light),var(--gold)); top: -1px; box-shadow: 0 0 0 6px rgba(200,164,93,.18); }
.tl-dot-final > span { width: 9px; height: 9px; background: var(--ink); }
.tl-label { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 6px; }
.tl-text { font-size: 15px; line-height: 1.6; color: #3f3a32; }
.tl-final-card { display: inline-block; text-align: left; background: linear-gradient(160deg,var(--dark-bg-alt),var(--dark-bg)); border: 1px solid rgba(200,164,93,.4); border-radius: 16px; padding: 18px 22px; box-shadow: 0 18px 40px rgba(13,13,15,.18); }
.tl-final-label { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
.tl-final-text { font-size: 15px; line-height: 1.5; color: var(--dark-text); font-weight: 600; }
@media (min-width: 760px) {
  .tl::before { left: 50%; }
  .tl-row { width: 50%; padding-left: 0; }
  .tl-row:nth-child(odd) { left: 0; padding-right: 46px; text-align: right; }
  .tl-row:nth-child(even) { margin-left: 50%; padding-left: 46px; text-align: left; }
  .tl-row:nth-child(odd) .tl-dot { left: 100%; }
  .tl-row:nth-child(even) .tl-dot { left: 0; }
}

/* ===== video gallery ===== */
.video-gallery { position: relative; background: var(--cream); padding: clamp(22px,3vw,44px) 0 clamp(56px,8vw,110px); overflow: hidden; }
.gallery-head-wrap { padding: 0 clamp(18px,5vw,40px); }
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 10px; }
.gallery-desc { margin: 18px 0 28px; max-width: 560px; font-size: 15px; line-height: 1.6; color: #6f6a5e; }
.gallery-arrow {
  width: 46px; height: 46px; border-radius: 50%; font-size: 24px; line-height: 1; display: flex;
  align-items: center; justify-content: center; cursor: pointer;
  transition: opacity .2s, transform .2s, background .2s, border-color .2s, color .2s;
  border: 1px solid rgba(143,106,42,.4); background: #fff; color: var(--gold-dark);
}
.gallery-arrow:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--gold); color: #6f5323; }
.gallery-arrow:disabled { border: 1px solid rgba(143,106,42,.18); background: transparent; color: #bdb5a4; opacity: .35; cursor: default; }

.gallery-track {
  display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  padding: 8px clamp(18px,5vw,40px) 52px; scrollbar-width: none; max-width: 1240px; margin: 0 auto;
}
.gallery-track::-webkit-scrollbar { display: none; }
.video-card { scroll-snap-align: start; flex: 0 0 auto; width: min(74vw,250px); position: relative; aspect-ratio: 9/16; border-radius: 20px; overflow: hidden; border: 1px solid rgba(13,13,15,.4); background: var(--dark-bg); box-shadow: 0 18px 20px 0 rgba(13,13,15,.22); cursor: pointer; transition: transform .3s; }
.video-card:hover { transform: translateY(-3px); }
.video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.video-overlay { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(8,8,8,.1) 30%,rgba(8,8,8,.82) 100%); }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg,var(--gold-light),var(--gold)); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(200,164,93,.5); }
.play-icon { margin-left: 5px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--ink); }
.video-title { position: absolute; left: 16px; right: 16px; bottom: 16px; color: var(--dark-text); font-size: 14.5px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.gallery-cta-wrap { margin: 30px auto 0; padding: 0 clamp(18px,5vw,40px); }

@media (max-width: 879.98px) {
  .gallery-track { padding-left: 16vw; padding-right: 16vw; }
  .video-card { width: 68vw; scroll-snap-align: center; }
}

/* ===== price ===== */
.price-grid { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: stretch; }
@media (min-width: 760px) { .price-grid { grid-template-columns: 1.15fr .85fr; gap: 28px; } }
.price-col { display: flex; flex-direction: column; }
.price-tag-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.price-tag-label { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-light); }
.price-tag-dull { font-weight: 700; color: #6f695d; }
.price-tag-best { background: linear-gradient(135deg,var(--gold-light),var(--gold)); color: var(--ink); border-radius: 999px; padding: 3px 10px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.price-card { flex: 1; border-radius: 24px; padding: clamp(28px,4vw,40px); display: flex; flex-direction: column; }
.price-card-bright { border: 1px solid rgba(200,164,93,.5); background: linear-gradient(160deg,rgba(230,200,120,.2),rgba(200,164,93,.08)); box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.price-card-dull { border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02); }
.price-amount-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-amount { font-size: clamp(46px,8vw,80px); font-weight: 800; letter-spacing: -.05em; line-height: .95; color: var(--cream-alt); }
.price-amount-dull { font-size: clamp(34px,5.5vw,52px); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: #8f867a; }
.price-period { font-size: 16px; color: #cfc8ba; }
.price-period-dull { font-size: 15px; color: #6f695d; }
.installment-offer { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding: 18px; border: 1px solid var(--gold-light); border-radius: 16px; background: linear-gradient(120deg,#f0d891,#d8aa50); color: #20180b; }
.installment-offer-icon { display: grid; place-items: center; flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; background: #18130b; color: #f2d891; font-size: 22px; font-weight: 800; }
.installment-offer strong, .installment-offer div > span { display: block; }
.installment-offer strong { font-size: clamp(19px,2.4vw,26px); line-height: 1.15; }
.installment-offer div > span { margin-top: 6px; font-size: 13px; line-height: 1.45; }
.price-includes-label { margin: 24px 0 8px; }
.price-list { margin: 0 0 28px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.price-list li { display: flex; gap: 11px; font-size: 15px; line-height: 1.5; color: #e8e2d4; }
.price-list-dull { margin: 0; }
.price-list-dull li { font-size: 14.5px; color: #8f867a; }
.price-card .btn-gold { margin-top: auto; align-self: flex-start; }

/* ===== license ===== */
.license-section { background: #eee8db; padding: clamp(60px,8vw,108px) clamp(18px,5vw,40px); }
.license-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); align-items: center; gap: clamp(28px,5vw,72px); }
.license-copy .eyebrow { color: #8d6a2d; }
.license-copy .h2-light { margin: 12px 0 22px; }
.license-copy p { max-width: 620px; margin: 0 0 22px; color: #3f3a32; font-size: clamp(16px,1.8vw,20px); line-height: 1.55; }
.license-number { display: inline-block; margin-bottom: 24px; padding: 12px 17px; border: 1px solid rgba(143,106,42,.32); border-radius: 12px; background: #fffaf0; color: #4a371a; font-weight: 700; }
.license-image-link { display: block; position: relative; width: 100%; padding: 13px; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 22px 52px rgba(43,34,20,.16); cursor: zoom-in; text-align: left; transition: transform .25s, box-shadow .25s; }
.license-image-link:hover { transform: translateY(-4px); box-shadow: 0 28px 60px rgba(43,34,20,.22); }
.license-image-link img { display: block; width: 100%; height: auto; border-radius: 9px; }
.license-zoom { position: absolute; right: 28px; bottom: 28px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--gold-light); color: #21190c; box-shadow: 0 8px 24px rgba(0,0,0,.25); font-size: 34px; line-height: 1; opacity: 0; transform: scale(.8); transition: opacity .2s, transform .2s; }
.license-image-link:hover .license-zoom, .license-image-link:focus-visible .license-zoom { opacity: 1; transform: scale(1); }
@media (hover: none) { .license-zoom { opacity: 1; transform: none; } }
@media (max-width: 760px) { .license-grid { grid-template-columns: 1fr; } .license-image-link { max-width: 560px; } }
@media (max-width: 430px) { .installment-offer { align-items: flex-start; padding: 15px; } .installment-offer-icon { flex-basis: 50px; width: 50px; height: 50px; font-size: 18px; } }

/* ===== contacts ===== */
.contacts { position: relative; background: var(--cream); padding: clamp(56px,8vw,110px) clamp(18px,5vw,40px) clamp(90px,8vw,110px); overflow: hidden; }
.meet-head .h2-light { margin-bottom: 14px; max-width: 900px; }
.meet-head .p-muted { margin-bottom: clamp(26px,3.4vw,40px); }

.meet-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 900px) { .meet-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; } }
.meet-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; border-radius: 22px; padding: clamp(24px,3vw,36px); }
.meet-card > * { position: relative; }
.meet-card > .dark-card-pattern { position: absolute; }
.meet-card .btn-gold, .meet-card .btn-outline { margin-top: auto; padding: 14px 24px; font-size: 15px; }
.meet-card-light { background: #fff; border: 1px solid rgba(143,106,42,.18); box-shadow: 0 10px 24px rgba(143,106,42,.07); }
.meet-card-dark { background: radial-gradient(120% 100% at 15% 0%, #23201a 0%, #0d0d0f 60%, #080808 100%); color: var(--dark-text); box-shadow: 0 20px 34px rgba(13,13,15,.18); }
.meet-tag { margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.meet-tag-dark { color: var(--gold-light); }
.meet-title { margin: 0 0 14px; font-size: clamp(22px,2.4vw,28px); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
.meet-card-dark .meet-title { color: var(--cream-alt); }
.meet-list { margin: 0 0 22px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.meet-list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; color: #3f3a32; }
.meet-text { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: var(--dark-text-muted); }
.meet-note { margin-top: auto; width: 100%; padding: 14px 16px; border: 1px dashed rgba(200,164,93,.55); border-radius: 14px; background: linear-gradient(135deg,rgba(230,200,120,.18),rgba(200,164,93,.07)); font-size: 14px; line-height: 1.5; color: #5b4a24; }
.meet-note b { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.meet-note + .btn-gold { margin-top: 18px; }

.models-prices { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.models-price { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(200,164,93,.4); background: rgba(200,164,93,.1); font-size: 14px; color: var(--dark-text-muted-2); }
.models-price b { margin-left: 4px; color: var(--cream-alt); font-weight: 800; white-space: nowrap; }
.models-avatars { display: flex; margin-bottom: 16px; }
.models-avatars img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #1a1814; margin-left: -10px; }
.models-avatars img:first-child { margin-left: 0; }
.models-gallery { width: 100%; margin-bottom: 22px; }
.models-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 14px; }
.models-track::-webkit-scrollbar { display: none; }
.model-slide { flex: 0 0 calc((100% - 30px) / 4); scroll-snap-align: start; aspect-ratio: 3/4; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--dark-bg-alt); cursor: zoom-in; }
.model-slide img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.model-slide:hover img { transform: scale(1.04); }
.model-slide:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.models-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: auto; }
.models-actions .btn-outline { margin-top: 0; }
.models-arrows { display: flex; gap: 8px; }
.models-arrow { width: 36px; height: 36px; font-size: 18px; background: rgba(255,255,255,.06); border-color: rgba(200,164,93,.45); color: var(--gold-light); }
.models-arrow:hover:not(:disabled) { color: var(--gold-light); }
.models-arrow:disabled { border-color: rgba(200,164,93,.18); color: #6f695d; }
@media (min-width: 900px) { .models-avatars { display: none; } }
@media (max-width: 899.98px) { .models-gallery, .models-arrows { display: none; } }
@media (max-width: 420px) { .meet-card .btn-gold, .meet-card .btn-outline { width: 100%; } }
.meet-list li { font-size: 15.5px; }
@media (min-width: 900px) { .meet-list { gap: 12px; } .meet-list li { font-size: 16px; } }

.contacts-row { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: clamp(28px,4vw,44px); }
@media (min-width: 900px) { .contacts-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; align-items: stretch; } }
.contact-card { position: relative; overflow: hidden; background: linear-gradient(160deg,var(--dark-bg-alt),var(--dark-bg)); border-radius: 18px; padding: 26px; color: var(--dark-text); }
.contact-card-title { position: relative; font-size: 15px; font-weight: 700; color: var(--cream-alt); margin-bottom: 10px; }
.contact-address { position: relative; font-size: 14px; line-height: 1.7; color: #cfc8ba; }
.contact-phone { position: relative; display: inline-block; margin-top: 12px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: var(--cream-alt); text-decoration: none; }
.contact-phone:hover { color: var(--gold-light); }
.contact-email { position: relative; display: block; margin-top: 6px; font-size: 14px; color: var(--gold); text-decoration: none; }
.contact-email:hover { color: var(--gold-light); }
.social-row { position: relative; display: flex; gap: 10px; margin-top: 18px; }
.social-btn { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(200,164,93,.1); border: 1px solid rgba(200,164,93,.34); color: var(--gold-light); font-size: 14px; font-weight: 800; text-decoration: none; transition: background .25s, transform .25s; }
.social-btn:hover { background: rgba(200,164,93,.22); transform: translateY(-2px); }
.social-btn svg { width: 16px; height: 16px; display: block; }

.map-embed {
  position: relative; flex: 1; min-height: 300px; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(143,106,42,.3); background: #ece5d6;
}
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 300px; border: 0; }

/* ===== forms ===== */
.booking-form { display: flex; flex-direction: column; gap: 12px; position: relative; min-width: 0; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) {
  .form-row-2 { grid-template-columns: 1fr; }
}
.form-input {
  background: rgba(255,255,255,.05); border: 1px solid rgba(200,164,93,.3); border-radius: 12px;
  padding: 14px 16px; font-size: 15px; color: var(--cream-alt); outline: none; transition: border-color .2s;
  min-width: 0; width: 100%;
}
.form-input:hover { border-color: rgba(200,164,93,.6); }
.form-input:focus { border-color: var(--gold); }
.form-input::placeholder { color: rgba(216,210,198,.65); }
.form-input-light { background: #fff; border: 1px solid rgba(143,106,42,.28); color: var(--ink); }
.form-input-light::placeholder { color: #8a8170; }
.form-textarea { resize: vertical; font-family: inherit; }
.form-checkbox-label { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.5; color: #9a9384; cursor: pointer; padding: 6px 0; }
.form-checkbox-label-light { font-size: 12.5px; color: var(--body-muted); }
.form-checkbox-label a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }
.form-checkbox-label a:hover { color: var(--gold); }
.form-checkbox-label-light a { color: var(--gold-dark); }
.form-checkbox-label-light a:hover { color: var(--gold); }
.cbx {
  appearance: none; -webkit-appearance: none; margin: 0; width: 20px; height: 20px; flex-shrink: 0;
  border: 1.5px solid rgba(200,164,93,.6); border-radius: 5px; background: rgba(255,255,255,.04); cursor: pointer;
  position: relative; transition: background .2s, border-color .2s;
}
.cbx:hover { border-color: var(--gold); }
.cbx:checked { background: linear-gradient(135deg,var(--gold-light),var(--gold)); border-color: var(--gold); }
.cbx:checked::after { content: ""; position: absolute; left: 6px; top: 2px; width: 4px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cbx:focus-visible { outline: 2px solid rgba(200,164,93,.6); outline-offset: 2px; }
.cbx-light { width: 20px; height: 20px; accent-color: var(--gold); }

.form-success { display: flex; align-items: center; gap: 16px; background: rgba(200,164,93,.1); border: 1px solid rgba(200,164,93,.4); border-radius: 16px; padding: 24px 26px; }
.success-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg,var(--gold-light),var(--gold)); display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--ink); }
.success-title { font-size: 17px; font-weight: 700; color: var(--cream-alt); margin-bottom: 4px; }
.success-text { font-size: 14px; line-height: 1.5; color: #cfc8ba; }
.form-success-modal { flex-direction: column; text-align: center; padding: 24px 4px; background: none; border: none; }
.success-icon-lg { width: 64px; height: 64px; font-size: 30px; margin: 0 auto 20px; }
.success-heading { margin: 0 0 12px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.success-desc { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body-muted); }

/* ===== footer ===== */
.site-footer {
  position: relative; overflow: hidden; background: #080808; color: #6f695d; padding: 40px clamp(18px,5vw,40px);
  text-align: center; font-size: 12.5px; line-height: 1.6; border-radius: clamp(24px,3vw,40px) clamp(24px,3vw,40px) 0 0;
}
.footer-logo-link { position: relative; display: inline-block; margin-bottom: 14px; opacity: .85; transition: opacity .25s, transform .25s; }
.footer-logo-link:hover { opacity: 1; transform: scale(1.02); }
.footer-logo { display: block; height: 24px; width: auto; margin-bottom: 0; opacity: 1; }
.site-footer > div { position: relative; }
.footer-links { margin-top: 10px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.footer-links a { color: #8f867a; text-decoration: underline; text-underline-offset: 2px; transition: color .2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-requisites { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); font-size: 11.5px; color: #55503f; }
.footer-requisites a { color: #6f695d; text-decoration: underline; text-underline-offset: 2px; }
.footer-requisites a:hover { color: var(--gold-light); }

/* ===== бейдж «Сделано в» (агентство) =====
   Разметка/анимация 1:1 повторяют бейдж на xxlgroup.ru: тот же файл dev-badge.svg
   отображается либо как <img> (статичная картинка), либо как <object data="...">
   (внутри SVG есть собственный <script> с анимацией — <img> его не выполняет
   из соображений безопасности браузера, а <object> рендерит SVG как полноценный
   документ и анимация реально проигрывается). main.js переключает между ними. */
.footer-dev {
  margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 11.5px; color: #55503f;
}
.footer-dev-badge-link { display: inline-flex; align-items: center; justify-content: center; line-height: 1; flex: 0 0 auto; }
.footer-dev-badge-shell {
  position: relative; display: block; width: clamp(52px,5vw,72px); aspect-ratio: 320 / 226;
  transform-origin: center; transition: transform .22s ease;
}
.footer-dev-badge-static, .footer-dev-badge-anim { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.footer-dev-badge-static { object-fit: contain; }
.footer-dev-badge-anim { border: 0; opacity: 0; pointer-events: none; transition: opacity .16s ease; }
.footer-dev-badge-link.is-animating .footer-dev-badge-static { opacity: 0; }
.footer-dev-badge-link.is-animating .footer-dev-badge-anim { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .footer-dev-badge-link:hover .footer-dev-badge-shell,
  .footer-dev-badge-link:focus-visible .footer-dev-badge-shell {
    transform: scale(1.07);
  }
}

/* ===== cookie banner ===== */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: rgba(13,13,15,.97); backdrop-filter: blur(8px); color: var(--cream-alt);
  padding: 16px clamp(18px,5vw,40px); padding-bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px;
  border-top: 1px solid rgba(200,164,93,.3); animation: overlayIn .3s ease;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--dark-text-muted-2); max-width: 640px; }
.cookie-banner a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-actions { flex-shrink: 0; }
.cookie-banner .btn-gold { padding: 10px 22px; font-size: 14px; }

/* ===== modal ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(8,8,8,.74); backdrop-filter: blur(5px);
  display: flex; align-items: flex-start; justify-content: center; padding: 24px 18px; overflow-y: auto;
  animation: overlayIn .25s ease;
}
.modal-overlay[hidden] { display: none; }
.modal-card {
  position: relative; width: 100%; max-width: 480px; margin: auto;
  background: linear-gradient(165deg,var(--cream-alt),var(--cream)); border: 1px solid rgba(200,164,93,.4);
  border-radius: 24px; padding: clamp(26px,4vw,40px); box-shadow: 0 40px 90px rgba(0,0,0,.5);
  animation: modalIn .35s cubic-bezier(.2,.7,.3,1); overflow: hidden;
}
.modal-body { position: relative; }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid rgba(143,106,42,.25); background: rgba(255,255,255,.6); color: #5b554b; font-size: 20px;
  cursor: pointer; line-height: 1; display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.modal-close:hover { background: rgba(200,164,93,.18); }
.modal-heading { margin: 0 0 8px; font-size: clamp(22px,3vw,28px); font-weight: 800; letter-spacing: -.02em; }
.modal-desc { margin: 0 0 22px; font-size: 14px; line-height: 1.55; color: var(--body-muted); }

/* ===== lightbox ===== */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(8,8,8,.88); backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center; padding: 24px 18px; overflow-y: auto;
  animation: overlayIn .25s ease;
}
.lightbox-overlay[hidden] { display: none; }
.lightbox-card {
  position: relative; max-width: min(90vw, 480px); max-height: 90vh; margin: auto;
  animation: modalIn .35s cubic-bezier(.2,.7,.3,1);
}
.lightbox-card.is-license { max-width: min(94vw, 1100px); }
.lightbox-card.is-license .lightbox-img { max-height: 85vh; }
.lightbox-card.is-video.is-landscape { max-width: min(92vw, 720px); }
.lightbox-card.is-video.is-portrait { max-width: min(90vw, 420px); }
.lightbox-img { display: block; width: 100%; max-height: 78vh; object-fit: contain; border-radius: 18px; box-shadow: 0 40px 90px rgba(0,0,0,.5); }
.lightbox-video { display: block; width: 100%; border: 0; border-radius: 18px; box-shadow: 0 40px 90px rgba(0,0,0,.5); }
.is-landscape .lightbox-video { aspect-ratio: 16 / 9; }
.is-portrait .lightbox-video { aspect-ratio: 9 / 16; max-height: 80vh; }
.lightbox-caption { margin-top: 14px; text-align: center; color: var(--cream-alt); font-size: 15px; font-weight: 600; }
.lightbox-close {
  position: absolute; top: -18px; right: -18px; width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid rgba(200,164,93,.4); background: rgba(20,20,22,.9); color: var(--cream-alt); font-size: 20px;
  cursor: pointer; line-height: 1; display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.lightbox-close:hover { background: rgba(200,164,93,.28); }

/* ===== simple static header (utility pages) ===== */
.simple-header { position: relative; background: var(--cream); border-bottom: 1px solid rgba(20,20,22,.08); }
.simple-header .header-inner { height: 74px; }
.simple-header .logo-img { filter: brightness(0); }

/* ===== 404 page ===== */
.error-page {
  position: relative; min-height: calc(100vh - 74px); display: flex; align-items: center; justify-content: center;
  background: radial-gradient(95% 85% at 76% 64%, #2a2218 0%, #1a1712 32%, #0e0d0d 66%, #080808 100%);
  color: var(--dark-text); padding: clamp(56px,10vw,110px) clamp(18px,5vw,40px); overflow: hidden;
  border-radius: 0 0 clamp(28px,4vw,56px) clamp(28px,4vw,56px); text-align: center;
}
.error-pattern { position: absolute; inset: 0; background-image: url("../img/pattern-light.svg"); background-size: 78px; opacity: .05; pointer-events: none; }
.error-ring { position: absolute; border-radius: 50%; background: transparent; pointer-events: none; }
.error-content { position: relative; z-index: 2; max-width: 560px; margin: 0 auto; }
.error-code {
  margin: 0; font-size: clamp(72px,14vw,140px); font-weight: 800; letter-spacing: -.05em; line-height: 1;
  background: linear-gradient(135deg,var(--gold-light),var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.error-title { margin: 16px 0 12px; font-size: clamp(22px,3.4vw,32px); font-weight: 800; letter-spacing: -.02em; color: var(--cream-alt); }
.error-desc { margin: 0 0 32px; font-size: 15px; line-height: 1.6; color: var(--dark-text-muted); }
.error-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ===== legal / utility pages ===== */
.legal-page { position: relative; background: var(--cream); padding: clamp(40px,6vw,72px) clamp(18px,5vw,40px) clamp(72px,9vw,120px); }
.legal-wrap { position: relative; max-width: 760px; margin: 0 auto; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; font-size: 14px; font-weight: 600;
  color: var(--gold-dark); text-decoration: none; transition: color .2s;
}
.back-link:hover { color: var(--gold); }
.legal-title { margin: 0 0 40px; font-size: clamp(28px,4vw,44px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.legal-content h2 { margin: 40px 0 14px; font-size: clamp(19px,2.4vw,23px); font-weight: 800; letter-spacing: -.01em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 26px 0 10px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.legal-content p { margin: 0 0 14px; font-size: 15px; line-height: 1.7; color: #3f3a32; }
.legal-content ul, .legal-content ol { margin: 0 0 14px; padding-left: 22px; }
.legal-content li { margin-bottom: 8px; font-size: 15px; line-height: 1.7; color: #3f3a32; }
.legal-content strong { color: var(--ink); }
.legal-content a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--gold); }
.legal-note {
  margin: 32px 0; padding: 16px 20px; border: 1px dashed rgba(200,164,93,.5);
  background: linear-gradient(135deg,rgba(230,200,120,.15),rgba(200,164,93,.06)); border-radius: 14px;
  font-size: 13.5px; line-height: 1.6; color: #5b4a24;
}

/* ===== программа обучения (подробно) ===== */
.prog-wrap { max-width: 1080px; }
.prog-lead { margin: 0 0 44px; max-width: 640px; font-size: 16px; line-height: 1.65; color: var(--body-muted); }
.prog-h2 { margin: 0 0 24px; font-size: clamp(21px,2.8vw,27px); font-weight: 800; letter-spacing: -.01em; }
.prog-timeline { margin-bottom: clamp(56px,7vw,88px); }
/* .tl-row у себя на главной зигзагом чередует text-align: left/right и
   переставляет точку на противоположный край строки — это рассчитано на
   короткую фразу-тизер. Здесь строки длинные (списки), поэтому принудительно
   держим таймлайн в одну левую колонку на любой ширине экрана. */
.prog-timeline .tl-row,
.prog-timeline .tl-row:nth-child(odd),
.prog-timeline .tl-row:nth-child(even) {
  width: auto; margin-left: 0; padding-left: 52px; padding-right: 0; text-align: left;
}
.prog-timeline .tl-row:nth-child(odd) .tl-dot,
.prog-timeline .tl-row:nth-child(even) .tl-dot {
  left: 19px;
}
.prog-timeline .tl::before { left: 19px; }
.prog-timeline .tl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.prog-timeline .tl-list li {
  display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.55; color: #3f3a32;
}

.discfull-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 860px) { .discfull-grid { grid-template-columns: 1fr 1fr; } }
.discfull-card {
  background: linear-gradient(160deg,#ffffff,var(--cream)); border: 1px solid rgba(143,106,42,.2);
  border-radius: 20px; padding: clamp(22px,3vw,30px); box-shadow: 0 10px 26px rgba(143,106,42,.08);
  transition: transform .3s, box-shadow .3s;
}
.discfull-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(143,106,42,.16); }
.discfull-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.discfull-img { width: 64px; height: 64px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; flex-shrink: 0; }
.discfull-title { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.discfull-p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.65; color: #3f3a32; }
.discfull-block-label {
  display: inline-block; margin: 4px 0 10px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(200,164,93,.5); background: rgba(200,164,93,.1);
  font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--gold-dark);
}
.discfull-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.discfull-list li {
  display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.55; color: #3f3a32;
}
.discfull-note { font-size: 13.5px; color: var(--body-muted); }

/* ===== Contact Form 7 compatibility =====
   Формы CF7 используют классы .form-input / .form-input-light, заданные прямо в
   шорткоде тегов (class:form-input) — см. README.md. Ниже стилизуется то, что
   CF7 генерирует сам и не позволяет задать через class: — чекбокс согласия,
   ошибки валидации, индикатор отправки. */
.wpcf7-form { display: flex; flex-direction: column; gap: 12px; position: relative; min-width: 0; }
/* CF7 сам оборачивает шорткоды в <p> через wpautop() — у этих <p> есть
   собственный браузерный margin, который складывается с нашим flex-gap
   и превращает 12px в 12px+margin между каждым полем. Убираем margin у <p>,
   расстояние задаём только через gap. */
.wpcf7-form p { margin: 0; }
.wpcf7-form-control-wrap { display: block; }
/* honeypot-поле ts_hp_check (см. inc/cf7.php) — скрыто от людей, но остаётся
   в DOM и доступно для авто-заполнения ботами; visibility/display:none боты
   некоторых типов умеют распознавать и пропускать, оффскрин-позиционирование
   надёжнее. */
.wpcf7-form-control-wrap[data-name="ts_hp_check"] {
  position: absolute !important; left: -9999px !important; top: -9999px !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important;
}
.wpcf7-form .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) {
  .wpcf7-form .form-row-2 { grid-template-columns: 1fr; }
}
.wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.wpcf7-acceptance label {
  display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.5;
  color: #9a9384; cursor: pointer; padding: 6px 0;
}
.wpcf7-acceptance .wpcf7-list-item-label a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }
.wpcf7-acceptance .wpcf7-list-item-label a:hover { color: var(--gold); }
.wpcf7-acceptance input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; margin: 1px 0 0; width: 20px; height: 20px; flex-shrink: 0;
  border: 1.5px solid rgba(200,164,93,.6); border-radius: 5px; background: rgba(255,255,255,.04); cursor: pointer;
  position: relative; transition: background .2s, border-color .2s;
}
.wpcf7-acceptance input[type="checkbox"]:hover { border-color: var(--gold); }
.wpcf7-acceptance input[type="checkbox"]:checked { background: linear-gradient(135deg,var(--gold-light),var(--gold)); border-color: var(--gold); }
.wpcf7-acceptance input[type="checkbox"]:checked::after {
  content: ""; position: absolute; left: 5px; top: 1px; width: 4px; height: 9px;
  border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.wpcf7-acceptance input[type="checkbox"]:focus-visible { outline: 2px solid rgba(200,164,93,.6); outline-offset: 2px; }
/* светлый вариант — форма на кремовом фоне модалки */
.acceptance-light .wpcf7-list-item-label { color: var(--body-muted); font-size: 12.5px; }
.acceptance-light .wpcf7-list-item-label a { color: var(--gold-dark); }
.acceptance-light .wpcf7-list-item-label a:hover { color: var(--gold); }
.acceptance-light input[type="checkbox"] { background: #fff; border-color: rgba(143,106,42,.28); }
.wpcf7-not-valid-tip { display: block; margin-top: 4px; font-size: 12px; color: #ff8a80; }
.wpcf7-response-output { display: none !important; }
.wpcf7-spinner { margin: 0 0 0 8px; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  display: block !important; margin: 0; padding: 10px 14px; border-radius: 10px;
  font-size: 13px; color: #ff8a80; background: rgba(255,138,128,.1); border: 1px solid rgba(255,138,128,.3);
}
