/* ==================================================================
   Solanki Motor Car Training School — Site stylesheet (2026 rebuild)
   Jodhpur sandstone + vermillion + marigold. Editorial, warm, local.
   ================================================================== */

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  /* Surfaces */
  --paper:      #FBF6EE;
  --paper-2:    #F4EBDC;
  --paper-3:    #EADFC9;
  --white:      #FFFFFF;

  /* Ink */
  --ink:        #1A1512;
  --ink-2:      #453A31;
  --ink-3:      #6E6055;
  --ink-4:      #98897B;

  /* Brand */
  --brand:      #C0281B;
  --brand-dk:   #97180E;
  --brand-tint: #FAE8E4;
  --gold:       #D99A2B;
  --gold-tint:  #FBF0DA;
  --indigo:     #1E3A6E;
  --indigo-tint:#E7ECF5;
  --green:      #1E7A4D;

  /* Lines */
  --line:       #E3D6BF;
  --line-2:     #D2C1A5;

  /* Shape */
  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Shadow — warm, not grey */
  --sh-1: 0 1px 2px rgba(60,42,20,.06), 0 2px 8px rgba(60,42,20,.05);
  --sh-2: 0 2px 6px rgba(60,42,20,.07), 0 12px 28px rgba(60,42,20,.09);
  --sh-3: 0 8px 20px rgba(60,42,20,.10), 0 30px 60px rgba(60,42,20,.13);

  /* Rhythm */
  --pad:  clamp(1.15rem, 4.2vw, 2.5rem);
  --gap:  clamp(1.25rem, 2.6vw, 2.25rem);
  --sec:  clamp(4.25rem, 9.5vw, 8.5rem);
  --wrap: 1240px;

  /* Type */
  --f-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --f-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-deva:    "Noto Sans Devanagari", "Nirmala UI", "Mangal", sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);

  --nav-h: 74px;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1, "cv11" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

/* Sprite icons default to text size; components override with a class rule. */
svg:has(use) { width: 1.05em; height: 1.05em; flex: none; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.018em;
  margin: 0;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 40;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

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

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

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 3px;
}

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

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 999;
  background: var(--ink); color: var(--paper);
  padding: .75rem 1.25rem; border-radius: var(--r-sm); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Layout helpers ──────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.wrap--wide { max-width: 1420px; }
.wrap--tight { max-width: 880px; }

.section { padding-block: var(--sec); position: relative; }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }

/* Warm paper grain — sits above backgrounds, below content */
.grain::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .30;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

/* ── Photo slots ─────────────────────────────────────────────────
   Every photo slot ships a designed SVG fallback. The JPEG is layered
   on top and removed by JS if it isn't on the server, so the page never
   shows a broken image.
   ---------------------------------------------------------------- */
[data-photo] { position: relative; }
img[data-optional] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Section headings ────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .705rem; font-weight: 700;
  letter-spacing: .21em; text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 1.15rem;
}
.eyebrow::before {
  content: ""; width: 30px; height: 2px;
  background: currentColor; opacity: .5;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--gold); }

.s-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.s-head--center { margin-inline: auto; text-align: center; }
.s-head h2 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); }
.s-head p {
  margin-top: 1.1rem; font-size: 1.075rem;
  color: var(--ink-3); max-width: 62ch;
}
.s-head--center p { margin-inline: auto; }

.lede { font-size: clamp(1.05rem, 1.9vw, 1.2rem); color: var(--ink-2); line-height: 1.7; }

.hi { font-family: var(--f-deva); font-weight: 500; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: -.005em;
  border: 1.5px solid transparent;
  transition: transform .22s var(--ease), background-color .22s var(--ease),
              color .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
  will-change: transform;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--primary { background: var(--brand); color: var(--white); box-shadow: var(--sh-2); }
.btn--primary:hover { background: var(--brand-dk); box-shadow: var(--sh-3); }

.btn--ink { background: var(--ink); color: var(--paper); box-shadow: var(--sh-2); }
.btn--ink:hover { background: #2C231C; }

.btn--ghost { border-color: var(--line-2); color: var(--ink); background: rgba(255,255,255,.5); }
.btn--ghost:hover { border-color: var(--ink); background: var(--white); }

.btn--onDark { border-color: rgba(255,255,255,.34); color: var(--white); background: rgba(255,255,255,.07); backdrop-filter: blur(8px); }
.btn--onDark:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); }

