/* ============================================================
   CSS CUSTOM PROPERTIES — Edit colors & fonts here to rebrand
   ============================================================ */
:root {
  /* Brand colors */
  --color-bg:          #0e0e0e;        /* Page background (near-black) */
  --color-surface:     #161616;        /* Cards, sections */
  --color-surface-alt: #1d1d1d;        /* Alternate surface */
  --color-border:      #2a2a2a;        /* Subtle borders */
  --color-gold:        #c9a96e;        /* Primary accent — gold */
  --color-gold-light:  #dfc08e;        /* Lighter gold for hovers */
  --color-white:       #f5f2ed;        /* Warm white / text */
  --color-muted:       #888078;        /* Muted/secondary text */
  --color-overlay:     rgba(0,0,0,.55);/* Hero overlay */

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing scale */
  --space-xs:  .5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;

  /* Misc */
  --radius:    6px;
  --nav-h:     72px;
  --transition: .25s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; }

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

ul { list-style: none; }

/* Reusable section wrapper */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section { padding: var(--space-xl) 0; }

/* Section label (small uppercase label above headlines) */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

/* Display headline style */
.display-heading {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-white);
  font-size: clamp(2.8rem, 5vw, 5rem);
}

/* Thin horizontal divider — auto horizontal margins ensure it centers
   in every text-align:center parent without needing per-section overrides */
.divider {
  width: 40px;
  height: 1px;
  background: var(--color-gold);
  margin: 1.5rem auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

/* Filled gold button */
.btn-primary {
  background: var(--color-gold);
  color: var(--color-bg);
  border-radius: var(--radius);
}
.btn-primary:hover {
  background: var(--color-gold-light);
  transform: translateY(-1px);
}

/* Ghost / outline button */
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(245,242,237,.35);
  border-radius: var(--radius);
}
.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  /* Starts transparent; JS adds .scrolled class */
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

/* Nav becomes opaque when user scrolls */
#nav.scrolled {
  background: rgba(14,14,14,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--color-white);
}
.nav-logo span { color: var(--color-gold); }

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-links a {
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(245,242,237,.7);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--color-white); }

.nav-links .btn-primary {
  padding: .55rem 1.3rem;
  font-size: .7rem;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-white);
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile menu overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(14,14,14,.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
}
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-white);
}
.nav-mobile a:hover { color: var(--color-gold); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

/* Contains both the video element and its overlay scrim;
   overflow:hidden clips the video to the section bounds. */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}


/* Fills .hero-bg; object-fit:cover keeps framing correct at all sizes */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Darkens the video so text remains legible */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 1;
}

/* Bento grid hero — full-width container */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 2rem) var(--space-md) 20rem;
  display: flex;
  align-items: center;
}

/* ── REMOVED: .hero-visual, .hero-circle, .hero-render no longer used (bento layout) ── */

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
  animation: hero-fade-up .6s ease both .1s;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: hero-fade-up .8s ease both .3s;
}

.hero-headline em {
  font-style: italic;
  color: var(--color-gold);
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(245,242,237,.75);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-lg);
  line-height: 1.8;
  animation: hero-fade-up .7s ease both .55s;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
  animation: hero-fade-up .6s ease both .75s;
}

/* ── REMOVED: .hero-badge and @keyframes spin-slow no longer used (bento layout) ── */

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   BENTO HERO GRID
   ============================================================ */

.bento-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  grid-template-rows: 240px 240px 240px;
  gap: 12px;
  width: 100%;
}

.bento-headline {
  grid-column: 1;
  grid-row: 1 / 3;
  background: rgba(14,14,14,0.82);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.bento-img-b {
  grid-column: 2;
  grid-row: 1;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  position: relative;
}

.bento-render {
  grid-column: 3;
  grid-row: 1 / 3;
  background: rgba(18,16,12,0.9);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.bento-render-img {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 0 50px rgba(201,169,110,0.18));
}

.bento-img-d {
  grid-column: 2;
  grid-row: 2;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  position: relative;
}

.bento-slideshow {
  grid-column: 1 / 4;
  grid-row: 3;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  height: 450px;
}

.bento-slides {
  position: absolute;
  inset: 0;
}

.bento-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.bento-slide.active {
  opacity: 1;
}

.bento-slide-dots {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 6px;
  z-index: 2;
}

/* Dark gradient overlay on image cells */
.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 100%);
  z-index: 0;
}

