:root{
  --bg: #fbfbf8;
  --surface: #ffffff;

  --text: #0b1220;
  --muted: #475467;
  --muted2: #667085;

  --line: rgba(230,232,238,.95);

  --primary: #2e3a8c;
  --primary2: #1f2a66;
  --gold: #c8a86a;

  --shadow: 0 18px 60px rgba(16, 24, 40, .10);
  --shadow2: 0 10px 30px rgba(16, 24, 40, .08);

  --radius: 22px;
  --radius2: 16px;
  --max: 1120px;

  /* Textures */
  --tex-paper: url("assets/visual/tex-paper.png");
  --tex-dust:  url("assets/visual/tex-dust.png");
}

*{ box-sizing:border-box; }
html{ scroll-behavior: smooth; }
html,body{ margin:0; padding:0; overflow-x:hidden; }

/* Gold accent strip at very top */
body::before{
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

body{
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
}

a{ color: inherit; text-decoration: none; }
a:hover{ opacity: .96; }

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:16px; top:16px; width:auto; height:auto;
  padding:10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  z-index: 9999;
}

/* Typography */
h1,h2,h3,h4{
  font-family: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", Times, serif;
  letter-spacing: -0.01em;
}
h1{
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.02;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
h2{
  font-size: clamp(30px, 3.6vw, 48px);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
h3{ font-size: 24px; margin: 0 0 10px; line-height: 1.18; }
h4{ font-size: 17px; margin: 0 0 8px; }

.lead{
  font-size: 19px;
  color: var(--muted);
  margin: 0 0 20px;
  max-width: 64ch;
  line-height: 1.7;
}
.lead--small{ font-size: 17px; max-width: 58ch; }

.muted{ color: var(--muted); }
.micro{ font-size: 12.5px; color: var(--muted2); margin: 0; }

/* Header — transparent over hero, solid on scroll */
.header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.header.header--solid{
  background: rgba(251,251,248,.95);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(230,232,238,.5);
  box-shadow: 0 2px 16px rgba(0,0,0,.04);
}
/* Transparent header — slightly lighter nav toggle */
.header:not(.header--solid) .nav__toggle{
  border-color: rgba(46,58,140,.15);
  background: rgba(255,255,255,.4);
}
.header__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 14px 24px;
}

.logo{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-right: auto;
}
.logo__mark{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(200,168,106,.3);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.header.header--solid .logo__mark{
  border-color: rgba(200,168,106,.4);
}
.logo__text{ display:grid; gap:1px; }
.logo__title{
  font-weight: 700;
  letter-spacing: .3px;
  font-size: 15px;
  color: #2c2c2c;
  white-space: nowrap;
  transition: color .4s ease;
}
.logo__subtitle{
  font-size: 9px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(255,255,255,.8), rgba(255,255,255,.6));
  border: 1px solid rgba(212,168,68,.25);
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(212,168,68,.1);
  transition: all .3s ease;
}
.logo:hover .logo__subtitle{
  border-color: rgba(212,168,68,.5);
  box-shadow: 0 2px 12px rgba(212,168,68,.2);
}

/* Nav */
.nav{ display:flex; align-items:center; gap: 10px; }
.nav__menu{ display:flex; align-items:center; gap: 6px; white-space: nowrap; }
.nav__menu a{
  color: rgba(46,58,140,.7);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color .3s ease, background .3s ease;
}
.nav__menu a:hover{
  color: var(--primary);
  background: rgba(46,58,140,.04);
}
.nav__menu a.btn--nav{
  color: var(--primary);
  border: 1px solid rgba(46,58,140,.25);
  background: transparent;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.nav__menu a.btn--nav:hover{
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  transform: none;
}
.nav__menu a.btn--nav.btn--enroll{
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.nav__menu a.btn--nav.btn--enroll:hover{
  background: #b8944a;
  border-color: #b8944a;
}
/* Desktop: gold button inside nav__menu, mobile version hidden */
.nav__lang--mobile{ display: none; }
.nav__menu a.nav__lang{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--gold);
  border: 1px solid var(--gold);
  transition: color .3s ease, background .3s ease;
}
.nav__menu a.nav__lang:hover{
  background: #b8944a;
  border-color: #b8944a;
  color: #fff;
}
.nav__toggle{
  display:none;
  border: 1px solid rgba(46,58,140,.2);
  background: rgba(255,255,255,.5);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
}
.nav__toggle-line{
  display:block;
  width: 18px;
  height: 1.5px;
  background: var(--primary);
  margin: 4px 0;
  opacity: .9;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 16px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--small{ padding: 10px 12px; border-radius: 14px; }
.btn--block{ width: 100%; }

.btn--primary{
  background: linear-gradient(135deg, rgba(46,58,140,1), rgba(46,58,140,.92));
  color: var(--surface);
  box-shadow: 0 18px 44px rgba(46,58,140,.16);
}
.btn--primary:hover{ filter: brightness(1.02); }

.btn--soft{
  background: rgba(46,58,140,.06);
  border: 1px solid rgba(46,58,140,.18);
  color: var(--primary2);
}
.btn--soft:hover{ background: rgba(46,58,140,.08); }

.btn--elegant{
  background: transparent;
  border: 1.5px solid rgba(200,168,106,.45);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .06em;
  padding: 14px 32px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition: color .35s ease, border-color .35s ease, box-shadow .35s ease, background .35s ease;
}
.btn--elegant::before{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,168,106,.08), rgba(240,208,120,.04));
  opacity: 1;
  transition: opacity .35s ease;
}
.btn--elegant:hover{
  border-color: var(--gold);
  color: #fff;
  background: linear-gradient(135deg, var(--gold), #b8944a);
  box-shadow: 0 4px 24px rgba(200,168,106,.3), 0 0 40px rgba(200,168,106,.1);
}
.btn--elegant:hover::before{ opacity: 0; }
.btn--elegant:active{ transform: translateY(0) scale(.97); }

.btn--ghost{
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(46,58,140,.18);
  color: var(--primary2);
}
.btn--ghost:hover{ background: rgba(255,255,255,.90); }

.btn--dark{
  background: var(--text);
  color: var(--surface);
  box-shadow: 0 18px 44px rgba(16,24,40,.16);
}
.btn--dark:hover{ filter: brightness(1.02); }

.btn--gold{
  background: linear-gradient(135deg, var(--gold), #b8944a);
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px rgba(200,168,106,.25), 0 0 40px rgba(200,168,106,.1);
}
.btn--gold:hover{
  box-shadow: 0 12px 32px rgba(200,168,106,.4), 0 0 60px rgba(200,168,106,.15);
  filter: brightness(1.05);
}

.link{ font-weight: 800; color: var(--primary2); }
.link:hover{ text-decoration: underline; }

/* HERO */
.hero{ padding: 0 0 22px; }

.hero__banner{
  width: 100vw;
  height: 72vh;
  min-height: 420px;
  max-height: 680px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(16,24,40,.06);
  background: #f5f0e8;
  overflow: hidden;
  position: relative;
}

.hero__banner-img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 65% center;
}

/* Hero subtitle sticker (mobile only) */
.hero__sticker{ display: none; }

/* Scroll hint chevron */
.hero__scroll-hint{
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  text-decoration: none;
  animation: hero-float 2.5s ease-in-out infinite;
  transition: opacity .3s ease;
}
.hero__scroll-hint:hover{
  color: #fff;
}
.hero__scroll-chevron{
  display: block;
}
@keyframes hero-float{
  0%,100%{ transform: translateX(-50%) translateY(0); opacity: .85; }
  50%{ transform: translateX(-50%) translateY(8px); opacity: 1; }
}
@keyframes goldPulse{
  0%,100%{ box-shadow: 0 0 12px rgba(212,168,68,.4), 0 0 30px rgba(212,168,68,.15); }
  50%{ box-shadow: 0 0 20px rgba(212,168,68,.7), 0 0 50px rgba(212,168,68,.3); }
}
@keyframes logoBounce{
  0%{ transform: rotate(0) scale(1); }
  20%{ transform: rotate(-8deg) scale(1.12); }
  40%{ transform: rotate(5deg) scale(1.08); }
  60%{ transform: rotate(-3deg) scale(1.04); }
  80%{ transform: rotate(1deg) scale(1.02); }
  100%{ transform: rotate(0) scale(1); }
}
.logo-bounce{
  animation: logoBounce .8s ease-out;
}

.hero__banner-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(251,248,242,.38) 0%, rgba(251,248,242,.15) 50%, transparent 100%);
  pointer-events:none;
}