.btn--wa { background: var(--green); color: var(--white); box-shadow: var(--sh-2); }
.btn--wa:hover { background: #17603C; }

.btn--sm { padding: .62rem 1.15rem; font-size: .86rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Text link with animated rule */
.tlink {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .95rem;
  color: var(--brand);
  padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1.5px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .3s var(--ease), gap .25s var(--ease);
}
.tlink:hover { background-size: 0% 1.5px; gap: .85rem; }

/* ══════════════════════════════════════════════════════════════
   TOP BAR + NAV
   ══════════════════════════════════════════════════════════════ */
.topbar {
  background: var(--ink); color: rgba(251,246,238,.82);
  font-size: .795rem; letter-spacing: .005em;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 40px; padding-block: .45rem;
}
.topbar__list { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__item svg { width: 14px; height: 14px; opacity: .65; flex: none; }
.topbar a:hover { color: var(--white); }
.topbar__badge {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--gold); font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; font-size: .69rem;
}
@media (max-width: 860px) { .topbar__hide { display: none; } }

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,246,238,.82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(60,42,20,.07);
  background: rgba(251,246,238,.94);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; min-height: var(--nav-h);
}

.brand { display: inline-flex; align-items: center; gap: .7rem; flex: none; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__mark circle, .brand__mark line { transition: stroke .3s var(--ease); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--f-display); font-weight: 700;
  font-size: 1.185rem; letter-spacing: -.01em;
  font-variation-settings: "opsz" 20;
}
.brand__sub {
  font-size: .565rem; font-weight: 600;
  letter-spacing: .175em; text-transform: uppercase;
  color: var(--ink-3); margin-top: 4px;
}

.nav__links { display: flex; align-items: center; gap: .35rem; }
.nav__links a {
  position: relative;
  padding: .55rem .85rem;
  font-size: .9rem; font-weight: 500;
  color: var(--ink-2); border-radius: var(--r-sm);
  transition: color .2s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem;
  height: 1.5px; background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--ink); font-weight: 600; }

.nav__actions { display: flex; align-items: center; gap: .6rem; flex: none; }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
}
.burger span {
  display: block; position: relative;
  width: 19px; height: 1.8px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), background-color .2s var(--ease);
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0;
  width: 19px; height: 1.8px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), top .2s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top:  6px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: rotate(45deg); }
.burger.is-open span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1000px) {
  .nav__links { display: none; }
  .burger { display: inline-flex; }
  .nav__actions .btn--nav { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(26,21,18,.55);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto;
  width: min(400px, 88vw); height: 100%;
  background: var(--paper);
  padding: 1.4rem var(--pad) 2rem;
  display: flex; flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .38s var(--ease);
  box-shadow: -20px 0 60px rgba(26,21,18,.25);
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.75rem; }
.drawer__close {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center; font-size: 1.15rem;
}
.drawer__close:hover { background: var(--paper-3); }
.drawer__links { display: flex; flex-direction: column; }
.drawer__links a {
  display: flex; align-items: baseline; gap: .9rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-size: 1.5rem; font-weight: 600;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.drawer__links a:hover { color: var(--brand); padding-left: .4rem; }
.drawer__links .n {
  font-family: var(--f-body); font-size: .68rem; font-weight: 700;
  color: var(--ink-4); letter-spacing: .12em;
}
.drawer__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: .7rem; }
.drawer__meta {
  margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--ink-3);
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: clamp(560px, 82vh, 860px);
  display: flex; align-items: flex-end;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(2rem, 4.5vw, 3.25rem);
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  transform: scale(1.06);
  animation: heroDrift 24s var(--ease) forwards;
}
@keyframes heroDrift { to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(26,21,18,.62) 0%, rgba(26,21,18,.18) 26%, rgba(26,21,18,.55) 62%, rgba(26,21,18,.92) 100%),
    linear-gradient(95deg, rgba(26,21,18,.72) 0%, rgba(26,21,18,.22) 55%, rgba(26,21,18,0) 82%);
}
/* Background film, layered over the still. Faded in only once it is actually
   playing, so a slow start never shows a black rectangle. */
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 45%;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
  pointer-events: none;
}
.hero__video.is-playing { opacity: 1; }