/* Small label pill at bottom-left of image cells */
.bento-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  z-index: 1;
  background: rgba(0,0,0,0.55);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* Typography scoped to the headline cell */
.bento-headline .hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0;
  animation: none;
}

.bento-headline .hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin: 0;
  animation: none;
}

.bento-headline .hero-headline em {
  color: var(--color-gold);
  font-style: italic;
}

.bento-headline .hero-sub {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--color-muted);
  max-width: 380px;
  margin: 0;
  animation: none;
}

.bento-headline .hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  animation: none;
  justify-content: flex-start;
}

/* ── BENTO — TABLET (≤900px) ── */
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
    gap: 10px;
  }

  .bento-headline {
    grid-column: 1 / 3;
    grid-row: 1;
    padding: 2rem;
    min-height: 300px;
  }

  .bento-img-b {
    grid-column: 1;
    grid-row: 2;
    min-height: 200px;
  }

  .bento-render {
    grid-column: 2;
    grid-row: 2 / 4;
    min-height: 300px;
  }

  .bento-img-d {
    grid-column: 1;
    grid-row: 3;
    min-height: 160px;
  }
}

/* ── BENTO — MOBILE (≤600px) ── */
@media (max-width: 600px) {
  #hero {
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
    padding: calc(var(--nav-h) + 10rem) var(--space-sm) var(--space-sm);
  }

  .bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 8px;
    width: 100%;
  }

  .bento-headline {
    grid-column: 1;
    grid-row: 1;
    padding: 1.75rem;
    min-height: auto;
  }

  /* Hide middle image cells on mobile */
  .bento-img-b,
  .bento-img-d {
    display: none;
  }

  /* Render cell — centered, contained */
  .bento-render {
    grid-column: 1;
    grid-row: 2;
    height: 300px;
    min-height: 300px;
  }

  .bento-render-img {
    height: 90%;
    width: auto;
    object-position: bottom center;
  }

  /* Bottom slideshow cell */
  .bento-slideshow {
    grid-column: 1;
    grid-row: 3;
    height: 200px;
    min-height: 200px;
  }
}

/* ============================================================
   MARQUEE RIBBON
   ============================================================ */
#ribbon {
  background: var(--color-gold);
  padding: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ribbon-track {
  overflow: hidden;
  width: 100%;
  padding: 0.85rem 0;
}

.ribbon-inner {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ribbon-scroll 35s linear infinite;
}

.ribbon-inner:hover {
  animation-play-state: paused;
}

.ribbon-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-bg);
  white-space: nowrap;
  padding: 0 1.5rem;
}

.ribbon-dot {
  color: rgba(14,14,14,0.4);
  font-size: 1rem;
}

@keyframes ribbon-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ribbon-inner {
    animation: none;
  }
}

/* ============================================================
   THE KLARO EXPERIENCE
   ============================================================ */
#booths { background: var(--color-bg); }

#experience {
  position: relative;
}

#experience::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/booth-exterior/surrey-photobooth-booth-exterior-07.jpg') center/cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

#experience .section-inner {
  position: relative;
  z-index: 1;
}

.experience-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.experience-header .display-heading { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.experience-header .divider { margin: var(--space-sm) auto var(--space-md); }

/* Widened to accommodate the longer narrative body copy */
.experience-header p {
  color: var(--color-muted);
  font-size: .95rem;
  max-width: 600px;
  margin: 0 auto;
}

/* CTA row sits below the description paragraphs */
.experience-cta {
  margin-top: 2rem;
  text-align: center;
}

/* 3×3 capability card grid */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Image-background capability card — full-height with gradient overlay */
.exp-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  transition: border-color var(--transition), transform var(--transition);
}

