*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #A2DAE3;
  --accent-dark: #6aa5af;
  --accent-text: #00797C;
  --accent-text-dark: #005c5f;
  --navy: #0F1F2E;
  --navy-mid: #1a3045;
  --sand: #EDE7DF;
  --sand-light: #F5F1EC;
  --white: #FFFFFF;
  --text: #1C1C1C;
  --text-mid: #4A4A4A;
  --text-light: #888;
  --border: #E2DDD8;
  --serif: 'Lora', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --testimonials-bg: #fbf6ef;
  --testimonials-rating: #0a3f56;
  /* Adobe Fonts (Typekit) — emphasis / <em> in headlines */
  --font-emphasis: "adobe-handwriting-ernie", cursive, sans-serif;
  --teal-brand: #2a9d8f;
  --quote-card-bg: #eef7f6;
  /* Hero marquee: max width of column; height comes from copy column (grid), not vice versa */
  --hero-marquee-col-max: 500px;
}

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  background: var(--white);
}

body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV (sticky: stays at top while scrolling; still in flow so hero stacks below) ─── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  max-width: 100%;
  /* Solid background — avoid backdrop-filter (often causes white band / compositing glitches) */
  background: #ffffff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  padding-bottom: 14px;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}
.nav-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
#navbar.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  min-width: 0;
  flex: 1 1 0%;
  overflow: hidden;
}
.nav-logo img {
  height: 72px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: left center;
}
.nav-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 16px 36px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.btn-accent:hover { background: #8ED1DC; transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 34px;
  border-radius: 100px;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: white; background: rgba(255,255,255,0.08); }

/* ─── HERO ─── */
#hero {
  background: #f2f8f9;
  border-bottom: none;
  border-image: none;
  height: auto;
  padding: 0 80px;
  position: relative;
  /* No internal scrollbars; clipping stays inside the hero box */
  overflow: hidden;
}
.hero-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  /* Second column keeps width even though the marquee is absolutely positioned in the cell */
  grid-template-columns: minmax(0, 1fr) minmax(260px, var(--hero-marquee-col-max));
  gap: 24px;
  align-items: start;
  position: relative;
  z-index: 2;
  min-height: 0;
}
#hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(146,193,201,0.14) 0%, transparent 70%);
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: 20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(146,193,201,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  min-width: 0;
  padding-block: clamp(64px, 10vw, 192px);
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 72px);
  font-weight: 500;
  line-height: 0.98;
  color: var(--navy);
  margin-bottom: 28px;
  letter-spacing: -1px;
}
.hero-headline em,
.section-headline em,
.cta-headline em {
  font-family: var(--font-emphasis);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.hero-headline em {
  color: var(--accent-text);
}
.hero-strike {
  position: relative;
  display: inline-block;
}
.hero-strike::after {
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  top: 0.38em;
  height: 0.55em;
  background: url("../yalo_campaign_one/LandingPageLifestlye/Emphasis-real-results.svg")
    no-repeat center / 100% 100%;
  pointer-events: none;
}
.hero-emphasis {
  display: inline-block;
  margin-left: 0;
  padding-left: 0.18em;
  transform: translateY(-0.03em);
  font-size: 1.18em;
}
.hero-sub {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 540px;
  margin-bottom: 44px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-ctas--center {
  justify-content: center;
}
.hero-image-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  min-width: 0;
  min-height: 0;
}
.hero-static-img {
  display: none;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

/* Hero marquee (CSS-only) — fills .hero-image-wrap; hero height is driven by copy column */
.hero-marquee-wrap {
  width: 100%;
  max-width: var(--hero-marquee-col-max);
  min-height: 0;
  overflow: hidden;
  background: transparent;
}
.hero-marquee {
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-marquee-col {
  min-width: 0;
  height: 100%;
  overflow: hidden;
}
.hero-marquee-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  will-change: transform;
}
.hero-marquee-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(15, 31, 46, 0.10);
  display: block;
}
@keyframes heroMarqueeUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
@keyframes heroMarqueeDown {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}
.hero-marquee-col--up .hero-marquee-track {
  animation: heroMarqueeUp 320s linear infinite;
}
.hero-marquee-col--down .hero-marquee-track {
  animation: heroMarqueeDown 320s linear infinite;
}

/*
 * Desktop marquee: image column is absolutely positioned in grid cell 2 so it does NOT
 * participate in row sizing — row height = .hero-content only. The marquee then fills
 * that cell (top/bottom), so it tracks the copy column instead of stretching the hero.
 */
@media (min-width: 801px) {
  .hero-inner {
    align-items: start;
  }
  .hero-content {
    grid-column: 1;
    grid-row: 1;
  }
  .hero-image-wrap {
    grid-column: 2;
    grid-row: 1;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    max-width: var(--hero-marquee-col-max);
    align-self: auto;
    flex-direction: column;
  }
  .hero-marquee-wrap {
    flex: 1 1 auto;
    min-height: 200px;
    min-width: 0;
  }
}

@media (max-width: 800px) {
  #hero {
    min-height: 0;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
  }
  .hero-content {
    grid-column: auto;
    grid-row: auto;
  }
  .hero-image-wrap {
    grid-column: auto;
    grid-row: auto;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    /* Full-bleed vs #hero horizontal padding (40px ≤1024, 20px ≤768) */
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: auto;
    min-height: 0;
    justify-content: center;
    align-items: stretch;
  }
  .hero-marquee-wrap {
    display: none;
  }
  .hero-static-img {
    display: block;
    width: 100%;
    max-width: none;
  }
}