/* The illustrated fallback is lighter than a photograph, so it needs less scrim. */
.hero.no-photo .hero__scrim {
  background:
    linear-gradient(180deg, rgba(20,16,26,.58) 0%, rgba(26,21,18,.06) 30%, rgba(26,21,18,.34) 66%, rgba(20,16,13,.82) 100%),
    linear-gradient(95deg, rgba(20,16,26,.66) 0%, rgba(26,21,18,.14) 58%, rgba(26,21,18,0) 86%);
}

.hero__inner { position: relative; width: 100%; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 5vw, 4rem); align-items: end;
}

.hero__kicker {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .45rem 1rem .45rem .55rem;
  border-radius: 999px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.94);
  font-size: .775rem; font-weight: 600; letter-spacing: .04em;
  margin-bottom: 1.5rem;
}
.hero__kicker b {
  background: var(--gold); color: var(--ink);
  padding: .18rem .6rem; border-radius: 999px;
  font-size: .69rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6.6vw, 4.8rem);
  line-height: .99;
  letter-spacing: -.031em;
  max-width: 15ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero h1 em {
  font-style: italic; color: var(--gold);
  font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 60;
}
.hero__sub {
  margin-top: 1.35rem; max-width: 48ch;
  color: rgba(255,255,255,.87);
  font-size: clamp(1rem, 1.7vw, 1.14rem); line-height: 1.62;
  text-shadow: 0 1px 16px rgba(0,0,0,.4);
}
.hero .btn-row { margin-top: 1.9rem; }

.hero__facts {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: clamp(1.9rem, 3.6vw, 2.75rem);
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 1.35rem;
}
.hero__fact { padding-right: clamp(1.5rem, 4vw, 3rem); }
.hero__fact + .hero__fact {
  padding-left: clamp(1.5rem, 4vw, 3rem);
  border-left: 1px solid rgba(255,255,255,.2);
}
.hero__fact dt {
  font-size: .69rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.62); margin-bottom: .3rem;
}
.hero__fact dd {
  margin: 0; color: var(--white);
  font-family: var(--f-display); font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 600;
  line-height: 1.15;
}
.hero__fact dd span { font-size: .68em; color: var(--gold); }

/* Floating info card */
.hero__card {
  width: 300px; flex: none;
  background: rgba(251,246,238,.95);
  backdrop-filter: blur(16px);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  box-shadow: var(--sh-3);
  border: 1px solid rgba(255,255,255,.5);
}
.hero__card h3 {
  font-size: .72rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase;
  color: var(--ink-3); font-family: var(--f-body);
  margin-bottom: 1rem;
}
.hcard__row {
  display: flex; align-items: flex-start; gap: .8rem;
  padding-block: .7rem;
}
.hcard__row + .hcard__row { border-top: 1px solid var(--line); }
.hcard__ico {
  width: 34px; height: 34px; flex: none; border-radius: 10px;
  background: var(--brand-tint); color: var(--brand);
  display: grid; place-items: center;
}
.hcard__ico svg { width: 17px; height: 17px; }
.hcard__row b { display: block; font-size: .92rem; font-weight: 600; line-height: 1.35; }
.hcard__row small { display: block; font-size: .785rem; color: var(--ink-3); line-height: 1.45; }
.hcard__stars { color: var(--gold); letter-spacing: .08em; font-size: .9rem; }

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { display: none; }
}
@media (max-width: 560px) {
  .hero__kicker { font-size: .72rem; gap: .55rem; padding-right: .85rem; }
  .hero__kicker b { font-size: .64rem; padding: .16rem .5rem; }
  .hero__facts { gap: 1.15rem 0; }
  .hero__fact { width: 50%; padding-right: 1rem; }
  .hero__fact + .hero__fact { padding-left: 0; border-left: 0; }
  .hero__fact:nth-child(odd) { padding-left: 0; }
}

