/* ══════════════════════════════════════════════
   AG CAR CARE — Site Stylesheet
   Luxury black theme
══════════════════════════════════════════════ */

:root {
  --bg:           #050608;
  --surface:      #0c1016;
  --surface-soft: #141923;
  --line:         rgba(255,255,255,0.08);
  --line-strong:  rgba(255,255,255,0.16);
  --text:         #f5f7fb;
  --muted:        #9aa3b2;
  --gold:         #c8960a;
  --gold-bright:  #f0bc1c;
  --gold-deep:    #d0a027;
  --shadow:       0 8px 32px rgba(0,0,0,0.36);
  --shadow-lg:    0 20px 64px rgba(0,0,0,0.52);
  --radius-xl:    24px;
  --radius-lg:    16px;
  --radius-md:    10px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
#home, #work, #about, #contact, #team-directory, #service-guide, #training-curriculum { scroll-margin-top: 5.5rem; }
body {
  min-height: 100vh;
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  color-scheme: dark;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(200,150,10,0.14) 0%, transparent 52%),
    radial-gradient(ellipse at 85% 80%, rgba(26,127,196,0.10) 0%, transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.015), transparent 28%);
  pointer-events: none;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }

/* ── Container ── */
.container {
  width: 100%;
  margin: 0 auto;
  padding-inline: clamp(1rem, 2.5vw, 3rem);
}

/* ── Pointer glow ── */
.pointer-glow {
  position: fixed;
  top: 0; left: 0;
  width: 20rem; height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,208,0,0.06), transparent 66%);
  filter: blur(24px);
  pointer-events: none;
  transform: translate(-50%,-50%);
  z-index: 0;
}

/* ══════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  transition: background 300ms ease, box-shadow 300ms ease;
}

.site-header .container {
  padding-inline: clamp(2.5rem, 7vw, 8rem);
}

.nav-shell {
  position: relative;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.site-header.scrolled .nav-shell {
  background: rgba(8,10,14,0.94);
  border-bottom-color: rgba(255,255,255,0.08);
  box-shadow: 0 2px 24px rgba(0,0,0,0.34);
  backdrop-filter: blur(20px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  object-fit: contain;
}

.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { color: #fff; }
.brand-copy small  { color: rgba(255,255,255,0.55); font-size: 0.78rem; }

/* Desktop inline nav (lives inside .nav-shell, between brand and actions) */
.main-nav-inline { display: flex; align-items: center; gap: 1.4rem; }

/* Mobile off-canvas nav (lives outside .nav-shell so it isn't affected by
   .nav-shell's scrolled backdrop-filter, which would otherwise hijack its
   containing block while position:fixed). Hidden by default; only shown
   inside the <=1100px media query below. */
.main-nav { display: none; gap: 1.4rem; }

.main-nav-inline a,
.main-nav a { color: rgba(255,255,255,0.82); font-size: 0.92rem; padding: 0.6rem 0.15rem; transition: color 180ms; }
.main-nav-inline a:hover,
.main-nav a:hover { color: #fff; }
.main-nav-inline a[aria-current="page"],
.main-nav a[aria-current="page"] { color: #fff; }

/* Switch to dark text once header is over white sections */
.site-header.scrolled .main-nav-inline a,
.site-header.scrolled .main-nav a { color: rgba(245,247,251,0.76); }
.site-header.scrolled .main-nav-inline a:hover,
.site-header.scrolled .main-nav a:hover { color: #fff; }
.site-header.scrolled .brand-copy strong { color: var(--text); }
.site-header.scrolled .brand-copy small  { color: var(--muted); }

.nav-actions { display: flex; gap: 0.65rem; align-items: center; }

/* ── Mobile nav toggle ── */
.nav-menu-toggle {
  display: none;
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07);
  cursor: pointer;
  z-index: 22;
}

.nav-menu-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-header.scrolled .nav-menu-toggle {
  border-color: var(--line);
  background: rgba(0,0,0,0.05);
}
.site-header.scrolled .nav-menu-toggle span { background: var(--text); }

.nav-menu-backdrop { display: none; }

@media (max-width: 1100px) {
  .nav-menu-toggle { display: inline-flex; }

  .nav-actions { display: none; }

  .main-nav-inline { display: none; }

  .main-nav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(20rem, 84vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 6.5rem 1.75rem 2rem;
    margin: 0;
    background: rgba(8,10,14,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255,255,255,0.08);
    box-shadow: -20px 0 50px rgba(0,0,0,0.4);
    transform: translateX(100%);
    transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 21;
    overflow-y: auto;
  }

  .main-nav.is-open { transform: translateX(0); }

  .main-nav a {
    position: relative;
    color: rgba(255,255,255,0.88);
    font-size: 1.05rem;
    padding: 0.95rem 0.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    opacity: 0;
    transform: translateX(14px);
    transition: color 180ms, opacity 320ms ease, transform 320ms ease;
    transition-delay: 0ms;
  }

  .main-nav.is-open a {
    opacity: 1;
    transform: translateX(0);
  }

  .main-nav.is-open a:nth-child(1) { transition-delay: 60ms; }
  .main-nav.is-open a:nth-child(2) { transition-delay: 100ms; }
  .main-nav.is-open a:nth-child(3) { transition-delay: 140ms; }
  .main-nav.is-open a:nth-child(4) { transition-delay: 180ms; }
  .main-nav.is-open a:nth-child(5) { transition-delay: 220ms; }
  .main-nav.is-open a:nth-child(6) { transition-delay: 260ms; }
  .main-nav.is-open a:nth-child(7) { transition-delay: 300ms; }

  .nav-menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    border: none;
    padding: 0;
    background: rgba(3,4,6,0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease;
    z-index: 19;
  }

  .nav-menu-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }
}

body.nav-menu-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

/* ── Buttons ── */
.primary-button,
.secondary-button,
.nav-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 180ms, box-shadow 180ms, background 180ms, border-color 180ms;
  cursor: pointer;
}

.primary-button {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #0b0d10;
  box-shadow: 0 10px 30px rgba(200,150,10,0.28);
}

.primary-button:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(200,150,10,0.34); }

.header-inspection-button {
  background: linear-gradient(135deg, #ffd000, #ffe566);
  color: #0b0d10;
  border-color: rgba(255,208,0,0.38);
  box-shadow: 0 10px 28px rgba(255,208,0,0.24);
}

.header-inspection-button:hover {
  box-shadow: 0 14px 32px rgba(255,208,0,0.32);
}

.header-icon-action {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.1);
  color: #fff;
  backdrop-filter: blur(8px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.header-icon-action svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
}

.header-icon-action:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.16);
}

.site-header.scrolled .header-icon-action {
  background: rgba(255,255,255,0.05);
  border-color: var(--line);
  color: var(--text);
  backdrop-filter: none;
}

.header-location-button:hover {
  border-color: rgba(255,208,0,0.4);
  background: rgba(255,208,0,0.14);
  color: var(--gold-bright);
}

.header-whatsapp-icon-button,
.site-header.scrolled .header-whatsapp-icon-button {
  color: #25d366;
}

.header-whatsapp-icon-button:hover {
  border-color: rgba(37,211,102,0.4);
  background: rgba(37,211,102,0.14);
  color: #25d366;
}

.header-whatsapp-button {
  padding: 0.7rem 1.05rem;
  font-size: 0.85rem;
}

.header-whatsapp-button svg {
  width: 1.05rem;
  height: 1.05rem;
}

.secondary-button,
.nav-link-button {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.22);
  color: #fff;
  backdrop-filter: blur(8px);
}

.site-header.scrolled .nav-link-button {
  background: rgba(255,255,255,0.05);
  border-color: var(--line);
  color: var(--text);
  backdrop-filter: none;
}

.secondary-button:hover,
.nav-link-button:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-button svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
}

.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.34);
}

/* ── Eyebrow ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.36rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(200,150,10,0.22);
  background: rgba(200,150,10,0.07);
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Section shared ── */
.section-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-header--centered {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

.section-title {
  margin: 0.5rem 0 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-family: Impact, Haettenschweiler, sans-serif;
  letter-spacing: 0.03em;
  line-height: 0.93;
}

.section-lead {
  max-width: 28rem;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.92rem;
  text-align: right;
}

/* ── Glass card ── */
.glass-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

/* ── Reveal on scroll ── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-stagger-group] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
  transition-delay: var(--stagger-delay, 0ms);
}

.reveal-on-scroll.is-visible [data-stagger-group] > * {
  opacity: 1;
  transform: translateY(0);
}

[data-scroll-float] {
  --float-shift: 0px;
  transform: translate3d(0, var(--float-shift), 0);
  transition: transform 220ms ease-out;
  will-change: transform;
}

/* ══════════════════════════════════════════════
   1. HERO
══════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 81vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}

.hero-background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #000;
  z-index: 0;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.80) 0%,
    rgba(0,0,0,0.55) 40%,
    rgba(0,0,0,0.18) 70%,
    rgba(0,0,0,0.04) 100%
  );
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

.hero-copy {
  max-width: 30rem;
  margin-left: clamp(0.75rem, 5vw, 5rem);
  text-align: left;
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.site-page-ready .hero-copy > * {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy .eyebrow { transition-delay: 90ms; }
.hero-copy h1 { transition-delay: 150ms; }
.hero-copy .hero-service-pills { transition-delay: 240ms; }
.hero-copy .hero-actions { transition-delay: 320ms; }

.hero-copy h1 {
  margin: 0.6rem 0 1.2rem;
  font-size: clamp(3.8rem, 9vw, 7.4rem);
  font-family: Impact, Haettenschweiler, sans-serif;
  line-height: 0.9;
  color: #fff;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
  letter-spacing: -0.01em;
}

.hero-copy .eyebrow {
  border-color: rgba(255,208,0,0.45);
  background: rgba(255,208,0,0.14);
  color: var(--gold-bright);
}

.hero-service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.6rem;
}

.hero-service-pills span {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  backdrop-filter: blur(6px);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.hero-service-pills span.is-active {
  transform: translateY(-2px);
  border-color: rgba(255,208,0,0.45);
  background: rgba(255,208,0,0.16);
  color: #fff;
  box-shadow: 0 10px 22px rgba(255,208,0,0.16);
}

.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Hero primary button stays gold on dark photo background */
.hero-section .primary-button {
  background: linear-gradient(135deg, #ffd000, #ffe566);
  color: #0a0a0d;
  box-shadow: 0 0 24px rgba(255,208,0,0.3), 0 8px 24px rgba(255,208,0,0.22);
}

.hero-section .primary-button:hover {
  box-shadow: 0 0 36px rgba(255,208,0,0.4), 0 12px 32px rgba(255,208,0,0.28);
}

/* ══════════════════════════════════════════════
   2. STATS STRIP
══════════════════════════════════════════════ */
.stats-strip {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.5rem clamp(1.5rem, 4vw, 3.5rem);
  text-align: center;
}

.stat-item strong {
  font-size: 2rem;
  font-family: Impact, Haettenschweiler, sans-serif;
  letter-spacing: 0.02em;
  color: var(--text);
}

.stat-item span {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 2rem;
  background: var(--line-strong);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   3. SERVICES
══════════════════════════════════════════════ */
.service-section {
  padding: 3.5rem 0;
}

.service-explorer {
  border-radius: var(--radius-xl);
  padding: 1.4rem;
}

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.service-tab {
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 180ms ease;
}

.service-tab.active,
.service-tab:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border-color: rgba(255,208,0,0.45);
  color: #0b0d10;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(200,150,10,0.22);
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: start;
}

.detail-kicker {
  font-size: 0.82rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
}

.detail-copy h3 {
  margin: 0 0 0.75rem;
  font-size: 1.8rem;
  font-family: Impact, Haettenschweiler, sans-serif;
}

.detail-copy p { line-height: 1.75; color: var(--muted); margin: 0 0 0.75rem; }

.detail-copy ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.9;
}

.detail-visual { min-height: 18rem; }

.visual-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 18rem;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

/* Photo-backed panels */
.visual-photo {
  background-image: var(--visual-image);
  background-size: cover;
  background-position: var(--visual-position, center);
}

/* CSS-only panels */
.visual-wrap   { background: linear-gradient(135deg, #141820 0%, #1e2535 100%); }
.visual-chrome { background: linear-gradient(135deg, #12141a 0%, #1a1c24 100%); }

.visual-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-self: flex-start;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(10,10,12,0.72);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.78rem;
  backdrop-filter: blur(8px);
}

.visual-lines { position: absolute; inset: 20% 12% auto 12%; }
.visual-lines span {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: sweep 3s linear infinite;
}
.visual-wrap .visual-lines span:nth-child(1)  { top: 2rem; left: 0; right: 2rem; }
.visual-wrap .visual-lines span:nth-child(2)  { top: 5.2rem; left: 3rem; right: 0; animation-delay: 0.6s; }
.visual-wrap .visual-lines span:nth-child(3)  { top: 8.4rem; left: 1rem; right: 4rem; animation-delay: 1.2s; }
.visual-chrome .visual-lines span:nth-child(1) { top: 2rem; left: 0; right: 2rem; }
.visual-chrome .visual-lines span:nth-child(2) { top: 5.2rem; left: 3rem; right: 0; animation-delay: 0.6s; }
.visual-chrome .visual-lines span:nth-child(3) { top: 8.4rem; left: 1rem; right: 4rem; animation-delay: 1.2s; }
.visual-ppf .visual-lines span,
.visual-tint .visual-lines span,
.visual-mobile .visual-lines span { opacity: 0; }

.services-read-more-section {
  padding: 0 0 3.5rem;
}

.services-read-more {
  padding: 1.8rem 2rem;
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 1.5rem;
  align-items: center;
  background:
    radial-gradient(circle at 12% 30%, rgba(255,208,0,0.1), transparent 36%),
    linear-gradient(135deg, rgba(12,16,22,0.98), rgba(20,25,35,0.9));
}

.services-read-more h2 {
  margin-bottom: 0.8rem;
}

.services-read-more p:last-child {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  line-height: 1.8;
}

.services-read-more-button {
  justify-self: end;
}

/* ══════════════════════════════════════════════
   SERVICES PAGE
══════════════════════════════════════════════ */
.services-page-hero {
  position: relative;
  min-height: clamp(30rem, 52svh, 38rem);
  padding: 5.75rem 0 2.35rem;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.services-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 24%, rgba(255,208,0,0.16), transparent 30%),
    radial-gradient(circle at 82% 68%, rgba(52,152,219,0.12), transparent 32%),
    linear-gradient(180deg, rgba(7,9,12,0.84), rgba(5,6,8,0.98));
}

.services-page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.95), transparent 92%);
  opacity: 0.42;
}

.services-page-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
}

.services-page-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(20rem, 0.84fr);
  gap: 1.3rem;
  align-items: stretch;
  min-height: clamp(27rem, 45svh, 34rem);
}

.services-page-hero-copy {
  max-width: none;
  display: grid;
  gap: 1rem;
  align-content: center;
  padding-right: 0.3rem;
}

.services-page-hero-copy .eyebrow,
.services-page-hero-copy h1,
.services-page-hero-copy .services-page-hero-lead,
.services-page-hero-copy .services-page-hero-actions,
.services-page-hero-copy .services-page-hero-facts {
  margin: 0;
}

.services-page-hero-copy .eyebrow {
  justify-self: start;
}

.services-page-hero-copy h1 {
  max-width: 11ch;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(3.2rem, 6.6vw, 5.35rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-wrap: balance;
  text-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.services-page-hero-lead {
  margin: 0;
  max-width: 38rem;
  color: rgba(245,247,251,0.78);
  font-size: 0.96rem;
  line-height: 1.78;
}

.services-page-hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.services-page-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: none;
}

.services-page-hero-fact {
  min-height: 5.4rem;
  padding: 1rem 1rem 0.95rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(14px);
}

.services-page-hero-fact strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.services-page-hero-fact span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.services-page-hero-media-shell {
  display: grid;
  grid-template-rows: minmax(22rem, 1fr) auto;
  gap: 0.8rem;
  min-height: 0;
  align-self: stretch;
}

.services-page-hero-media {
  position: relative;
  min-height: 22rem;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.08);
  background: #090b10;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.services-page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0.85rem;
  border-radius: calc(var(--radius-xl) - 10px);
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
  z-index: 2;
}

.services-page-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.05);
}

.services-page-hero-media-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,6,8,0.18), rgba(5,6,8,0.76)),
    linear-gradient(135deg, rgba(255,208,0,0.18), transparent 36%),
    radial-gradient(circle at 78% 22%, rgba(255,255,255,0.12), transparent 24%);
  z-index: 1;
}

.services-page-hero-media-top {
  position: absolute;
  top: 1rem;
  right: 1rem;
  left: 1rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.services-page-hero-media-top span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(7,9,12,0.52);
  color: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.services-page-hero-media-copy {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 3;
  display: grid;
  gap: 0.5rem;
  max-width: 25rem;
}

.services-page-hero-media-copy p {
  margin: 0;
  color: rgba(255,208,0,0.92);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.services-page-hero-media-copy strong {
  color: #fff;
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  font-family: Impact, Haettenschweiler, sans-serif;
  line-height: 0.97;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

.services-page-hero-media-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.services-page-hero-media-points span {
  display: inline-flex;
  align-items: center;
  padding: 0.44rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(7,9,12,0.52);
  color: rgba(245,247,251,0.88);
  backdrop-filter: blur(10px);
  font-size: 0.76rem;
}

.services-page-hero-preview-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.services-page-hero-preview-card {
  position: relative;
  margin: 0;
  min-height: 6.4rem;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 2px);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  box-shadow: var(--shadow);
  animation: heroPreviewFloat 7s ease-in-out infinite;
}

.services-page-hero-preview-card:nth-child(2) {
  animation-delay: 1.3s;
}

.services-page-hero-preview-card:nth-child(3) {
  animation-delay: 2.6s;
}

.services-page-hero-preview-card img,
.services-page-hero-preview-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-page-hero-preview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,6,8,0.05), rgba(5,6,8,0.76));
}

.services-page-hero-preview-card figcaption {
  position: absolute;
  right: 0.8rem;
  bottom: 0.7rem;
  left: 0.8rem;
  z-index: 1;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.services-guide-section {
  padding: 0 0 1.4rem;
}

.services-guide-section .section-header,
.service-story-section .section-header {
  margin-bottom: 1.3rem;
}

.services-guide-section .section-title {
  max-width: 15ch;
}

.service-showcase {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr);
  gap: 0.95rem;
  padding: 1rem;
  border-radius: var(--radius-xl);
  align-items: stretch;
}

.service-showcase-tabs {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.service-showcase-tab {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.85rem;
  width: 100%;
  padding: 0.9rem 0.95rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.service-showcase-tab:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.05);
}

.service-showcase-tab.is-active {
  border-color: rgba(255,208,0,0.32);
  background: linear-gradient(135deg, rgba(255,208,0,0.12), rgba(255,255,255,0.03));
  box-shadow: 0 14px 36px rgba(0,0,0,0.2);
}