/* ─── MARQUEE ─── */
.marquee-strip {
  background: #0f1f2e;
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  animation: marquee 120s linear infinite;
}
.marquee-inner:hover { animation-play-state: paused; }
.marquee-item {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
.marquee-dot {
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── SECTION SHARED ─── */
section { position: relative; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  width: 20px; height: 1.5px;
  background: currentColor;
}

/* Dark band: keep accent label for contrast */
#steps .section-label {
  color: #A2DAE3;
}
.section-headline {
  font-family: var(--serif);
  font-size: clamp(34px, 3.3vw, 50px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--navy);
}
/* Headings: reset UA margins so Lora matches div.section-headline */
h2.section-headline {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
}
.section-headline em {
  color: var(--accent-text);
}
.section-sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-mid);
  max-width: 520px;
  margin-top: 14px;
}
.values-head .section-sub--centered {
  margin-left: auto;
  margin-right: auto;
}
.section-headline--proof {
  font-size: clamp(26px, 2.4vw, 36px);
}
.section-headline--on-dark {
  color: var(--white);
}

/* ─── SOCIAL PROOF ─── (hidden — restore by removing display:none) */
#proof {
  display: none;
  padding: 80px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.proof-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}
.rating-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rating-badge--hero {
  margin-bottom: 20px;
}
.stars { color: var(--accent-text); font-size: 18px; letter-spacing: 2px; }
.rating-text { font-size: 13px; color: var(--text-mid); font-weight: 400; }
.rating-num { font-weight: 700; color: var(--text); }
.proof-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.proof-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--white);
  transition: box-shadow 0.3s, transform 0.3s;
}
.proof-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.proof-quote {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 20px;
}
.proof-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.proof-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-text-dark);
  flex-shrink: 0;
}
.proof-name { font-size: 14px; font-weight: 600; color: var(--text); }
.proof-result { font-size: 12px; color: var(--accent-text-dark); font-weight: 500; }

/* ─── VALUE PROPS ─── */
#values {
  padding: 112px 0;
  background: var(--white);
}
.values-head { text-align: center; margin-bottom: 64px; }
.values-head .section-label { justify-content: center; }
.values-head .section-label::before { display: none; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.value-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.value-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(146,193,201,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-text-dark);
}
.value-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.2;
}
h3.value-title {
  margin-top: 0;
  margin-bottom: 10px;
}
.value-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
  font-weight: 300;
}