/* ── Ticker ──────────────────────────────────────────────────── */
.ticker {
  background: var(--ink); color: var(--paper);
  border-block: 1px solid rgba(255,255,255,.09);
  overflow: hidden; padding-block: .95rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: tick 42s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; flex: none; }
.ticker__item {
  display: inline-flex; align-items: center; gap: .75rem;
  padding-inline: 1.75rem;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  white-space: nowrap;
}
.ticker__item::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand); margin-left: 1.75rem;
}
@keyframes tick { to { transform: translateX(-50%); } }

/* ══════════════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════════════ */
.about__grid {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  gap: clamp(2.25rem, 6vw, 5rem);
  align-items: center;
}
.about__media { position: relative; }
.about__media > svg,
.about__media > img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
}
.about__media::before {
  content: ""; position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-lg);
  z-index: -1;
}
.about__stamp {
  position: absolute; right: clamp(-14px, -1vw, -6px); bottom: clamp(-16px, -1.5vw, -8px);
  width: clamp(122px, 15vw, 158px); height: clamp(122px, 15vw, 158px);
  border-radius: 50%;
  background: var(--brand); color: var(--white);
  display: grid; place-content: center; text-align: center;
  box-shadow: var(--sh-3);
  border: 5px solid var(--paper);
}
.about__stamp b {
  display: block; font-family: var(--f-display);
  font-size: clamp(2.1rem, 3.4vw, 2.8rem); line-height: 1; font-weight: 700;
}
.about__stamp span {
  display: block; font-size: .615rem; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase;
  margin-top: .35rem; opacity: .88;
}

.about__body h2 { font-size: clamp(2rem, 4.6vw, 3.15rem); }
.about__body > p { margin-top: 1.25rem; color: var(--ink-2); }

.about__points {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 1.75rem;
  margin: 2.25rem 0;
  padding-top: 2rem; border-top: 1px solid var(--line);
}
.about__point { display: flex; gap: .85rem; }
.about__point .ico {
  width: 38px; height: 38px; flex: none; border-radius: 11px;
  background: var(--gold-tint); color: #A9741A;
  display: grid; place-items: center;
}
.about__point .ico svg { width: 19px; height: 19px; }
.about__point b { display: block; font-size: .95rem; font-weight: 650; line-height: 1.35; }
.about__point small { display: block; font-size: .845rem; color: var(--ink-3); line-height: 1.5; margin-top: .12rem; }

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
  .about__points { grid-template-columns: 1fr; }
}

/* ── Stats band ──────────────────────────────────────────────── */
.stats {
  background: var(--ink); color: var(--paper);
  padding-block: clamp(3rem, 6vw, 4.75rem);
  position: relative; overflow: hidden;
}
/* auto-fit, because the "students trained" tile only appears once the
   school publishes a number — the row must work with 3 tiles or 4. */
.stats__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
}
.stat { text-align: center; padding-inline: .5rem; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.13); }
.stat b {
  display: block;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1;
  color: var(--white);
  font-variation-settings: "opsz" 100;
}
.stat b i { font-style: normal; color: var(--gold); }
/* Direct child only — the number itself lives in a span inside <b>. */
.stat > span {
  display: block; margin-top: .7rem;
  font-size: .715rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase;
  color: rgba(251,246,238,.6);
}
/* Dividers are dropped rather than repositioned — which tile starts a row
   depends on how many are visible, so index-based borders can't be right. */
@media (max-width: 720px) {
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 7vw, 2.75rem) 1rem; }
  .stat + .stat { border-left: 0; }
}