.banner__fallback{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 420px at 20% 20%, rgba(46,58,140,.10), transparent 60%),
    radial-gradient(900px 420px at 85% 0%, rgba(200,168,106,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.70), rgba(255,255,255,.60));
  opacity: 0;
  pointer-events:none;
}
.banner--fallback .banner__fallback{ opacity: 1; }

.hero__grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(200,168,106,.22);
  border-radius: 999px;
  background: rgba(200,168,106,.14);
  color: rgba(31,42,102,.92);
  font-weight: 800;
  margin: 0 0 14px;
}

/* Hero above — thin spaced text instead of badge */
.hero__above{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--gold);
  margin: 0 0 20px;
  font-weight: 600;
}

/* Hero heading em = gold accent */
.hero__content h1 em{
  font-style: normal;
  color: var(--gold);
}

/* Hero lead — warmer, slightly bigger */
.lead--hero{
  font-size: 19px;
  color: var(--muted);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

/* Hero secondary link instead of second button */
.hero__link{
  display: inline-flex;
  align-items: center;
  font-family: “Cormorant Garamond”, ui-serif, Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--muted);
  padding: 13px 4px;
  transition: color .2s ease;
  letter-spacing: .02em;
}
.hero__link:hover{
  color: var(--gold);
}

/* Hero single stat — elegant */
.hero__stat{
  margin: 28px 0 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted2);
}
.hero__stat strong{
  font-family: “Cormorant Garamond”, ui-serif, Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .05em;
}

.hero__cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 18px 0 18px;
}

.stats{
  display:flex;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  justify-content: center;
}
.stat{
  border: none;
  background: none;
  backdrop-filter: none;
  border-radius: 0;
  padding: 0 24px;
  box-shadow: none;
  border-right: 1px solid rgba(200,168,106,.25);
}
.stat:first-child{ padding-left: 0; }
.stat:last-child{ border-right: none; }
.stat dt{
  color: var(--muted2);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
}
.stat dd{
  margin: 4px 0 0;
  font-family: "Cormorant Garamond", ui-serif, Georgia, serif;
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--gold);
}

.hero__panel{
  position: sticky;
  top: 88px;
}
.panel{
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(16,24,40,.06);
}
.panel__tag{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(200,168,106,.14);
  color: rgba(31,42,102,.92);
  border: 1px solid rgba(200,168,106,.22);
  font-weight: 800;
  margin: 0 0 10px;
}
.panel__title{ margin: 0 0 8px; }
.panel__text{ margin: 0 0 12px; color: var(--muted); }

.iconrow{ margin-top: 10px; }
.iconrow__img{
  width: 100%;
  height: auto;
  display:block;
  opacity: .92;
}

/* Section base */
.section{ padding: 110px 0; }
.section__head{
  display:grid;
  gap: 16px;
  margin: 0 0 44px;
}
.section__head p{
  margin: 0;
  color: var(--muted);
  max-width: 78ch;
}

/* Section textures — clean solid backgrounds */
.section--paper{
  position: relative;
  background: var(--bg);
}
.section--dust{
  position: relative;
  background: var(--bg);
}

.section--alt{
  background: #f7f7f5;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Banner separators */
.banner{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.banner--thin .banner__media{
  height: clamp(280px, 30vw, 480px);
}
.banner--half .banner__media{
  height: clamp(280px, 30vw, 480px);
}
.banner__media{
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.7);
}
.banner__img{
  width: 100%;
  height: 100%;
  display:block;
  object-fit: cover;
}
.banner__overlay{
  position:absolute;
  inset:0;
  z-index: 2;
  background: transparent;
  pointer-events:none;
}
.banner__overlay--alt{
  background: transparent;
}
.banner__overlay--dark{
  background: rgba(11,18,32,.35);
}
.banner__overlay--gold{
  background: rgba(160,130,60,.25);
}
.banner__overlay--none{
  background: transparent;
}

/* Scroll reveal text over image blocks */
.media-reveal-host{
  position: relative;
}
.scroll-reveal-text{
  position: absolute;
  left: clamp(12px, 3.4vw, 30px);
  bottom: clamp(12px, 3.2vw, 26px);
  z-index: 5;
  max-width: min(920px, calc(100% - 24px));
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.96);
  font-family: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size: clamp(24px, 3.1vw, 46px);
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: .006em;
  text-wrap: balance;
  text-shadow:
    0 2px 16px rgba(11,18,32,.52),
    0 0 2px rgba(11,18,32,.65);
  pointer-events: none;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1);
}
.scroll-reveal-main{
  display: block;
  white-space: pre-line;
}
.scroll-reveal-note{
  display: block;
  margin-top: 10px;
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans";
  font-size: clamp(13px, 1.35vw, 18px);
  font-weight: 640;
  letter-spacing: .045em;
  line-height: 1.3;
  color: rgba(255,255,255,.88);
  text-shadow:
    0 2px 10px rgba(11,18,32,.45),
    0 0 1px rgba(11,18,32,.65);
}
.media-reveal-host.reveal-active .scroll-reveal-text{
  opacity: 1;
  transform: translateY(0);
}
.hero__banner .scroll-reveal-text{
  left: auto;
  right: clamp(26px, 5vw, 86px);
  bottom: clamp(26px, 8vw, 86px);
  max-width: min(920px, 58vw);
}
.banner--thin .scroll-reveal-text{
  font-size: clamp(22px, 2.8vw, 36px);
}
.banner--half .scroll-reveal-text{
  font-size: clamp(22px, 2.7vw, 38px);
}

/* Grids & cards */
.grid{ display:grid; gap: 24px; }
.grid{ align-items: stretch; }
.grid--2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3{ grid-template-columns: repeat(3, minmax(0,1fr)); }

.card{
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(16,24,40,.06);
}