/* ─── TESTIMONIALS (Figma BUB-001) ─── */
#testimonials {
  padding: 112px 0;
  background: var(--testimonials-bg);
}
.testimonials-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.testimonials-head-copy {
  flex: 1;
  min-width: min(100%, 320px);
  max-width: 768px;
}
.testimonials-rating-block {
  flex-shrink: 0;
  text-align: right;
}
.testimonials-stars {
  color: var(--accent-text);
  font-size: 20px;
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 6px;
}
.testimonials-rating-text {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
}
.testimonials-rating-num {
  font-weight: 700;
  color: var(--testimonials-rating);
}
.testimonials-rating-muted {
  color: #767676;
}

.testimonials-carousel {
  position: relative;
}
/* Four-up grid only at 1025px+; 1024px and below use the slider (see TABLET breakpoint) */
@media (min-width: 1025px) {
  .testimonials-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    max-width: 1180px;
    margin: 0 auto;
    justify-items: center;
  }
}

.tcard {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tcard-video {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  border-radius: 16px;
  border: 2px solid var(--white);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15, 31, 46, 0.06);
  background: var(--navy);
  cursor: pointer;
}
.tcard-video--playing {
  cursor: default;
}
.tcard-video-media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s;
}
.tcard:hover .tcard-video:not(.tcard-video--playing) .tcard-video-media {
  transform: scale(1.03);
}
.tcard-video--playing .tcard-video-media {
  transform: none;
}
.tcard-play-overlay {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 58px;
  padding: 0 18px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.tcard-play-overlay:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateX(-50%) translateY(-1px);
}
.tcard-play-overlay[hidden],
.tcard-video--playing .tcard-play-overlay {
  display: none !important;
}
.tcard-play-overlay-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 2px;
}
/* Same glass pill as .tcard-play-overlay */
.tcard-video-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  right: auto;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  height: 58px;
  padding: 0 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--white);
  font-family: inherit;
  box-sizing: border-box;
  transition: background 0.2s, transform 0.2s;
}
.tcard-video-controls:hover {
  background: rgba(255, 255, 255, 0.32);
}
.tcard-video-controls[hidden] {
  display: none !important;
}
/* Match .tcard-play-overlay-icon: white circle + navy glyphs */
.tcard-btn-playpause,
.tcard-btn-mute {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.tcard-btn-playpause:hover,
.tcard-btn-mute:hover {
  background: rgba(255, 255, 255, 0.92);
  transform: scale(1.04);
}
.tcard-btn-playpause svg,
.tcard-btn-mute svg {
  display: block;
  margin: 0;
}
.tcard-btn-mute .tcard-icon-volume-off {
  display: none;
}
.tcard-btn-mute.is-muted .tcard-icon-volume-on {
  display: none;
}
.tcard-btn-mute.is-muted .tcard-icon-volume-off {
  display: block;
}
.tcard-quote {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: -0.16px;
  color: #2a2a2a;
}
.tcard-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
}
.tcard-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}
.tcard-result {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: -0.02em;
}

.testimonials-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}
.testimonials-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(15, 31, 46, 0.2);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.testimonials-dot.is-active {
  background: var(--accent-text);
  transform: scale(1.15);
}

/* ─── APPROACH ─── */
#approach {
  padding: 112px 0;
  background: var(--white);
}
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.approach-img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--sand-light);
}
.approach-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.approach-features { display: flex; flex-direction: column; gap: 0; }
#approach .approach-features { margin-top: 40px; }
.approach-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.2s;
}
.approach-feature:last-child { border-bottom: none; }
.approach-feature:hover { opacity: 0.85; }
.af-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(146,193,201,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-text-dark);
  margin-top: 2px;
}
.af-title { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
h3.af-title { margin-top: 0; margin-bottom: 5px; }
.af-desc { font-size: 14px; line-height: 1.65; color: var(--text-mid); font-weight: 300; }
.approach-cta {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-text-dark);
  text-decoration: none;
  transition: gap 0.2s;
}
.approach-cta:hover { gap: 12px; }

/* ─── GETTING STARTED ─── */
#steps {
  padding: 112px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