/* ══════════════════════════════════════════════════════════════
   COURSES
   ══════════════════════════════════════════════════════════════ */
.courses {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: var(--gap);
  align-items: stretch;
}
.course {
  position: relative; display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .34s var(--ease), box-shadow .34s var(--ease), border-color .34s var(--ease);
}
.course:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-3);
  border-color: var(--line-2);
}
.course__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-3); }
.course__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.course:hover .course__media img { transform: scale(1.06); }
.course__no {
  position: absolute; left: 1rem; top: 1rem; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(26,21,18,.72); backdrop-filter: blur(8px);
  color: var(--white);
  display: grid; place-items: center;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
}
.course__tag {
  position: absolute; right: 1rem; top: 1rem; z-index: 2;
  background: var(--gold); color: var(--ink);
  padding: .35rem .8rem; border-radius: 999px;
  font-size: .66rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  box-shadow: var(--sh-1);
}
.course__body { padding: 1.6rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.course__body h3 { font-size: 1.6rem; }
.course__meta {
  display: flex; flex-wrap: wrap; gap: .45rem;
  margin: .9rem 0 1rem;
}
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 999px; padding: .3rem .75rem;
  font-size: .75rem; font-weight: 600; color: var(--ink-2);
}
.course__desc { font-size: .935rem; color: var(--ink-3); line-height: 1.62; }
.course__list { margin: 1.15rem 0 1.5rem; display: grid; gap: .58rem; }
.course__list li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .895rem; color: var(--ink-2); line-height: 1.5;
}
.course__list svg { width: 16px; height: 16px; flex: none; margin-top: .24em; color: var(--green); }
.course__foot {
  margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.course__fee { font-size: .8rem; font-weight: 650; color: var(--ink-3); line-height: 1.3; }
.course__fee b { display: block; color: var(--ink); font-size: .93rem; font-weight: 700; }

.course--feature { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }

/* ══════════════════════════════════════════════════════════════
   PROCESS / ROADMAP
   ══════════════════════════════════════════════════════════════ */
.process { position: relative; }
.process__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
}
.process__road {
  position: absolute; left: 0; right: 0; top: 27px;
  height: 2px; z-index: 0;
  background-image: linear-gradient(90deg, var(--line-2) 55%, transparent 0);
  background-size: 14px 2px;
}
.step { position: relative; z-index: 1; }
.step__no {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink);
  color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--f-display); font-size: 1.28rem; font-weight: 700;
  margin-bottom: 1.35rem;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.step:hover .step__no { background: var(--brand); border-color: var(--brand); color: var(--white); transform: scale(1.06); }
.step h3 { font-size: 1.24rem; margin-bottom: .55rem; }
.step p { font-size: .9rem; color: var(--ink-3); line-height: 1.6; }
.section--paper2 .step__no { background: var(--paper-2); }

@media (max-width: 900px) {
  .process__grid { grid-template-columns: repeat(2, 1fr); gap: 2.25rem 1.5rem; }
  .process__road { display: none; }
}
@media (max-width: 520px) {
  .process__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  /* Number in its own column, spanning both text rows. */
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 1.15rem; align-items: start; }
  .step__no { grid-column: 1; grid-row: 1 / span 2; margin-bottom: 0; }
  .step h3 { grid-column: 2; grid-row: 1; margin-top: .45rem; }
  .step p  { grid-column: 2; grid-row: 2; margin-top: .4rem; }
}

/* ══════════════════════════════════════════════════════════════
   WHY / FEATURES
   ══════════════════════════════════════════════════════════════ */