.exp-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  transition: border-color var(--transition), transform var(--transition);
}
.exp-card:hover {
  border-color: rgba(201, 169, 110, .4);
  transform: translateY(-3px);
}

.exp-card-icon {
  width: 36px;
  height: 36px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.exp-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.2;
}

.exp-card-desc {
  font-size: .83rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   WHY KLARO
   ============================================================ */
#why {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.why-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.why-header .display-heading { font-size: clamp(2rem, 3.5vw, 3rem); }
.why-header .divider { margin: var(--space-sm) auto var(--space-md); }

/* 3-col × 2-row grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px; /* tight grid gap — borders act as lines */
}

.why-item {
  padding: 2.5rem 2rem;
  border: 1px solid transparent; /* spacing only */
  position: relative;
  transition: background var(--transition);
}
.why-item:hover { background: var(--color-surface-alt); }

/* Draw grid lines between cells */
.why-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--color-border);
}
.why-item:nth-child(n+4)::after { display: none; } /* last row: no bottom border */

.why-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.25rem;
  color: var(--color-gold);
}

.why-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: .5rem;
}

.why-desc {
  font-size: .85rem;
  color: var(--color-muted);
  line-height: 1.75;
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */
#how {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

/* Large faded background numeral */
#how::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  opacity: .3;
}

.how-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
}

.how-header .display-heading { font-size: clamp(2rem, 3.5vw, 3rem); }
.how-header .divider { margin: var(--space-sm) auto var(--space-md); }

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

/* Connector line between steps */
.how-steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(33% - 10px);
  right: calc(33% - 10px);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold), transparent);
}

.how-step {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.how-step-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--color-gold);
  line-height: 1;
  opacity: .4;
  margin-bottom: 1rem;
}

.how-step-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: .75rem;
}

.how-step-desc {
  font-size: .88rem;
  color: var(--color-muted);
  line-height: 1.75;
}

/* CTA row centred below the three steps */
.how-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Low-opacity background image for How It Works */
.how-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .1;
  pointer-events: none;
  z-index: 0;
}

/* Ensure content sits above the bg image */
#how .section-inner { position: relative; z-index: 1; }

/* ============================================================
   LIKHÂ — MEET THE BOOTH
   ============================================================ */

/* Surface background matches the Why Klaro section tone */
#likha {
  background: var(--color-surface);
}

/* Centred header block — name, pronunciation, intro text */
.likha-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-xl);
}

/* IPA-style pronunciation and meaning line */
.likha-pronunciation {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

/* Narrative intro below the render */
.likha-intro {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-top: 1.5rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* Centred wrapper for the booth render image */
.likha-render-wrap {
  display: flex;
  justify-content: center;
  margin: 2rem auto;
}

.likha-render {
  height: 420px;
  width: auto;
  object-fit: contain;
  clip-path: circle(60% at 50% 50%);
  filter: drop-shadow(0 0 60px rgba(201,169,110,0.15));
}

/* Two-column split row — image on one side, text on the other */
.likha-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

/* Last panel needs no bottom rule or extra space */
.likha-panel:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Reverse variant: RTL trick swaps columns without reordering DOM */
.likha-panel-reverse {
  direction: rtl;
}
.likha-panel-reverse > * {
  direction: ltr; /* restore normal text flow inside children */
}

/* Image container — clips overflow and enables zoom on hover */
.likha-panel-image {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.likha-panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.likha-panel-image:hover img {
  transform: scale(1.04);
}

/* Text column padding gives breathing room against the image */
.likha-panel-text {
  padding: var(--space-md);
}

/* Large display title for each panel */
.likha-panel-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--color-white);
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.02em;
}

.likha-panel-desc {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Mobile: collapse to single column, drop the RTL layout trick */
@media (max-width: 768px) {
  .likha-panel,
  .likha-panel-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: var(--space-md);
  }

  /* Wider aspect ratio uses horizontal space better on small screens */
  .likha-panel-image {
    aspect-ratio: 16/9;
  }

  /* Shorter render on mobile */
  .likha-render { height: 280px; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.testimonials-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

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

.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color var(--transition);
}
.testimonial-card:hover { border-color: var(--color-gold); }

/* Large opening quotation mark */
.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: .7;
  color: var(--color-gold);
  opacity: .25;
}

.testimonial-body {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.7;
  flex: 1;
}

.testimonial-stars {
  color: var(--color-gold);
  font-size: .9rem;
  letter-spacing: .1em;
}

.testimonial-author {
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
}

.testimonial-name {
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-white);
}