#steps::before {
  content: '';
  position: absolute;
  top: -300px; right: -300px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(146,193,201,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.steps-content .section-headline { color: var(--white); }
#steps .section-headline em {
  color: var(--white);
}
.steps-content .section-sub { color: #ced9dd; }
.steps-list { margin-top: 48px; display: flex; flex-direction: column; gap: 0; }
.step-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 28px 0;
  cursor: pointer;
}
.step-item:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.step-header {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.step-left { display: flex; align-items: center; gap: 20px; }
.step-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  min-width: 32px;
}
.step-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
}
.step-chevron {
  color: var(--accent-text);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.step-item.open .step-chevron { transform: rotate(180deg); }
.step-body {
  display: none;
  padding: 16px 0 4px 52px;
  font-size: 14px;
  line-height: 1.75;
  color: #ced9dd;
  font-weight: 300;
  max-width: 400px;
}
.step-item.open .step-body { display: block; }
.steps-cta { margin-top: 44px; }
.steps-img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  border: 1px solid rgba(146,193,201,0.15);
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.steps-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ─── DIFFERENTIATORS ─── */
#why {
  padding: 112px 0;
  background: var(--white);
}
.why-head { text-align: center; margin-bottom: 72px; }
.why-head .section-label { justify-content: center; }
.why-head .section-label::before { display: none; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.why-item {
  background: var(--white);
  padding: 44px 32px;
  transition: background 0.2s;
}
.why-item:hover { background: var(--sand-light); }
.why-num {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 500;
  color: var(--accent-text);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.8;
}
.why-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 10px; letter-spacing: -0.2px; }
h3.why-title { margin-top: 0; margin-bottom: 10px; }
.why-desc { font-size: 13px; line-height: 1.7; color: var(--text-mid); font-weight: 300; }

/* ─── FAQ ─── */
#faq {
  padding: 112px 0;
  background: #fbf6ef;
}
.faq-inner {
  max-width: 720px;
  margin: 0 auto;
}
.faq-head { margin-bottom: 56px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
  transition: color 0.2s;
  user-select: none;
}
.faq-question:hover { color: var(--accent-text-dark); }
.faq-chevron {
  color: var(--accent-text);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding-bottom: 24px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-mid);
  font-weight: 300;
  max-width: 600px;
}
.faq-item.open .faq-answer { display: block; }

/* ─── FINAL CTA ─── */
#cta {
  padding: 140px 0;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(146,193,201,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 2; }
.cta-headline {
  font-family: var(--serif);
  font-size: clamp(40px, 4.7vw, 66px);
  font-weight: 500;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.cta-headline em {
  color: var(--accent-text);
}
.cta-sub {
  font-size: 17px;
  font-weight: 300;
  color: #ced9dd;
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 48px;
}

/* ─── FOOTER (Figma BUB-001 — dark panel, wordmark, BBB, legal row) ─── */
footer {
  width: 100%;
  box-sizing: border-box;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 41px 0 40px;
}
.footer-outer {
  margin-left: 40px;
  margin-right: 40px;
  width: auto;
  max-width: none;
  padding: 0;
  box-sizing: border-box;
}
.footer-panel {
  background: var(--testimonials-rating);
  border-radius: 16px;
  width: 100%;
  box-sizing: border-box;
  min-height: 195px;
  padding: 36px clamp(20px, 4vw, 48px) 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
}
.footer-panel-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 24px;
}
.footer-logo {
  height: 44px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: left center;
}
.footer-wordmark {
  margin: 0;
  justify-self: start;
  border: 2px solid var(--white);
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
}
/* BBB seal link — compact width, natural image height */
.footer-bbb {
  box-sizing: content-box;
  margin: 0;
  padding: 0;
  border: 0;
  display: block;
  width: 100px;
  height: fit-content;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
  vertical-align: top;
  justify-self: end;
  align-self: start;
  flex-shrink: 0;
}
.footer-bbb img {
  width: 100px;
  height: fit-content;
  display: block;
  margin: 0;
  padding: 0;
  vertical-align: top;
  object-fit: contain;
  object-position: right center;
}
.footer-panel-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px 40px;
  flex-wrap: wrap;
}
.footer-copy-line {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--white);
  flex-shrink: 0;
  max-width: 100%;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--white);
  letter-spacing: -0.01em;
}
.footer-meta a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.footer-meta a:hover {
  text-decoration: underline;
}
.footer-meta-text {
  color: rgba(255, 255, 255, 0.95);
}