.why__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.why__cell {
  background: var(--paper);
  padding: clamp(1.6rem, 3vw, 2.35rem);
  transition: background-color .3s var(--ease);
}
.why__cell:hover { background: var(--white); }
.why__ico {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--brand-tint); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 1.25rem;
}
.why__ico svg { width: 23px; height: 23px; }
.why__cell:nth-child(3n+2) .why__ico { background: var(--gold-tint); color: #A9741A; }
.why__cell:nth-child(3n+3) .why__ico { background: var(--indigo-tint); color: var(--indigo); }
.why__cell h3 { font-size: 1.24rem; margin-bottom: .55rem; }
.why__cell p { font-size: .9rem; color: var(--ink-3); line-height: 1.62; }

/* ══════════════════════════════════════════════════════════════
   INSTRUCTORS
   ══════════════════════════════════════════════════════════════ */
.team {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--gap);
}
.member {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.member:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.member__photo {
  aspect-ratio: 1 / 1; background: var(--paper-3);
  display: grid; place-items: center; overflow: hidden;
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__initial {
  font-family: var(--f-display); font-size: 3.4rem; font-weight: 600; color: var(--ink-4);
}
.member__body { padding: 1.3rem 1.35rem 1.5rem; }
.member__body h3 { font-size: 1.24rem; }
.member__role {
  font-size: .715rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin: .5rem 0 .7rem;
}
.member__body p { font-size: .88rem; color: var(--ink-3); line-height: 1.58; }

/* ══════════════════════════════════════════════════════════════
   REVIEWS
   ══════════════════════════════════════════════════════════════ */
.reviews__top {
  display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.rating {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.75rem;
  text-align: center; box-shadow: var(--sh-1);
}
.rating__score {
  font-family: var(--f-display); font-size: 4rem; font-weight: 600; line-height: 1;
  font-variation-settings: "opsz" 100;
}
.rating__stars { color: var(--gold); font-size: 1.25rem; letter-spacing: .12em; margin: .55rem 0 .45rem; }
.rating__meta { font-size: .84rem; color: var(--ink-3); }
.rating .btn { margin-top: 1.25rem; }

.reviews {
  columns: 3; column-gap: var(--gap);
}
.review {
  break-inside: avoid; margin-bottom: var(--gap);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.5rem;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.review:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.review__stars { color: var(--gold); letter-spacing: .1em; font-size: .95rem; margin-bottom: .8rem; }
.review p {
  font-size: .935rem; color: var(--ink-2); line-height: 1.66;
  font-family: var(--f-display);
  font-variation-settings: "opsz" 14, "SOFT" 20;
}
.review__by { display: flex; align-items: center; gap: .7rem; margin-top: 1.15rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.review__av {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--indigo); color: var(--white);
  display: grid; place-items: center; font-weight: 700; font-size: .92rem;
}
.review__by b { display: block; font-size: .89rem; font-weight: 650; }
.review__by small { display: block; font-size: .74rem; color: var(--ink-4); }

@media (max-width: 1000px) { .reviews { columns: 2; } .reviews__top { grid-template-columns: 1fr; } .rating { max-width: 380px; } }
@media (max-width: 620px)  { .reviews { columns: 1; } }

/* ══════════════════════════════════════════════════════════════
   GALLERY
   ══════════════════════════════════════════════════════════════ */
.gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: .75rem;
}
.gallery a {
  display: block; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--r); background: var(--paper-3);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.07); }

/* ══════════════════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════════════════ */
.faq__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-size: clamp(1.05rem, 2vw, 1.28rem); font-weight: 600;
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand); }
.faq summary .pm {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--line-2);
  display: grid; place-items: center; position: relative;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .3s var(--ease);
}
.faq summary .pm::before, .faq summary .pm::after {
  content: ""; position: absolute; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.faq summary .pm::before { width: 12px; height: 1.8px; }
.faq summary .pm::after  { width: 1.8px; height: 12px; }
.faq details[open] summary { color: var(--brand); }
.faq details[open] summary .pm { background: var(--brand); border-color: var(--brand); color: var(--white); transform: rotate(180deg); }
.faq details[open] summary .pm::after { opacity: 0; }
.faq__a { padding: 0 0 1.5rem; max-width: 68ch; }
.faq__a p { font-size: .945rem; color: var(--ink-3); line-height: 1.68; }

.faq__aside {
  background: var(--ink); color: var(--paper);
  border-radius: var(--r-lg); padding: 1.9rem;
  position: sticky; top: calc(var(--nav-h) + 20px);
}
.faq__aside h3 { color: var(--white); font-size: 1.5rem; margin-bottom: .7rem; }
.faq__aside p { font-size: .91rem; color: rgba(251,246,238,.72); line-height: 1.62; }
.faq__aside .btn { margin-top: 1.35rem; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__aside { position: static; } }

/* ══════════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════════ */
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; margin-bottom: .45rem;
  font-size: .795rem; font-weight: 650; letter-spacing: .045em;
  color: var(--ink-2);
}
.field label .req { color: var(--brand); }