.service-showcase-tab-count {
  color: rgba(255,208,0,0.9);
  font-family: Impact, Haettenschweiler, sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
}

.service-showcase-tab-copy strong {
  display: block;
  color: #fff;
  margin-bottom: 0.3rem;
  font-size: 0.98rem;
}

.service-showcase-tab-copy small {
  display: block;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.82rem;
}

.service-showcase-panel {
  position: relative;
  padding: 1.2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255,208,0,0.12), transparent 34%),
    linear-gradient(160deg, rgba(20,25,35,0.92), rgba(12,16,22,0.98));
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}

.service-showcase-panel-copy {
  display: grid;
  gap: 0.8rem;
}

.service-showcase-panel::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: calc(var(--radius-xl) - 6px);
  border: 1px solid rgba(255,255,255,0.04);
  pointer-events: none;
}

.service-showcase-panel-copy h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 0.96;
}

.service-showcase-summary {
  margin: 0;
  max-width: 34rem;
  color: rgba(245,247,251,0.76);
  line-height: 1.74;
}

.service-showcase-chip-group {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.service-showcase-chip-group span {
  display: inline-flex;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: rgba(245,247,251,0.88);
  font-size: 0.82rem;
}

.service-showcase-panel-side {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.9rem;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.service-showcase-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
  max-width: 18rem;
}

.service-showcase-media {
  position: relative;
  margin: 0;
  flex: 1;
  min-height: 0;
  border-radius: calc(var(--radius-xl) - 6px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}

.service-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-showcase-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,5,8,0.04), rgba(4,5,8,0.7));
}

.service-showcase-media figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  display: grid;
  gap: 0.25rem;
}

.service-showcase-media figcaption span {
  color: #fff;
  font-family: Impact, Haettenschweiler, sans-serif;
  font-size: 1.15rem;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-showcase-media figcaption small {
  color: rgba(245,247,251,0.72);
  font-size: 0.8rem;
}

.service-rail-section {
  position: sticky;
  top: 4.8rem;
  z-index: 10;
  padding: 0.5rem 0 0.65rem;
  background: rgba(5,6,8,0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.service-rail {
  position: relative;
  padding: 1rem 1.1rem 1.15rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.service-rail-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.service-rail-copy span {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-rail-copy strong {
  color: #fff;
  font-size: 1rem;
}

.service-rail-links {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.service-rail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: rgba(245,247,251,0.8);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.service-rail-link:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  color: #fff;
}

.service-rail-link.is-active {
  border-color: rgba(255,208,0,0.35);
  background: rgba(255,208,0,0.12);
  color: #fff;
}

.service-rail-progress {
  position: absolute;
  right: 1.1rem;
  bottom: 0.65rem;
  left: 1.1rem;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}

.service-rail-progress span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transition: width 300ms ease;
}

.services-cta-section {
  padding: 0 0 2.5rem;
}

.services-cta-shell {
  padding: 1.45rem 1.6rem;
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(16rem, 0.82fr);
  gap: 1.5rem;
  align-items: stretch;
  background:
    radial-gradient(circle at 85% 18%, rgba(255,208,0,0.12), transparent 28%),
    linear-gradient(140deg, rgba(12,16,22,0.98), rgba(20,25,35,0.92));
}

.services-cta-shell > div:first-child {
  display: grid;
  align-content: center;
}

.services-cta-shell h2 {
  margin-bottom: 0.8rem;
}

.services-cta-shell p:last-child {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  line-height: 1.85;
}

.services-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding: 1rem 1.05rem;
  border-radius: calc(var(--radius-xl) - 6px);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

/* ══════════════════════════════════════════════
   4. WORK GALLERY
══════════════════════════════════════════════ */
.work-section {
  padding: 3.5rem 0;
}

.studio-slider {
  padding: 1.25rem;
  border-radius: var(--radius-xl);
}

.studio-slider-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.studio-slider-copy {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.92rem;
}

.studio-slider-controls {
  display: flex;
  gap: 0.75rem;
}

.studio-slider-button {
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.studio-slider-button:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.08);
}

.studio-slider-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.studio-slider-viewport {
  overflow-x: auto;
  border-radius: calc(var(--radius-xl) - 6px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.studio-slider-viewport::-webkit-scrollbar {
  display: none;
}

.studio-slider.is-ready .studio-slider-viewport {
  overflow: hidden;
}

.studio-slider-track {
  display: flex;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.studio-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.work-item {
  position: relative;
  /* Photo fills the box: wide on laptops, taller on phones, never taller than the screen. */
  aspect-ratio: 16 / 10;
  max-height: min(78vh, 720px);
  width: 100%;
  border-radius: calc(var(--radius-xl) - 8px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface-soft);
}

.work-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 700px) {
  .work-item { aspect-ratio: 4 / 5; max-height: 75vh; }
}

/* Laptop/desktop: taller box so filling the width crops as little as possible. */
@media (min-width: 701px) {
  .work-item { max-height: min(85vh, 820px); }
}

.work-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(5,6,8,0.24) 58%, rgba(5,6,8,0.82) 100%);
}


.studio-slide-overlay {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.work-label {
  position: relative;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: rgba(10,10,12,0.72);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.78rem;
  backdrop-filter: blur(8px);
}

.studio-slide-overlay strong {
  color: #fff;
  font-size: clamp(1.1rem, 2.5vw, 1.7rem);
  font-family: Impact, Haettenschweiler, sans-serif;
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
  text-align: right;
  max-width: 15rem;
  text-shadow: 0 8px 28px rgba(0,0,0,0.55);
}

.studio-slider-footer {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.studio-slider-progress {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255,255,255,0.9);
  font-family: Impact, Haettenschweiler, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.studio-slider-progress span:last-child {
  color: var(--muted);
}

.studio-slider-dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.studio-slider-dot {
  width: 0.8rem;
  height: 0.8rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.studio-slider-dot:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.3);
}

.studio-slider-dot.is-active {
  width: 2.3rem;
  border-color: rgba(255,208,0,0.4);
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
}

.studio-slider-thumbs {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  padding-bottom: 0.2rem;
  scrollbar-width: none;
}

.studio-slider-thumbs::-webkit-scrollbar {
  display: none;
}

.studio-slider-thumb {
  flex: 0 0 auto;
  width: 4.75rem;
  height: 3.15rem;
  padding: 0;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 180ms ease, border-color 180ms ease, transform 180ms ease;
  background: var(--surface-soft);
}

.studio-slider-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.studio-slider-thumb:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.studio-slider-thumb.is-active {
  opacity: 1;
  border-color: var(--gold-bright);
}

/* ══════════════════════════════════════════════
   4b. OUR WORK — BEFORE / AFTER
══════════════════════════════════════════════ */
.before-after-section {
  padding: 3.5rem 0 1rem; /* sits above "From our studio" */
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.ba-compare {
  display: grid;
  gap: 0.65rem;
}

.ba-compare-stage {
  position: relative;
  height: clamp(220px, 22vw, 300px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface-soft);
  touch-action: pan-y;
}

.ba-compare-image {
  position: absolute;
  inset: 0;
}

.ba-compare-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

.ba-compare-image--before {
  clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0);
}

.ba-compare-image--after {
  clip-path: inset(0 0 0 var(--ba-pos));
}

.ba-compare-stage.is-sweeping .ba-compare-image--before,
.ba-compare-stage.is-sweeping .ba-compare-image--after,
.ba-compare-stage.is-sweeping .ba-compare-handle {
  transition: left 700ms cubic-bezier(0.22, 1, 0.36, 1), clip-path 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ba-tag {
  position: absolute;
  top: 0.65rem;
  z-index: 2;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(10,10,12,0.72);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  backdrop-filter: blur(6px);
}

.ba-tag--before { left: 0.65rem; }
.ba-tag--after { right: 0.65rem; }

.ba-compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos);
  width: 0;
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-compare-handle::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.85);
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
}

.ba-compare-handle-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #0f0f0f;
  font-size: 0.7rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}

.ba-compare-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  appearance: none;
  -webkit-appearance: none;
}

.ba-compare-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 2.6rem;
  height: 2.6rem;
  background: transparent;
}

.ba-compare-range::-moz-range-thumb {
  width: 2.6rem;
  height: 2.6rem;
  border: none;
  background: transparent;
}

.ba-compare-range::-moz-range-track {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
}

.ba-compare-label {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 980px) {
  .before-after-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .before-after-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .ba-compare-stage {
    height: clamp(170px, 38vw, 220px);
  }

  .ba-compare-label {
    font-size: 0.78rem;
  }
}

/* ══════════════════════════════════════════════
   5. WHY AG
══════════════════════════════════════════════ */
.why-section {
  padding: 3.5rem 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.why-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,208,0,0.16);
  box-shadow: 0 18px 40px rgba(0,0,0,0.24);
}

.why-number {
  font-family: Impact, Haettenschweiler, sans-serif;
  font-size: 3rem;
  color: rgba(200,150,10,0.18);
  line-height: 1;
  margin-bottom: 0.85rem;
}

.why-card strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.9rem;
}

/* ══════════════════════════════════════════════
   6. ABOUT / FOUNDER
══════════════════════════════════════════════ */
.about-section {
  padding: 3.5rem 0;
}

.about-shell {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 480px;
}

.about-photo {
  position: relative;
  overflow: hidden;
}

.about-photo img,
.about-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(4,4,6,0.42) 100%);
  pointer-events: none;
}

.about-copy {
  padding: 2.4rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  justify-content: center;
}

.about-copy h2 { margin: 0; }

.about-copy blockquote {
  margin: 0;
  padding-left: 1rem;
  border-left: 3px solid var(--gold-deep);
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.6;
  font-style: italic;
}

.about-copy > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.about-stat {
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.about-stat strong {
  display: block;
  font-size: 2rem;
  font-family: Impact, Haettenschweiler, sans-serif;
  color: var(--text);
  line-height: 1;
}

.about-stat span {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ══════════════════════════════════════════════
   6b. REVIEWS
══════════════════════════════════════════════ */
.reviews-section {
  padding: 3.5rem 0;
}

.reviews-slider {
  padding: 2.4rem clamp(1.25rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.reviews-slider-viewport {
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 6px);
}

.reviews-slider-track {
  display: flex;
  align-items: stretch;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.review-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
}

.review-card {
  margin: 0 auto;
  max-width: 42rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.review-quote-mark {
  width: 2.5rem;
  height: 1.9rem;
  color: var(--gold-deep);
  opacity: 0.85;
}

.review-body {
  margin: 0;
  max-height: 14.5rem;
  overflow-y: auto;
  padding-right: 0.25rem;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
  white-space: pre-line;
}

.review-body::-webkit-scrollbar {
  width: 5px;
}

.review-body::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 999px;
}

.review-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--line);
  flex: none;
}

.review-avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #14100a;
  font-weight: 700;
  font-size: 0.95rem;
}

.review-author {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.review-author strong {
  color: var(--text);
  font-size: 0.95rem;
}

.review-author span {
  color: var(--muted);
  font-size: 0.78rem;
}

.reviews-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* ══════════════════════════════════════════════
   7. TEAM
══════════════════════════════════════════════ */
.team-preview-section,
.team-directory-section,
.team-structure-section,
.team-cta-section {
  padding: 3.5rem 0;
}

.team-preview-shell,
.team-structure-shell,
.team-cta-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(1.35rem, 2.8vw, 2.2rem);
  border-radius: var(--radius-xl);
}

.team-preview-shell::before,
.team-structure-shell::before,
.team-cta-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 16%, rgba(255,208,0,0.09), transparent 30%),
    linear-gradient(140deg, rgba(255,255,255,0.03), transparent 52%);
  pointer-events: none;
}

.team-preview-grid,
.team-structure-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem;
}

.team-directory-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr; /* every card the same height */
  align-items: stretch;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.team-directory-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc((100% - 1.5rem) / 2); /* same width as the cards above */
  justify-self: center;
}

.team-structure-grid {
  margin-top: 1.65rem;
}

.team-preview-card {
  flex: 1 1 300px;
  max-width: 340px;
}

.team-member-card {
  flex: 1 1 420px;
  max-width: 520px;
}

.team-directory-grid .team-member-card {
  max-width: none;
  min-height: 100%;
}

.team-structure-step {
  flex: 1 1 200px;
  max-width: 240px;
}

.team-preview-card,
.team-member-card,
.team-structure-step {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(20,25,35,0.96), rgba(11,15,22,0.98));
  box-shadow: 0 18px 44px rgba(0,0,0,0.26);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.team-preview-card {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem;
}

.team-member-card {
  display: grid;
  grid-template-columns: 6.8rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  border-radius: 1.55rem;
  padding: 1rem;
}

.team-preview-card:hover,
.team-member-card:hover,
.team-structure-step:hover {
  transform: translateY(-5px);
  border-color: rgba(255,208,0,0.22);
  box-shadow: 0 26px 58px rgba(0,0,0,0.36);
}

.team-preview-media {
  position: relative;
  overflow: hidden;
  background: #090b10;
  border-radius: 1rem;
  min-height: 0;
}

.team-member-media {
  position: relative;
  overflow: hidden;
  display: flex;
  align-self: stretch;
  background: #090b10;
  min-height: 0;
  border-radius: 1.2rem;
}

.team-preview-media {
  aspect-ratio: 4 / 5;
}

.team-member-media {
  aspect-ratio: auto;
}

.team-preview-media::after,
.team-member-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(5,6,8,0.72) 100%);
  pointer-events: none;
}

.team-preview-media img,
.team-member-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

/* Tall portraits must not stretch the card: the photo fills the card's
   height (set by the text) and is cropped like the hero avatars. */
.team-member-media {
  min-height: 7rem;
}

.team-member-media img {
  position: absolute;
  inset: 0;
  object-position: center 30%;
}

.team-member-media .team-avatar-fallback {
  flex: 1;
}

.team-preview-card:hover .team-preview-media img,
.team-member-card:hover .team-member-media img {
  transform: scale(1.04);
}

.team-avatar-fallback {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 28% 22%, rgba(240,188,28,0.24), transparent 55%),
    linear-gradient(150deg, rgba(36,29,10,0.95), rgba(6,7,10,0.98));
}

.team-avatar-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 1.4rem 1.4rem;
  opacity: 0.55;
}

.team-avatar-fallback span {
  position: relative;
  z-index: 1;
  font-family: Impact, Haettenschweiler, sans-serif;
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  color: var(--gold-bright);
  letter-spacing: 0.04em;
  text-shadow: 0 10px 30px rgba(0,0,0,0.55);
}

.team-member-card:nth-child(even) .team-avatar-fallback,
.team-preview-card:nth-child(even) .team-avatar-fallback {
  background:
    radial-gradient(circle at 28% 22%, rgba(26,127,196,0.26), transparent 55%),
    linear-gradient(150deg, rgba(9,21,32,0.95), rgba(6,7,10,0.98));
}

.team-member-card:nth-child(even) .team-avatar-fallback span,
.team-preview-card:nth-child(even) .team-avatar-fallback span {
  color: #6fc3ff;
}

.team-preview-card-copy,
.team-member-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.team-preview-card-copy {
  padding: 0.08rem 0 0.05rem;
}

.team-member-body {
  padding: 0.15rem 0.1rem 0.15rem 0;
  gap: 0.55rem;
  justify-content: center;
}

.team-member-body > * {
  min-width: 0;
}

.team-preview-role,
.team-member-role {
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-preview-card h3,
.team-member-body h2 {
  margin: 0;
  color: var(--text);
  line-height: 1;
  letter-spacing: 0.01em;
}

.team-preview-card h3 {
  font-size: 1.15rem;
  font-family: Impact, Haettenschweiler, sans-serif;
}

.team-member-body h2 {
  font-size: clamp(1.45rem, 2.1vw, 1.8rem);
  font-family: Impact, Haettenschweiler, sans-serif;
  text-wrap: balance;
}

.team-preview-card p,
.team-member-body p,
.team-structure-step p,
.team-page-hero-lead,
.team-structure-copy p:last-child,
.team-cta-shell p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.team-preview-card p,
.team-member-body p,
.team-structure-step p {
  font-size: 0.84rem;
}

.team-preview-footer,
.team-page-hero-actions,
.team-page-hero-facts,
.team-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.85rem;
}

.team-preview-footer {
  align-items: center;
  justify-content: space-between;
  margin-top: 1.45rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.team-preview-footer p {
  max-width: 35rem;
}

.team-page-hero {
  min-height: 86vh;
  /* top padding = header height + bottom padding, so the content centres in the visible video */
  padding: 6.4rem 0 1.6rem;
  background: #000;
  align-items: center;
}

.team-page-hero::before {
  background:
    linear-gradient(105deg, rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.72) 38%, rgba(0,0,0,0.42) 66%, rgba(0,0,0,0.58) 100%),
    radial-gradient(circle at 86% 84%, rgba(240,188,28,0.18), transparent 46%),
    radial-gradient(circle at 6% 8%, rgba(26,127,196,0.16), transparent 40%);
}

.team-page-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
}

.team-page-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.6rem;
  align-items: center;
}

.team-page-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
  padding: 0.5rem 0;
}

.team-page-hero-copy h1 {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(3.6rem, 7.4vw, 6.4rem);
  line-height: 0.92;
  font-family: Impact, Haettenschweiler, sans-serif;
  letter-spacing: -0.01em;
  text-shadow: 0 6px 36px rgba(0,0,0,0.5);
}

.team-page-hero-lead {
  max-width: 38rem;
  font-size: 0.98rem;
}

.team-page-hero-actions,
.team-cta-actions {
  flex-wrap: wrap;
}

.team-page-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.team-page-hero-fact {
  padding: 1rem 1rem 1.05rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10,13,19,0.58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.28);
}

.team-page-hero-fact strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #fff;
  font-size: 1.12rem;
  font-family: Impact, Haettenschweiler, sans-serif;
  letter-spacing: 0.03em;
}

.team-page-hero-fact span {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.65;
}

.team-page-hero-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 1.6rem;
  width: 100%;
  max-width: 22rem;
  height: auto;
  max-height: 26rem;
  margin-left: auto;
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10,13,19,0.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}

.team-hero-cluster-eyebrow {
  margin: 0;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-hero-cluster {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 0.75rem;
}

.team-hero-avatar {
  position: relative;
  width: clamp(3.6rem, 9vw, 7.4rem);
  height: clamp(3.6rem, 9vw, 7.4rem);
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(5,6,8,0.9);
  background: #090b10;
  box-shadow: 0 18px 38px rgba(0,0,0,0.5);
  margin-left: -1.7rem;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.team-hero-avatar:first-child {
  margin-left: 0;
}

.team-hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-hero-avatar .team-avatar-fallback {
  border-radius: 50%;
}

.team-hero-avatar .team-avatar-fallback span {
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
}

.team-hero-avatar:hover {
  transform: translateY(-10px) scale(1.06);
  z-index: 5;
  box-shadow: 0 22px 48px rgba(0,0,0,0.6);
}

.team-hero-cluster-caption {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  max-width: 22rem;
  text-align: right;
}

.team-hero-cluster-caption strong {
  font-family: Impact, Haettenschweiler, sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: #fff;
}

.team-hero-cluster-caption span {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.team-member-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.team-member-focus span {
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.78);
  font-size: 0.8rem;
}

.team-member-body .eyebrow {
  align-self: flex-start;
  margin: 0;
}

.team-structure-copy,
.team-cta-shell > div:first-child {
  position: relative;
  z-index: 1;
}

.team-structure-copy .section-title,
.team-cta-shell .section-title {
  max-width: 12ch;
}

.team-structure-step {
  padding: 1rem;
}

.team-structure-step span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: rgba(255,255,255,0.44);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.team-structure-step strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--text);
  font-size: 1.02rem;
}