/* ─── WHY BUBULO MARQUEE (GSAP, vanilla) ─── */
.why-marquee-section {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  padding: 80px 0;
}
.why-marquee-header-wrap {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
}
.why-marquee-header-inner {
  width: 100%;
}
.why-marquee-header-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 40px;
}
.why-marquee-heading-block {
  max-width: 48rem;
}
.why-marquee-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.why-marquee-kicker-line {
  display: block;
  width: 20px;
  height: 1px;
  flex-shrink: 0;
  background: var(--teal-brand);
}
.why-marquee-kicker-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6b7280;
}
.why-marquee-title {
  font-family: var(--serif);
  font-size: 1.9375rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: #111827;
}
.why-marquee-title-em {
  font-family: var(--font-emphasis);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.01em;
  color: var(--teal-brand);
}
.why-marquee-rating-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.why-marquee-stars {
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--teal-brand);
}
.why-marquee-rating-line {
  margin: 0;
  font-size: 14px;
  text-align: left;
  line-height: 1.4;
}
.why-marquee-rating-num {
  font-weight: 700;
  color: #111827;
}
.why-marquee-rating-muted {
  color: #6b7280;
}
.why-marquee-rows {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  min-width: 0;
}
.why-marquee-row {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
.why-marquee-track {
  display: flex;
  width: max-content;
  gap: 32px;
  will-change: transform;
}
.why-marquee-card {
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-marquee-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}
.why-marquee-card--photo {
  width: 200px;
  height: 220px;
}
.why-marquee-card--photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.why-marquee-card--quote {
  display: flex;
  flex-direction: column;
  width: 200px;
  height: 220px;
  background: var(--quote-card-bg);
}
.why-marquee-quote-inner {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}
.why-marquee-quote-text {
  margin: 0;
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
  color: #374151;
}
.why-marquee-quote-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(42, 157, 143, 0.1);
}
.why-marquee-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-brand);
  background: rgba(42, 157, 143, 0.15);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 2px solid rgba(42, 157, 143, 0.25);
}
.why-marquee-name {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}
.why-marquee-stats {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
}
.why-marquee-cta-wrap {
  max-width: 1152px;
  margin: 48px auto 0;
  padding: 0 20px;
  text-align: center;
}
.why-marquee-cta {
  display: inline-flex;
  width: 100%;
  max-width: 320px;
}
@media (min-width: 640px) {
  .why-marquee-cta {
    width: auto;
    max-width: none;
  }
}
@media (min-width: 768px) {
  .why-marquee-header-wrap {
    padding: 0 32px;
  }
  .why-marquee-title {
    font-size: 2.125rem;
  }
  .why-marquee-title-em {
    font-size: 2.125rem;
  }
  .why-marquee-card--photo {
    width: 220px;
    height: 260px;
  }
  .why-marquee-card--quote {
    width: 240px;
    height: 260px;
  }
  .why-marquee-quote-inner {
    padding: 20px;
  }
  .why-marquee-quote-text {
    font-size: 16px;
  }
}
@media (min-width: 1024px) {
  .why-marquee-header-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
  }
  .why-marquee-rating-block {
    align-items: flex-end;
  }
  .why-marquee-rating-line {
    text-align: right;
  }
  .why-marquee-title {
    font-size: 3.25rem;
  }
  .why-marquee-title-em {
    font-size: 3.25rem;
  }
  .why-marquee-card--photo {
    width: 280px;
    height: 320px;
  }
  .why-marquee-card--quote {
    width: 300px;
    height: 320px;
  }
  .why-marquee-cta-wrap {
    margin-top: 56px;
  }
}

