/* ============================================================
   ALBA GUM — design system
   Editorial Luxe · Cormorant Garamond + Manrope · cream/ink/gold
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --serif: 'Prata', Georgia, 'Times New Roman', serif;
  --sans: 'Golos Text', 'Helvetica Neue', Arial, sans-serif;

  --cream:   #f5efe6;   /* page background            */
  --cream-2: #efe6d7;   /* alternate band background  */
  --cream-3: #fbf6ef;   /* card surface               */
  --ink:     #2a2420;   /* dark surface / primary     */
  --ink-2:   #241f1b;   /* headings on light          */
  --ink-3:   #201b17;   /* footer                     */

  --gold:      #a9793f; /* accent                     */
  --gold-2:    #c9a86a;
  --gold-3:    #e3c99a; /* light gold on dark         */
  --gold-warm: #d3b071;

  --text:   #52483e;    /* body on light              */
  --text-2: #6a5f54;
  --text-3: #8a8175;    /* muted                      */
  --muted:  #a99a80;    /* muted on light             */

  --line:      #e6dac6;
  --line-2:    #e0d3bd;
  --line-gold: #cdb590;

  --shadow-card: 0 18px 40px -30px rgba(60, 44, 24, .5);
  --shadow-lift: 0 34px 60px -32px rgba(60, 44, 24, .5);
  --shadow-photo: 0 44px 80px -40px rgba(60, 44, 24, .5);

  --maxw: 1240px;
  --pad: 28px;

  --dur-fast: .22s;
  --dur: .35s;
  --dur-slow: .6s;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: #855e2e; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--ink-2); }