.team-cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(16rem, 0.84fr);
  align-items: stretch;
  gap: 1.4rem;
}

.team-cta-shell > div:first-child {
  display: grid;
  align-content: center;
}

.team-cta-actions {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem 1.05rem;
  border-radius: calc(var(--radius-xl) - 6px);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

/* ══════════════════════════════════════════════
   7b. TRAINING
══════════════════════════════════════════════ */
.training-page-hero {
  min-height: 86vh;
  /* top padding = header height + bottom padding, so the content centres in the visible video */
  padding: 6.4rem 0 1.6rem;
  background: #000;
  align-items: center; /* copy + card sit in the vertical middle of the video */
}

.training-page-hero::before {
  background:
    linear-gradient(105deg, rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.72) 38%, rgba(0,0,0,0.42) 66%, rgba(0,0,0,0.58) 100%),
    radial-gradient(circle at 88% 82%, rgba(26,127,196,0.22), transparent 46%),
    radial-gradient(circle at 8% 10%, rgba(240,188,28,0.16), transparent 40%);
}

.training-page-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
}

.training-curriculum-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.training-curriculum-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.3rem 1.1rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.training-curriculum-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.training-curriculum-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,208,0,0.24);
  background: rgba(255,255,255,0.045);
  box-shadow: 0 18px 40px rgba(0,0,0,0.24);
}

.training-curriculum-card:hover::before {
  transform: scaleX(1);
}

.training-curriculum-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid rgba(255,208,0,0.28);
  background: rgba(255,208,0,0.08);
  font-family: Impact, Haettenschweiler, sans-serif;
  font-size: 0.95rem;
  color: var(--gold-bright);
  line-height: 1;
}

.training-curriculum-card strong {
  font-size: 1.02rem;
  color: #fff;
}

.training-curriculum-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  flex: 1;
}

.training-curriculum-link {
  margin-top: 0.3rem;
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ══════════════════════════════════════════════
   7. LOCATION
══════════════════════════════════════════════ */
.location-section {
  padding: 3.5rem 0;
}

.location-shell {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 440px;
}

.location-copy {
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.location-copy h2 { margin: 0; }

.location-copy > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.location-detail-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.location-detail-row svg { flex-shrink: 0; color: var(--gold); }

.location-cta {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.location-map {
  position: relative;
  overflow: hidden;
}

.location-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(45%) contrast(1.08) brightness(0.72) saturate(0.85);
}

/* ══════════════════════════════════════════════
   8. CONTACT
══════════════════════════════════════════════ */
.contact-section {
  padding: 3.5rem 0;
}

.contact-shell {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.65rem 1.55rem;
  justify-content: center;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(255,208,0,0.1), transparent 34%),
    linear-gradient(160deg, rgba(12,16,22,0.96), rgba(18,22,30,0.9));
  overflow: hidden;
}

.contact-copy::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: calc(var(--radius-xl) - 8px);
  border: 1px solid rgba(255,255,255,0.05);
  pointer-events: none;
}

.contact-copy > * {
  position: relative;
  z-index: 1;
}

.contact-copy h2 { margin: 0; }

.contact-copy > p {
  margin: 0;
  max-width: 26rem;
  color: var(--muted);
  line-height: 1.8;
}

.contact-facts {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.contact-facts span {
  display: flex;
  align-items: center;
  min-height: 2.85rem;
  padding: 0.78rem 0.9rem;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.6rem;
  border-radius: var(--radius-xl);
  align-content: start;
}

.contact-card label { display: grid; gap: 0.35rem; font-size: 0.85rem; color: var(--muted); }

.contact-card label {
  min-width: 0;
}

.contact-card label:nth-of-type(6),
.contact-card > button,
.contact-card > .form-feedback {
  grid-column: 1 / -1;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-card textarea {
  min-height: 8.5rem;
}

.contact-card select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.6rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.8rem;
}

.contact-card select option {
  background: #14161b;
  color: var(--text);
}

.contact-card input:hover,
.contact-card select:hover,
.contact-card textarea:hover {
  border-color: rgba(255,255,255,0.28);
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
  outline: none;
  border-color: rgba(255,208,0,0.4);
  box-shadow: 0 0 0 3px rgba(255,208,0,0.10);
  background-color: rgba(255,255,255,0.05);
}

.form-feedback { color: var(--gold-deep); font-size: 0.88rem; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */




























































/* ── Back to top ── */
.back-to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 6.2rem;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transition: all 200ms ease;
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover   { border-color: var(--line-strong); background: var(--surface-soft); transform: translateY(-2px); }

/* ══════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════ */
@keyframes sweep {
  0%, 100% { transform: translateX(-10px); opacity: 0.3; }
  50%       { transform: translateX(10px);  opacity: 1; }
}

@keyframes serviceScan {
  0%   { transform: skewX(-18deg) translateX(-150%); opacity: 0; }
  18%  { opacity: 0.6; }
  50%  { transform: skewX(-18deg) translateX(300%); opacity: 0.22; }
  100% { transform: skewX(-18deg) translateX(300%); opacity: 0; }
}

@keyframes heroPreviewFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  [data-stagger-group] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  [data-scroll-float] {
    transform: none;
    transition: none;
  }

  .hero-copy > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1180px) {
  html { font-size: 15px; }

  .container {
    padding-inline: clamp(0.95rem, 2.8vw, 1.9rem);
  }

  .site-header .container {
    padding-inline: clamp(1rem, 3.2vw, 2.25rem);
  }

  .service-section,
  .work-section,
  .why-section,
  .about-section,
  .reviews-section,
  .team-preview-section,
  .team-directory-section,
  .team-structure-section,
  .team-cta-section,
  .location-section,
  .contact-section {
    padding: 3rem 0;
  }

  .before-after-section {
    padding: 0.75rem 0 3rem;
  }

  .services-read-more-section,
  .services-cta-section {
    padding-bottom: 3rem;
  }

  .section-header {
    gap: 1rem;
    margin-bottom: 1.6rem;
  }

  .section-lead {
    max-width: 30rem;
  }

  .service-explorer,
  .services-read-more,
  .studio-slider,
  .reviews-slider,
  .service-showcase,
  .services-cta-shell,
  .team-preview-shell,
  .team-structure-shell,
  .team-cta-shell,
  .contact-card {
    padding: clamp(1rem, 2.4vw, 1.4rem);
  }

  .about-copy,
  .location-copy {
    padding: 2rem 1.7rem;
  }

  .hero-copy {
    max-width: 28rem;
    margin-left: clamp(0rem, 2vw, 1.8rem);
  }

  .about-shell {
    grid-template-columns: minmax(0, 0.48fr) minmax(0, 1fr);
    min-height: 27rem;
  }

  .location-shell {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    min-height: 24rem;
  }

  .contact-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.5rem;
  }

  .services-page-hero-layout {
    grid-template-columns: minmax(0, 0.94fr) minmax(18rem, 0.86fr);
    gap: 1rem;
  }

  .team-page-hero-layout {
    gap: 1.2rem;
  }

  .service-showcase {
    grid-template-columns: minmax(14rem, 0.86fr) minmax(0, 1.14fr);
  }





  .team-member-card {
    flex-basis: 360px;
  }

  .team-structure-step {
    flex-basis: 220px;
  }
}

@media (max-width: 960px) {
  html { font-size: 14.5px; }

  .training-curriculum-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-header {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.78fr);
    align-items: start;
  }

  .section-header--centered {
    grid-template-columns: 1fr;
  }

  .service-detail,
  .about-shell,
  .location-shell,
  .contact-shell {
    gap: 1rem;
  }

  .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .stats-grid {
    gap: 1rem 0.35rem;
    justify-content: space-evenly;
  }

  .stat-item {
    padding-inline: clamp(0.85rem, 2vw, 1.4rem);
  }

  .stat-divider {
    display: none;
  }

  .services-page-hero-layout,
  .team-page-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }

  .services-page-hero-facts,
  .team-page-hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-page-hero-fact:last-child,
  .team-page-hero-fact:last-child {
    grid-column: 1 / -1;
  }

  .services-read-more,
  .services-cta-shell {
    grid-template-columns: minmax(0, 1fr) auto;
  }






}