/* CONTENT: align CTA buttons to the same baseline across cards */
#content .card--click{
  display: flex;
  flex-direction: column;
  height: 100%;
}
#content .card--click .btn{
  margin-top: auto;
}
.card--clean{ box-shadow: none; background: #ffffff; }
.card--soft{
  background: #ffffff;
}
.card--click{ transition: transform .14s ease, box-shadow .14s ease; }
.card--click:hover{ transform: translateY(-2px); box-shadow: var(--shadow); }

.card--dark{
  background: linear-gradient(160deg, #0f1628, #1a2240);
  border-color: rgba(200,168,106,.3);
  box-shadow: 0 4px 24px rgba(200,168,106,.12), 0 8px 40px rgba(11,18,32,.25);
}
.card--dark h3{ color: #fff; }
.card--dark p{ color: rgba(255,255,255,.55); }

.card--gold-border{
  border-color: rgba(200,168,106,.25);
}

.bullets{ margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.bullets li{ margin: 8px 0; }

.note{ margin: 12px 0 0; font-size: 13px; color: var(--muted2); }

/* Details */
.details{
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: #fafaf8;
  padding: 14px 16px;
  margin-top: 12px;
}
.details summary{
  cursor: pointer;
  list-style: none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  font-weight: 850;
  color: var(--text);
}
.details summary::-webkit-details-marker{ display:none; }
.details .chev{
  color: var(--muted2);
  font-size: 14px;
  transition: transform .14s ease;
}
.details[open] .chev{ transform: rotate(180deg); }
.details__body{ margin-top: 12px; color: var(--muted); }
.details__grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.details--boxed{
  background: #f6f7fb;
  border-color: rgba(46,58,140,.12);
}
.details--inner{
  margin-top: 12px;
  background: rgba(255,255,255,.72);
}

/* Pills */
.pillrow{ display:flex; flex-wrap:wrap; gap: 10px; margin-top: 14px; }
.pill{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(46,58,140,.16);
  background: rgba(46,58,140,.05);
  color: var(--primary2);
  font-weight: 750;
  font-size: 13px;
}
.pill--gold{
  border-color: rgba(200,168,106,.35);
  background: rgba(200,168,106,.08);
  color: var(--text);
}

/* Pricing */
.pricing{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
}
.price{
  position: relative;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(16,24,40,.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.price__top{ display:grid; gap: 8px; margin-bottom: 10px; }
.price__label{
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted2);
  font-weight: 800;
}
.price__name{ margin: 0; }
.price__desc{ margin: 0; color: var(--muted); }

.price__list{
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.price__list li{ margin: 12px 0; line-height: 1.55; }
.price__list .highlight{
  padding: 8px 10px;
  margin-left: -10px;
  border-radius: 14px;
  background: rgba(200,168,106,.14);
  border: 1px solid rgba(200,168,106,.20);
  color: rgba(16,24,40,.92);
}
.price--featured .price__list .highlight{
  background: rgba(200,168,106,.12);
  border-color: rgba(200,168,106,.25);
  color: rgba(255,255,255,.9);
}
.price__amount{
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1;
}
.price__period{
  font-size: 15px;
  font-weight: 500;
  color: var(--muted2);
  letter-spacing: 0;
}
.price__cta{
  /* Stick footer to the bottom so CTA buttons align across cards */
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price--featured{
  background: linear-gradient(160deg, #0f1628, #1a2240);
  border-color: rgba(200,168,106,.3);
  box-shadow: 0 4px 24px rgba(200,168,106,.12), 0 8px 40px rgba(11,18,32,.25);
}
.price--featured .price__label{ color: rgba(200,168,106,.7); }
.price--featured .price__name{ color: #fff; }
.price--featured .price__desc{ color: rgba(255,255,255,.55); }
.price--featured .price__list{ color: rgba(255,255,255,.6); }
.price--featured .price__list strong,
.price--featured .price__list b{ color: rgba(255,255,255,.9); }
.price--featured .price__list .muted{ color: rgba(255,255,255,.4); }
.price--featured .price__list .muted b{ color: rgba(255,255,255,.65); }
.price--featured .price__amount{ color: #fff; }
.price--featured .price__period{ color: rgba(255,255,255,.4); }
.price--featured .micro.muted{ color: rgba(255,255,255,.4); }
.price__badge{
  position:absolute;
  top: 16px;
  right: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #b8944a);
  border: none;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .08em;
  box-shadow: 0 4px 16px rgba(200,168,106,.3);
}

/* Ribbon */
.ribbon{
  margin-top: 24px;
  border: 1px solid rgba(200,168,106,.25);
  border-left: 3px solid var(--gold);
  background: linear-gradient(135deg, rgba(200,168,106,.05), rgba(200,168,106,.02));
  border-radius: var(--radius);
  padding: 20px 24px;
}
.ribbon__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.ribbon p{ margin: 0; color: var(--muted); max-width: 84ch; }

/* Vault */
.vault{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items:start;
}
.vault__card{
  border: 1px solid rgba(200,168,106,.22);
  background: #ffffff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(16,24,40,.06);
}
.vault__card--dark{
  background: linear-gradient(160deg, #0f1628, #1a2240);
  border-color: rgba(200,168,106,.3);
  box-shadow: 0 4px 24px rgba(200,168,106,.12), 0 8px 40px rgba(11,18,32,.25);
}
.vault__card--dark h3{ color: #fff; }
.vault__card--dark p{ color: rgba(255,255,255,.55); }
.vault__card--dark p b{ color: rgba(255,255,255,.85); }
.vault__tag{
  display:inline-flex;
  margin: 0 0 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(46,58,140,.06);
  border: 1px solid rgba(46,58,140,.16);
  color: var(--primary2);
  font-weight: 900;
}
.vault__tag--gold{
  background: linear-gradient(135deg, var(--gold), #b8944a);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 12px rgba(200,168,106,.3);
}
.vault__chips{ display:flex; flex-wrap:wrap; gap: 10px; margin-top: 14px; }
.chip{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(230,232,238,.95);
  background: rgba(255,255,255,.72);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}
.vault__cta{ margin-top: 14px; display:grid; gap: 8px; }

.vault__aside{ display:grid; gap: 16px; }
.aside__card{
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(16,24,40,.06);
}
.aside__note{ background: #fafaf8; }

.steps{
  list-style: none;
  padding-left: 0;
  margin: 10px 0 0;
  display:grid;
  gap: 10px;
  color: var(--muted);
}
.steps li{ display:flex; align-items:center; gap: 10px; }
.steps span{
  width: 28px; height: 28px;
  border-radius: 12px;
  display:grid; place-items:center;
  background: rgba(200,168,106,.12);
  border: 1px solid rgba(200,168,106,.3);
  color: var(--gold);
  font-weight: 900;
  flex-shrink: 0;
}

/* About */
.about{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items:start;
}
.portrait{
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(16,24,40,.06);
  min-height: 220px;
}
.portrait__glow{
  position:absolute;
  inset: 18px;
  border-radius: 18px;
  background: radial-gradient(220px 180px at 35% 40%, rgba(255,255,255,.92), transparent 60%);
  opacity: .7;
  pointer-events:none;
}
.portrait__inner{
  position: relative;
  display:grid;
  place-items:center;
  height: 100%;
  text-align:center;
}
.portrait__hint{ color: var(--muted2); font-size: 13px; }

.facts{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 12px;
}
.fact{
  border: 1px solid rgba(200,168,106,.2);
  border-left: 3px solid var(--gold);
  background: #fafaf8;
  border-radius: 18px;
  padding: 16px;
  box-shadow: none;
}
.fact__k{ margin: 0; font-weight: 900; color: var(--text); }
.fact__v{ margin: 4px 0 0; color: var(--muted2); font-size: 13px; }

.about__list{
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.about__list li{
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.about__list li:last-child{ margin-bottom: 0; }
.about__list li::before{
  content: '';
  width: 8px;
  height: 8px;
  margin-top: .55em;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.about__text{
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(16,24,40,.06);
}
.about__name{ margin-top: 0; }
.about__cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* FAQ */
.faq details{
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 14px 0;
  box-shadow: 0 2px 8px rgba(16,24,40,.04);
}
.faq summary{ cursor:pointer; font-weight: 900; }
.faq p{ margin: 10px 0 0; color: var(--muted); }

/* Contact */
.contact-section{
  background: #f7f7f5;
  border-top: 1px solid var(--line);
}
.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items:start;
}
.contact__buttons{ display:flex; flex-wrap:wrap; gap: 12px; margin: 16px 0 12px; }
.contact__note{ display:flex; align-items:flex-start; gap: 10px; margin-top: 12px; }

.form{
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(16,24,40,.06);
}
.form label{
  display:grid;
  gap: 8px;
  margin: 10px 0;
  font-weight: 750;
  color: var(--muted2);
}
input, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(230,232,238,.95);
  background: rgba(255,255,255,.92);
  color: var(--text);
  outline:none;
}
input:focus, textarea:focus{
  border-color: rgba(46,58,140,.30);
  box-shadow: 0 0 0 4px rgba(46,58,140,.10);
}

/* Pull Quote */
.pull-quote{
  padding: 64px 24px;
  text-align: center;
  background: var(--bg);
  overflow: hidden;
}
.pull-quote__inner{
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  border: none;
  position: relative;
}
/* Decorative large quotation mark */
.pull-quote__inner::before{
  content: '\201C';
  display: block;
  font-size: 160px;
  line-height: 1;
  height: 60px;
  color: var(--gold);
  opacity: .18;
  font-family: Georgia, serif;
  margin-bottom: 8px;
}
.pull-quote__inner p{
  font-family: inherit;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  font-style: italic;
  line-height: 1.35;
  color: var(--text);
  margin: 0;
  letter-spacing: -.01em;
}
/* Gold line below */
.pull-quote__inner::after{
  content: '';
  display: block;
  width: clamp(60px, 10vw, 120px);
  height: 3px;
  margin: 32px auto 0;
  background: linear-gradient(90deg, transparent, #d4a844, #f0d078, #d4a844, transparent);
  box-shadow: 0 0 12px rgba(212,168,68,.4), 0 0 30px rgba(212,168,68,.15);
}

/* Footer */
.footer{
  border-top: 1px solid rgba(200,168,106,.15);
  background: rgba(248,245,238,.95);
  color: var(--muted);
  padding: 48px 0;
}
.footer__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__links{ display:flex; gap: 12px; flex-wrap:wrap; }
.footer__links a{ color: var(--muted); font-weight: 750; }
.footer__links a:hover{ color: var(--gold); }
.footer__legal{
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer__legal a{
  color: var(--muted2);
  font-size: 12px;
  font-weight: 400;
  opacity: .75;
  transition: color .3s ease, opacity .3s ease;
}
.footer__legal a:hover{
  color: var(--gold);
  opacity: 1;
}
.footer__entity{
  margin: 10px auto 0;
  text-align: center;
  color: var(--muted2);
  font-size: 11px;
  font-weight: 400;
  opacity: .6;
}

/* Responsive */
@media (max-width: 1100px){
  .hero__grid{ grid-template-columns: 1fr; max-width: none; }
  .stats{ flex-direction: column; gap: 12px; }
  .grid--2, .pricing, .vault, .about, .contact{ grid-template-columns: 1fr; }
  .details__grid{ grid-template-columns: 1fr; }

  .nav__toggle{ display:inline-flex; }
}
/* === FIX: если картинка с иконками раздувает блок (большое полотно) === */
.iconrow__img{
  display: block;
  max-height: 56px !important;
  width: auto !important;
  object-fit: contain;
}
.hero__banner-overlay{
  opacity: 1;
}

/* ABOUT: фото преподавателя должно быть "баннером", а не гигантским */
#about .portrait.portrait--photo{
  width: 100%;
  max-width: 100%;
}

#about .portrait.portrait--photo .portrait__inner{
  height: 398px;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  display: block;
}

/* picture wrapper должен занимать всю высоту inner */
#about .portrait.portrait--photo picture{
  display: block;
  width: 100%;
  height: 100%;
  place-self: stretch;
}

/* картинка всегда заполняет рамку */
#about .portrait.portrait--photo .portrait__img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 30%;
}

/* iOS/Safari: убираем "самовольное" увеличение текста, которое меняет высоты блоков */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ЖЁСТКАЯ СЕТКА 2×N (без masonry/columns) */
#tracks .grid.grid--2,
#starts .grid.grid--2,
#format .grid.grid--2 {
  /* если где-то использовались CSS columns для "псевдо-сетки" — гасим */
  columns: initial !important;
  column-count: initial !important;
  column-gap: normal !important;

  /* если было flex — переопределяем */
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch !important;
}

/* чтобы длинные слова/плашки не раздували колонку */
#tracks .grid.grid--2 > *,
#starts .grid.grid--2 > *,
#format .grid.grid--2 > * {
  min-width: 0;
}

/* карточка заполняет ячейку, и все элементы остаются внутри */
#tracks .card,
#starts .card,
#format .card {
  min-width: 0;
  height: 100%;
}

/* ПЛАШКИ: разрешаем перенос и не даём вылезать */
.pillrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.pill {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* картинки в карточках всегда "блоком" */
.card img {
  display: block;
  max-width: 100%;
}

/* =========================================
   MOBILE REWORK (2026-03)
   ========================================= */
body.menu-open{
  overflow: hidden;
}
body.menu-open::before{
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(11,18,32,.35);
  backdrop-filter: blur(2px);
  z-index: 45;
  pointer-events: none;
}

@media (max-width: 1100px){
  .container{
    width: min(var(--max), calc(100% - 28px));
  }
  .header,
  .header:not(.header--solid){
    background: rgba(251,251,248,.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .header__row{
    gap: 10px;
    padding: 10px 14px;
    min-height: 64px;
  }

  /* Logo */
  .logo{
    min-width: 0;
    gap: 10px;
    max-width: calc(100% - 56px);
  }
  .logo__mark{
    width: 38px;
    height: 38px;
    border-radius: 14px;
    font-size: 14px;
  }
  .logo__text{ min-width: 0; }
  .logo__title{
    font-size: 14px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 68vw;
  }
  .logo__subtitle{ display: none; }

  /* Lang links + Gold hamburger */
  .nav{ position: static; }
  .nav__lang--mobile{
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--gold);
    padding: 6px 6px;
  }
  .nav__menu a.nav__lang{
    display: none;
  }
  .nav__toggle{
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(200,168,106,.35);
    box-shadow: 0 4px 16px rgba(200,168,106,.15);
  }
  .nav__toggle-line{
    background: linear-gradient(135deg, var(--gold), #b8944a);
    width: 18px;
    height: 2px;
    margin: 2.5px 0;
    border-radius: 1px;
    opacity: 1;
    transition: transform .3s ease, opacity .3s ease;
  }

  /* Centered dropdown panel — menu lives on body, positioning is reliable */
  .nav__menu{
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(.95);
    width: min(480px, calc(100vw - 40px));
    max-height: calc(100dvh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 40px 48px;
    border-radius: 28px;
    border: 1px solid rgba(200,168,106,.2);
    background: #fbf8f2;
    box-shadow: 0 24px 80px rgba(16,24,40,.18), 0 0 0 1px rgba(200,168,106,.08);
    overflow-y: auto;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
  }
  .nav__menu.open{
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
  }
  .nav__menu a{
    width: auto;
    padding: 16px 0;
    border: none;
    border-bottom: 1px solid rgba(200,168,106,.15);
    border-radius: 0;
    background: none;
    color: var(--text);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: center;
  }
  .nav__menu a:last-of-type:not(.btn){
    border-bottom: none;
  }
  .nav__menu a.btn{
    margin-top: 12px;
    width: 100%;
    max-width: 280px;
    padding: 14px 24px;
    border-radius: 14px;
    border: 1px solid rgba(200,168,106,.35);
    border-bottom: 1px solid rgba(200,168,106,.35);
    background: rgba(200,168,106,.08);
    color: var(--primary2);
    font-size: 13px;
    letter-spacing: .12em;
  }
  .nav__menu a.btn.btn--enroll{
    background: linear-gradient(135deg, var(--gold), #b8944a);
    border-color: transparent;
    color: #fff;
  }

  /* Lock scroll when menu open */
  .menu-open{
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  /* Burger → cross animation */
  .menu-open .nav__toggle{
    background: transparent;
    box-shadow: none;
  }
  .menu-open .nav__toggle-line{
    background: var(--gold);
    transition: transform .3s ease, opacity .3s ease;
  }
  .menu-open .nav__toggle-line:nth-child(1){
    transform: translateY(7px) rotate(45deg);
  }
  .menu-open .nav__toggle-line:nth-child(2){
    opacity: 0;
  }
  .menu-open .nav__toggle-line:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
  }

  /* About photo: show face instead of lamp on narrow screens */
  #about .portrait.portrait--photo .portrait__img{
    object-position: center 25%;
  }

  .hero{
    padding-bottom: 12px;
  }
  .hero__banner{
    height: 60vh;
    min-height: 320px;
    max-height: 500px;
    margin-top: 0;
    margin-bottom: 24px;
  }
  .hero__banner-overlay{
    background: linear-gradient(180deg, rgba(251,248,242,.2) 0%, rgba(251,248,242,.4) 100%);
    opacity: 1;
  }
  .hero__grid{
    gap: 14px;
  }
  .panel{
    padding: 16px;
    border-radius: 20px;
  }

  h1{
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.08;
    margin-bottom: 12px;
  }
  h2{
    font-size: clamp(24px, 6.2vw, 34px);
  }
  .lead{
    font-size: 16px;
    max-width: 100%;
  }
  .eyebrow{
    font-size: 12px;
    padding: 7px 10px;
  }

  .section{
    padding: 60px 0;
  }
  .section__head{
    gap: 10px;
    margin-bottom: 24px;
  }
  .grid{
    gap: 12px;
  }
  .grid--3{
    grid-template-columns: 1fr;
  }
  .card,
  .price,
  .aside__card,
  .vault__card,
  .about__text,
  .portrait,
  .faq details,
  .details{
    padding: 15px;
    border-radius: 18px;
  }

  .hero__cta .btn,
  .about__cta .btn,
  .contact__buttons .btn{
    width: 100%;
  }

  .stats{
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 14px;
  }
  .stat{
    padding: 0 16px;
    border-right: 1px solid rgba(200,168,106,.2);
  }
  .stat:first-child{ padding-left: 0; }
  .stat:last-child{ border-right: none; }
  .banner--thin .banner__media,
  .banner--half .banner__media{
    height: clamp(200px, 50vw, 320px);
  }
  .scroll-reveal-text{
    max-width: calc(100% - 20px);
    left: 10px;
    bottom: 10px;
    font-size: clamp(18px, 6.3vw, 26px);
    line-height: 1.12;
  }
  .hero__banner .scroll-reveal-text{
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
  }
  .scroll-reveal-note{
    margin-top: 7px;
    font-size: 12px;
    letter-spacing: .03em;
  }
  .ribbon{
    padding: 13px 14px;
  }
  .ribbon__inner{
    align-items: flex-start;
  }
  .pill{
    font-size: 12px;
    padding: 7px 10px;
  }
  .facts{
    grid-template-columns: 1fr;
    gap: 10px;
  }
  #about .portrait.portrait--photo .portrait__inner{
    height: clamp(240px, 62vw, 340px);
  }
  #about .portrait.portrait--photo .portrait__img{
    object-position: center 25%;
  }

  /* University grids → single column on mobile */
  #tracks .grid.grid--2,
  #starts .grid.grid--2,
  #format .grid.grid--2{
    grid-template-columns: 1fr !important;
  }

  /* Track cards */
  .track__label{
    font-size: 10px;
    letter-spacing: .1em;
  }
  .card__cover{
    height: 180px;
    border-radius: 14px;
  }
}

@media (max-width: 640px){
  .container{
    width: min(var(--max), calc(100% - 20px));
  }
  .header__row{
    min-height: 44px;
  }
  .logo__mark{
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 12px;
  }
  h1{
    font-size: clamp(28px, 9vw, 36px);
  }
  h2{
    font-size: clamp(22px, 7.4vw, 30px);
  }
  .section{
    padding: 38px 0;
  }
  .btn{
    padding: 12px 14px;
    border-radius: 14px;
  }
  .price__badge{
    top: 10px;
    right: 10px;
  }
  .footer__row{
    justify-content: center;
    text-align: center;
  }
  .footer__links{
    justify-content: center;
  }
}

/* ---- Phone-only modernization (≤768px) ---- */
@media (max-width: 768px){
  /* Remove backdrop-filter so fixed menu positions to viewport */
  .header,
  .header:not(.header--solid){
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(251,251,248,.96);
  }

  /* Compact header */
  .header__row{
    gap: 10px;
    padding: 6px 14px;
    min-height: 48px;
  }

  /* Logo */
  .logo{
    min-width: 0;
    gap: 10px;
    max-width: calc(100% - 56px);
  }
  .logo__mark{
    width: 38px;
    height: 38px;
    border-radius: 14px;
    font-size: 14px;
  }
  .logo__text{ min-width: 0; }
  .logo__title{
    font-size: 14px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 68vw;
  }
  .logo__subtitle{ display: none; }

  /* Show hamburger */
  .nav{ position: static; }
  .nav__toggle{
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 12px;
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(200,168,106,.35);
    box-shadow: 0 4px 16px rgba(200,168,106,.15);
    z-index: 10000;
    transition: box-shadow .3s ease;
  }
  .nav__toggle-line{
    background: linear-gradient(135deg, var(--gold), #b8944a);
    width: 18px;
    height: 2px;
    margin: 2.5px 0;
    border-radius: 1px;
    opacity: 1;
    transition: transform .3s ease, opacity .2s ease;
  }

  /* Menu open: X + body lock */
  .menu-open{
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
  .menu-open .header{
    z-index: 10000;
  }
  .menu-open .logo{
    display: none;
  }
  .menu-open .nav__lang--mobile{
    display: none;
  }
  .menu-open .nav{
    margin-left: auto;
  }
  .menu-open .nav__toggle{
    background: transparent;
    box-shadow: none;
  }
  .menu-open .nav__toggle-line{
    background: var(--gold);
  }
  .menu-open .nav__toggle-line:nth-child(1){
    transform: translateY(7px) rotate(45deg);
  }
  .menu-open .nav__toggle-line:nth-child(2){
    opacity: 0;
  }
  .menu-open .nav__toggle-line:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Fullscreen light menu — menu lives on body, no containing-block issues */
  .nav__menu{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 60px 32px 48px;
    border-radius: 0;
    border: none;
    background: #fbf8f2;
    box-shadow: none;
    max-height: none;
    max-width: none;
    overflow-y: auto;
    z-index: 9999;
    opacity: 0;
    transform: none;
    pointer-events: none;
    transition: opacity .35s ease;
  }
  .nav__menu.open{
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav__menu a{
    width: auto;
    padding: 18px 0;
    border: none;
    border-bottom: 1px solid rgba(200,168,106,.15);
    border-radius: 0;
    background: none;
    color: var(--text);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: center;
  }
  .nav__menu a:last-of-type:not(.btn){
    border-bottom: none;
  }
  .nav__menu a.btn{
    margin-top: 16px;
    width: 100%;
    max-width: 260px;
    padding: 15px 24px;
    border-radius: 14px;
    border: 1px solid rgba(200,168,106,.35);
    border-bottom: 1px solid rgba(200,168,106,.35);
    background: rgba(200,168,106,.08);
    color: var(--primary2);
    font-size: 13px;
    letter-spacing: .12em;
  }
  .nav__menu a.btn.btn--enroll{
    background: linear-gradient(135deg, var(--gold), #b8944a);
    border-color: transparent;
    color: #fff;
  }

  /* Center hero face on mobile */
  .hero__banner-img{
    object-position: 55% center;
  }

  /* Gradient fade at bottom of hero banner */
  .hero__banner::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    z-index: 2;
    pointer-events: none;
  }

  /* Gold animated chevron */
  .hero__scroll-hint{
    bottom: 24px;
    color: var(--gold);
    font-size: 20px;
    text-shadow: 0 0 14px rgba(200,168,106,.5);
    z-index: 4;
  }

  /* Smaller pull-quote */
  .pull-quote{
    padding: 32px 16px;
  }
  .pull-quote__inner p{
    font-size: clamp(17px, 4.5vw, 22px);
  }
  .pull-quote__inner::before{
    font-size: 100px;
    height: 38px;
    margin-bottom: 4px;
  }

  /* Gold line divider between hero and pull-quote */
  .hero{
    position: relative;
  }
  .hero::after{
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    box-shadow: 0 0 8px rgba(200,168,106,.3);
  }

  /* Hide hero banner quote on phone */
  .banner-quote--hero{
    display: none;
  }
}

/* Super-compact phones (360px class): dense, but readable */
@media (max-width: 360px){
  .container{
    width: min(var(--max), calc(100% - 16px));
  }
  .header__row{
    min-height: 56px;
    gap: 8px;
    padding: 8px 8px;
  }
  .logo{
    max-width: calc(100% - 48px);
    gap: 8px;
  }
  .logo__mark{
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 11px;
  }
  .logo__title{
    font-size: 12px;
    max-width: 56vw;
  }
  .hero__banner{
    height: 50vh;
    min-height: 240px;
    max-height: 360px;
    margin-bottom: 16px;
  }
  h1{
    font-size: clamp(24px, 8.6vw, 31px);
  }
  h2{
    font-size: clamp(20px, 7vw, 25px);
  }
  .lead{
    font-size: 15px;
    line-height: 1.5;
  }
  .section{
    padding: 32px 0;
  }
  .section__head{
    margin-bottom: 14px;
  }
  .grid{
    gap: 10px;
  }
  .card,
  .price,
  .aside__card,
  .vault__card,
  .about__text,
  .portrait,
  .faq details,
  .details{
    padding: 13px;
    border-radius: 16px;
  }
  .stats{
    gap: 8px;
  }
  .stat{
    padding: 10px 12px;
  }
  .btn{
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 14px;
  }
  .pill{
    font-size: 11px;
    padding: 6px 9px;
  }
  .banner--thin .banner__media,
  .banner--half .banner__media{
    height: clamp(140px, 44vw, 190px);
  }
  .scroll-reveal-text{
    left: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    font-size: clamp(16px, 5.6vw, 21px);
    line-height: 1.12;
  }
  .scroll-reveal-note{
    margin-top: 5px;
    font-size: 11px;
    letter-spacing: .02em;
  }
}

/* Premium large phones (Pro Max / Plus / wide Android): more air and type */
@media (min-width: 400px) and (max-width: 767px){
  .container{
    width: min(var(--max), calc(100% - 30px));
  }
  .header__row{
    min-height: 68px;
    padding: 11px 15px;
  }
  .logo__mark{
    width: 40px;
    height: 40px;
  }
  .logo__title{
    font-size: 15px;
    max-width: 65vw;
  }
  .logo__subtitle{
    display: block;
    font-size: 11px;
  }

  .hero{
    padding-bottom: 18px;
  }
  .hero__banner{
    height: 55vh;
    min-height: 280px;
    max-height: 420px;
    margin-bottom: 30px;
  }
  .hero__grid{
    gap: 18px;
  }
  h1{
    font-size: clamp(34px, 8.2vw, 46px);
    line-height: 1.06;
  }
  h2{
    font-size: clamp(27px, 6.4vw, 36px);
  }
  .lead{
    font-size: 17px;
    line-height: 1.6;
  }
  .section{
    padding: 56px 0;
  }
  .grid{
    gap: 14px;
  }
  .card,
  .price,
  .aside__card,
  .vault__card,
  .about__text,
  .portrait,
  .faq details,
  .details{
    padding: 18px;
    border-radius: 20px;
  }
  .hero__cta,
  .about__cta{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .hero__cta .btn,
  .about__cta .btn{
    width: 100%;
  }
  .contact__buttons{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .contact__buttons .btn{
    width: 100%;
  }
  .stats{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .banner--thin .banner__media,
  .banner--half .banner__media{
    height: clamp(205px, 44vw, 285px);
  }
  .scroll-reveal-text{
    left: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    font-size: clamp(24px, 5.1vw, 34px);
  }
  .scroll-reveal-note{
    font-size: 13px;
  }
  .facts{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================
   WOW UPGRADE — 2026-04-14
   GPU-only: transform + opacity only, no box-shadow transitions
   ========================================= */

/* --- 1. SCROLL REVEAL (GPU: opacity + transform only) --- */
.sr{
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .55s ease-out, transform .55s ease-out;
}
.sr--left{  transform: translate3d(-30px, 0, 0); }
.sr--right{ transform: translate3d(30px, 0, 0); }
.sr--scale{ transform: scale3d(.95,.95,1); }
.sr.visible{
  opacity: 1;
  transform: translate3d(0,0,0) scale3d(1,1,1);
}
.sr-stagger > .sr:nth-child(1){ transition-delay: 0s; }
.sr-stagger > .sr:nth-child(2){ transition-delay: .07s; }
.sr-stagger > .sr:nth-child(3){ transition-delay: .14s; }
.sr-stagger > .sr:nth-child(4){ transition-delay: .21s; }

/* Gentler reveal for FAQ items — subtle fade, no stagger */
.faq details.sr{
  transform: translate3d(0, 12px, 0);
  transition: opacity .7s ease-out, transform .7s ease-out;
}

/* --- 2. HERO GRADIENT TEXT --- */
.hero h1{
  background: linear-gradient(135deg, var(--text) 15%, var(--primary) 45%, var(--gold) 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__content{ position: relative; }

/* --- 3. BUTTON HOVER (transform only, no box-shadow transition) --- */
.btn{
  position: relative;
  overflow: hidden;
  transition: transform .2s ease-out, opacity .2s ease-out;
}
.btn::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.2) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .5s ease-out;
  pointer-events: none;
}
.btn:hover{ transform: translateY(-2px); }
.btn:hover::after{ transform: translateX(120%); }
.btn:active{ transform: translateY(0) scale(.98); }

/* --- 4. CARD HOVER (transform only) --- */
.card,
.price,
.aside__card,
.vault__card,
.about__text,
.portrait,
.faq details{
  transition: transform .25s ease-out;
}
.card:hover,
.aside__card:hover,
.vault__card:hover,
.about__text:hover,
.portrait:hover{
  transform: translateY(-3px);
}
.price:hover{
  transform: translateY(-4px);
}
.faq details:hover{
  transform: translateY(-2px);
}

/* --- 5. GOLD ACCENT UNDER SECTION HEADINGS --- */
.section__head h2{
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}
.section__head h2::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(200,168,106,.15));
  border-radius: 3px;
}

/* --- 6. STAT GRADIENT TEXT --- */
.stat dd{
  background: linear-gradient(135deg, var(--text) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat{
  transition: transform .2s ease-out;
}
.stat:hover{
  transform: translateY(-2px);
}

/* --- 7. FACTS HOVER --- */
.fact{
  transition: transform .2s ease-out;
}
.fact:hover{
  transform: translateY(-2px);
}

/* --- 8. PANEL FLOAT (GPU: transform only) --- */
@keyframes panel-float{
  0%, 100%{ transform: translate3d(0, 0, 0); }
  50%{ transform: translate3d(0, -6px, 0); }
}
.hero__panel .panel{
  animation: panel-float 7s ease-in-out infinite;
}

/* --- 9. FAQ OPEN STATE --- */
.faq details[open]{
  border-color: rgba(200,168,106,.30);
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,252,245,.60));
}
.faq details[open] summary{
  color: var(--primary);
}

/* --- 10. DETAILS OPEN ANIM (opacity + transform) --- */
.details__body{
  animation: details-open .3s ease-out;
}
@keyframes details-open{
  from{ opacity: 0; transform: translate3d(0, -6px, 0); }
  to{ opacity: 1; transform: translate3d(0, 0, 0); }
}

/* --- 11. GOLD DIVIDER ORNAMENT (removed) --- */

/* --- 12. NAV UNDERLINE (transform only) --- */
.nav__menu a{ position: relative; }
@media (min-width: 1101px){
  .nav__menu a::after{
    content: "";
    position: absolute;
    bottom: 2px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4a844, #f0d078, #d4a844, transparent);
    box-shadow: 0 0 8px rgba(212,168,68,.4), 0 0 20px rgba(212,168,68,.15);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease-out;
  }
  .nav__menu a:hover::after{ transform: scaleX(1); }
  .nav__menu a.btn--nav::after,
  .nav__menu a.nav__lang::after{ display: none; }
}

/* --- 13. LOGO HOVER --- */
.logo__mark{
  transition: transform .25s ease-out;
}
.logo:hover .logo__mark{
  transform: rotate(-6deg) scale(1.06);
}

/* --- 14. STEPS HOVER --- */
.steps span{
  transition: transform .2s ease-out;
}
.steps li:hover span{
  transform: scale(1.12);
}

/* --- 15. IMAGE FADE-IN ON LOAD --- */
img.img-fade{
  opacity: 0;
  transition: opacity .4s ease-out;
}
img.img-fade.loaded{
  opacity: 1;
}
/* Баннеры-разделители — без fade, просто показываем */
.banner__img{ opacity: 1 !important; }

/* --- 16. BANNER QUOTE OVERLAYS --- */
.banner-quote{
  position: absolute;
  z-index: 5;
  pointer-events: none;
}

/* --- Hero quote (centered, monumental) --- */
.banner-quote--hero{
  left: auto;
  right: 6%;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  max-width: min(520px, 45vw);
  text-align: right;
  width: 100%;
}

/* --- Divider banner quotes — centered --- */
.banner-quote--left{
  left: 50%;
  top: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
  max-width: min(600px, 75vw);
  text-align: center;
}

/* --- Typography — clean, crisp, elegant --- */
.banner-quote__text,
.banner-quote__author,
.banner-quote__line{
  display: block;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  color: #fff;
  text-shadow:
    0 1px 8px rgba(0,0,0,.15),
    0 0 30px rgba(0,0,0,.06);
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 1.2s cubic-bezier(.16,1,.3,1),
    transform 1.2s cubic-bezier(.16,1,.3,1);
}

.banner-quote__text{
  font-size: clamp(22px, 2.8vw, 40px);
  font-weight: 700;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: .02em;
}

.banner-quote__author{
  margin-top: 20px;
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 600;
  font-style: normal;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
}

/* --- Step lines — mix of light + bold --- */
.banner-quote__line{
  font-size: clamp(26px, 3.4vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .03em;
}
.banner-quote__line strong,
.banner-quote__line b{
  font-weight: 700;
}
.banner-quote__line + .banner-quote__line{
  margin-top: 4px;
}

/* --- Italic variant (university) --- */
.banner-quote--italic .banner-quote__text{
  font-style: italic;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 600;
}

/* --- Warm-text variant --- */
.banner-quote--warm .banner-quote__text,
.banner-quote--warm .banner-quote__author,
.banner-quote--warm .banner-quote__line{
  color: #fff;
  text-shadow:
    0 1px 8px rgba(0,0,0,.15),
    0 0 30px rgba(0,0,0,.06);
}
.banner-quote--warm::after{
  margin: 24px auto 0;
}

/* --- Gold accent line — animated glow reveal --- */
.banner-quote::after{
  content: '';
  display: block;
  width: clamp(60px, 12vw, 160px);
  height: 3px;
  margin: 24px auto 0;
  background: linear-gradient(90deg, transparent, #d4a844, #f0d078, #d4a844, transparent);
  box-shadow: 0 0 12px rgba(212,168,68,.5), 0 0 30px rgba(212,168,68,.2);
  border-radius: 2px;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.4s cubic-bezier(.16,1,.3,1), box-shadow 2s ease;
  transition-delay: .7s;
}
.banner-quote--hero::after{
  margin: 24px auto 0;
  width: clamp(80px, 14vw, 180px);
}

/* --- REVEAL STATE — staggered cascade --- */

/* Hero banner: monumental white */
.hero__banner .banner-quote__text{
  color: #fff;
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 600;
  font-style: normal;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-shadow:
    0 2px 30px rgba(0,0,0,.3),
    0 0 80px rgba(0,0,0,.1);
}
.hero__banner .banner-quote__author{
  color: rgba(255,255,255,.75);
  text-shadow: 0 1px 8px rgba(0,0,0,.15), 0 0 30px rgba(0,0,0,.06);
}
.hero__banner .banner-quote__line{
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,.15), 0 0 30px rgba(0,0,0,.06);
}

/* Hero: triggered by JS after 400ms delay */
.hero__banner.quote-visible .banner-quote__text{
  opacity: 1;
  transform: translate3d(0, 0, 0);
  letter-spacing: .06em;
  transition-delay: .1s;
}
.hero__banner.quote-visible .banner-quote__author{
  opacity: 1;
  transform: translate3d(0, 0, 0);
  letter-spacing: .18em;
  transition-delay: .5s;
}
.hero__banner.quote-visible .banner-quote::after{
  transform: scaleX(1);
  animation: goldPulse 3s ease-in-out 2.2s infinite;
}

/* Divider banners: on scroll */
.banner__media{
  position: relative;
}
.banner__media.quote-visible .banner-quote__text,
.banner__media.quote-visible .banner-quote__line{
  opacity: 1;
  transform: translate3d(0, 0, 0);
  letter-spacing: .06em;
  transition-delay: .15s;
}
.banner__media.quote-visible .banner-quote__author{
  opacity: 1;
  transform: translate3d(0, 0, 0);
  letter-spacing: .18em;
  transition-delay: .5s;
}
.banner__media.quote-visible .banner-quote__line + .banner-quote__line{
  transition-delay: .35s;
}
.banner__media.quote-visible .banner-quote::after{
  transform: scaleX(1);
  animation: goldPulse 3s ease-in-out 2.2s infinite;
}

/* --- Mobile --- */
@media(max-width:640px){
  .banner-quote--hero{
    left: 50%;
    right: auto;
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 90vw;
    text-align: center;
    padding: 0 16px;
  }
  .banner-quote--hero::after{
    margin: 16px auto 0;
    transform-origin: center center;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }
  .banner-quote--left{
    left: 50%;
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    max-width: 90vw;
    text-align: center;
    padding: 0 16px;
  }
  .banner-quote__text{
    font-size: clamp(15px, 4.2vw, 22px);
  }
  .banner-quote__author{
    font-size: clamp(10px, 2.8vw, 13px);
  }
  .banner-quote__line{
    font-size: clamp(16px, 5vw, 26px);
  }
  .banner-quote--italic .banner-quote__text{
    font-size: clamp(16px, 4.5vw, 24px);
  }
  .banner-quote::after{
    width: clamp(24px, 10vw, 50px);
  }
}

/* --- 17. TRACK DIRECTION CARDS --- */
.track-card{
  display: flex;
  flex-direction: column;
  border-color: rgba(200,168,106,.2);
}
.track-card:hover{
  border-color: rgba(200,168,106,.4);
  box-shadow: 0 8px 32px rgba(200,168,106,.12), 0 16px 48px rgba(11,18,32,.08);
}

.track__eyebrow{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.track__num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #b8944a);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(200,168,106,.3);
}
.track__label{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--gold);
}

.card__cover{
  margin-top: 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(200,168,106,.15);
  height: 220px;
}
.card__cover img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.details--gold{
  border-color: rgba(200,168,106,.2);
  border-left: 3px solid var(--gold);
  background: linear-gradient(135deg, rgba(200,168,106,.04), rgba(200,168,106,.01));
}
.details--gold .chev{ color: var(--gold); }

.track__cta{
  margin-top: auto;
  padding-top: 24px;
}
.track__cta .price__amount{
  margin-bottom: 14px;
}

/* Featured track — dark */
.track-card--featured{
  background: linear-gradient(160deg, #0f1628, #1a2240);
  border-color: rgba(200,168,106,.3);
  box-shadow: 0 4px 24px rgba(200,168,106,.12), 0 8px 40px rgba(11,18,32,.25);
}
.track-card--featured:hover{
  border-color: rgba(200,168,106,.5);
  box-shadow: 0 8px 32px rgba(200,168,106,.2), 0 16px 48px rgba(11,18,32,.3);
}
.track-card--featured h3{ color: #fff; }
.track-card--featured p{ color: rgba(255,255,255,.55); }
.track-card--featured p b{ color: rgba(255,255,255,.85); }
.track-card--featured .bullets{ color: rgba(255,255,255,.55); }
.track-card--featured .bullets b{ color: rgba(255,255,255,.85); }
.track-card--featured .track__label{ color: rgba(200,168,106,.9); }
.track-card--featured .pill{
  background: rgba(200,168,106,.1);
  border-color: rgba(200,168,106,.25);
  color: rgba(255,255,255,.7);
}
.track-card--featured .pill--gold{
  background: rgba(200,168,106,.15);
  border-color: rgba(200,168,106,.4);
  color: rgba(255,255,255,.85);
}
.track-card--featured .details{
  background: rgba(255,255,255,.04);
  border-color: rgba(200,168,106,.15);
}
.track-card--featured .details--gold{
  border-left-color: var(--gold);
  background: rgba(200,168,106,.06);
}
.track-card--featured .details summary{ color: rgba(255,255,255,.85); }
.track-card--featured .details__body{ color: rgba(255,255,255,.5); }
.track-card--featured .details__body b{ color: rgba(255,255,255,.85); }
.track-card--featured .details .chev{ color: rgba(200,168,106,.6); }
.track-card--featured .price__amount{ color: #fff; }
.track-card--featured .price__period{ color: rgba(255,255,255,.5); }
.track-card--featured .card__cover{ border-color: rgba(200,168,106,.25); }

/* --- 18. UNIVERSITY: STARTS LAYOUT --- */
.starts__layout{
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  align-items: stretch;
}
.starts__photo{
  border-radius: 28px;
  overflow: hidden;
  background: #eee;
}
.starts__photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media(max-width:1100px){
  .starts__layout{
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .starts__photo{
    height: 220px;
    border-radius: 22px;
  }
  .starts__photo img{
    object-position: center 20%;
  }
}

/* --- 19. LINK HOVER --- */
.link{
  transition: color .2s ease-out;
}
.link:hover{
  color: var(--primary);
  text-decoration: none;
}