.testimonial-event {
  font-size: .78rem;
  color: var(--color-muted);
  margin-top: .15rem;
}

/* ============================================================
   FAQ
   ============================================================ */
#faq {
  background: var(--color-bg);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  align-items: start;
}

.faq-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.faq-sidebar .display-heading { font-size: clamp(2rem, 3vw, 2.8rem); }

.faq-sidebar p {
  color: var(--color-muted);
  font-size: .9rem;
  margin-top: 1rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-white);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--color-gold); }

/* Plus / minus icon */
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  color: var(--color-gold);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}
/* Horizontal bar */
.faq-icon::before {
  width: 100%; height: 1px;
  top: 50%; left: 0;
  transform: translateY(-50%);
}
/* Vertical bar (becomes hidden when open) */
.faq-icon::after {
  width: 1px; height: 100%;
  top: 0; left: 50%;
  transform: translateX(-50%);
}

/* When open, rotate vertical bar to create X or just hide it */
.faq-item.open .faq-icon::after {
  opacity: 0;
  transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s ease, padding .4s ease;
}

.faq-answer-inner {
  padding-bottom: 1.5rem;
  font-size: .9rem;
  color: var(--color-muted);
  line-height: 1.85;
}

/* ============================================================
   BOOKING FORM
   ============================================================ */
#booking {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
  align-items: center;
}

.booking-info .display-heading { font-size: clamp(2rem, 3vw, 2.8rem); }

.booking-info p {
  color: var(--color-muted);
  font-size: .9rem;
  margin-top: 1rem;
  line-height: 1.8;
  max-width: 360px;
}

.booking-info-details {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.booking-detail {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .85rem;
  color: var(--color-muted);
}

.booking-detail svg {
  flex-shrink: 0;
  color: var(--color-gold);
  width: 16px;
  height: 16px;
}

/* Form styles */
.booking-form {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 2.5rem;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 300;
  transition: border-color var(--transition);
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-muted); }

/* Style select arrow */
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888078' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group textarea { resize: vertical; min-height: 110px; }

/* Inline validation message */
.form-error {
  font-size: .75rem;
  color: #e07070;
  display: none;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #e07070;
}

.form-group.has-error .form-error { display: block; }

.form-submit { width: 100%; padding: .9rem; font-size: .8rem; }

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}
.form-success svg {
  width: 48px;
  height: 48px;
  color: var(--color-gold);
  margin: 0 auto 1rem;
}
.form-success p { color: var(--color-muted); font-size: .9rem; margin-top: .5rem; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: #090909;
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-md);
}

/* Left column */
.footer-brand .nav-logo {
  font-size: 1.8rem;
  display: block;
  margin-bottom: .75rem;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: .75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  transition: border-color var(--transition), color var(--transition);
}
.social-link:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}
.social-link svg { width: 15px; height: 15px; }

/* Right column — Lead magnet */
.footer-lead {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 2.25rem;
}

.footer-lead-label {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: .75rem;
}

.footer-lead h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: .75rem;
}