@media (max-width: 820px) {
  html { font-size: 14px; }

  .section-header {
    grid-template-columns: 1fr;
  }

  .section-lead {
    max-width: none;
    text-align: left;
  }

  .service-detail,
  .about-shell,
  .location-shell,
  .contact-shell,
  .services-page-hero-layout,
  .service-showcase,
  .team-page-hero-layout {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .about-shell {
    grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
  }

  .location-shell {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  }

  .contact-shell {
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
    align-items: start;
  }

  .services-page-hero-layout,
  .team-page-hero-layout,
  .service-showcase {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  }

  .services-page-hero-facts,
  .team-page-hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .training-page-hero .team-page-hero-feature {
    width: min(100%, 18rem);
    margin-left: auto;
    gap: 0.7rem;
    padding: 0.82rem 0.9rem;
  }

  .training-page-hero .team-hero-cluster {
    gap: 0.35rem;
    row-gap: 0.35rem;
  }

  .training-page-hero .team-hero-avatar {
    width: 3rem;
    height: 3rem;
    margin-left: -0.5rem;
    border-width: 2px;
  }

  .training-page-hero .team-hero-cluster-caption {
    max-width: 12rem;
  }

  .services-page-hero-fact:last-child,
  .team-page-hero-fact:last-child {
    grid-column: auto;
  }

  .about-shell,
  .location-shell {
    min-height: 0;
  }

  .about-photo {
    min-height: clamp(17rem, 48vw, 22rem);
    height: auto;
    display: flex;
  }

  .about-photo img,
  .about-photo video {
    flex: 1;
    object-position: center 20%;
  }

  .location-map {
    min-height: 18rem;
    height: auto;
    position: relative;
  }

  .location-map iframe {
    position: absolute;
    inset: 0;
  }

  .studio-slider-top,
  .studio-slider-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .services-page-hero {
    min-height: auto;
    padding: 5.5rem 0 2.25rem;
  }

  .services-page-hero-copy {
    padding-right: 0;
  }

  .services-page-hero-media {
    min-height: 20rem;
  }

  .team-page-hero,
  .training-page-hero {
    min-height: auto;
    padding: 5.8rem 0 2.6rem;
  }

  .team-page-hero-feature {
    align-items: center;
    padding: 1.1rem 1rem;
  }

  .team-page-hero-copy h1 {
    max-width: 7.4ch;
  }

  .team-page-hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .team-page-hero-fact:last-child {
    grid-column: 1 / -1;
  }

  .team-page-hero-feature {
    gap: 0.95rem;
    padding: 1rem 0.95rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(7,10,14,0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .team-hero-cluster-caption {
    max-width: 18rem;
  }

  .team-hero-cluster,
  .team-hero-cluster-caption {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .team-preview-footer,
  .services-page-hero-actions,
  .team-page-hero-actions,
  .services-cta-actions,
  .team-cta-actions {
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .team-cta-shell {
    flex-direction: column;
    align-items: flex-start;
  }


}

@media (max-width: 640px) {
  html { font-size: 13.5px; }

  .hero-copy {
    margin-left: 0;
    max-width: 26rem;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero-background-video {
    object-position: 68% center;
  }

  .hero-section {
    min-height: 66vh;
  }

  .stats-grid {
    flex-wrap: nowrap;
    gap: 0.35rem;
  }

  .stat-item {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.45rem 0.2rem;
  }

  .stat-item strong {
    font-size: clamp(1.45rem, 5vw, 1.9rem);
  }

  .stat-item span {
    font-size: 0.64rem;
    letter-spacing: 0.04em;
  }

  .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .why-card {
    min-width: 0;
    padding: 1rem 0.8rem;
  }

  .why-number {
    font-size: clamp(2rem, 6vw, 2.4rem);
    margin-bottom: 0.55rem;
  }

  .why-card strong {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
    line-height: 1.2;
  }

  .why-card p {
    font-size: 0.72rem;
    line-height: 1.52;
  }

  .service-detail {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 0.8rem;
    align-items: stretch;
  }

  .detail-copy {
    display: grid;
    align-content: start;
    gap: 0.45rem;
  }

  .detail-copy h3 {
    margin-bottom: 0;
    font-size: clamp(1.35rem, 4.8vw, 1.65rem);
    line-height: 0.98;
  }

  .detail-copy p {
    margin-bottom: 0;
    line-height: 1.58;
    font-size: 0.84rem;
  }

  .detail-copy ul {
    line-height: 1.62;
    font-size: 0.8rem;
    display: grid;
    gap: 0.28rem;
  }

  .detail-visual {
    min-height: 100%;
    display: flex;
  }

  .detail-visual > .visual-panel {
    flex: 1;
    min-height: 100%;
  }

  .visual-panel {
    padding: 0.95rem;
  }

  .visual-label {
    font-size: 0.72rem;
  }

  .about-shell {
    grid-template-columns: minmax(0, 0.47fr) minmax(0, 0.53fr);
  }

  .location-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .contact-shell {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }

  .contact-copy {
    padding: 1.35rem 1.25rem;
    gap: 0.75rem;
  }

  .contact-copy h2 {
    max-width: 9ch;
    font-size: clamp(1.65rem, 6.2vw, 2.3rem);
  }

  .contact-copy > p {
    font-size: 0.82rem;
    line-height: 1.58;
  }

  .contact-facts span {
    min-height: 0;
    padding: 0.65rem 0.72rem;
    font-size: 0.78rem;
  }

  .contact-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 1.15rem;
    gap: 0.85rem;
  }

  .contact-card label {
    font-size: 0.78rem;
  }

  .contact-card input,
  .contact-card select,
  .contact-card textarea {
    padding: 0.75rem 0.85rem;
  }

  .contact-card textarea {
    min-height: 7rem;
  }

  .training-page-hero .services-page-hero-layout {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    min-height: 0;
  }

  .training-page-hero .services-page-hero-facts {
    gap: 0.4rem;
  }

  .training-page-hero .services-page-hero-fact {
    min-height: 0;
    padding: 0.68rem 0.58rem 0.72rem;
  }

  .training-page-hero .services-page-hero-fact strong {
    margin-bottom: 0.22rem;
    font-size: 0.82rem;
  }

  .training-page-hero .services-page-hero-fact span {
    font-size: 0.62rem;
    line-height: 1.34;
  }

  .training-page-hero .team-page-hero-feature {
    width: min(100%, 15.5rem);
    max-width: 15.5rem;
    margin-inline: auto;
    gap: 0.55rem;
    padding: 0.68rem 0.78rem;
    border-radius: 1.1rem;
    background: rgba(7,10,14,0.44);
  }

  .training-page-hero .team-hero-cluster-eyebrow {
    font-size: 0.6rem;
  }

  .training-page-hero .team-hero-cluster {
    gap: 0.3rem;
    row-gap: 0.3rem;
  }

  .training-page-hero .team-hero-avatar {
    width: 2.65rem;
    height: 2.65rem;
    margin-left: -0.38rem;
    border-width: 2px;
  }

  .training-page-hero .team-hero-cluster-caption {
    max-width: 10.5rem;
    gap: 0.12rem;
  }

  .training-page-hero .team-hero-cluster-caption strong {
    font-size: 0.86rem;
    line-height: 0.95;
  }

  .training-page-hero .team-hero-cluster-caption span {
    font-size: 0.6rem;
    line-height: 1.26;
  }

  .contact-shell {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .contact-copy {
    padding: 1rem 0.95rem;
    gap: 0.58rem;
  }

  .contact-copy::after {
    inset: 0.75rem;
  }

  .contact-copy h2 {
    max-width: none;
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .contact-copy > p {
    max-width: none;
    font-size: 0.78rem;
    line-height: 1.48;
  }

  .contact-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 0.12rem;
  }

  .contact-facts span {
    min-height: 0;
    padding: 0.58rem 0.62rem;
    font-size: 0.72rem;
    line-height: 1.38;
  }

  .contact-facts span:last-child {
    grid-column: 1 / -1;
  }

  .contact-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.92rem;
    gap: 0.72rem;
  }

  .contact-card label {
    font-size: 0.72rem;
  }

  .contact-card label:nth-of-type(5),
  .contact-card label:nth-of-type(6),
  .contact-card > button,
  .contact-card > .form-feedback {
    grid-column: 1 / -1;
  }

  .contact-card input,
  .contact-card select,
  .contact-card textarea {
    padding: 0.66rem 0.72rem;
    font-size: 0.75rem;
  }

  .contact-card textarea {
    min-height: 5.8rem;
  }

  .services-page-hero-layout,
  .team-page-hero-layout,
  .service-showcase {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  }

  .team-page-hero-layout {
    gap: 0.75rem;
    align-items: start;
  }

  .team-page-hero-copy h1 {
    max-width: 6.2ch;
    font-size: clamp(2.35rem, 10.8vw, 3.1rem);
    line-height: 0.92;
  }

  .team-page-hero-lead {
    font-size: 0.78rem;
    line-height: 1.55;
  }

  .team-page-hero-feature {
    gap: 0.8rem;
  }

  .team-hero-cluster-eyebrow {
    font-size: 0.68rem;
  }

  .team-hero-cluster-caption {
    gap: 0.18rem;
    max-width: 12rem;
  }

  .team-hero-cluster-caption strong {
    font-size: 1rem;
    line-height: 0.95;
  }

  .team-hero-cluster-caption span {
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .service-showcase {
    gap: 0.8rem;
  }

  .service-showcase-panel-side {
    min-height: 100%;
  }

  .service-showcase-media {
    display: flex;
  }

  .service-showcase-media img {
    flex: 1;
  }

  .about-copy,
  .location-copy {
    padding: 1.5rem;
  }

  .about-copy {
    gap: 0.68rem;
  }

  .about-copy blockquote {
    font-size: 0.98rem;
    line-height: 1.48;
  }

  .about-copy > p {
    line-height: 1.62;
    font-size: 0.85rem;
  }

  .location-copy {
    gap: 0.75rem;
  }

  .location-copy > p,
  .location-detail-row {
    font-size: 0.84rem;
    line-height: 1.58;
  }

  .location-details {
    gap: 0.5rem;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .team-preview-card,
  .team-member-card,
  .team-structure-step {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .team-preview-card {
    grid-template-columns: 4.8rem minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.8rem;
  }

  .team-member-card {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 0.8rem;
    padding: 0.9rem;
  }

  .team-member-body {
    padding: 0.05rem 0;
  }

  .studio-slider {
    padding: 1rem;
  }

  .reviews-slider {
    padding: 1.5rem 1.1rem;
  }

  .review-body {
    font-size: 0.98rem;
    max-height: 11rem;
  }

  .studio-slide-overlay {
    align-items: flex-start;
    flex-direction: column;
  }

  .studio-slide-overlay strong {
    max-width: none;
    text-align: left;
  }

  .services-read-more,
  .services-cta-shell {
    grid-template-columns: 1fr;
    padding: 1.35rem;
  }

  .services-cta-shell {
    gap: 0.9rem;
  }

  .services-cta-actions {
    padding: 0.9rem;
  }

  .services-page-hero-copy h1 {
    max-width: 7ch;
    font-size: clamp(2.35rem, 11.5vw, 3.25rem);
    line-height: 0.92;
  }

  .services-page-hero-copy {
    gap: 0.8rem;
    align-content: start;
  }

  .services-page-hero-lead {
    font-size: 0.81rem;
    line-height: 1.6;
  }

  .services-page-hero-fact {
    min-height: 0;
    padding: 0.78rem 0.72rem 0.8rem;
  }

  .services-page-hero-fact strong {
    margin-bottom: 0.28rem;
    font-size: 0.92rem;
  }

  .services-page-hero-fact span {
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .services-page-hero-media {
    min-height: 18rem;
  }

  .services-page-hero-media-top span {
    padding: 0.38rem 0.58rem;
    font-size: 0.66rem;
  }

  .services-page-hero-media-copy {
    gap: 0.35rem;
    max-width: none;
  }

  .services-page-hero-media-copy p {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .services-page-hero-media-copy strong {
    font-size: clamp(1.1rem, 5.3vw, 1.5rem);
    line-height: 0.92;
  }

  .services-page-hero-media-points span {
    padding: 0.34rem 0.58rem;
    font-size: 0.66rem;
  }

  .services-page-hero-preview-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-page-hero-preview-card:last-child {
    grid-column: 1 / -1;
  }

  .hero-actions,
  .services-page-hero-actions,
  .team-page-hero-actions,
  .services-cta-actions,
  .team-cta-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-actions .primary-button,
  .hero-actions .whatsapp-button,
  .services-page-hero-actions .primary-button,
  .services-page-hero-actions .secondary-button,
  .team-page-hero-actions .primary-button,
  .team-page-hero-actions .secondary-button,
  .services-cta-actions .primary-button,
  .services-cta-actions .secondary-button,
  .team-cta-actions .primary-button,
  .team-cta-actions .secondary-button {
    width: auto;
  }

  .service-showcase {
    padding: 1rem;
  }

  .service-showcase {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .service-showcase-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .service-showcase-tab {
    grid-template-columns: auto 1fr;
    gap: 0.55rem;
    padding: 0.75rem 0.8rem;
    min-height: 100%;
    align-content: start;
  }

  .service-showcase-tab-copy strong {
    font-size: 0.82rem;
    margin-bottom: 0.25rem;
  }

  .service-showcase-tab-copy small {
    font-size: 0.72rem;
    line-height: 1.42;
  }

  .service-showcase-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(12rem, 0.94fr);
    gap: 0.75rem;
    padding: 1rem;
    align-items: stretch;
  }

  .service-showcase-panel-copy {
    gap: 0.55rem;
    align-content: start;
  }

  .service-showcase-panel-copy h2 {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
  }

  .service-showcase-summary {
    font-size: 0.82rem;
    line-height: 1.58;
  }

  .service-showcase-chip-group {
    gap: 0.4rem;
  }

  .service-showcase-chip-group span {
    padding: 0.38rem 0.58rem;
    font-size: 0.7rem;
  }

  .service-showcase-media {
    min-height: 100%;
    aspect-ratio: auto;
  }

  .service-showcase-media figcaption span {
    font-size: 1rem;
  }

  .service-showcase-media figcaption small {
    font-size: 0.74rem;
    line-height: 1.4;
  }

  .service-rail-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-rail-link,
  .services-read-more-button {
    width: 100%;
  }

  .team-page-hero-copy h1 {
    max-width: 7.1ch;
    font-size: clamp(2.85rem, 13vw, 4.2rem);
  }

  .team-page-hero-layout {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .team-page-hero-copy {
    gap: 0.7rem;
  }

  .team-page-hero-feature {
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
    gap: 0.8rem;
    padding: 0.92rem 0.86rem;
    align-items: center;
  }

  .team-page-hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .team-page-hero-fact:last-child {
    grid-column: 1 / -1;
  }

  .team-hero-cluster,
  .team-hero-cluster-caption {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .team-page-hero-facts,
  .services-page-hero-facts {
    gap: 0.45rem;
  }

  .team-page-hero-fact,
  .services-page-hero-fact {
    min-height: 0;
    padding: 0.72rem 0.56rem 0.74rem;
  }

  .team-page-hero-fact strong,
  .services-page-hero-fact strong {
    margin-bottom: 0.24rem;
    font-size: 0.82rem;
  }

  .team-page-hero-fact span,
  .services-page-hero-fact span {
    font-size: 0.66rem;
    line-height: 1.38;
  }

  .team-hero-avatar {
    width: 3.75rem;
    height: 3.75rem;
    margin-left: -0.85rem;
  }

  .team-preview-shell,
  .team-structure-shell,
  .team-cta-shell {
    padding: 1.1rem;
  }

  .team-directory-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .team-directory-grid > :last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  .team-member-card {
    grid-template-columns: 5.8rem minmax(0, 1fr);
    align-items: stretch;
  }

  .team-member-media {
    display: flex;
  }

  .team-member-media img,
  .team-member-media .team-avatar-fallback {
    flex: 1;
  }

  .team-member-body {
    gap: 0.32rem;
    padding: 0.05rem 0 0;
  }

  .team-member-body h2 {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
  }

  .team-member-body .eyebrow {
    padding: 0.24rem 0.5rem;
    font-size: 0.56rem;
  }

  .team-member-role {
    font-size: 0.68rem;
  }

  .team-member-body p {
    font-size: 0.72rem;
    line-height: 1.46;
  }

  .team-member-card {
    padding: 0.8rem;
    gap: 0.7rem;
  }

  .team-member-focus {
    gap: 0.35rem;
  }

  .team-member-focus span {
    padding: 0.32rem 0.52rem;
    font-size: 0.64rem;
  }

  .team-structure-grid {
    margin-top: 0.2rem;
    gap: 0.75rem;
  }

  .team-structure-step {
    flex: 1 1 calc(50% - 0.38rem);
    max-width: calc(50% - 0.38rem);
    padding: 0.8rem;
  }

  .team-structure-step span {
    margin-bottom: 0.4rem;
    font-size: 0.7rem;
  }

  .team-structure-step strong {
    margin-bottom: 0.3rem;
    font-size: 0.84rem;
  }

  .team-structure-step p,
  .team-structure-copy p:last-child,
  .team-cta-shell p {
    font-size: 0.76rem;
    line-height: 1.5;
  }

  .team-cta-shell {
    gap: 0.9rem;
  }

  .team-cta-actions {
    padding: 0.9rem;
  }

  .training-curriculum-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .training-curriculum-card {
    min-height: 100%;
    padding: 0.92rem;
    gap: 0.38rem;
  }

  .training-curriculum-index {
    font-size: 1.2rem;
  }

  .training-curriculum-card strong {
    font-size: 0.82rem;
    line-height: 1.18;
  }

  .training-curriculum-card p {
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .training-curriculum-link {
    margin-top: auto;
    font-size: 0.68rem;
  }









  .back-to-top {
    bottom: 5.5rem;
    right: 0.75rem;
  }
}

@media (max-width: 480px) {
  html { font-size: 13px; }

  .nav-shell {
    padding: 0.9rem 0;
  }

  .brand-copy small {
    font-size: 0.72rem;
  }

  .main-nav {
    width: min(19rem, 88vw);
    padding: 6rem 1.2rem 1.5rem;
  }

  .stat-item {
    padding-inline: 0.65rem;
  }

  .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .why-card {
    padding: 0.85rem 0.65rem;
    border-radius: 1rem;
  }

  .why-number {
    font-size: 1.7rem;
    margin-bottom: 0.4rem;
  }

  .why-card strong {
    font-size: 0.72rem;
    margin-bottom: 0.32rem;
  }

  .why-card p {
    font-size: 0.64rem;
    line-height: 1.42;
  }

  .service-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-tab {
    width: 100%;
    justify-content: center;
  }

  .service-detail {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 0.7rem;
  }

  .detail-copy {
    gap: 0.38rem;
  }

  .detail-copy h3 {
    font-size: clamp(1.2rem, 4.8vw, 1.45rem);
  }

  .detail-copy p,
  .detail-copy ul {
    font-size: 0.77rem;
  }

  .detail-copy ul {
    padding-left: 1rem;
  }

  .detail-visual {
    min-height: 15.5rem;
  }

  .about-shell {
    grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  }

  .location-shell {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .contact-shell {
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  }

  .services-page-hero-layout,
  .team-page-hero-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .services-page-hero-layout {
    gap: 0.6rem;
  }

  .team-page-hero-layout {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .team-page-hero-copy h1 {
    max-width: 7.05ch;
    font-size: clamp(2.15rem, 11.2vw, 2.95rem);
  }

  .team-page-hero-lead {
    font-size: 0.72rem;
    line-height: 1.48;
  }

  .team-page-hero-feature {
    gap: 0.65rem;
    padding: 0.82rem 0.76rem;
    align-items: center;
  }

  .training-page-hero .services-page-hero-layout {
    gap: 0.72rem;
  }

  .training-page-hero .team-page-hero-feature {
    width: min(100%, 14.25rem);
    max-width: 14.25rem;
    gap: 0.48rem;
    padding: 0.58rem 0.68rem;
    border-radius: 1rem;
  }

  .training-page-hero .team-hero-cluster-eyebrow {
    font-size: 0.56rem;
    letter-spacing: 0.14em;
  }

  .training-page-hero .team-hero-cluster {
    gap: 0.24rem;
    row-gap: 0.24rem;
  }

  .training-page-hero .team-hero-avatar {
    width: 2.35rem;
    height: 2.35rem;
    margin-left: -0.28rem;
  }

  .training-page-hero .team-hero-cluster-caption {
    max-width: 9.35rem;
  }

  .training-page-hero .team-hero-cluster-caption strong {
    font-size: 0.78rem;
  }

  .training-page-hero .team-hero-cluster-caption span {
    font-size: 0.56rem;
    line-height: 1.2;
  }

  .team-hero-cluster-caption strong {
    font-size: 0.92rem;
  }

  .team-hero-cluster-caption span {
    font-size: 0.68rem;
    line-height: 1.38;
  }

  .team-hero-cluster,
  .team-hero-cluster-caption {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .services-page-hero-copy h1 {
    max-width: 6ch;
    font-size: clamp(2rem, 10.5vw, 2.7rem);
  }

  .services-page-hero-facts {
    gap: 0.5rem;
  }

  .services-page-hero-fact {
    padding: 0.65rem 0.6rem;
    border-radius: 1rem;
  }

  .services-page-hero-fact strong {
    font-size: 0.82rem;
  }

  .services-page-hero-fact span {
    font-size: 0.64rem;
  }

  .services-page-hero-media {
    min-height: 16rem;
  }

  .services-page-hero-media-top {
    top: 0.75rem;
    right: 0.75rem;
    left: 0.75rem;
  }

  .services-page-hero-media-copy {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
  }

  .services-page-hero-media-copy strong {
    font-size: 1.16rem;
  }

  .services-page-hero-preview-rail {
    gap: 0.55rem;
  }

  .service-showcase-tabs {
    gap: 0.5rem;
  }

  .service-showcase-tab {
    padding: 0.72rem 0.68rem;
    gap: 0.42rem;
  }

  .service-showcase-tab-count {
    font-size: 1rem;
  }

  .service-showcase-tab-copy strong {
    font-size: 0.78rem;
  }

  .service-showcase-tab-copy small {
    font-size: 0.68rem;
  }

  .service-showcase-panel {
    gap: 0.65rem;
    padding: 0.85rem;
  }

  .service-showcase-panel-copy h2 {
    font-size: clamp(1.65rem, 7.5vw, 2.1rem);
  }

  .service-showcase-summary {
    font-size: 0.74rem;
    line-height: 1.5;
  }

  .service-showcase-chip-group span {
    font-size: 0.66rem;
  }

  .service-showcase-media figcaption {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
  }

  .service-showcase-media figcaption span {
    font-size: 0.86rem;
  }

  .service-showcase-media figcaption small {
    font-size: 0.68rem;
  }

  .services-cta-actions {
    padding: 0.8rem 0.85rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-page-hero-facts,
  .services-page-hero-facts {
    gap: 0.4rem;
  }

  .team-page-hero-fact {
    padding: 0.66rem 0.58rem;
  }

  .team-page-hero-fact strong {
    font-size: 0.78rem;
  }

  .team-page-hero-fact span {
    font-size: 0.6rem;
    line-height: 1.32;
  }

  .about-photo {
    min-height: 100%;
  }

  .about-copy {
    gap: 0.58rem;
  }

  .about-copy blockquote {
    padding-left: 0.8rem;
    font-size: 0.9rem;
  }

  .about-copy > p {
    font-size: 0.79rem;
    line-height: 1.55;
  }

  .location-map {
    min-height: 100%;
  }

  .location-copy {
    gap: 0.62rem;
  }

  .location-copy > p,
  .location-detail-row {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .service-rail {
    padding: 0.85rem 0.9rem 1rem;
  }

  .contact-copy {
    padding: 1rem 0.9rem;
    gap: 0.65rem;
  }

  .contact-copy h2 {
    font-size: clamp(1.35rem, 6.8vw, 1.75rem);
  }

  .contact-copy > p {
    font-size: 0.74rem;
    line-height: 1.52;
  }

  .contact-facts span {
    padding: 0.58rem 0.65rem;
    font-size: 0.7rem;
  }

  .contact-shell {
    gap: 0.75rem;
  }

  .contact-copy {
    padding: 0.92rem 0.88rem;
  }

  .contact-copy h2 {
    max-width: 11ch;
    font-size: clamp(1.42rem, 7vw, 1.85rem);
  }

  .contact-copy > p {
    font-size: 0.72rem;
    line-height: 1.44;
  }

  .contact-facts {
    grid-template-columns: 1fr;
    gap: 0.38rem;
  }

  .contact-facts span:last-child {
    grid-column: auto;
  }

  .contact-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.82rem;
    gap: 0.62rem;
  }

  .contact-card label {
    font-size: 0.7rem;
  }

  .contact-card input,
  .contact-card select,
  .contact-card textarea {
    padding: 0.62rem 0.68rem;
    font-size: 0.72rem;
  }

  .contact-card textarea {
    min-height: 5.4rem;
  }

  .training-curriculum-card {
    padding: 0.8rem;
  }

  .training-curriculum-card strong {
    font-size: 0.76rem;
  }

  .training-curriculum-card p,
  .training-curriculum-link {
    font-size: 0.64rem;
  }

  .team-member-card {
    grid-template-columns: 5.35rem minmax(0, 1fr);
    padding: 0.8rem 0.76rem;
    gap: 0.64rem;
  }

  .team-member-body .eyebrow {
    padding: 0.22rem 0.44rem;
    font-size: 0.53rem;
  }

  .team-member-body h2 {
    font-size: clamp(1.14rem, 5.2vw, 1.34rem);
  }

  .team-member-role {
    font-size: 0.64rem;
  }

  .team-member-body p {
    font-size: 0.68rem;
    line-height: 1.4;
  }

  .team-member-focus span {
    font-size: 0.62rem;
  }

  .service-rail-copy span {
    font-size: 0.7rem;
  }

  .service-rail-copy strong {
    font-size: 0.84rem;
  }

  .service-rail-link {
    padding: 0.62rem 0.5rem;
    font-size: 0.72rem;
  }

  .team-page-hero-fact:last-child,
  .services-page-hero-fact:last-child {
    grid-column: auto;
  }

  .hero-actions,
  .services-page-hero-actions,
  .team-page-hero-actions,
  .services-cta-actions,
  .team-cta-actions,
  .team-preview-footer,
  .service-rail-copy,

  .services-page-hero-preview-rail,
  .service-rail-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-page-hero-preview-card:last-child {
    grid-column: 1 / -1;
  }

  .team-preview-card {
    grid-template-columns: 4.2rem minmax(0, 1fr);
  }

  .team-member-card {
    grid-template-columns: 5rem minmax(0, 1fr);
  }

  .team-member-focus span {
    font-size: 0.75rem;
  }
























}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ── Service cards (services page) ── */
.service-story-section { padding: 0 0 1.5rem; }

.service-card {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius-xl);
}

.service-card--reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.service-card--reverse .service-card-media { order: 2; }

.service-card-media {
  position: relative;
  margin: 0;
  height: 100%;
  min-height: 20rem;
  max-height: 30rem;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 8px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

.service-card-index {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(5,6,8,0.6);
  backdrop-filter: blur(8px);
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-card-media img { transform: scale(1.03); }
}

.service-card-body {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 0.75rem 0.75rem 0.75rem 0;
}

.service-card--reverse .service-card-body { padding: 0.75rem 0 0.75rem 0.75rem; }

.service-card-eyebrow {
  margin: 0;
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-card-title {
  margin: -0.5rem 0 0;
  color: #fff;
  font-family: Impact, Haettenschweiler, sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.service-card-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card-tags li {
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
}

.service-card-checks {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service-card-checks li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text);
  font-size: 0.93rem;
  line-height: 1.5;
}

.service-card-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23050608' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 8.5l2.2 2.2 4.8-5'/%3E%3C/svg%3E") center / 0.8rem no-repeat,
    var(--gold-bright);
}

.service-card-process {
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}

.service-card-process summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

.service-card-process summary::-webkit-details-marker { display: none; }

.service-card-process summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-top: -0.2rem;
  border-right: 2px solid var(--gold-bright);
  border-bottom: 2px solid var(--gold-bright);
  transform: rotate(45deg);
  transition: transform 200ms var(--ease-out);
}

.service-card-process[open] summary::after { transform: translateY(0.2rem) rotate(-135deg); }

.service-card-process summary:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
  border-radius: 4px;
}

.service-card-process ol {
  display: grid;
  gap: 0.75rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.service-card-process li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  column-gap: 0.5rem;
  font-size: 0.86rem;
  line-height: 1.5;
}

.service-card-process li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: span 2;
  color: var(--gold-bright);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.service-card-process li strong { color: var(--text); font-weight: 600; }
.service-card-process li span { color: var(--muted); }

.service-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 0.35rem;
}

.service-card-footer .primary-button:active { transform: scale(0.97); }

.service-card-fit {
  flex: 1 1 14rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.service-card-fit span {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .service-card,
  .service-card--reverse { grid-template-columns: 1fr; gap: 1rem; }
  .service-card--reverse .service-card-media { order: 0; }
  .service-card-media { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
  .service-card-body,
  .service-card--reverse .service-card-body { padding: 0.25rem 0.5rem 0.5rem; max-width: none; }
}

@media (max-width: 480px) {
  .service-card { padding: 0.75rem; }
  .service-card-footer .primary-button { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .service-card-media img,
  .service-card-process summary::after { transition: none; }
}

/* ── Booking / contact (home) ── */
.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.contact-action {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, transform 140ms ease-out;
}

.contact-action:active { transform: scale(0.97); }

.contact-action:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .contact-action:hover { border-color: var(--line-strong); background: rgba(255,255,255,0.06); }
  .contact-action--whatsapp:hover { border-color: rgba(37,211,102,0.6); background: rgba(37,211,102,0.12); }
}

.contact-action svg {
  flex: none;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--gold-bright);
}

.contact-action--whatsapp {
  border-color: rgba(37,211,102,0.35);
  background: rgba(37,211,102,0.07);
}

.contact-action--whatsapp svg { color: #25d366; }

.contact-action span {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.contact-action strong { font-size: 0.9rem; font-weight: 600; }

.contact-action small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-card label:nth-of-type(6) { grid-column: auto; }
.contact-card .contact-card-full { grid-column: 1 / -1; }
.contact-card textarea { min-height: 5.5rem; }

.contact-card label em {
  margin-left: 0.3rem;
  color: rgba(154,163,178,0.7);
  font-size: 0.75rem;
  font-style: normal;
}

.contact-card > button { min-height: 3.1rem; font-size: 0.98rem; }
.contact-card > button:active { transform: scale(0.98); }

.contact-card-note {
  grid-column: 1 / -1;
  margin: -0.35rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

@media (max-width: 560px) {
  .contact-actions { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
}

/* ── Home service explorer ── */
.detail-photo {
  position: relative;
  margin: 0;
  min-height: 18rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}

.detail-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-photo figcaption {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(5,6,8,0.65);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.section-lead-link {
  color: var(--gold-bright);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.section-lead-link:hover { text-decoration: underline; }

/* ── Shared page CTA (services, team, training) ── */
.page-cta-section { padding: 1rem 0 3rem; }

.page-cta {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(240,188,28,0.12), transparent 60%),
    linear-gradient(160deg, rgba(12,16,22,0.96), rgba(18,22,30,0.9));
}

.page-cta .eyebrow { margin: 0; }

.page-cta-title {
  margin: 0;
  max-width: 22ch;
  color: #fff;
  font-family: Impact, Haettenschweiler, sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.page-cta-text {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.65;
  text-wrap: pretty;
}

.page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.page-cta-actions a:active { transform: scale(0.97); }

@media (max-width: 480px) {
  .page-cta-actions { width: 100%; flex-direction: column; }
  .page-cta-actions a { width: 100%; justify-content: center; }
}

/* Stack contact + location on phones (earlier rules forced two squeezed columns) */
@media (max-width: 760px) {
  .contact-shell,
  .location-shell { grid-template-columns: 1fr; }
  .location-map iframe { min-height: 260px !important; }
}
.contact-copy .section-title { max-width: none; }

/* ── Privacy policy page ── */
.privacy-page {
  padding: clamp(7rem, 14vw, 9rem) 0 4rem;
}

.privacy-shell {
  max-width: 52rem;
}

.privacy-updated {
  margin: 0.75rem 0 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.privacy-section {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.privacy-section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: var(--text);
}

.privacy-section p,
.privacy-section li {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

.privacy-section ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.6rem;
}

.privacy-section strong {
  color: var(--text);
}

.privacy-section a,


.privacy-section code {
  font-size: 0.85em;
}



/* ── Booking pop-up ── */
html.booking-lock { overflow: hidden; }

.booking-dialog {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 1rem;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: hidden;
}

.booking-dialog[open] {
  display: grid;
  place-items: center;
}

.booking-dialog::backdrop {
  background: rgba(3,4,6,0.62);
  backdrop-filter: blur(10px) saturate(120%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.booking-dialog.is-visible::backdrop { opacity: 1; }

.booking-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  width: min(62rem, 100%);
  max-height: min(46rem, calc(100dvh - 2rem));
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(240,188,28,0.22);
  background: linear-gradient(165deg, rgba(16,20,28,0.98), rgba(8,10,14,0.98));
  box-shadow:
    0 40px 120px rgba(0,0,0,0.65),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 0 80px rgba(240,188,28,0.08);
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  filter: blur(8px);
  transition:
    opacity 300ms ease,
    transform 460ms var(--ease-out),
    filter 360ms var(--ease-out);
}

.booking-dialog.is-visible .booking-panel {
  opacity: 1;
  transform: none;
  filter: none;
}

/* one gold light sweep across the panel as it lands */
.booking-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,214,90,0.14) 48%, rgba(255,255,255,0.08) 50%, transparent 62%);
  transform: translateX(-100%);
}

.booking-dialog.is-visible .booking-panel::after {
  animation: booking-sweep 1100ms 180ms var(--ease-out) both;
}

@keyframes booking-sweep {
  to { transform: translateX(100%); }
}

/* visual column */
.booking-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--surface);
}

.booking-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 420ms ease, transform 1200ms var(--ease-out);
}

.booking-visual img.is-active {
  opacity: 1;
  transform: scale(1);
}

.booking-visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,6,8,0.15) 0%, rgba(5,6,8,0.35) 45%, rgba(5,6,8,0.92) 100%),
    radial-gradient(ellipse at 20% 100%, rgba(240,188,28,0.22), transparent 55%);
}

.booking-visual-copy {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  display: grid;
  gap: 0.5rem;
}

.booking-visual-kicker {
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.booking-visual-copy strong {
  color: #fff;
  font-family: Impact, Haettenschweiler, sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.booking-visual-copy ul {
  display: grid;
  gap: 0.4rem;
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
}

.booking-visual-copy li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(245,247,251,0.88);
  font-size: 0.86rem;
}

.booking-visual-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23050608' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 8.5l2.2 2.2 4.8-5'/%3E%3C/svg%3E") center / 0.75rem no-repeat,
    var(--gold-bright);
}

/* form column */
.booking-body {
  position: relative;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.booking-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  cursor: pointer;
  transition: background-color 160ms ease, transform 140ms ease-out;
}

.booking-close svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.booking-close:active { transform: scale(0.94); }

@media (hover: hover) and (pointer: fine) {
  .booking-close:hover { background: rgba(255,255,255,0.1); }
}

.booking-form {
  display: grid;
  gap: 1.1rem;
}

/* staggered entrance of the form content */
.booking-form > *,
.booking-success > * {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 320ms ease, transform 420ms var(--ease-out);
}

.booking-dialog.is-visible .booking-form > *,
.booking-dialog.is-visible .booking-success > * {
  opacity: 1;
  transform: none;
}

.booking-dialog.is-visible .booking-form > :nth-child(1) { transition-delay: 120ms; }
.booking-dialog.is-visible .booking-form > :nth-child(2) { transition-delay: 160ms; }
.booking-dialog.is-visible .booking-form > :nth-child(5) { transition-delay: 200ms; }
.booking-dialog.is-visible .booking-form > :nth-child(6) { transition-delay: 240ms; }
.booking-dialog.is-visible .booking-form > :nth-child(n+7) { transition-delay: 280ms; }

.booking-eyebrow {
  margin: 0;
  color: var(--gold-bright);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.booking-title {
  margin: -0.6rem 0 0;
  padding-right: 2.5rem;
  color: #fff;
  font-family: Impact, Haettenschweiler, sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.booking-services {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.booking-services legend,
.booking-fields label > span {
  margin-bottom: 0.5rem;
  padding: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.booking-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.booking-chip {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 140ms ease-out;
}

.booking-chip:active { transform: scale(0.96); }

@media (hover: hover) and (pointer: fine) {
  .booking-chip:hover { border-color: rgba(240,188,28,0.55); }
}

.booking-chip.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #0b0b0b;
  box-shadow: 0 6px 20px rgba(240,188,28,0.28);
}

.booking-chip:focus-visible,
.booking-add-note:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.booking-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.booking-fields label {
  display: grid;
  min-width: 0;
}

.booking-fields label em,
.contact-card label em {
  margin-left: 0.3rem;
  color: rgba(154,163,178,0.7);
  font-size: 0.74rem;
  font-style: normal;
}

.booking-fields input,
.booking-fields textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.booking-fields input:focus,
.booking-fields textarea:focus {
  outline: none;
  border-color: rgba(240,188,28,0.65);
  box-shadow: 0 0 0 3px rgba(240,188,28,0.15);
}

.booking-field-full,
.booking-add-note { grid-column: 1 / -1; }

.booking-add-note {
  justify-self: start;
  padding: 0.2rem 0;
  border: 0;
  background: none;
  color: var(--gold-bright);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.booking-errors {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,107,107,0.35);
  background: rgba(255,107,107,0.08);
  color: #ffd2d2;
  font-size: 0.85rem;
  line-height: 1.5;
}

.booking-errors p { margin: 0 0 0.3rem; }
.booking-errors a { color: #fff; font-weight: 600; }

.booking-submit {
  position: relative;
  justify-content: center;
  width: 100%;
  min-height: 3.2rem;
  font-size: 1rem;
}

.booking-submit:active { transform: scale(0.98); }
.booking-submit:disabled { cursor: progress; }

.booking-submit.is-sending span::after {
  content: "";
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  margin-left: 0.6rem;
  vertical-align: -0.12rem;
  border-radius: 50%;
  border: 2px solid rgba(11,11,11,0.25);
  border-top-color: #0b0b0b;
  animation: booking-spin 600ms linear infinite;
}

@keyframes booking-spin { to { transform: rotate(360deg); } }

.booking-fineprint {
  margin: -0.4rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.booking-fineprint a { color: var(--text); font-weight: 600; }

/* success state (pop-up and homepage form) */
.booking-success {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  padding: 2rem 0.5rem;
  text-align: center;
}

.contact-card .booking-success { grid-column: 1 / -1; }
.contact-card .booking-success > * { opacity: 1; transform: none; }
.contact-card-errors { grid-column: 1 / -1; }

.booking-success-mark {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
}

.booking-success-mark::before {
  content: "";
  position: absolute;
  inset: -40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,188,28,0.35), transparent 65%);
  animation: booking-glow 1200ms var(--ease-out, ease-out) both;
}

.booking-success-mark svg {
  position: relative;
  width: 100%;
  height: 100%;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking-success-ring {
  stroke: var(--gold-bright);
  stroke-width: 3;
  stroke-dasharray: 183;
  stroke-dashoffset: 183;
  animation: booking-draw 700ms cubic-bezier(0.23, 1, 0.32, 1) 80ms forwards;
}

.booking-success-check {
  stroke: #fff;
  stroke-width: 4;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: booking-draw 420ms cubic-bezier(0.23, 1, 0.32, 1) 560ms forwards;
}

@keyframes booking-draw { to { stroke-dashoffset: 0; } }

@keyframes booking-glow {
  0% { opacity: 0; transform: scale(0.6); }
  40% { opacity: 1; }
  100% { opacity: 0.55; transform: scale(1); }
}

.booking-success h3 {
  margin: 0.4rem 0 0;
  color: #fff;
  font-family: Impact, Haettenschweiler, sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 400;
  text-transform: uppercase;
}

.booking-success p {
  max-width: 26rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.booking-success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

/* phones: bottom sheet */
@media (max-width: 720px) {
  .booking-dialog { padding: 0; }
  .booking-dialog[open] { place-items: end stretch; }

  .booking-panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    max-height: 94dvh;
    border-radius: 24px 24px 0 0;
    border-bottom: 0;
    opacity: 1;
    filter: none;
    transform: translateY(100%);
    transition: transform 480ms var(--ease-drawer);
  }

  .booking-visual { height: 8.5rem; min-height: 0; }
  .booking-visual-copy { bottom: 1rem; left: 1.25rem; right: 4rem; }
  .booking-visual-copy ul { display: none; }
  .booking-visual-copy strong { font-size: 1.5rem; }

  .booking-close {
    top: 0.85rem;
    background: rgba(5,6,8,0.55);
    backdrop-filter: blur(8px);
  }

  .booking-body { padding: 1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom)); }
  .booking-fields { grid-template-columns: 1fr; }
  .booking-title { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .booking-panel,
  .booking-form > *,
  .booking-success > *,
  .booking-visual img {
    transform: none !important;
    filter: none !important;
    transition: opacity 200ms ease;
  }
  .booking-panel::after,
  .booking-success-mark::before { animation: none; display: none; }
  .booking-success-ring,
  .booking-success-check { animation: none; stroke-dashoffset: 0; }
}

@media (prefers-reduced-transparency: reduce) {
  .booking-dialog::backdrop { backdrop-filter: none; background: rgba(3,4,6,0.88); }
}

/* ══════════════════════════════════════════════
   Website chat (concierge)
══════════════════════════════════════════════ */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.site-chatbot {
  --chat-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --chat-ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 45;
}

/* Back-to-top would sit under the open panel. */
body:has(.site-chatbot.is-open) .back-to-top { opacity: 0; visibility: hidden; pointer-events: none; }

/* ── Launcher ── */
.site-chatbot-launcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 1.15rem 0.45rem 0.45rem;
  border: 1px solid rgba(240,188,28,0.24);
  border-radius: 999px;
  background: linear-gradient(140deg, rgba(18,22,30,0.96), rgba(8,10,14,0.96));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 160ms var(--chat-ease), border-color 200ms ease, padding 260ms var(--chat-ease);
}
.site-chatbot-launcher:active { transform: scale(0.97); }
.site-chatbot-launcher:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

@media (hover: hover) and (pointer: fine) {
  .site-chatbot-launcher:hover { border-color: rgba(240,188,28,0.5); }
}

.site-chatbot-launcher-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd23a, #e9a90c);
  color: #0b0d10;
  box-shadow: 0 6px 18px rgba(240,188,28,0.3);
}

.launcher-icon {
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 180ms ease, transform 260ms var(--chat-ease), filter 180ms ease;
}
.launcher-icon--close { opacity: 0; transform: rotate(-90deg) scale(0.6); filter: blur(2px); }
.site-chatbot.is-open .launcher-icon--chat { opacity: 0; transform: rotate(90deg) scale(0.6); filter: blur(2px); }
.site-chatbot.is-open .launcher-icon--close { opacity: 1; transform: none; filter: none; }

.site-chatbot-launcher-copy {
  display: grid;
  gap: 0.05rem;
  text-align: left;
  white-space: nowrap;
  transition: opacity 180ms ease;
}
.site-chatbot-launcher-copy strong { font-size: 0.9rem; font-weight: 650; letter-spacing: -0.005em; }
.site-chatbot-launcher-copy small { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--muted); font-size: 0.74rem; }
.site-chatbot-launcher-copy small::before {
  content: "";
  width: 0.4rem; height: 0.4rem;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 3px rgba(61,220,132,0.16);
}

/* Open: the launcher shrinks to a round "minimise" button. */
.site-chatbot.is-open .site-chatbot-launcher { padding: 0.45rem; }
.site-chatbot.is-open .site-chatbot-launcher-copy { display: none; }

.site-chatbot-launcher-badge {
  position: absolute;
  top: -0.2rem;
  left: 2.3rem;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  border: 2px solid #0b0d10;
  animation: chat-badge-in 320ms var(--chat-ease);
}
@keyframes chat-badge-in { from { transform: scale(0.6); opacity: 0; } }

/* ── Panel ── */
.chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.85rem);
  display: flex;
  flex-direction: column;
  width: min(24.5rem, calc(100vw - 2rem));
  height: min(38rem, calc(100dvh - 8rem));
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(240,188,28,0.09), transparent 55%),
    linear-gradient(170deg, #0f131a, #07090d);
  box-shadow: 0 32px 90px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.05);
  transform-origin: bottom right;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.96);
  filter: blur(4px);
  transition:
    opacity 180ms ease,
    transform 220ms var(--chat-ease),
    filter 180ms ease,
    visibility 0s linear 220ms;
}
.site-chatbot.is-open .chat-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  filter: none;
  transition: opacity 200ms ease, transform 300ms var(--chat-ease), filter 200ms ease, visibility 0s;
}

/* ── Header ── */
.chat-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 0.85rem 0.9rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.chat-head-avatar { position: relative; flex-shrink: 0; }
.chat-presence {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #3ddc84;
  border: 2px solid #0e1218;
}
.chat-presence.is-team { background: var(--gold-bright); }
.chat-head-copy { display: grid; gap: 0.1rem; min-width: 0; flex: 1; }
.chat-head-copy strong { font-size: 0.95rem; font-weight: 650; letter-spacing: -0.01em; }
.chat-head-copy small { color: var(--muted); font-size: 0.76rem; }
.chat-head-actions { display: flex; gap: 0.25rem; }

.chat-icon-button {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(245,247,251,0.65);
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, transform 120ms var(--chat-ease);
}
.chat-icon-button svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat-icon-button:active { transform: scale(0.94); }
.chat-icon-button:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 1px; }
@media (hover: hover) and (pointer: fine) {
  .chat-icon-button:hover { background: rgba(255,255,255,0.07); color: var(--text); }
}

/* ── Thread ── */
.chat-thread {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.5rem 1rem 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.12) transparent;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 0.75rem);
  mask-image: linear-gradient(to bottom, transparent 0, #000 0.75rem);
}

.chat-intro {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 1rem 0.5rem 0.75rem;
  text-align: center;
}
.chat-intro-title { margin: 0; font-size: 1.05rem; font-weight: 650; letter-spacing: -0.015em; }
.chat-intro-text { margin: 0; max-width: 17rem; color: var(--muted); font-size: 0.8rem; line-height: 1.45; }

.chat-avatar {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd23a, #d99a08);
  color: #0b0d10;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.chat-avatar--small, .chat-avatar-gap { width: 1.75rem; height: 1.75rem; font-size: 0.58rem; }
.chat-avatar-gap { display: block; flex-shrink: 0; }

.chat-row {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  animation: chat-message-in 260ms var(--chat-ease) both;
}
.chat-row.is-group-start { margin-top: 0.6rem; }
.chat-row--client { justify-content: flex-end; }
@keyframes chat-message-in { from { opacity: 0; transform: translateY(6px); } }

.chat-stack { display: grid; gap: 0.2rem; min-width: 0; max-width: 82%; }
.chat-row--client .chat-stack { justify-items: end; }
.chat-meta { padding-left: 0.2rem; color: var(--muted); font-size: 0.7rem; font-weight: 600; }

.chat-bubble {
  padding: 0.6rem 0.85rem;
  border-radius: 18px;
  font-size: 0.875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.chat-bubble p { margin: 0; white-space: pre-wrap; }
.chat-bubble p + p, .chat-bubble p + ul, .chat-bubble ul + p { margin-top: 0.5rem; }
.chat-bubble ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.25rem; }
.chat-bubble strong { font-weight: 700; }

.chat-bubble--ai {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(245,247,251,0.94);
  border-bottom-left-radius: 6px;
}
.chat-bubble--team { border-color: rgba(240,188,28,0.28); background: rgba(240,188,28,0.07); }
.chat-bubble--client {
  background: linear-gradient(135deg, #ffd23a, #f0bc1c);
  color: #0b0d10;
  border-bottom-right-radius: 6px;
}
.chat-row.is-failed .chat-bubble--client { opacity: 0.55; }

.chat-time { padding: 0 0.2rem; color: rgba(154,163,178,0.75); font-size: 0.66rem; font-variant-numeric: tabular-nums; }

/* Suggestions */
.chat-suggestions {
  display: grid;
  justify-items: start;
  gap: 0.4rem;
  margin: 0.75rem 0 0 2.25rem;
}
.chat-suggestion {
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(240,188,28,0.3);
  border-radius: 999px;
  background: transparent;
  color: var(--gold-bright);
  font: inherit;
  font-size: 0.8rem;
  text-align: left;
  cursor: pointer;
  animation: chat-message-in 320ms var(--chat-ease) both;
  transition: background 150ms ease, border-color 150ms ease, transform 120ms var(--chat-ease);
}
.chat-suggestion:nth-child(2) { animation-delay: 40ms; }
.chat-suggestion:nth-child(3) { animation-delay: 80ms; }
.chat-suggestion:nth-child(4) { animation-delay: 120ms; }
.chat-suggestion:nth-child(5) { animation-delay: 160ms; }
.chat-suggestion:active { transform: scale(0.97); }
.chat-suggestion--book { background: rgba(240,188,28,0.12); border-color: rgba(240,188,28,0.5); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .chat-suggestion:hover { background: rgba(240,188,28,0.1); border-color: rgba(240,188,28,0.55); }
}

.chat-inline-book {
  justify-self: start;
  margin-top: 0.15rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(240,188,28,0.45);
  border-radius: 999px;
  background: rgba(240,188,28,0.1);
  color: var(--gold-bright);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease, transform 120ms var(--chat-ease);
}
.chat-inline-book:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .chat-inline-book:hover { background: rgba(240,188,28,0.18); } }

/* Typing */
.chat-typing {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.75rem 0.9rem;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  background: rgba(255,255,255,0.06);
}
.chat-typing span {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: rgba(245,247,251,0.6);
  animation: chat-typing 1.1s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-typing { 0%, 60%, 100% { opacity: 0.35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.chat-retry {
  padding: 0 0.2rem;
  border: 0;
  background: none;
  color: #ff8a80;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
}

.chat-error {
  margin: 0.75rem 0 0;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(255,107,107,0.25);
  background: rgba(255,107,107,0.08);
  color: rgba(255,214,210,0.95);
  font-size: 0.78rem;
  line-height: 1.45;
}
.chat-error a { color: var(--gold-bright); font-weight: 600; }

/* ── Composer ── */
.chat-compose {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  margin: 0 0.75rem;
  padding: 0.35rem 0.35rem 0.35rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.chat-compose:focus-within { border-color: rgba(240,188,28,0.45); box-shadow: 0 0 0 3px rgba(240,188,28,0.1); }
.chat-compose textarea {
  flex: 1;
  min-height: 2.25rem;
  max-height: 8.25rem;
  padding: 0.5rem 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 16px; /* 16px keeps iOS from zooming in on focus */
  line-height: 1.35;
  resize: none;
  outline: none;
}
.chat-compose textarea::placeholder { color: rgba(154,163,178,0.8); }

.chat-send {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: var(--gold-bright);
  color: #0b0d10;
  cursor: pointer;
  transition: opacity 150ms ease, transform 120ms var(--chat-ease), background 150ms ease;
}
.chat-send svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.chat-send:active:not(:disabled) { transform: scale(0.92); }
.chat-send:disabled { background: rgba(255,255,255,0.1); color: rgba(245,247,251,0.4); cursor: default; }

.chat-footnote {
  margin: 0;
  padding: 0.55rem 1rem 0.75rem;
  color: rgba(154,163,178,0.8);
  font-size: 0.7rem;
  text-align: center;
}
.chat-footnote a, .chat-footnote button {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(245,247,251,0.82);
  font: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(245,247,251,0.25);
  text-underline-offset: 2px;
  cursor: pointer;
}

/* ── Phones: a full-width bottom sheet ── */
@media (max-width: 640px) {
  .site-chatbot { right: 0.75rem; bottom: 0.75rem; }
  .site-chatbot-launcher { padding: 0.4rem; }
  .site-chatbot-launcher-copy { display: none; }

  .chat-panel {
    position: fixed;
    inset: auto 0 0 0;
    width: 100%;
    height: min(40rem, calc(100dvh - 2.5rem));
    border-radius: 22px 22px 0 0;
    border-bottom: 0;
    transform: translateY(100%);
    filter: none;
    transition: transform 280ms var(--chat-ease-drawer), opacity 0s linear 280ms, visibility 0s linear 280ms;
    box-shadow: 0 -20px 60px rgba(0,0,0,0.55);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .site-chatbot.is-open .chat-panel { transition: transform 420ms var(--chat-ease-drawer), opacity 0s, visibility 0s; }
  .chat-head { padding-top: 1.1rem; }
  .chat-head::before {
    content: "";
    position: absolute;
    top: 0.45rem;
    left: 50%;
    width: 2.25rem;
    height: 0.25rem;
    margin-left: -1.125rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
  }
  .site-chatbot.is-open .site-chatbot-launcher { visibility: hidden; }
  .site-chatbot::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms ease;
  }
  .site-chatbot.is-open::before { opacity: 1; pointer-events: auto; }
  html:has(.site-chatbot.is-open) { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .chat-panel, .site-chatbot.is-open .chat-panel { transform: none !important; filter: none !important; transition: opacity 160ms ease, visibility 0s linear 160ms; }
  .site-chatbot.is-open .chat-panel { transition: opacity 160ms ease; }
  .chat-row, .chat-suggestion, .site-chatbot-launcher-badge { animation: none; }
  .chat-typing span { animation-duration: 2.4s; }
  .launcher-icon { transition: opacity 150ms ease; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-chatbot-launcher { background: #10141b; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ══════════════════════════════════════════════
   FREE INSPECTION — date & time picker
   (assets/react/inspection-picker.js)
══════════════════════════════════════════════ */
.slot-picker {
  --slot-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --slot-gold-hi: #ffe27a;
  --slot-gold: #f0bc1c;
  --slot-gold-lo: #c8960a;
  position: relative;
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  padding: 1rem 1rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(240,188,28,0.07), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 18px 40px -26px rgba(0,0,0,0.8);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.slot-picker.needs-pick {
  border-color: rgba(255,120,100,0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 0 0 3px rgba(255,120,100,0.12);
  animation: slot-nudge 420ms var(--slot-ease);
}

@keyframes slot-nudge {
  20% { transform: translateX(-5px); }
  45% { transform: translateX(4px); }
  70% { transform: translateX(-2px); }
}

.slot-legend {
  float: left;
  width: auto;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.slot-required {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.slot-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  min-height: 1.9rem;
  margin-bottom: 0.7rem;
}

.slot-month {
  margin-right: auto;
  padding-left: 0.75rem;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 650;
  text-transform: capitalize;
  white-space: nowrap;
}

.slot-nav { display: flex; gap: 0.35rem; }

.slot-arrow {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  color: var(--text);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 2px 6px rgba(0,0,0,0.35);
  transition: transform 140ms ease-out, border-color 160ms ease;
}

.slot-arrow svg,
.slot-period-label svg,
.slot-summary-icon svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slot-arrow:active { transform: scale(0.92); }

@media (hover: hover) and (pointer: fine) {
  .slot-arrow:hover { border-color: rgba(240,188,28,0.55); }
}

/* ── Day strip ── */
.slot-strip {
  display: flex;
  gap: 0.5rem;
  margin: 0 -1rem;
  padding: 0.35rem 1rem 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1rem;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1rem, #000 calc(100% - 1.5rem), transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 1rem, #000 calc(100% - 1.5rem), transparent);
}

.slot-strip::-webkit-scrollbar { display: none; }

.slot-day {
  position: relative;
  flex: none;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.15rem;
  width: 4.1rem;
  padding: 0.6rem 0 0.55rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
  color: var(--text);
  font: inherit;
  cursor: pointer;
  scroll-snap-align: start;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 6px 14px -10px rgba(0,0,0,0.9);
  transition: transform 160ms var(--slot-ease), border-color 180ms ease, background-color 180ms ease, box-shadow 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .slot-day:not(.is-disabled):not(.is-active):hover {
    border-color: rgba(240,188,28,0.45);
    transform: translateY(-2px);
  }
}

.slot-day:not(.is-disabled):active { transform: scale(0.95); }

.slot-day:focus-visible {
  outline: 2px solid var(--slot-gold);
  outline-offset: 2px;
}

.slot-day-week {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.slot-day-num {
  font-size: 1.45rem;
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.slot-day-month {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.slot-day-note {
  margin-top: 0.3rem;
  color: rgba(255,255,255,0.38);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* three-bar availability meter */
.slot-meter {
  display: flex;
  gap: 3px;
  margin-top: 0.42rem;
}

.slot-meter i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.5);
}

.slot-meter--1 i:nth-child(-n+1),
.slot-meter--2 i:nth-child(-n+2),
.slot-meter--3 i {
  background: radial-gradient(circle at 35% 30%, #fff 0 15%, #5be3a2 45%, #149a62);
  box-shadow: 0 0 6px rgba(52,211,153,0.55);
}

.slot-meter--1 i:nth-child(1) {
  background: radial-gradient(circle at 35% 30%, #fff 0 15%, #ffcf5a 45%, #c98a00);
  box-shadow: 0 0 6px rgba(240,188,28,0.6);
}

.slot-day.is-disabled {
  cursor: not-allowed;
  opacity: 0.45;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 6px, transparent 6px 12px);
  box-shadow: none;
}

/* the chosen day: polished gold */
.slot-day.is-active {
  border-color: transparent;
  color: #1c1400;
  background: linear-gradient(180deg, var(--slot-gold-hi) 0%, var(--slot-gold) 50%, var(--slot-gold-lo) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.75),
    inset 0 -1px 0 rgba(120,70,0,0.35),
    0 0 0 1px rgba(120,75,0,0.5),
    0 10px 26px -8px rgba(240,188,28,0.55);
  transform: translateY(-3px);
}

.slot-day.is-active .slot-day-week,
.slot-day.is-active .slot-day-month { color: rgba(40,26,0,0.72); }

.slot-day.is-active .slot-meter i { background: rgba(60,40,0,0.25); box-shadow: none; }
.slot-day.is-active .slot-meter--1 i:nth-child(-n+1),
.slot-day.is-active .slot-meter--2 i:nth-child(-n+2),
.slot-day.is-active .slot-meter--3 i { background: #2a1c00; }

.slot-day--skeleton {
  height: 5.3rem;
  cursor: default;
  background: linear-gradient(100deg, rgba(255,255,255,0.03) 30%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.03) 70%) 0 0 / 300% 100%;
  animation: slot-shimmer 1.4s linear infinite;
}

@keyframes slot-shimmer {
  to { background-position: -150% 0; }
}

/* ── Times ── */
.slot-board {
  min-height: 7.5rem;
  padding-top: 0.2rem;
  border-top: 1px solid var(--line);
}

.slot-periods {
  display: grid;
  gap: 0.85rem;
  padding-top: 0.85rem;
}

.slot-period-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.slot-period-label svg { color: var(--slot-gold); }

.slot-times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.6rem, 1fr));
  gap: 0.45rem;
}

.slot-time {
  display: grid;
  gap: 0.05rem;
  padding: 0.55rem 0.5rem 0.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015));
  color: var(--text);
  font: inherit;
  text-align: center;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
  animation: slot-rise 320ms var(--slot-ease) backwards;
  animation-delay: calc(var(--i, 0) * 28ms);
  transition: transform 140ms ease-out, border-color 160ms ease, background-color 160ms ease, box-shadow 200ms ease;
}

@keyframes slot-rise {
  from { opacity: 0; transform: translateY(6px) scale(0.97); }
}

.slot-time strong {
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.slot-time small {
  color: var(--muted);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
}

@media (hover: hover) and (pointer: fine) {
  .slot-time:not(.is-active):hover { border-color: rgba(240,188,28,0.55); }
}

.slot-time:active { transform: scale(0.95); }

.slot-time:focus-visible {
  outline: 2px solid var(--slot-gold);
  outline-offset: 2px;
}

.slot-time.is-active {
  border-color: transparent;
  color: #1c1400;
  background: linear-gradient(180deg, var(--slot-gold-hi), var(--slot-gold) 55%, var(--slot-gold-lo));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 0 0 1px rgba(120,75,0,0.5), 0 8px 20px -8px rgba(240,188,28,0.6);
}

.slot-time.is-active small { color: rgba(40,26,0,0.7); }

.slot-times--skeleton { padding-top: 0.85rem; }

.slot-times--skeleton span {
  height: 3.1rem;
  border-radius: 13px;
  background: linear-gradient(100deg, rgba(255,255,255,0.03) 30%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.03) 70%) 0 0 / 300% 100%;
  animation: slot-shimmer 1.4s linear infinite;
}

.slot-empty,
.slot-error p {
  margin: 0;
  padding: 1.2rem 0.25rem 0.4rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.slot-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.slot-retry {
  flex: none;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(240,188,28,0.45);
  background: rgba(240,188,28,0.08);
  color: var(--slot-gold);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
}

/* ── Summary ── */
.slot-summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.9rem;
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  background: rgba(0,0,0,0.28);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.04), 0 1px 0 rgba(255,255,255,0.04);
  transition: background-color 240ms ease;
}

.slot-summary.is-set { background: rgba(240,188,28,0.09); }

.slot-summary-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255,255,255,0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 240ms ease, color 240ms ease;
}

.slot-summary.is-set .slot-summary-icon {
  color: #1c1400;
  background: linear-gradient(180deg, var(--slot-gold-hi), var(--slot-gold-lo));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 4px 12px -4px rgba(240,188,28,0.6);
}

.slot-summary.is-set .slot-summary-icon svg { stroke-width: 2.6; }

.slot-summary-copy {
  display: grid;
  min-width: 0;
  line-height: 1.3;
}

.slot-summary-copy strong {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: none;
}

.slot-summary.is-set .slot-summary-copy strong::first-letter { text-transform: uppercase; }

.slot-summary-copy small {
  color: var(--muted);
  font-size: 0.76rem;
}

.slot-warning { color: #ff9a8a !important; }

/* booking pop-up: the picker spans both field columns */
.booking-form .slot-picker { margin-top: 0.1rem; }

@media (max-width: 540px) {
  .slot-picker { padding: 0.85rem 0.85rem 0.8rem; }
  .slot-strip { margin: 0 -0.85rem; padding-inline: 0.85rem; scroll-padding-inline: 0.85rem; }
  .slot-day { width: 3.75rem; }
  .slot-times { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .slot-time,
  .slot-picker.needs-pick,
  .slot-day--skeleton,
  .slot-times--skeleton span { animation: none; }
  .slot-day.is-active { transform: none; }
}

.booking-success-slot {
  display: grid;
  gap: 0.2rem;
}

.booking-success-slot strong {
  color: var(--gold-bright);
  font-size: 1.15rem;
  font-weight: 750;
}

.booking-success-slot strong::first-letter { text-transform: uppercase; }

/* fields marked full-width in the homepage booking form */
.contact-card > .contact-card-full { grid-column: 1 / -1; }

/* ══════════════════════════════════════════════
   Rhythm, motion & polish (all pages)
══════════════════════════════════════════════ */
:root {
  --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);
  --section-gap: clamp(1.75rem, 3.2vw, 2.75rem);
}

/* Tighter vertical rhythm: sections were 112px+ apart, now ~56-88px. */
main > section:not(.hero-section):not(.stats-strip),
main > div > section:not(.hero-section) {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}
main > section.service-section { padding-top: calc(var(--section-gap) + 1rem); }


/* Chat launcher sits a little higher; back-to-top stacks above it. */
.site-chatbot { bottom: 2.5rem; }
.back-to-top { bottom: 7.4rem; right: 1.85rem; }
@media (max-width: 640px) {
  .site-chatbot { bottom: 1.4rem; }
  .back-to-top { bottom: 5.6rem; right: 1.05rem; }
}

/* Gallery thumbnails: one tidy scrolling row instead of an orphan second line. */
.studio-slider-thumbs {
  flex-wrap: nowrap;
  justify-content: safe center;
  overflow-x: auto;
  padding: 0.2rem 0.1rem 0.3rem;
  scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 1.5rem, #000 calc(100% - 1.5rem), transparent);
  mask-image: linear-gradient(to right, transparent, #000 1.5rem, #000 calc(100% - 1.5rem), transparent);
}
.studio-slider-thumb { scroll-snap-align: center; }

/* Reviews: long and short quotes share the space evenly instead of leaving a gap below. */
.review-slide { align-items: center; }
.reviews-slider { gap: 1rem; padding-block: 2rem 1.6rem; }

/* ── Page transitions (Chrome / Edge / Safari 18+): pages crossfade instead of flashing. ── */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out 180ms ease both; }
::view-transition-new(root) { animation: vt-in 320ms var(--ease-out-strong) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ── Scroll progress: a thin gold line under the header, like a rev counter. ── */
@supports (animation-timeline: scroll()) {
  .site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, #c8960a, #ffd23a);
    transform-origin: left;
    transform: scaleX(0);
    animation: scroll-progress linear both;
    animation-timeline: scroll(root block);
    z-index: 30;
    pointer-events: none;
  }
  @keyframes scroll-progress { to { transform: scaleX(1); } }
}

/* ── Hero: video settles in, headline catches the light, content drifts on scroll. ── */
.hero-background-video { animation: hero-settle 2.4s var(--ease-out-strong) both; }
@keyframes hero-settle { from { transform: scale(1.08); filter: brightness(0.6); } }

.hero-copy h1,
.hero-section h1 {
  background: linear-gradient(100deg, #fff 0%, #fff 42%, #ffe39a 50%, #fff 58%, #fff 100%);
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 4px 30px rgba(0,0,0,0.55));
  animation: headline-sheen 1.8s 0.75s var(--ease-out-strong) both;
}
@keyframes headline-sheen { from { background-position: 100% 0; } to { background-position: 0% 0; } }

/* Page heroes (services, team, training): same staged entrance as the home hero. */
:is(.services-page-hero, .team-page-hero, .training-page-hero) .container > * > * {
  animation: rise-in 800ms var(--ease-out-strong) both;
}
:is(.services-page-hero, .team-page-hero, .training-page-hero) .container > * > :nth-child(2) { animation-delay: 80ms; }
:is(.services-page-hero, .team-page-hero, .training-page-hero) .container > * > :nth-child(3) { animation-delay: 160ms; }
:is(.services-page-hero, .team-page-hero, .training-page-hero) .container > * > :nth-child(4) { animation-delay: 240ms; }
:is(.services-page-hero, .team-page-hero, .training-page-hero) .container > * > :nth-child(n+5) { animation-delay: 320ms; }
@keyframes rise-in { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } }

@supports (animation-timeline: view()) {
  .hero-section .container {
    animation: hero-drift linear both;
    animation-timeline: view();
    animation-range: exit 0% exit 100%;
  }
  @keyframes hero-drift { to { opacity: 0.15; transform: translateY(-70px); } }
}

/* ── Scroll reveal: added by JS (useScrollReveal); content stays visible without JS. ── */
html.motion-ready [data-rv] {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 700ms ease,
    transform 900ms var(--ease-out-strong),
    filter 700ms ease;
  transition-delay: var(--rv-delay, 0ms);
}
html.motion-ready [data-rv].rv-in {
  opacity: 1;
  transform: none;
  filter: none;
}
/* Section titles wipe in from the left. */
/* (A mask, not clip-path: a fully clipped element never reports itself as on screen.) */
html.motion-ready .section-title[data-rv] {
  opacity: 1;
  transform: translateY(10px);
  filter: none;
  -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
  mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
  -webkit-mask-size: 260% 100%;
  mask-size: 260% 100%;
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  transition: -webkit-mask-position 1.1s var(--ease-out-strong), mask-position 1.1s var(--ease-out-strong), transform 900ms var(--ease-out-strong);
  transition-delay: var(--rv-delay, 0ms);
}
html.motion-ready .section-title[data-rv].rv-in {
  transform: none;
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
}

/* Ticker: a slow, endless strip of services under the home hero. */
.service-ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(90deg, #07090d, #0d1117 50%, #07090d);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.service-ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}
.service-ticker:hover .service-ticker-track { animation-play-state: paused; }
.service-ticker-group { display: flex; flex-shrink: 0; }
.service-ticker a {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  padding: 0.95rem 0 0.95rem 1.6rem;
  color: rgba(245,247,251,0.55);
  font-family: Impact, Haettenschweiler, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  transition: color 200ms ease;
}
.service-ticker a::after { content: ""; width: 0.45rem; height: 0.45rem; transform: rotate(45deg); background: var(--gold-bright); opacity: 0.8; }
@media (hover: hover) and (pointer: fine) { .service-ticker a:hover { color: #fff; } }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Stats count up (JS) and land with a small settle. */
.stat-item strong { display: inline-block; font-variant-numeric: tabular-nums; }
.stat-item strong.is-counting { color: var(--gold-bright); transition: color 600ms ease; }

/* ── Interactive cards: lift and catch a gold edge on hover. ── */
@media (hover: hover) and (pointer: fine) {
  :is(.why-card, .team-preview-card, .ba-compare-stage, .service-card, .team-card, .training-card, .page-cta, .contact-action) {
    transition: transform 420ms var(--ease-out-strong), box-shadow 420ms ease, border-color 300ms ease;
  }
  :is(.why-card, .team-preview-card, .team-card, .training-card, .contact-action):hover {
    transform: translateY(-4px);
    border-color: rgba(240,188,28,0.35);
    box-shadow: 0 24px 50px rgba(0,0,0,0.45), 0 0 0 1px rgba(240,188,28,0.08);
  }
  .ba-compare-stage:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(240,188,28,0.25); }

  /* Image zoom inside framed photos. */
  :is(.service-card-media, .detail-photo, .about-media, .team-preview-media) { overflow: hidden; }
  :is(.service-card-media, .detail-photo, .about-media, .team-preview-media) img {
    transition: transform 1.2s var(--ease-out-strong);
  }
  :is(.service-card, .detail-photo, .about-section .glass-card, .team-preview-card):hover :is(.service-card-media, .detail-photo, .about-media, .team-preview-media) img {
    transform: scale(1.045);
  }
}

/* Primary buttons: a light sheen passes on hover, a firm press on click. */
.primary-button { position: relative; overflow: hidden; isolation: isolate; }
.primary-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.55) 50%, transparent 65%);
  transform: translateX(-120%);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .primary-button:hover::after { transform: translateX(120%); transition: transform 750ms var(--ease-out-strong); }
}
:is(.primary-button, .secondary-button, .whatsapp-button):active { transform: scale(0.97); }

/* Active gallery slide keeps a slow Ken Burns drift. */
.studio-slide.is-active img { animation: ken-burns 9s ease-out both; }
@keyframes ken-burns { from { transform: scale(1.06); } to { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  html.motion-ready [data-rv],
  html.motion-ready .section-title[data-rv] { opacity: 1; transform: none; filter: none; -webkit-mask-image: none; mask-image: none; transition: none; }
  .hero-background-video,
  .hero-copy h1, .hero-section h1,
  .studio-slide.is-active img,
  :is(.services-page-hero, .team-page-hero, .training-page-hero) .container > * > * { animation: none; }
  .hero-copy h1, .hero-section h1 { background-position: 0 0; }
  .hero-section .container { animation: none; }
  .service-ticker-track { animation-duration: 160s; }
  .site-header::after { display: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ══════════════════════════════════════════════
   Footer
══════════════════════════════════════════════ */
.site-footer {
  position: relative;
  margin-top: var(--section-gap);
  padding-bottom: 1.25rem;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(240,188,28,0.06), transparent 60%),
    #050608;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(40rem, 70%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(240,188,28,0.65), transparent);
}

/* CTA band (every page except home, which ends with the booking form). */
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-block: clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-cta h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
}
.footer-cta p { margin: 0.5rem 0 0; color: var(--muted); font-size: 0.95rem; }
.footer-cta-actions { display: flex; gap: 0.65rem; flex-wrap: wrap; }

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding-block: clamp(2.25rem, 4vw, 3.25rem);
}

.footer-brand-block { display: grid; align-content: start; gap: 1rem; max-width: 20rem; }
.footer-logo { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--text); text-decoration: none; }
.footer-logo img { width: 2.6rem; height: 2.6rem; border-radius: 0.65rem; object-fit: contain; }
.footer-logo strong { display: block; font-size: 1.05rem; letter-spacing: -0.01em; }
.footer-logo small { display: block; color: var(--muted); font-size: 0.74rem; }
.footer-pitch { margin: 0; color: rgba(245,247,251,0.68); font-size: 0.88rem; line-height: 1.6; }

.footer-social { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: rgba(245,247,251,0.7);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 160ms var(--ease-out-strong);
}
.footer-social svg { width: 1.1rem; height: 1.1rem; }
.footer-social svg * { fill: currentColor; }
.footer-social a:active { transform: scale(0.94); }

.footer-col h3 {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a,
.footer-col li > span {
  color: rgba(245,247,251,0.62);
  font-size: 0.88rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 160ms ease;
}
.footer-col a { position: relative; display: inline-block; }
.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ease-out-strong);
}
.footer-col .footer-more { color: var(--gold-bright); font-weight: 600; }
.footer-contact li { display: grid; grid-template-columns: 1rem 1fr; gap: 0.6rem; align-items: start; }
.footer-contact svg { width: 1rem; height: 1rem; margin-top: 0.15rem; color: var(--gold-bright); }

@media (hover: hover) and (pointer: fine) {
  .footer-col a:hover { color: #fff; }
  .footer-col a:hover::after { transform: scaleX(1); transform-origin: left; }
  .footer-social a:hover { color: #0b0d10; background: var(--gold-bright); border-color: var(--gold-bright); transform: translateY(-2px); }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(154,163,178,0.8);
  font-size: 0.76rem;
  line-height: 1.5;
}
.footer-legal a { color: rgba(245,247,251,0.75); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(245,247,251,0.25); }
.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(245,247,251,0.7);
  font: inherit;
  cursor: pointer;
}
.footer-top-link svg { width: 0.9rem; height: 0.9rem; transition: transform 300ms var(--ease-out-strong); }
@media (hover: hover) and (pointer: fine) {
  .footer-top-link:hover { color: #fff; }
  .footer-top-link:hover svg { transform: translateY(-3px); }
}

@media (max-width: 960px) {
  .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand-block { grid-column: 1 / -1; max-width: 32rem; }
}
@media (max-width: 640px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
  .footer-col--contact { grid-column: 1 / -1; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .footer-cta-actions { width: 100%; }
  .footer-cta-actions > * { flex: 1; justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding-bottom: 4.5rem; }
}

/* Booking section: the form grew (time picker), so the intro card stays in view beside it instead of stretching. */
@media (min-width: 761px) {
  .contact-shell { align-items: start; }
  .contact-copy { position: sticky; top: 6.5rem; }
}

/* Eyebrow pills hug their text instead of stretching across flex/grid columns. */
.eyebrow { max-width: max-content; }

/* Page heroes share the home hero's condensed display face (one brand voice across pages). */
.services-page-hero-copy h1 {
  max-width: 13ch;
  font-family: Impact, Haettenschweiler, sans-serif;
  font-weight: 400;
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.005em;
}

/* ══════════════════════════════════════════════
   BOOKING — proportions & layout pass
   (homepage contact section + header pop-up)
══════════════════════════════════════════════ */

/* ── Homepage: left column ── */
.contact-copy {
  justify-content: flex-start;
  gap: 1.15rem;
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
}

.contact-copy::after { display: none; }

.contact-kicker {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(240,188,28,0.32);
  background: rgba(240,188,28,0.07);
  color: var(--gold-bright);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-kicker span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52,211,153,0.8);
}

.contact-heading {
  margin: 0;
  color: #fff;
  font-family: Impact, Haettenschweiler, sans-serif;
  font-size: clamp(1.9rem, 2.6vw, 2.55rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}

.contact-copy > .contact-lead {
  margin: 0;
  max-width: 30rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.contact-steps {
  position: relative;
  display: grid;
  gap: 1rem;
  margin: 0.3rem 0 0.4rem;
  padding: 0;
  list-style: none;
}

/* the thread connecting the three steps */
.contact-steps::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: calc(0.95rem - 1px);
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(240,188,28,0.55), rgba(240,188,28,0.08));
}

.contact-steps li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.contact-step-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  color: #1c1400;
  font-size: 0.82rem;
  font-weight: 800;
  background: linear-gradient(180deg, #ffe27a, #f0bc1c 55%, #c8960a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 0 0 4px #0e1219, 0 6px 16px -6px rgba(240,188,28,0.6);
}

.contact-steps li > span:last-child {
  display: grid;
  gap: 0.1rem;
  padding-top: 0.12rem;
}

.contact-steps strong {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 650;
}

.contact-steps small {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

/* ── Step labels shared by the homepage form and the pop-up ── */
.form-step {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.35rem 0 -0.25rem;
  padding: 0;
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-step span {
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  border: 1px solid rgba(240,188,28,0.5);
  background: rgba(240,188,28,0.08);
  color: var(--gold-bright);
  font-size: 0.72rem;
  letter-spacing: 0;
}

.contact-card > .form-step:first-of-type { margin-top: 0; }

.booking-services legend.form-step { margin: 0 0 0.75rem; }

/* ── Picker header: title left, month + arrows right, one baseline ── */
.slot-legend {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  float: none;
}

.slot-head { justify-content: flex-start; }

.slot-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-right: auto;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 650;
}

.slot-title svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: var(--slot-gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slot-month {
  margin-right: 0.35rem;
  padding-left: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ── Header pop-up: narrower photo, roomier form, booking button always visible ── */
.booking-panel {
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  width: min(64rem, 100%);
  height: min(50rem, calc(100dvh - 2rem));
  max-height: none;
}

.booking-visual-copy strong { font-size: clamp(1.3rem, 1.9vw, 1.7rem); }

.booking-body {
  --bp: clamp(1.4rem, 2.6vw, 2.1rem);
  display: flex;
  flex-direction: column;
  padding: 0;
}

.booking-body > .booking-success {
  margin: auto 0;
  padding: 2.5rem var(--bp);
}

.booking-form {
  flex: 1 0 auto;
  align-content: start;
  gap: 1.05rem;
  padding: var(--bp) var(--bp) 0;
}

.booking-head {
  display: grid;
  gap: 0.55rem;
  padding-right: 3rem;
}

.booking-head .booking-title {
  margin: 0;
  padding-right: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

.booking-head .booking-eyebrow { font-size: 0.7rem; }

.booking-chip-list { gap: 0.4rem; }

.booking-chip {
  padding: 0.42rem 0.78rem;
  font-size: 0.78rem;
}

.booking-step {
  display: grid;
  gap: 0.75rem;
}

.booking-step .form-step,
.booking-form > .form-step { margin: 0.2rem 0 -0.3rem; }

.booking-footer {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 0.5rem;
  margin: auto calc(var(--bp) * -1) 0;
  padding: 0.95rem var(--bp) calc(1rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11,14,20,0.88), rgba(9,11,16,0.98));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.booking-footer .booking-submit { width: 100%; }

.booking-footer .booking-fineprint {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
}

@media (max-width: 1100px) {
  .contact-shell { gap: 1.5rem; }
}

@media (max-width: 860px) {
  .booking-panel {
    grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  }
  .booking-visual-copy ul { display: none; }
}

@media (max-width: 720px) {
  .booking-panel {
    grid-template-columns: 1fr;
    grid-template-rows: 7rem minmax(0, 1fr);
    height: 94dvh;
  }
  .booking-visual { height: 7rem; }
  .booking-visual-copy { bottom: 0.85rem; }
  .booking-visual-copy strong { font-size: 1.25rem; }
  .booking-body { --bp: 1.15rem; padding: 0; }
  .booking-head { padding-right: 0; }
  .booking-head .booking-title { font-size: 1.55rem; }
  .booking-chip-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 calc(var(--bp) * -1);
    padding: 0.15rem var(--bp) 0.35rem;
    scrollbar-width: none;
  }
  .booking-chip-list::-webkit-scrollbar { display: none; }
  .booking-chip { flex: none; }
  .contact-heading { font-size: 1.9rem; }
}

/* close button stays legible while the form scrolls beneath it */
.booking-close {
  background: rgba(10,13,18,0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.45);
}

/* ── Language switch (NL · EN · FR) ──
   A frosted pill with a gold indicator that slides under the active language. */
.lang-switch {
  --lang-option-w: 2.35rem;
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(var(--lang-count, 3), var(--lang-option-w));
  align-items: center;
  flex: none;
  height: 2.6rem;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  isolation: isolate;
  transition: border-color 180ms ease, background 180ms ease;
}

.lang-switch-indicator {
  position: absolute;
  top: 0.25rem;
  bottom: 0.25rem;
  left: 0.25rem;
  width: var(--lang-option-w);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 4px 14px rgba(240,188,28,0.35);
  transform: translateX(calc(var(--lang-index, 0) * 100%));
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.lang-switch-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-radius: 999px;
  color: rgba(255,255,255,0.78);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 180ms ease;
}

.lang-switch-option:hover { color: #fff; }

.lang-switch-option.is-active {
  color: #12100a;
  cursor: default;
}

.lang-switch-option:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.lang-switch:hover { border-color: rgba(255,208,0,0.4); }

.site-header.scrolled .lang-switch {
  background: rgba(255,255,255,0.05);
  border-color: var(--line);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header.scrolled .lang-switch-option:not(.is-active) { color: var(--muted); }
.site-header.scrolled .lang-switch-option:not(.is-active):hover { color: var(--text); }

/* Mobile menu version: full width, larger targets, at the end of the menu. */
.lang-switch--menu { display: none; }

@media (max-width: 1100px) {
  .main-nav .lang-switch--menu {
    --lang-option-w: 1fr;
    display: grid;
    grid-template-columns: repeat(var(--lang-count, 3), 1fr);
    width: 100%;
    height: 3rem;
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateX(14px);
    transition: opacity 320ms ease 260ms, transform 320ms ease 260ms;
  }

  .main-nav.is-open .lang-switch--menu {
    opacity: 1;
    transform: translateX(0);
  }

  .main-nav .lang-switch--menu .lang-switch-indicator {
    width: calc((100% - 0.5rem) / var(--lang-count, 3));
  }

  /* undo the menu-row styling that .main-nav a applies to every link */
  .main-nav .lang-switch--menu .lang-switch-option {
    padding: 0;
    border-bottom: 0;
    font-size: 0.85rem;
    opacity: 1;
    transform: none;
    transition: color 180ms ease;
  }

  .main-nav .lang-switch--menu .lang-switch-option.is-active { color: #12100a; }
}

@media (prefers-reduced-motion: reduce) {
  .lang-switch-indicator,
  .main-nav .lang-switch--menu { transition: none; }
}

/* Header fit for longer NL / FR labels: keep every item on one line. */
.main-nav-inline a,
.header-inspection-button,
.header-whatsapp-button { white-space: nowrap; }

@media (min-width: 1101px) and (max-width: 1480px) {
  .main-nav-inline { gap: 1.1rem; }
  /* the WhatsApp pill becomes the same round icon button used on the home page */
  .header-whatsapp-button {
    width: 2.6rem;
    height: 2.6rem;
    padding: 0;
    gap: 0;
    font-size: 0;
  }
}

@media (min-width: 1101px) and (max-width: 1300px) {
  .main-nav-inline { gap: 0.8rem; }
  .main-nav-inline a { font-size: 0.85rem; }
  .nav-actions { gap: 0.5rem; }
  .lang-switch { --lang-option-w: 2.1rem; }
}

/* ══════════════════════════════════════════════
   TYPOGRAPHY SYSTEM — professional pass
   Impact ships in a single (regular) weight. Headings default to bold, so
   browsers were faking a bold by smearing the glyphs: that is what made
   several titles look heavy and blurry. Display text now uses the real
   weight; small card titles move to a crisp UI sans.
══════════════════════════════════════════════ */
:root {
  --font-ui: "Avenir Next", "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

body { font-family: var(--font-ui); }

/* Display: real Impact regular, no synthetic bold, even tracking */
.section-title,
.hero-copy h1,
.team-page-hero-copy h1,
.services-page-hero-copy h1,
.page-cta-title,
.footer-cta h2,
.service-card-title,
.service-showcase-panel-copy h2,
.booking-title,
.contact-heading,
.booking-success h3,
.stat-item strong,
.about-stat strong,
.why-number,
.training-curriculum-index,
.service-ticker a,
.service-showcase-tab-count,
.studio-slider-progress,
.team-avatar-fallback span,
.booking-visual-copy strong,
.studio-slide-overlay strong,
.services-page-hero-media-copy strong,
.service-showcase-media figcaption span {
  font-weight: 400;
  font-synthesis: none;
}

.section-title {
  letter-spacing: 0.012em;
  line-height: 0.98;
  text-wrap: balance;
}

/* Card-level titles: Impact is too crude at this size; use the UI sans */
.detail-copy h3,
.team-preview-card h3,
.team-member-body h2,
.team-page-hero-fact strong,
.team-hero-cluster-caption strong {
  font-family: var(--font-ui);
  font-weight: 700;
  font-synthesis: none;
  letter-spacing: -0.015em;
  text-transform: none;
  text-shadow: none;
}

.team-member-body h2 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.15; }
.team-preview-card h3 { font-size: 1.12rem; line-height: 1.2; }
.detail-copy h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.15; }
.team-page-hero-fact strong { font-size: 1rem; }
.team-hero-cluster-caption strong { font-size: 1.12rem; }

/* Body copy: comfortable measure and leading everywhere */
.section-lead,
.contact-lead,
.hero-copy p { text-wrap: pretty; }

/* ══════════════════════════════════════════════
   REMAKE — design foundation
   One width, one label style, one card, one rhythm across every page.
══════════════════════════════════════════════ */
:root {
  --page-max: 1240px;
  --page-pad: clamp(1.1rem, 3vw, 2.5rem);
  --card-radius: 22px;
  --hairline: rgba(255,255,255,0.075);
  --hairline-strong: rgba(255,255,255,0.14);
  --card-bg: linear-gradient(180deg, rgba(255,255,255,0.038), rgba(255,255,255,0.012)), #0a0d12;
  --card-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 30px 70px -38px rgba(0,0,0,0.85);
  --ease-premium: cubic-bezier(0.23, 1, 0.32, 1);
}

/* Content never stretches past a comfortable width on large screens */
.container {
  max-width: calc(var(--page-max) + var(--page-pad) * 2);
  padding-inline: var(--page-pad);
}

/* Section labels: a short gold rule + small caps instead of bordered pills */
.eyebrow,
.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 1.75rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-bright), rgba(240,188,28,0.15));
}

.section-header--centered .eyebrow::after,
.page-cta .eyebrow::after,
.footer-cta .eyebrow::after {
  content: "";
  flex: none;
  width: 1.75rem;
  height: 1px;
  background: linear-gradient(270deg, var(--gold-bright), rgba(240,188,28,0.15));
}

/* Section intros read left-aligned at a calm measure */
.section-header {
  gap: clamp(1.25rem, 4vw, 4rem);
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.section-lead {
  max-width: 25rem;
  text-align: left;
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--muted);
}

.section-header--centered .section-lead { text-align: center; margin-inline: auto; }

/* One card language everywhere */
.glass-card {
  border: 1px solid var(--hairline);
  border-radius: var(--card-radius);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
}

/* Buttons: tactile, consistent */
.primary-button,
.secondary-button,
.header-inspection-button {
  transition: transform 160ms var(--ease-premium), box-shadow 220ms ease, background-color 200ms ease, border-color 200ms ease;
}

.primary-button:active,
.secondary-button:active,
.header-inspection-button:active { transform: translateY(1px) scale(0.98); }

@media (hover: none) {
  .primary-button:hover { transform: none; }
}

/* Body copy: comfortable reading */
main p { text-wrap: pretty; }

::selection { background: rgba(240,188,28,0.35); color: #fff; }

@media (max-width: 760px) {
  .section-header { grid-template-columns: 1fr; align-items: start; }
  .section-lead { max-width: none; }
}

/* Header brand: tagline stays on one line, steps aside when space is tight */
.brand-copy strong,
.brand-copy small { white-space: nowrap; }
@media (max-width: 1280px) and (min-width: 1081px) {
  .site-header .brand-copy small { display: none; }
}

/* Reviews: an editorial quote, centred in its card, no dead space */
.reviews-slider { padding-block: clamp(2rem, 4vw, 3rem); }
.review-slide { align-items: center; }
.review-card { gap: 1.4rem; }
.review-quote-mark { width: 2.1rem; height: 1.6rem; opacity: 0.7; }
.review-body {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.12rem, 1.6vw, 1.32rem);
  line-height: 1.65;
  letter-spacing: 0.005em;
  color: rgba(245,247,251,0.92);
  text-wrap: balance;
}

/* ══════════════════════════════════════════════
   REMAKE — materials, light & depth
══════════════════════════════════════════════ */

/* Fine film grain over the whole canvas: gives the black depth instead of flat digital void */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Section titles: brushed-silver finish (white catching light, cooling toward the base) */
.section-title {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 45%, #c9cfda 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.06em; /* keep descenders inside the clipped area */
}

/* Cards: one material, a gradient hairline rim, and a cursor-following spotlight */
:is(.why-card, .team-member-card, .team-preview-card, .training-curriculum-card, .services-page-hero-fact, .team-page-hero-fact) {
  --mx: -999px;
  --my: -999px;
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: var(--card-radius);
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgba(240,188,28,0.10), transparent 55%),
    var(--card-bg);
  box-shadow: var(--card-shadow);
  transition: transform 260ms var(--ease-premium), border-color 260ms ease, box-shadow 260ms ease;
}

:is(.service-showcase-panel, .reviews-slider) {
  --mx: -999px;
  --my: -999px;
  background:
    radial-gradient(640px circle at var(--mx) var(--my), rgba(240,188,28,0.07), transparent 55%),
    var(--card-bg);
}

.contact-action {
  --mx: -999px;
  --my: -999px;
  background:
    radial-gradient(260px circle at var(--mx) var(--my), rgba(240,188,28,0.12), transparent 60%),
    var(--card-bg);
  border-color: var(--hairline);
}

.contact-action--whatsapp {
  background:
    radial-gradient(260px circle at var(--mx) var(--my), rgba(37,211,102,0.16), transparent 60%),
    linear-gradient(180deg, rgba(37,211,102,0.10), rgba(37,211,102,0.03)),
    var(--card-bg);
  border-color: rgba(37,211,102,0.35);
}

@media (hover: hover) and (pointer: fine) {
  :is(.why-card, .team-member-card, .team-preview-card, .training-curriculum-card).is-lit {
    transform: translateY(-3px);
    border-color: rgba(240,188,28,0.28);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 40px 80px -40px rgba(0,0,0,0.9), 0 0 0 1px rgba(240,188,28,0.06);
  }
  .contact-action.is-lit { border-color: rgba(240,188,28,0.35); }
  .contact-action--whatsapp.is-lit { border-color: rgba(37,211,102,0.6); }
}

/* Why-card numerals: engraved gold instead of faded grey */
.why-number {
  background: linear-gradient(180deg, rgba(240,188,28,0.95), rgba(200,150,10,0.25));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Services page: directory bar is one smooth row and steps aside at the end ── */
.service-rail-links {
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  margin-inline: -0.25rem;
  padding: 0.15rem 0.25rem 0.35rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 0.75rem, #000 calc(100% - 2rem), transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 0.75rem, #000 calc(100% - 2rem), transparent);
}
.service-rail-links::-webkit-scrollbar { display: none; }
.service-rail-link { flex: none; white-space: nowrap; }

.service-rail-section {
  transition: transform 420ms var(--ease-premium), opacity 260ms ease;
}
.service-rail-section.is-done {
  transform: translateY(calc(-100% - 6rem));
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  :is(.why-card, .team-member-card, .team-preview-card, .training-curriculum-card).is-lit { transform: none; }
  .service-rail-section { transition: opacity 200ms ease; }
  .service-rail-section.is-done { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  body::after { display: none; }
}

/* Full-screen layout (per the owner): sections use the whole viewport width;
   only the side padding remains, scaling with the screen. */
.container { max-width: none; padding-inline: clamp(1.1rem, 3.2vw, 4rem); }

/* Header lines up with the full-width content below it */
@media (min-width: 1081px) {
  .site-header .container { padding-inline: clamp(1.1rem, 3.2vw, 4rem); }
}

/* Hero copy shares the page's left edge on large screens */
@media (min-width: 1081px) {
  .hero-section .container { padding-inline: clamp(1.1rem, 3.2vw, 4rem); }
}

/* The picker's hidden "time required" field must stay 1px: form-wide input rules
   (.contact-card input { width: 100% }) were stretching it past the right edge on
   phones, which widened the whole page and pushed the menu button off-screen. */
.slot-picker input.slot-required {
  left: 0;
  bottom: 0;
  width: 1px !important;
  min-width: 0;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

/* ── Homepage hero headline: the gold sheen sweeps across the letters again every ~5 s.
   One cycle = 1.8 s sweep + 5 s rest. The gradient is white at both ends, so jumping
   back to the start position between cycles is invisible. ── */
.hero-copy h1 {
  background-image: linear-gradient(100deg, #fff 0%, #fff 40%, #ffd23f 47%, #fff6d6 50%, #ffd23f 53%, #fff 60%, #fff 100%);
  animation: headline-sheen-loop 6.8s 0.75s infinite both;
}
@keyframes headline-sheen-loop {
  0% { background-position: 100% 0; animation-timing-function: cubic-bezier(0.45, 0, 0.2, 1); }
  26.5%, 100% { background-position: 0% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy h1 { animation: none; background-position: 0 0; }
}

/* Stats strip ("#1 Detailer in Antwerp", "5★"...): a gold wave runs across the stats every 5 s,
   each number pops in turn while a light sheen sweeps the strip. */
.stats-strip { position: relative; overflow: hidden; }
.stats-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(240, 188, 28, 0.10) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: stats-sheen 5s ease-in-out 1.5s infinite;
}
.stat-item strong { animation: stat-pop 5s ease-in-out 1.5s infinite; }
.stat-item:nth-child(3) strong { animation-delay: 1.75s; }
.stat-item:nth-child(5) strong { animation-delay: 2s; }
.stat-item:nth-child(7) strong { animation-delay: 2.25s; }
.stat-item span { animation: stat-label 5s ease-in-out 1.5s infinite; }
.stat-item:nth-child(3) span { animation-delay: 1.75s; }
.stat-item:nth-child(5) span { animation-delay: 2s; }
.stat-item:nth-child(7) span { animation-delay: 2.25s; }
@keyframes stat-pop {
  0%, 18%, 100% { transform: none; text-shadow: none; }
  7% { transform: translateY(-3px) scale(1.12); color: var(--gold-bright); text-shadow: 0 0 18px rgba(240, 188, 28, 0.55); }
}
@keyframes stat-label {
  0%, 18%, 100% { opacity: 1; }
  7% { opacity: 0.6; }
}
@keyframes stats-sheen {
  0% { transform: translateX(-100%); }
  30%, 100% { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .stats-strip::after, .stat-item strong, .stat-item span { animation: none; }
}

/* Mobile menu: the page you are on is highlighted in the logo's orange. */
.site-header .main-nav.is-open a[aria-current="page"] {
  color: #fc8008;
  font-weight: 600;
  padding-left: 0.85rem;
  border-radius: 10px;
  background: rgba(252, 128, 8, 0.12);
  box-shadow: inset 3px 0 0 #fc8008;
}

/* "What we do" service photo: same calm 16:10 shape everywhere, never a thin strip. */
.detail-photo {
  min-height: 0;
  aspect-ratio: 16 / 10;
  align-self: center;
}
@media (max-width: 760px) {
  .service-detail { grid-template-columns: 1fr; }
  .detail-photo { order: -1; } /* photo first, then the text */
}

/* "From our studio" captions: always one line. */
.studio-slide-overlay strong {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 700px) {
  .studio-slide-overlay strong { font-size: 1rem; }
}

/* "The person behind the work": on phones the photo goes full width above the text, never a thin strip. */
@media (max-width: 760px) {
  .about-shell { grid-template-columns: 1fr; min-height: 0; }
  .about-photo { aspect-ratio: 1 / 1; max-height: 70vh; }
}

/* Mobile menu (☰): roomier panel, bigger links with arrows, booking + WhatsApp at the bottom. */
@media (max-width: 1100px) {
  .main-nav {
    width: min(22rem, 88vw);
    padding: 5.25rem 1.25rem 1.5rem;
    gap: 0.25rem;
    overflow-y: auto;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.55);
  }
  .nav-menu-backdrop.is-open { backdrop-filter: blur(4px); }
  .main-nav-label {
    margin: 0 0 0.5rem 0.75rem;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .main-nav > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 0.75rem;
    border-radius: 12px;
    border-bottom: 0;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.9);
  }
  .main-nav > a::after {
    content: "›";
    font-size: 1.4rem;
    line-height: 1;
    opacity: 0.35;
    transition: transform 180ms ease, opacity 180ms ease;
  }
  .main-nav > a:hover { background: rgba(255, 255, 255, 0.05); }
  .main-nav > a:hover::after { opacity: 0.8; transform: translateX(3px); }
  .main-nav > a[aria-current="page"]::after { opacity: 1; color: #fc8008; }
  .main-nav-cta {
    display: grid;
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .main-nav .main-nav-cta a {
    justify-content: center;
    padding: 0.9rem 1rem;
    border: 0;
    border-radius: 999px;
    font-size: 0.98rem;
    font-weight: 700;
    opacity: 1;
    transform: none;
  }
  .main-nav .main-nav-cta .main-nav-whatsapp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: #06200f;
  }
  .main-nav-whatsapp svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }
  .main-nav .lang-switch--menu { margin: 1rem 0 0; max-width: 100%; box-sizing: border-box; }
}

/* Services page on phones: the directory is one swipeable row, and shrinks to just that row while scrolling down. */
@media (max-width: 760px) {
  .service-rail-links { display: flex; grid-template-columns: none; }
  .service-rail-link { width: auto; }
  .service-rail-copy, .service-rail-progress { transition: opacity 200ms ease; }
  .service-rail { transition: padding 250ms ease; }
  .service-rail-section.is-compact .service-rail { padding: 0.45rem 0.6rem 0.5rem; }
  .service-rail-section.is-compact .service-rail-copy,
  .service-rail-section.is-compact .service-rail-progress { display: none; }
}



/* Phones: the directory's space stays fixed (no page jump); only the card shrinks, the rest is see-through. */
@media (max-width: 760px) {
  .service-rail-section {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    pointer-events: none;
  }
  .service-rail {
    pointer-events: auto;
    background: rgba(8, 10, 14, 0.94);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }
}

/* "Find us" map on phones: give it a real height (a min-height of 100% collapsed it to 0 once stacked). */
@media (max-width: 760px) {
  .location-map { height: 20rem; min-height: 20rem; }
}

/* ── Mobile/tablet header: readable over video, refined brand, glass menu button, one-tap WhatsApp ── */
@media (max-width: 1100px) {
  .site-header { padding-top: env(safe-area-inset-top, 0px); }
  .site-header:not(.scrolled)::before {
    content: "";
    position: absolute;
    inset: 0 0 -40% 0;
    background: linear-gradient(180deg, rgba(4, 5, 7, 0.72) 0%, rgba(4, 5, 7, 0.35) 55%, transparent 100%);
    pointer-events: none;
    z-index: -1;
  }
  .nav-shell { gap: 0.6rem; }
  .brand { order: 1; min-width: 0; margin-right: auto; }
  .brand-copy { min-width: 0; }
  .brand-copy strong { font-size: 1.08rem; letter-spacing: 0.01em; }
  .brand-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
  }
  .nav-actions { order: 2; display: flex; align-items: center; gap: 0.5rem; }
  .nav-actions > :not(.header-whatsapp-icon-button):not(.header-whatsapp-button):not(.header-inspection-button) { display: none; }
  .nav-actions .header-whatsapp-icon-button,
  .nav-actions .header-whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    padding: 0;
    gap: 0;
    font-size: 0;
    border-radius: 12px;
    border: 0;
    background: #25d366;
    color: #fff;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
  }
  .nav-actions .header-whatsapp-icon-button svg,
  .nav-actions .header-whatsapp-button svg { width: 1.25rem; height: 1.25rem; }
  .nav-menu-toggle {
    order: 3;
    border-radius: 12px;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}
@media (max-width: 359px) {
  .brand-copy small { display: none; }
}

/* Phones/tablets: the header is fully opaque once scrolled, from the very top edge of the screen
   (the notch area included), so nothing can ever show above or through it. */
@media (max-width: 1100px) {
  .site-header.scrolled { background: #08090d; }
  .site-header.scrolled .nav-shell {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  /* WhatsApp stays green in every header state (the scrolled style made it dark). */
  .site-header .nav-actions a.header-whatsapp-icon-button,
  .site-header .nav-actions a.header-whatsapp-button,
  .site-header.scrolled .nav-actions a.header-whatsapp-icon-button,
  .site-header.scrolled .nav-actions a.header-whatsapp-button {
    background: #25d366;
    border-color: transparent;
    color: #fff;
  }
}
/* No rubber-band bounce above the top of the page (it revealed content above the header). */
html, body { overscroll-behavior-y: none; }

/* ── Header always on top, on every device (permanent fix) ──
   1. A clearly higher z-index: on iPhones, page elements that animate
      (slider, cards, scroll reveals) could otherwise be painted over the fixed header mid-scroll.
   2. The film grain now sits under the header (it was blended on top of it).
   3. The chat widget stays above the header (its full-screen panel on phones must cover it).
   4. On phones/tablets the hero text no longer drifts upward while scrolling. */
.site-header { z-index: 1000; } /* no transform here: it would trap the fixed menu panel inside the header */
body::after { z-index: 900; }
.site-chatbot { z-index: 1100; }
@media (max-width: 1100px) {
  .hero-section .container { animation: none; }
}

/* iPhone edge-to-edge (viewport-fit=cover): everything tied to the header height or the screen edges
   includes the safe areas (status bar on top, home indicator at the bottom). */
#home, #work, #about, #contact, #team-directory, #service-guide, #training-curriculum { scroll-margin-top: calc(5.5rem + env(safe-area-inset-top, 0px)); }
.service-rail-section { top: calc(4.8rem + env(safe-area-inset-top, 0px)); }
.site-chatbot, .back-to-top { margin-bottom: env(safe-area-inset-bottom, 0px); }
@media (max-width: 1100px) {
  .main-nav { padding-top: calc(5.25rem + env(safe-area-inset-top, 0px)); padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
}

/* iPhone Safari paints page content in the status-bar strip ABOVE the header (outside the page area).
   A dark band drawn upward from the header's top edge covers that strip in every state, and the page's
   base colour matches the header so Safari tints its status bar the same dark. */
html { background-color: #08090d; }
.site-header { box-shadow: 0 -160px 0 160px #08090d; }

/* Header slides away while scrolling down, returns on a small scroll up. It stops at the safe-area
   line, so the dark strip behind the iPhone status bar stays covered. (Transform only while hidden:
   the menu, a fixed panel inside the header, is never open then.) */
.site-header { transition: transform 300ms ease, background 300ms ease; }
.site-header.is-hidden { transform: translateY(calc(-100% + env(safe-area-inset-top, 0px))); }
.service-rail-section { transition: transform 420ms ease, opacity 260ms ease, top 300ms ease; }
html.header-hidden .service-rail-section { top: env(safe-area-inset-top, 0px); }
@media (prefers-reduced-motion: reduce) {
  .site-header, .service-rail-section { transition: none; }
}

/* Free inspection: text button on laptops; on phones/tablets a gold calendar icon next to WhatsApp. */
.header-inspection-icon { display: none; }
@media (max-width: 1100px) {
  .site-header .nav-actions .header-inspection-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    min-width: 0;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(240, 188, 28, 0.28);
  }
  .header-inspection-button .header-inspection-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .header-inspection-icon { display: block; width: 1.25rem; height: 1.25rem; }
}