::selection { background: #e6cdb0; color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.visually-hidden:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto; margin: 0;
  clip: auto; z-index: 200; background: var(--ink); color: var(--cream);
  padding: 10px 18px; border-radius: 999px; font: 600 13px/1 var(--sans);
}

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: 92px; padding-bottom: 92px; }
.band-cream { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-ink { background: var(--ink); color: #ece2d2; }

.eyebrow {
  display: inline-block;
  font: 700 11px/1 var(--sans);
  letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
}
.sec-title { font-size: clamp(34px, 3vw + 18px, 46px); line-height: 1.02; margin: 6px 0 0; }
.sec-note { font: 400 15px/1.6 var(--sans); color: var(--text-3); margin: 0; max-width: 24em; }

.sec-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 42px; }
.sec-idx {
  font-family: var(--serif); font-weight: 300; font-size: 74px; line-height: .7;
  color: transparent; -webkit-text-stroke: 1px var(--line-2); flex-shrink: 0;
}
.band-ink .sec-idx { -webkit-text-stroke-color: #6a5b45; }
.sec-head__body { flex: 1; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- Prose ---------- */
.prose { max-width: 46em; }
.prose h2 { font-size: clamp(28px, 2.4vw + 14px, 38px); margin: 40px 0 14px; }
.prose h3 { font-size: 24px; margin: 28px 0 10px; }
.prose p { margin: 0 0 16px; font-size: 17px; color: var(--text); }
.prose ul { margin: 0 0 18px; padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 12px; font-size: 16px; color: var(--text); }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(169, 121, 63, .14);
}
.prose strong { color: var(--ink-2); font-weight: 700; }

/* ---------- Links ---------- */
.lnk {
  position: relative; padding-bottom: 2px;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 1px;
  transition: background-size var(--dur) var(--ease);
}
.lnk:hover { background-size: 100% 2px; }
.arrow-link { font: 600 14px/1 var(--sans); color: var(--gold); display: inline-flex; gap: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px; border-radius: 999px; border: 1px solid transparent;
  font: 700 14px/1 var(--sans); letter-spacing: .03em; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease),
              background-size .5s var(--ease), border-color var(--dur-fast), color var(--dur-fast);
}
.btn-sm { padding: 11px 22px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.btn-fill, .btn-gold {
  color: var(--cream); background-color: var(--ink);
  background-image: linear-gradient(90deg, var(--gold), var(--gold-2));
  background-repeat: no-repeat; background-size: 0% 100%;
}
.btn-fill:hover, .btn-gold:hover { background-size: 100% 100%; color: var(--cream); transform: translateY(-2px); }
.btn-gold { color: var(--ink-2); background-color: var(--gold); background-image: linear-gradient(90deg, var(--gold-2), #e0c48c); }
.btn-gold:hover { color: var(--ink-2); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-gold); }
.btn-ghost:hover { border-color: var(--gold); background: var(--cream-3); transform: translateY(-2px); color: var(--ink); }
.btn-ghost--light { color: #f1e9db; border-color: #6a6154; }
.btn-ghost--light:hover { color: var(--gold-3); border-color: var(--gold-warm); background: transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245, 239, 230, .82); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; line-height: 1; }
.brand__logo { height: 40px; width: auto; display: block; }
.brand__word { font-family: var(--serif); font-weight: 500; font-size: 26px; letter-spacing: .06em; color: var(--ink-2); }
.brand__word span { color: var(--gold); }
.brand__sub { font: 600 9.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); margin-top: 5px; }
.brand--light .brand__word { color: var(--cream); }
.brand--light .brand__sub { color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2);
  position: relative; padding-bottom: 3px;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1px;
  transition: background-size var(--dur) var(--ease), color var(--dur-fast);
}
.main-nav a:hover { color: var(--ink); background-size: 100% 1px; }
.main-nav .nav-lk {
  padding: 8px 16px; border: 1px solid var(--line-gold); border-radius: 999px; color: var(--gold);
  background-image: none; transition: background .25s, color .25s, border-color .25s, transform .2s;
}
.main-nav .nav-lk:hover { background: var(--gold); border-color: var(--gold); color: var(--cream-3); transform: translateY(-2px); }
.mobile-nav .nav-lk { color: var(--gold); }
.header-cta { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--cream-3);
  color: var(--ink); cursor: pointer; padding: 0;
}
.burger svg { width: 20px; height: 20px; }
.mobile-nav { display: none; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); overflow: hidden; border-bottom: 1px solid var(--ink-3); }
.marquee__track { display: inline-flex; white-space: nowrap; padding: 11px 0; animation: marquee 34s linear infinite; }
.marquee__group { display: inline-flex; align-items: center; }
.marquee__item { font-family: var(--serif); font-style: italic; color: var(--gold-3); font-size: 18px; padding: 0 26px; }
.marquee__star { color: #7d5f34; font-size: 10px; }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto; padding: 76px var(--pad) 60px;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center;
}
.hero__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.hero__meta .rule { flex: 1; max-width: 110px; height: 1px; background: var(--line-2); }
.hero__meta .place { font: 700 11px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.hero__meta .since { font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }
.hero h1 {
  font-size: clamp(48px, 6vw + 8px, 82px); line-height: .98; letter-spacing: -.01em;
  margin: 0 0 26px; color: var(--ink-2); text-wrap: balance;
}
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold); }
.hero__lead { font-size: 18px; color: var(--text); margin: 0 0 12px; max-width: 32em; }
.hero__whisper { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--text-3); margin: 0 0 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-photo { position: relative; }
.hero-photo__img {
  position: relative; z-index: 1; aspect-ratio: 4/5; width: 100%; height: auto; object-fit: cover; object-position: center 12%;
  border-radius: 6px; box-shadow: var(--shadow-photo);
}
.hero-badge { position: absolute; z-index: 2; }
.hero-badge--float {
  right: -10px; bottom: 44px; background: var(--cream-3); padding: 14px 20px;
  border-radius: 12px; box-shadow: 0 20px 40px -22px rgba(60, 44, 24, .55);
  animation: floatY 6s ease-in-out infinite;
}
.hero-badge--float .k { font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero-badge--float .v { font-family: var(--serif); font-size: 24px; color: var(--ink-2); line-height: 1.1; }
.hero-badge--round {
  left: -14px; top: 30px; width: 74px; height: 74px; border-radius: 50%; background: var(--gold);
  color: var(--cream-3); display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 16px 30px -14px rgba(120, 90, 40, .7);
}
.hero-badge--round .n { font-family: var(--serif); font-size: 24px; line-height: 1; }
.hero-badge--round .u { font: 400 8px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Path cards (two roads) ---------- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1080px) { .paths { grid-template-columns: 1fr 1fr; } }
.path-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  border-radius: 20px; background: #332c26; border: 1px solid #4a4136; text-decoration: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur);
}
.path-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: #6a5b45; color: inherit; }
.path-card--course { background: linear-gradient(160deg, #3a2f22, #332c26); border-color: #6a5528; }
.path-card--course:hover { border-color: var(--gold); }
.path-card__ghost {
  position: absolute; top: 14px; right: 26px; font-family: var(--serif); font-weight: 300;
  font-size: 120px; line-height: .7; color: transparent; -webkit-text-stroke: 1px #443b31;
  z-index: 0; pointer-events: none;
}
.path-card--course .path-card__ghost { -webkit-text-stroke-color: #6a5528; }
.path-card__head { position: relative; z-index: 1; display: flex; gap: 20px; align-items: center; padding: 30px 34px 0; }
.path-card__ava { flex-shrink: 0; width: 92px; height: 92px; border-radius: 50%; object-fit: cover; border: 1px solid #5a4f42; }
.path-card--course .path-card__ava { border-color: #8a6a3a; }
.path-card__kicker { font: 700 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #cba898; display: inline-flex; align-items: center; gap: 8px; }
.path-card--course .path-card__kicker { color: var(--gold-3); }
.path-card__head h3 { font-size: 30px; margin: 6px 0 0; color: var(--cream); line-height: 1.04; }
.path-card__body { position: relative; z-index: 1; padding: 20px 34px 32px; }
.path-card__body p { margin: 0 0 18px; font-size: 15px; color: #b3a893; max-width: 32em; }
.path-card--course .path-card__body p { color: #c3b393; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { padding: 6px 13px; border: 1px solid #4a4136; border-radius: 999px; font: 400 12px/1.3 var(--sans); color: #cbbfa9; }
.path-card--course .chip { border-color: #6a5528; color: var(--gold-3); }
.chip--live { padding: 3px 9px; background: var(--gold); color: var(--ink-2); border: none; font: 700 9px/1.4 var(--sans); letter-spacing: .08em; }
.path-card__cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 999px; background: var(--cream); color: var(--ink); font: 700 13px/1 var(--sans); letter-spacing: .04em; }
.path-card--course .path-card__cta { background: var(--gold); color: var(--ink-2); }

/* ---------- Directions (3-col split) ---------- */
.dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.dir-cell { padding: 36px 34px 40px; display: flex; flex-direction: column; gap: 12px; transition: background var(--dur-fast); }
.dir-cell + .dir-cell { border-left: 1px solid var(--line-2); }
.dir-cell:hover { background: var(--cream-3); }
.dir-cell__k { font: 700 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.dir-cell h3 { font-weight: 500; font-size: 27px; margin: 0; }
.dir-cell p { margin: 0; font-size: 15px; color: var(--text); }
.dir-cell p.muted { color: var(--text-3); font-size: 14px; margin-top: 4px; }

/* ---------- Feature tiles (service pages) ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-tile { background: var(--cream-3); border: 1px solid var(--line); border-radius: 16px; padding: 30px 30px 32px; box-shadow: var(--shadow-card); }
.feat-num { font-family: var(--serif); font-size: 30px; color: var(--gold); }
.feat-tile h3 { font-weight: 500; font-size: 23px; margin: 8px 0 8px; }
.feat-tile p { margin: 0; font-size: 15px; color: var(--text); }

/* ---------- Answer card (AEO) ---------- */
.answer-card { position: relative; overflow: hidden; background: var(--ink); color: #ece2d2; border-radius: 18px; padding: 30px 34px; }
.answer-card p { margin: 0; font-size: 17px; line-height: 1.66; color: #e8ddca; position: relative; }
.answer-card b { color: var(--gold-3); font-weight: 600; }
.gold-overlay::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 120% at 90% -10%, rgba(201, 168, 106, .16), transparent 60%),
    radial-gradient(50% 80% at 8% 120%, rgba(169, 121, 63, .12), transparent 60%);
}

/* ---------- Cycle ---------- */
.cycle-head { text-align: center; max-width: 42em; margin: 0 auto; }
.cycle-wrap { position: relative; margin-top: 54px; }
.cycle__line { position: absolute; top: 36px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, var(--line-2), var(--gold)); transform-origin: left; }
.cycle { position: relative; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 8px; }
.cycle__step { text-align: center; padding: 0 14px; }
.cycle__num {
  width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; border: 1px solid var(--line-gold);
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 28px;
  color: var(--gold); background: var(--cream-3); box-shadow: 0 12px 24px -14px rgba(120, 90, 40, .5);
}
.cycle__step--final .cycle__num { background: var(--gold); color: var(--cream-3); border-color: var(--gold); }
.cycle__step h3 { font-weight: 500; font-size: 22px; margin: 0 0 8px; }
.cycle__step p { font-size: 14px; color: var(--text-2); margin: 0; }
.cycle__arrow { align-self: center; padding-top: 22px; color: var(--line-gold); font-size: 22px; }

/* ---------- Education band ---------- */
.edu-band {
  position: relative; overflow: hidden; border-radius: 22px; background: var(--ink); color: #ece2d2;
  padding: 62px 54px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center;
}
.edu-band__body { position: relative; }
.edu-band__body h2 { font-size: clamp(34px, 3vw + 16px, 46px); margin: 16px 0 16px; color: var(--cream); line-height: 1.02; }
.edu-band__body h2 em { font-style: italic; color: var(--gold-3); }
.edu-band__body p { font-size: 16px; color: #b3a893; margin: 0 0 24px; max-width: 34em; }
.edu-band .chip { border-color: #574c40; color: var(--gold-3); padding: 8px 16px; font-size: 13px; }
.edu-band__actions { position: relative; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Master ---------- */
.master { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: center; }
.master__photo { aspect-ratio: 4/5; width: 100%; height: auto; object-fit: cover; object-position: center 15%; border-radius: 10px 10px 170px 170px; box-shadow: var(--shadow-photo); }
.master__figure { margin: 0; position: relative; }
.master__cap { position: absolute; left: 16px; bottom: 16px; background: rgba(42,36,32,.82); color: var(--cream); padding: 8px 14px; border-radius: 999px; font: 600 11px/1 var(--sans); letter-spacing: .06em; }
.master__body p { font-size: 17px; color: var(--text); margin: 0 0 16px; max-width: 34em; }
.master__body .quote { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--text-2); margin: 0 0 30px; }
.stat-row { display: flex; gap: 44px; flex-wrap: wrap; border-top: 1px solid var(--line-2); padding-top: 26px; }
.stat__num { font-family: var(--serif); font-size: 44px; color: var(--gold); line-height: 1; }
.stat__label { font: 400 12px/1.3 var(--sans); color: var(--text-3); letter-spacing: .04em; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 14px; }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-btn {
  padding: 11px 22px; border-radius: 999px; font: 600 13px/1 var(--sans); letter-spacing: .04em; cursor: pointer;
  background: transparent; color: var(--text-2); border: 1px solid var(--line-2); transition: all var(--dur-fast);
}
.filter-btn:hover { border-color: var(--gold); color: var(--ink); }
.filter-btn.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.galfig {
  position: relative; margin: 0; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden;
  background: #ece3d2; cursor: pointer; box-shadow: 0 16px 34px -24px rgba(60, 44, 24, .55);
}
.galfig img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.galfig:hover img { transform: scale(1.07); }
.galfig--feat { grid-column: span 2; grid-row: span 2; }
.galfig figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px;
  background: linear-gradient(transparent, rgba(36, 29, 22, .8)); color: var(--cream);
  font: 600 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase;
}
.galfig[hidden] { display: none; }

/* ---------- Reviews ---------- */
.rating-pill { display: inline-flex; align-items: center; gap: 12px; background: var(--cream-3); border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 18px; }
.rating-pill .num { font-family: var(--serif); font-size: 26px; color: var(--ink-2); line-height: 1; }
.rating-pill .stars { color: var(--gold-warm); font-size: 14px; letter-spacing: 2px; }
.rating-pill .src { font: 400 12px/1 var(--sans); color: var(--text-2); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { margin: 0; background: var(--cream-3); border: 1px solid var(--line); border-radius: 16px; padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-card); }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__ava { width: 44px; height: 44px; border-radius: 50%; color: var(--cream-3); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 20px; flex-shrink: 0; }
.review__name { font: 700 14px/1.2 var(--sans); color: var(--ink-2); }
.review__date { font: 400 12px/1 var(--sans); color: var(--muted); }
.review__stars { color: var(--gold-warm); font-size: 12px; letter-spacing: 1px; margin-left: auto; }
.review p { margin: 0; font-size: 14.5px; color: var(--text); line-height: 1.62; }
.review__src { font: 400 11px/1 var(--sans); color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--cream-3); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer; padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left;
  font-family: var(--serif); font-size: 22px; color: var(--ink-2);
}
.faq-icon { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: #efe4d3; display: flex; align-items: center; justify-content: center; font: 400 20px/1 var(--sans); color: var(--gold); transition: transform var(--dur) var(--ease); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .4s var(--ease), opacity .3s; }
.faq-q[aria-expanded="true"] + .faq-a { opacity: 1; }
.faq-a p { margin: 0; padding: 0 26px 26px; font-size: 16px; color: var(--text); max-width: 46em; }

/* ---------- Contacts ---------- */
.contacts { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.info-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 30px; }
.info-item .k { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #a08d6f; margin-bottom: 5px; }
.info-item .v { font-size: 16px; color: #f1e9db; }
.info-item .v--phone { font-family: var(--serif); font-size: 28px; }
.info-note { font: 400 11px/1.5 var(--sans); color: #877a66; margin-top: 6px; max-width: 34em; }
.social-row { display: flex; gap: 12px; margin: 2px 0 30px; }
.social-btn { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(245, 239, 230, .07); border: 1px solid #574c40; color: var(--gold-3); transition: background var(--dur-fast) var(--ease), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast) var(--ease); }
.social-btn svg { width: 23px; height: 23px; }
.social-btn:hover { background: var(--gold); border-color: var(--gold); color: #241f1b; transform: translateY(-3px); }
.map-embed { border: 0; width: 100%; aspect-ratio: 16/9; border-radius: 12px; }
.map-embed--ph {
  aspect-ratio: 16/8; border-radius: 12px; border: 1px dashed #6a6154;
  background: repeating-linear-gradient(45deg, #332d27, #332d27 11px, #2c2621 11px, #2c2621 22px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  font: 12px/1.4 var(--sans); color: var(--muted);
}

.form-card { background: var(--cream); color: var(--ink); border-radius: 20px; padding: 44px 40px; box-shadow: 0 34px 66px -32px rgba(0, 0, 0, .45); }
.form-card h3 { font-weight: 500; font-size: 32px; margin: 0 0 6px; }
.form-card__note { font: 400 14px/1.5 var(--sans); color: var(--text-3); margin: 0 0 24px; }
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.field input, .field textarea {
  padding: 14px 15px; border: 1px solid #dcd2c1; border-radius: 10px; background: #fff;
  font: 400 15px/1.4 var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(169, 121, 63, .12); outline: none; }
.field textarea { resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--gold); flex-shrink: 0; }
.consent span { font: 400 13px/1.5 var(--sans); color: var(--text-3); }
.form-err { color: #b0492f; font: 400 13px/1.4 var(--sans); min-height: 0; }
.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px 0; }
.form-success .tick { width: 58px; height: 58px; border-radius: 50%; background: #efe4d3; display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--gold); }
.form-success h3 { margin: 0; }
.form-success p { margin: 0; font-size: 15px; color: var(--text); }
.booking-closed { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 6px 0; }
.booking-closed__badge { font: 700 10px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: #b0492f; padding: 7px 13px; border-radius: 999px; }
.booking-closed h3 { margin: 4px 0 0; }
.booking-closed p { margin: 0; font-size: 15px; color: var(--text); line-height: 1.6; }
.booking-closed .btn { width: 100%; margin-top: 8px; }
.btn:disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; pointer-events: none; background-image: none; transform: none; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; border-radius: 22px; background: linear-gradient(160deg, #3a2f22, var(--ink)); border: 1px solid #6a5528; padding: 58px 40px; color: #ece2d2; }
.cta-band h2 { font-size: clamp(32px, 3vw + 14px, 44px); margin: 0 0 12px; color: var(--cream); }
.cta-band p { font-size: 16px; color: #c3b393; margin: 0 auto 28px; max-width: 34em; }
.cta-band .btn-row { justify-content: center; }
.cta-band__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 90% at 50% -10%, rgba(211, 176, 113, .18), transparent 60%); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-3); color: var(--text-3); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 40px var(--pad) 28px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid #322a23; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font: 600 13px/1 var(--sans); letter-spacing: .04em; color: var(--gold-2); }
.footer-nav a:hover { color: var(--gold-3); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; font: 400 13px/1.5 var(--sans); }
.footer-disclaimer { font: 400 11px/1.5 var(--sans); color: #6a5f52; margin: 14px 0 0; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; font: 500 13px/1 var(--sans); color: var(--text-3); }
.breadcrumbs li { display: flex; gap: 8px; align-items: center; }
.breadcrumbs li + li::before { content: "›"; color: var(--line-gold); }
.breadcrumbs a { color: var(--text-2); }
.breadcrumbs a:hover { color: var(--gold); }

/* ---------- Floating dock ---------- */
.dock { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; flex-direction: column; gap: 12px; }
.dock a { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 26px -8px rgba(60, 44, 24, .6); transition: transform var(--dur-fast) var(--ease); }
.dock a svg { width: 28px; height: 28px; }
.dock a:hover { transform: scale(1.09); }
.dock__wa { background: var(--ink); color: var(--cream); animation: ring 2.8s ease-out infinite; }
.dock__tg { background: var(--gold); color: var(--cream); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(26, 20, 14, .92); backdrop-filter: blur(7px); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; animation: fadeIn .25s both; }
.lightbox__inner { max-width: 560px; width: 100%; text-align: center; }
.lightbox__inner img { max-width: 100%; max-height: 78vh; margin: 0 auto; border-radius: 12px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7); }
.lightbox__cap { margin-top: 16px; font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-3); }
.lb-btn { position: absolute; border-radius: 50%; border: 1px solid rgba(245, 239, 230, .3); background: rgba(42, 36, 32, .6); color: var(--cream); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-close { top: 20px; right: 22px; width: 46px; height: 46px; font-size: 20px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 22px; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }

/* ---------- Reveal (progressive enhancement) ---------- */
.js .reveal, .js .reveal-soft { opacity: 0; will-change: opacity, transform; }
.js .reveal { transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal-soft { transition: opacity .8s var(--ease); }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal.is-visible, .js .reveal-soft.is-visible { opacity: 1; transform: none; }
.cycle__line { transform: scaleX(0); transition: transform 1s var(--ease); }
.cycle__line.is-visible { transform: scaleX(1); }

/* ---------- Keyframes ---------- */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(169, 121, 63, .5); }
  70% { box-shadow: 0 0 0 15px rgba(169, 121, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(169, 121, 63, 0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero, .master, .contacts { grid-template-columns: 1fr; gap: 40px; }
  .edu-band { grid-template-columns: 1fr !important; gap: 34px; padding: 44px 30px; }
  .paths { grid-template-columns: 1fr; }
  .dir-grid { grid-template-columns: 1fr; }
  .dir-cell + .dir-cell { border-left: none; border-top: 1px solid var(--line-2); }
  .feat-grid, .reviews { grid-template-columns: 1fr 1fr !important; }
  .cycle { grid-template-columns: 1fr; gap: 32px; }
  .cycle__arrow, .cycle__line { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .galfig--feat { grid-column: auto; grid-row: auto; }
  .main-nav { display: none; }
  .burger { display: inline-flex; }
  .hero { padding-top: 46px; padding-bottom: 40px; }
  .hero-photo { order: -1; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
  .hero-photo__img { border-radius: 0; aspect-ratio: 4/5; }
  .hero-badge--round { left: 16px; top: 16px; }
  .hero-badge--float { right: 16px; bottom: 16px; }
  .sec-idx { font-size: 48px; }
  .sec-head { gap: 12px; margin-bottom: 30px; }
  .section { padding-top: 64px; padding-bottom: 64px; }

  .site-header.nav-open .mobile-nav { display: flex; flex-direction: column; }
  .mobile-nav { border-top: 1px solid var(--line); padding: 8px var(--pad) 16px; background: var(--cream); }
  .mobile-nav a { padding: 13px 4px; font: 600 14px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); border-bottom: 1px solid #ece0cf; }
  .mobile-nav a:last-child { border-bottom: none; }
}
@media (max-width: 560px) {
  :root { --pad: 18px; }
  .header-inner { padding: 12px var(--pad); }
  .brand__logo { height: 34px; }
  .feat-grid, .reviews { grid-template-columns: 1fr !important; }
  .form-card { padding: 30px 20px; }
  .form-card h3 { font-size: 26px; }
  .edu-band, .cta-band { padding: 38px 20px; }
  .stat-row { gap: 26px; }
  .dock a { width: 50px; height: 50px; }
  .section { padding-top: 52px; padding-bottom: 52px; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: 42px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .arrow-link { text-align: center; margin-top: 8px; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .gallery { gap: 10px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-soft { opacity: 1 !important; transform: none !important; }
  .cycle__line { transform: scaleX(1) !important; }
}

/* ---------- Сертификаты ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert-card { margin: 0; background: var(--cream-3); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; box-shadow: var(--shadow-card); transition: transform var(--dur) var(--ease); }
.cert-card:hover { transform: translateY(-3px); }
.cert-card img { width: 100%; height: 210px; object-fit: cover; object-position: center; display: block; background: #fff; }
.cert-card figcaption { padding: 12px 14px; font: 400 12.5px/1.45 var(--sans); color: var(--text-3); }
.cert-card figcaption b { display: block; color: var(--ink); font-weight: 600; font-size: 13px; margin-bottom: 3px; }
.cert-card figcaption span { color: var(--muted, #8a8175); font-size: 12px; }
@media (max-width: 980px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } .cert-card img { height: 180px; } }
@media (max-width: 700px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } .cert-card img { height: 150px; } }