.footer-lead p {
  font-size: .85rem;
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.lead-form {
  display: flex;
  gap: .75rem;
}

.lead-form input {
  flex: 1;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: .7rem 1rem;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: .85rem;
  transition: border-color var(--transition);
}
.lead-form input:focus { outline: none; border-color: var(--color-gold); }
.lead-form input::placeholder { color: var(--color-muted); }

.lead-form .btn { white-space: nowrap; padding: .7rem 1.25rem; font-size: .7rem; }

/* Lead magnet success */
.lead-success {
  display: none;
  font-size: .85rem;
  color: var(--color-gold);
  padding: .5rem 0;
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .75rem;
  color: var(--color-muted);
  flex-wrap: wrap;
  gap: .5rem;
}

.footer-bottom a { transition: color var(--transition); }
.footer-bottom a:hover { color: var(--color-gold); }

/* ============================================================
   RESPONSIVE — TABLET (≤900px)
   ============================================================ */
@media (max-width: 900px) {
  :root {
    --space-xl: 5rem;
    --space-lg: 3rem;
  }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: flex; }

  .experience-grid { grid-template-columns: 1fr 1fr; }

  .why-grid      { grid-template-columns: 1fr 1fr; }
  .why-item:nth-child(n+4)::after { display: block; }
  .why-item:nth-child(5)::after   { display: none; }
  .why-item:nth-child(6)::after   { display: none; }

  .how-steps     { grid-template-columns: 1fr; }
  .how-steps::before { display: none; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .faq-layout    { grid-template-columns: 1fr; gap: var(--space-md); }
  .faq-sidebar   { position: static; }

  .booking-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .booking-form {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top    { grid-template-columns: 1fr; gap: var(--space-md); }
}

@media (max-width: 768px) {
  .booking-form {
    padding: 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  .booking-form input,
  .booking-form select,
  .booking-form textarea {
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
  }

  .section-inner {
    padding: 0 var(--space-sm);
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤600px)
   ============================================================ */
@media (max-width: 600px) {
  :root {
    --space-xl: 4rem;
    --space-lg: 2.5rem;
  }

  .experience-grid    { grid-template-columns: 1fr; }
  .why-grid           { grid-template-columns: 1fr; }
  .why-item::after    { display: block !important; }
  .why-item:last-child::after { display: none !important; }

  .form-row           { grid-template-columns: 1fr; }

  .lead-form          { flex-direction: column; }
  .lead-form .btn     { width: 100%; }

  .footer-bottom      { flex-direction: column; text-align: center; }
}

/* ============================================================
   SCROLL ANIMATIONS (intersection observer)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   STAGGERED REVEAL DELAYS
   ============================================================ */

/* Experience cards — 3-column grid */
.experience-grid .exp-card.reveal:nth-child(3n+2) { transition-delay: .10s; }
.experience-grid .exp-card.reveal:nth-child(3n)   { transition-delay: .20s; }

/* Why items — 3-column grid */
.why-grid .why-item.reveal:nth-child(3n+2) { transition-delay: .10s; }
.why-grid .why-item.reveal:nth-child(3n)   { transition-delay: .20s; }

/* How steps — single row of 3 */
.how-steps .how-step.reveal:nth-child(2) { transition-delay: .12s; }
.how-steps .how-step.reveal:nth-child(3) { transition-delay: .24s; }

/* Testimonial cards — 3-column grid */
.testimonials-grid .testimonial-card.reveal:nth-child(3n+2) { transition-delay: .10s; }
.testimonials-grid .testimonial-card.reveal:nth-child(3n)   { transition-delay: .20s; }


/* ============================================================
   LOGO IMAGES
   ============================================================ */
.navbar-logo {
  height: 40px;
  width: auto;
}

.footer-logo {
  width: 130px;
  height: auto;
}

/* Quote builder link (below booking form submit) */
.quote-link {
  font-size: .8rem;
  color: var(--color-muted);
  text-align: center;
  margin-top: 1rem;
}
.quote-link a {
  color: var(--color-gold);
  transition: color var(--transition);
}
.quote-link a:hover { color: var(--color-gold-light); }