/* ─── FADE-IN ANIMATION ─── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ─── TABLET / MOBILE: 1024px and below (slider testimonials, stacked hero, etc.) ─── */
@media (max-width: 1024px) {
  #hero { padding: 0 40px; }
  .hero-sub { max-width: 100%; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  /* Testimonials: swipeable horizontal slider (viewport width ≤ 1024px; grid is min-width: 1025px only) */
  /* Slide width = video frame width (min of vw cap, pixel cap, and 9:16 max given height limits) */
  #testimonials {
    --tcard-slide-w: min(76vw, 504px, calc(9 / 16 * min(58vh, 420px)));
  }
  .testimonials-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 40px;
  }
  .testimonials-rating-block {
    text-align: left;
  }
  .testimonials-carousel {
    width: 100vw;
    max-width: 100vw;
    margin-left: -60px;
    margin-right: -60px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(0px, calc(50vw - var(--tcard-slide-w) / 2));
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }
  .testimonials-carousel::-webkit-scrollbar {
    display: none;
  }
  .testimonials-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    width: max-content;
    max-width: none;
    margin: 0;
    padding-inline: 0;
    padding-bottom: 12px;
    justify-content: flex-start;
    text-align: left;
  }
  .tcard {
    flex: 0 0 var(--tcard-slide-w);
    width: var(--tcard-slide-w);
    max-width: var(--tcard-slide-w);
    margin: 0;
    align-items: center;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .tcard-video {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 9 / 16;
    height: auto;
    margin-inline: auto;
  }
  .tcard-quote,
  .tcard-info {
    max-width: 100%;
    width: 100%;
    margin-inline: auto;
    text-align: center;
  }
  .testimonials-dots {
    display: flex;
  }
  .approach-grid { grid-template-columns: 1fr; gap: 48px; }
  .approach-img { aspect-ratio: 16/9; max-height: 360px; }
  .steps-grid { grid-template-columns: 1fr; gap: 56px; }
  .steps-img { aspect-ratio: 16/9; max-height: 360px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-cards { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet only — larger headings than base clamp at this viewport range */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-headline {
    font-size: clamp(44px, 5.5vw, 62px);
    letter-spacing: -0.5px;
  }
  .section-headline {
    font-size: clamp(36px, 4vw, 47px);
  }
  .cta-headline {
    font-size: clamp(42px, 4.8vw, 56px);
    letter-spacing: -0.5px;
  }
}

/* ─── MOBILE (768px) ─── */
@media (max-width: 768px) {
  /* Nav */
  #navbar {
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
    padding-bottom: 12px;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .nav-logo img {
    height: 56px;
  }
  .nav-right .btn-accent {
    padding: 12px 18px;
    font-size: 14px;
    white-space: nowrap;
  }

  /* Global spacing */
  .container { padding: 24px 20px 0; }
  section { padding: 72px 0; }
  #proof { padding: 64px 0; }
  #values { padding: 72px 0; }
  #testimonials {
    padding: 72px 0;
    --tcard-slide-w: min(50vw, 400px, calc(9 / 16 * min(52vh, 360px)));
  }
  #approach { padding: 72px 0; }
  #steps { padding: 72px 0; }
  #why { padding: 72px 0; }
  #faq { padding: 72px 0; }
  #cta { padding: 96px 0; }

  #hero {
    padding: 0 20px;
    min-height: auto;
  }
  .hero-content {
    padding-block: clamp(40px, 6.5vw, 88px);
  }
  .hero-inner { gap: 0; }
  .hero-headline { font-size: 42px; letter-spacing: -0.5px; }
  .hero-sub { font-size: 15px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-ctas a { width: 100%; justify-content: center; }

  /* Marquee */
  .marquee-inner { gap: 20px; }
  .marquee-item { font-size: 11px; }

  /* Proof */
  .proof-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .proof-cards { grid-template-columns: 1fr; }

  /* Values */
  .values-head .section-headline { font-size: 32px; }
  .values-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Testimonials — typography (--tcard-slide-w set on #testimonials above) */
  .testimonials-head { margin-bottom: 32px; }
  .tcard-quote {
    font-size: 15px;
    line-height: 1.45;
  }
  .tcard-name { font-size: 17px; }
  .tcard-result { font-size: 13px; }

  /* Approach */
  .approach-grid { grid-template-columns: 1fr; gap: 40px; }
  .approach-img { display: none; }
  .approach-feature { padding: 20px 0; gap: 16px; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr; gap: 0; }
  .steps-img { display: none; }
  .steps-list { margin-top: 36px; }
  .step-body { padding-left: 44px; }
  .steps-cta { margin-top: 36px; }

  /* Why */
  .why-head .section-headline { font-size: 32px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 1px; }
  .why-item { padding: 32px 20px; }
  .why-num { font-size: 40px; }

  /* FAQ */
  .faq-inner { max-width: 100%; }
  .faq-question { font-size: 14px; }

  /* CTA */
  .cta-headline { font-size: 36px; letter-spacing: -0.5px; }
  .cta-sub { font-size: 15px; }
  .hero-ctas--center {
    align-items: center;
  }
  .hero-ctas--center a {
    max-width: 320px;
  }

  /* Footer */
  .footer-panel {
    padding: 28px 20px 24px;
    min-height: 0;
    gap: 28px;
  }
  .footer-panel-top {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
  }
  .footer-bbb {
    width: min(100px, 70vw);
    height: fit-content;
    justify-self: end;
    align-self: start;
  }
  .footer-panel-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ─── SMALL MOBILE (390px) ─── */
@media (max-width: 390px) {
  .hero-headline { font-size: 38px; }
  .section-headline { font-size: 28px; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-headline { font-size: 30px; }
}


.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
}
.modal h2 {
  padding-left: 36px;
  padding-top: 48px;
}

.modal.is-open {
  display: flex;
}

.modal-content {
  background: #fff;
  max-width: 500px;
  width: 90%;
  position: relative;
  border-radius: 8px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: 0;
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .testimonials-track {
    padding: 12px 60px;
  }
}

@media (max-width: 768px) {
  .testimonials-track {
    padding: 12px 30px;
  }
}
@media (max-width: 1024px) {
  .testimonials-carousel {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero-two .hero-image-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  height: 480px;
  min-width: 0;
}
.hero-two .hero-img {
  width: 100%;
  max-width: 500px;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  border-radius: var(--radius-lg);
  /*border: 1px solid var(--border);*/
  display: block;
}

/* Before/after strip on hero image (Figma BUB-001) */
.hero-two .hero-result-card {
  position: absolute;
  left: 10px;
  bottom: 25px;
  z-index: 3;
  width: min(229px, calc(100% - 20px));
  max-width: calc(100% - 20px);
  padding: 12px 12px 22px;
  background: var(--white);
  border-radius: 11px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  pointer-events: none;
}
.hero-two .hero-ba {
  width: 100%;
  aspect-ratio: 205 / 161;
  min-height: 0;
  border-radius: 5px;
  overflow: hidden;
  background: var(--sand);
}
.hero-two .hero-ba-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-two .hero-result-card-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  width: 100%;
}
.hero-two .hero-result-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.2;
}
.hero-two .hero-result-stat {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  margin: 0;
}
.hero-two .hero-inner {
  align-items: center;
}

@media (min-width: 1025px) {
  #hero.hero-two {
    /*min-height: 86vh;*/
    /*padding: 108px 80px 72px;*/
  }
  .hero-two .hero-image-wrap {
    height: 520px;
    margin-left: 40px;
  }
  .hero-two .hero-result-card {
    position: absolute;
    left: -60px;
    bottom: 40%;
    transform: translateY(50%);
  }
}
@media (max-width: 768px) {

  .hero-two .hero-result-card {
    left:48px;
  }

  .hero-two .hero-image-wrap {
    padding:0 20px;
    margin-bottom:48px;
  }

}


.homepage {
  background-color: #fbf6ef;
  height: 100vh;
}
.homepage .home-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.homepage .home-wrap img {
  height: 150px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 768px) {
  .homepage .home-wrap img {
    height: 80px;
  }
}