.field input, .field textarea, .field select {
  width: 100%;
  padding: .88rem 1.05rem;
  font: inherit; font-size: .95rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 118px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-tint);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field--half { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .field--half { grid-template-columns: 1fr; } }

.choice { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice label {
  display: flex; align-items: center; gap: .65rem; margin: 0;
  padding: .85rem 1rem;
  border: 1.5px solid var(--line-2); border-radius: var(--r);
  background: var(--white); cursor: pointer;
  font-size: .9rem; font-weight: 550;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.choice label::before {
  content: ""; width: 18px; height: 18px; flex: none;
  border: 1.5px solid var(--line-2); border-radius: 50%;
  transition: border-width .2s var(--ease), border-color .2s var(--ease);
}
.choice input:checked + label { border-color: var(--brand); background: var(--brand-tint); }
.choice input:checked + label::before { border-color: var(--brand); border-width: 5.5px; }
.choice input:focus-visible + label { outline: 3px solid var(--indigo); outline-offset: 2px; }

.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-note { font-size: .795rem; color: var(--ink-4); margin-top: .9rem; line-height: 1.55; }

.form-msg {
  display: none; margin-top: 1rem;
  padding: .9rem 1.1rem; border-radius: var(--r);
  font-size: .9rem; font-weight: 550; line-height: 1.5;
}
.form-msg.is-on { display: block; }
.form-msg.is-ok  { background: #E6F4EC; color: #14603C; border: 1px solid #B7DEC9; }
.form-msg.is-err { background: var(--brand-tint); color: var(--brand-dk); border: 1px solid #EEC4BC; }

.btn.is-busy { pointer-events: none; opacity: .65; }
.btn.is-busy .spin { display: inline-block; }
.spin {
  display: none; width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: currentColor; border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Enrol section */
.enrol__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.enrol__card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(1.6rem, 3.5vw, 2.5rem);
  box-shadow: var(--sh-2);
}
.enrol__list { display: grid; gap: 1.1rem; margin-top: 2rem; }
.enrol__list li { display: flex; gap: .9rem; }
.enrol__list .n {
  width: 27px; height: 27px; flex: none; border-radius: 50%;
  background: var(--brand); color: var(--white);
  display: grid; place-items: center;
  font-size: .74rem; font-weight: 700;
}
.enrol__list b { display: block; font-size: .96rem; font-weight: 650; }
.enrol__list small { display: block; font-size: .865rem; color: var(--ink-3); line-height: 1.55; }
@media (max-width: 900px) { .enrol__grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════════════ */
.contact__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.info { display: grid; gap: 1rem; margin-bottom: 2rem; }
.info__row {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.1rem 1.2rem;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
a.info__row:hover { border-color: var(--brand); transform: translateX(3px); }
.info__ico {
  width: 40px; height: 40px; flex: none; border-radius: 12px;
  background: var(--paper-2); color: var(--brand);
  display: grid; place-items: center;
}
.info__ico svg { width: 19px; height: 19px; }
.info__row dt {
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: .28rem;
}
.info__row dd { margin: 0; font-size: .95rem; font-weight: 550; line-height: 1.5; }
.info__row dd small { display: block; font-weight: 400; font-size: .845rem; color: var(--ink-3); margin-top: .15rem; }

.map {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--sh-1);
  background: var(--paper-3);
  aspect-ratio: 16 / 11;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.88); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════
   CTA BAND
   ══════════════════════════════════════════════════════════════ */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--paper);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  text-align: center;
}
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(26,21,18,.86), rgba(26,21,18,.93));
}
.cta h2 { color: var(--white); font-size: clamp(2.1rem, 5.4vw, 3.5rem); margin-inline: auto; max-width: 19ch; }
.cta p { margin: 1.25rem auto 0; max-width: 54ch; color: rgba(251,246,238,.78); }
.cta .btn-row { justify-content: center; margin-top: 2.15rem; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.foot { background: #14100D; color: rgba(251,246,238,.68); padding-top: clamp(3.25rem, 6vw, 5rem); }
.foot__grid {
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.25rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.foot .brand__name { color: var(--paper); }
.foot .brand__sub { color: rgba(251,246,238,.5); }
.foot__about { margin-top: 1.25rem; font-size: .9rem; line-height: 1.65; max-width: 40ch; }
.foot h4 {
  font-family: var(--f-body); font-size: .715rem; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--paper); margin-bottom: 1.15rem;
}
.foot__links { display: grid; gap: .68rem; }
.foot__links a { font-size: .9rem; transition: color .2s var(--ease), padding-left .2s var(--ease); }
.foot__links a:hover { color: var(--gold); padding-left: 4px; }
.foot__bar {
  border-top: 1px solid rgba(251,246,238,.12);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; font-size: .82rem;
}
.foot__bar a:hover { color: var(--gold); }
.foot__bar nav { display: flex; flex-wrap: wrap; gap: 1.35rem; }

.foot__by {
  display: inline-flex; align-items: center; gap: .38rem;
  color: rgba(251,246,238,.55);
  transition: color .2s var(--ease);
}
.foot__by strong { color: rgba(251,246,238,.85); font-weight: 650; }
.foot__by:hover, .foot__by:hover strong { color: var(--gold); }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ══════════════════════════════════════════════════════════════
   MOBILE ACTION BAR + BACK TO TOP
   ══════════════════════════════════════════════════════════════ */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none;
  background: rgba(251,246,238,.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 24px rgba(60,42,20,.11);
}
.actionbar__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.actionbar a {
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  padding: .55rem .3rem; border-radius: var(--r);
  font-size: .705rem; font-weight: 650; letter-spacing: .02em;
}
.actionbar a svg { width: 19px; height: 19px; }
.actionbar .ab-call { background: var(--brand-tint); color: var(--brand-dk); }
.actionbar .ab-wa   { background: #E4F3EA; color: #14603C; }
.actionbar .ab-go   { background: var(--ink); color: var(--paper); }
@media (max-width: 1000px) {
  .actionbar { display: block; }
  body { padding-bottom: 74px; }
}

.totop {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  box-shadow: var(--sh-2);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s var(--ease), background-color .2s var(--ease);
}
.totop.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { background: var(--brand); }
.totop svg { width: 18px; height: 18px; }
@media (max-width: 1000px) { .totop { bottom: 88px; right: 14px; } }

/* ══════════════════════════════════════════════════════════════
   COOKIE BANNER
   ══════════════════════════════════════════════════════════════ */
.cookie {
  position: fixed; z-index: 150;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 560px;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  padding: 1.35rem 1.5rem;
  transform: translateY(140%);
  transition: transform .45s var(--ease);
}
.cookie.is-on { transform: translateY(0); }
.cookie h4 { font-family: var(--f-display); font-size: 1.1rem; margin-bottom: .45rem; }
.cookie p { font-size: .85rem; color: var(--ink-3); line-height: 1.55; }
.cookie p .hi { display: block; margin-top: .3rem; font-size: .82rem; }
.cookie__btns { display: flex; gap: .6rem; margin-top: 1.1rem; flex-wrap: wrap; }
@media (max-width: 1000px) { .cookie { bottom: 88px; } }

/* ══════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__media img { animation: none; transform: none; }
}

/* Print */
@media print {
  .nav, .topbar, .actionbar, .totop, .cookie, .drawer, .ticker, .map, .hero__media, .hero__scrim { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .section { padding-block: 1.5rem; }
}
