/* ==========================================================================
   NUTRITION BY KAREN — Master Stylesheet

   BRAND COLORS (edit these CSS custom properties to update everywhere):
   - Hot Pink:       #E8006F
   - Coral Orange:   #F4724A
   - Golden Yellow:  #F5C518
   - Deep Navy:      #3B3478

   FONTS: DM Serif Display (h1/h2) + Inter (body) via Google Fonts
   ========================================================================== */

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
  /* Brand Colors */
  --color-pink:        #E8006F;
  --color-pink-light:  #FF4D9A;
  --color-pink-dark:   #C0005C;
  --color-coral:       #F4724A;
  --color-coral-light: #FF9A7A;
  --color-yellow:      #F5C518;
  --color-yellow-light:#FBE36B;
  --color-navy:        #3B3478;
  --color-navy-light:  #504899;
  --color-navy-dark:   #2A2558;

  /* Neutral Colors */
  --color-white:       #FFFFFF;
  --color-off-white:   #FFF9F5;
  --color-gray-50:     #F9FAFB;
  --color-gray-100:    #F3F4F6;
  --color-gray-200:    #E5E7EB;
  --color-gray-300:    #D1D5DB;
  --color-gray-500:    #6B7280;
  --color-gray-700:    #374151;
  --color-gray-900:    #111827;

  /* Semantic Colors */
  --color-primary:     var(--color-pink);
  --color-secondary:   var(--color-navy);
  --color-accent:      var(--color-coral);
  --color-highlight:   var(--color-yellow);
  --color-bg:          var(--color-white);
  --color-bg-alt:      var(--color-off-white);
  --color-text:        var(--color-gray-900);
  --color-text-muted:  var(--color-gray-500);

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-serif: 'DM Serif Display', 'Georgia', 'Cambria', serif;
  --font-size-xs:   0.75rem;   /* 12px */
  --font-size-sm:   0.875rem;  /* 14px */
  --font-size-base: 1rem;      /* 16px */
  --font-size-lg:   1.125rem;  /* 18px */
  --font-size-xl:   1.25rem;   /* 20px */
  --font-size-2xl:  1.5rem;    /* 24px */
  --font-size-3xl:  1.875rem;  /* 30px */
  --font-size-4xl:  2.25rem;   /* 36px */
  --font-size-5xl:  3rem;      /* 48px */
  --font-size-6xl:  3.75rem;   /* 60px */

  /* Spacing (4px base) */
  --space-1:  0.25rem;  /* 4px */
  --space-2:  0.5rem;   /* 8px */
  --space-3:  0.75rem;  /* 12px */
  --space-4:  1rem;     /* 16px */
  --space-5:  1.25rem;  /* 20px */
  --space-6:  1.5rem;   /* 24px */
  --space-8:  2rem;     /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* Borders & Radius */
  --radius-sm:  0.375rem;  /* 6px */
  --radius-md:  0.5rem;    /* 8px */
  --radius-lg:  0.75rem;   /* 12px */
  --radius-xl:  1rem;      /* 16px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(59, 52, 120, 0.06);
  --shadow-md:  0 4px 12px rgba(59, 52, 120, 0.08);
  --shadow-lg:  0 8px 24px rgba(59, 52, 120, 0.12);
  --shadow-xl:  0 16px 48px rgba(59, 52, 120, 0.16);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* Layout */
  --container-max: 1200px;
  --header-height: 72px;

  /* Z-index scale */
  --z-base:    0;
  --z-dropdown: 10;
  --z-sticky:  20;
  --z-overlay: 40;
  --z-modal:   100;
}


/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

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

/* Focus states for accessibility */
:focus-visible {
  outline: 3px solid var(--color-pink);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
}

/* Display headlines use DM Serif Display (serif) at its native 400 weight */
h1, h2 {
  font-family: var(--font-family-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }

/* Emphasised word inside headlines: italic, hot pink, no underline */
em {
  font-style: italic;
  color: var(--color-pink);
  text-decoration: none;
}

p {
  line-height: 1.7;
  max-width: 65ch;
}

.text-pink    { color: var(--color-pink); }
.text-coral   { color: var(--color-coral); }
.text-yellow  { color: var(--color-yellow); }
.text-navy    { color: var(--color-navy); }
.text-muted   { color: var(--color-text-muted); }
.text-center  { text-align: center; }


/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

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

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--navy {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--color-white);
}

.section--pink {
  background-color: var(--color-pink);
  color: var(--color-white);
}

.section--pink h2,
.section--pink h3 {
  color: var(--color-white);
}

.grid {
  display: grid;
  gap: var(--space-8);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

.flex {
  display: flex;
  align-items: center;
}

.flex--wrap { flex-wrap: wrap; }
.flex--col  { flex-direction: column; }
.flex--center { justify-content: center; align-items: center; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
  min-height: 48px;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Primary — Hot Pink */
.btn--primary {
  background-color: var(--color-pink);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(232, 0, 111, 0.3);
}

.btn--primary:hover {
  background-color: var(--color-pink-dark);
  box-shadow: 0 6px 20px rgba(232, 0, 111, 0.4);
}

/* Secondary — Navy outline */
.btn--secondary {
  background-color: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}

.btn--secondary:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
}

/* Coral variant */
.btn--coral {
  background-color: var(--color-coral);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(244, 114, 74, 0.3);
}

.btn--coral:hover {
  background-color: #e0623b;
  box-shadow: 0 6px 20px rgba(244, 114, 74, 0.4);
}

/* White (for dark backgrounds) */
.btn--white {
  background-color: var(--color-white);
  color: var(--color-navy);
}

.btn--white:hover {
  background-color: var(--color-gray-100);
}

/* Small button */
.btn--sm {
  padding: var(--space-2) var(--space-6);
  font-size: var(--font-size-sm);
  min-height: 44px;
}

.btn-group {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}


/* ---------- Header / Navigation ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-gray-200);
  height: var(--header-height);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.logo__img {
  height: 54px;
  width: auto;
  display: block;
}

.footer .logo__img {
  height: 48px;
  filter: brightness(0) invert(1);
}

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

.nav__links {
  display: flex;
  gap: var(--space-6);
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-gray-700);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-pink);
  transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-pink);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  z-index: calc(var(--z-overlay) + 1);
}

.hamburger__line {
  width: 24px;
  height: 2px;
  background-color: var(--color-navy);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-white);
  z-index: var(--z-overlay);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--color-navy);
  transition: color var(--transition-fast);
}

.mobile-nav__link:hover {
  color: var(--color-pink);
}

.mobile-nav .btn-group {
  margin-top: var(--space-4);
  flex-direction: column;
  align-items: center;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav { display: none; }
}


/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: center;
  padding: 0;
  background: #FBE4EE;
}

/* Photo layer (z0) — full-bleed, clean image; no baked-in gradient */
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% center;
  z-index: 0;
}

/* Pink scrim layer (z1): near-solid behind the text, fading to clear
   before it reaches Karen. Top wash stacked above for cohesion.
   Brand pinks only — no yellow, no purple. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(251, 228, 238, 0.6) 0%, rgba(251, 228, 238, 0) 22%),
    linear-gradient(100deg,
      #FBE4EE 0%,
      #FBE4EE 32%,
      rgba(251, 228, 238, 0.92) 44%,
      rgba(251, 228, 238, 0.55) 56%,
      rgba(251, 228, 238, 0) 68%);
}

/* Content layer (z2) */
.hero .container {
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: 560px;
}

/* Trust line overlaid bottom-right on the photo (z2) */
.hero__trustline {
  position: absolute;
  z-index: 2;
  bottom: 32px;
  right: 40px;
  margin: 0;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 17px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: var(--font-size-base);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-pink-dark);
  border: 1.5px solid var(--color-pink-dark);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  margin-bottom: var(--space-5);
}

.hero h1 {
  font-size: clamp(var(--font-size-4xl), 5.5vw, 4rem);
  line-height: 1.1;
  margin-bottom: var(--space-5);
  color: var(--color-navy);
}

/* Emphasised hero phrase: drop to its own line (legacy .highlight kept
   for backwards compatibility; <em> is the new canonical wrapper). */
.hero h1 em,
.hero h1 .highlight {
  display: block;
  color: var(--color-pink);
  font-style: italic;
}

.hero__sub {
  font-size: var(--font-size-lg);
  color: #4B4960;
  max-width: 480px;
  margin-bottom: var(--space-8);
}

.hero .btn-group {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.hero .btn-group .btn {
  width: 100%;
  max-width: 360px;
}

/* ---- Desktop hero photo (≥769px): right-side panel that masks into pink ---- */
@media (min-width: 769px) {
  /* Photo occupies the right 56% and fades its LEFT edge into the pink via a
     mask — no hard seam. width = how much section the photo takes;
     object-position X = how far right Karen sits; mask 28% = blend softness. */
  .hero__photo {
    left: auto;
    right: 0;
    width: 56%;
    object-position: 68% center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
  }

  /* Mask handles the blend now — drop the 100° horizontal scrim, keep only
     the faint top wash for cohesion. */
  .hero__scrim {
    background: linear-gradient(180deg, rgba(251, 228, 238, 0.6) 0%, rgba(251, 228, 238, 0) 22%);
  }
}

@media (max-width: 768px) {
  /* Stacked layout: content on a solid pink panel up top, photo band at the
     bottom — no photo behind the text, so Karen's face is never covered. */
  .hero {
    display: block;
    background: #FBE4EE;
  }

  .hero .container {
    padding-top: 32px;
    /* Reserve the bottom band so the buttons always end above the photo. */
    padding-bottom: calc(46vh + 24px);
  }

  .hero__content {
    max-width: 100%;
  }

  /* Photo anchored to the bottom as a band; object-position Y pulls Karen's
     face up into the visible crop. */
  .hero__photo {
    top: auto;
    bottom: 0;
    height: 46vh;
    object-position: 72% 22%;
  }

  /* Only soften the seam at the top edge of the photo band — rest stays clean. */
  .hero__scrim {
    top: auto;
    bottom: 0;
    height: 46vh;
    background: linear-gradient(180deg, #FBE4EE 0%, rgba(251, 228, 238, 0) 16%);
  }

  .hero h1 {
    font-size: var(--font-size-4xl);
  }

  .hero .btn-group {
    align-items: stretch;
  }

  .hero .btn-group .btn {
    max-width: 100%;
  }

  /* Trust line moves to bottom-centre */
  .hero__trustline {
    left: 0;
    right: 0;
    bottom: 20px;
    text-align: center;
    font-size: 15px;
  }
}


/* ---------- Cards ---------- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-size: var(--font-size-2xl);
}

.card__icon--pink   { background-color: #FDE4EF; color: var(--color-pink); }
.card__icon--coral  { background-color: #FDEAE4; color: var(--color-coral); }
.card__icon--yellow { background-color: #FEF5D4; color: var(--color-yellow); }
.card__icon--navy   { background-color: #E8E6F0; color: var(--color-navy); }

.card h3 {
  margin-bottom: var(--space-3);
}

.card p {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  line-height: 1.7;
}

.card .btn {
  margin-top: var(--space-6);
}


/* ---------- How It Works section ---------- */
.section--how-it-works {
  background: linear-gradient(135deg, var(--color-coral) 0%, var(--color-pink) 100%);
}

.how-it-works__inner {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-12) var(--space-10);
}

@media (max-width: 768px) {
  .how-it-works__inner {
    padding: var(--space-8) var(--space-6);
  }
}


/* ---------- Step Cards (How It Works) ---------- */
.step-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
}

.step-card__number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  font-weight: 800;
  margin: 0 auto var(--space-4);
  color: var(--color-white);
}

.step-card:nth-child(1) .step-card__number { background-color: var(--color-pink); }
.step-card:nth-child(2) .step-card__number { background-color: var(--color-coral); }
.step-card:nth-child(3) .step-card__number { background-color: var(--color-navy); }

.step-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-2);
}

.step-card p {
  color: var(--color-text-muted);
  margin: 0 auto;
}


/* ---------- Testimonial Cards ---------- */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--color-pink);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-card:nth-child(even) {
  border-left-color: var(--color-coral);
}

.testimonial-card__quote {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-gray-700);
  margin-bottom: 0;
  position: relative;
  padding-left: var(--space-6);
}

.testimonial-card__quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -4px;
  font-size: var(--font-size-3xl);
  color: var(--color-pink);
  font-weight: 700;
  line-height: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-sm);
  color: var(--color-white);
}

.testimonial-card:nth-child(1) .testimonial-card__avatar,
.testimonial-card:nth-child(4) .testimonial-card__avatar { background-color: var(--color-pink); }
.testimonial-card:nth-child(2) .testimonial-card__avatar,
.testimonial-card:nth-child(5) .testimonial-card__avatar { background-color: var(--color-coral); }
.testimonial-card:nth-child(3) .testimonial-card__avatar,
.testimonial-card:nth-child(6) .testimonial-card__avatar { background-color: var(--color-navy); }

.testimonial-card__name {
  font-weight: 600;
  font-size: var(--font-size-sm);
  color: var(--color-navy);
}

.testimonial-card__detail {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* Asymmetric testimonials layout — one featured quote leading, two
   supporting cards beneath, so the section breaks the 3-col template
   cadence shared by the steps and services grids. */
.testimonials-layout {
  display: grid;
  gap: var(--space-6);
}

.testimonials-layout__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.testimonial-card--featured {
  border-left-color: var(--color-coral);
  border-left-width: 6px;
  padding: var(--space-10);
}

.testimonial-card--featured .testimonial-card__quote {
  font-size: var(--font-size-xl);
  line-height: 1.6;
  color: var(--color-navy);
}

.testimonial-card--featured .testimonial-card__quote::before {
  color: var(--color-coral);
  font-size: var(--font-size-5xl);
  top: -10px;
}

@media (max-width: 768px) {
  .testimonials-layout__row {
    grid-template-columns: 1fr;
  }
}


/* ---------- Detailed Testimonials (Success Stories) ---------- */
.story-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.story-card:hover {
  box-shadow: var(--shadow-lg);
}

.story-card__label {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.story-card:nth-child(odd) .story-card__label {
  background-color: #FDE4EF;
  color: var(--color-pink);
}

.story-card:nth-child(even) .story-card__label {
  background-color: #FDEAE4;
  color: var(--color-coral);
}

.story-card__highlight {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.story-card__quote {
  font-size: var(--font-size-base);
  color: var(--color-gray-700);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  font-style: italic;
  border-left: 3px solid var(--color-yellow);
  padding-left: var(--space-4);
}

.story-card__context {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.story-card__name {
  font-weight: 700;
  color: var(--color-navy);
}

/* Text-only stories render as a full-width, navy colour-blocked pull-quote
   with a large opening quotation mark — distinct from the photo cards, and
   never a card with an empty image slot. Spanning the full grid width also
   breaks the 2-column rhythm. */
.story-card--quote {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  background: var(--color-navy);
  padding: var(--space-12) var(--space-10) var(--space-10);
}

.story-card--quote::before {
  content: '\201C';
  position: absolute;
  top: -0.15em;
  left: var(--space-6);
  font-family: var(--font-family-serif);
  font-size: 180px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.10);
  pointer-events: none;
}

.story-card--quote > * {
  position: relative;
  z-index: 1;
}

.story-card--quote .story-card__label {
  background-color: rgba(255, 255, 255, 0.16);
  color: var(--color-white);
}

.story-card--quote .story-card__highlight,
.story-card--quote .story-card__quote,
.story-card--quote .story-card__name {
  color: var(--color-white);
}

.story-card--quote .story-card__context {
  color: rgba(255, 255, 255, 0.78);
}


/* ---------- Metrics Bar ---------- */
.section--navy.metrics-section {
  background-color: var(--color-white);
  padding: var(--space-12) 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  text-align: center;
}

.metric-card {
  border: 1.5px solid var(--color-navy);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-white);
  box-shadow: 0 4px 20px rgba(59, 52, 120, 0.12);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.metric-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.metric-card:nth-child(2) { transition-delay: 0.1s; }
.metric-card:nth-child(3) { transition-delay: 0.2s; }
.metric-card:nth-child(4) { transition-delay: 0.3s; }

.metric__number {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--color-coral);
  line-height: 1;
}

.metric__label {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
}

@media (max-width: 768px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ---------- Service Cards ---------- */
.service-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  border-top: 4px solid transparent;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:nth-child(1) { border-top-color: var(--color-pink); }
.service-card:nth-child(2) { border-top-color: var(--color-coral); }
.service-card:nth-child(3) { border-top-color: var(--color-yellow); }
.service-card:nth-child(4) { border-top-color: var(--color-navy); }

.service-card__badge {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  width: fit-content;
}

.service-card__badge--inperson {
  background-color: #FDE4EF;
  color: var(--color-pink);
}

.service-card__badge--online {
  background-color: #E8E6F0;
  color: var(--color-navy);
}

.service-card__badge--both {
  background-color: #FDEAE4;
  color: var(--color-coral);
}

.service-card h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-3);
}

.service-card__desc {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.service-card__who {
  font-size: var(--font-size-sm);
  color: var(--color-navy);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.service-card__who span {
  font-weight: 400;
  color: var(--color-text-muted);
}

.service-card__price {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--color-navy);
  margin: var(--space-6) 0;
}

.service-card__price span {
  font-size: var(--font-size-sm);
  font-weight: 400;
  color: var(--color-text-muted);
}

.service-card .btn {
  margin-top: auto;
}


/* ---------- FAQ Accordion ---------- */
.faq-item {
  border-bottom: 1px solid var(--color-gray-200);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-gray-200);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) 0;
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-navy);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  min-height: 48px;
}

.faq-question:hover {
  color: var(--color-pink);
}

.faq-question__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--color-pink);
}

.faq-item.is-open .faq-question__icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
  padding-bottom: var(--space-5);
}

.faq-answer p {
  color: var(--color-text-muted);
  line-height: 1.7;
}


/* ---------- About Page ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-avatar {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-coral) 50%, var(--color-yellow) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.about-avatar__text {
  color: var(--color-white);
  font-size: var(--font-size-6xl);
  font-weight: 800;
  opacity: 0.3;
}

.about-avatar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(59, 52, 120, 0.3), transparent);
}

.credentials-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.credential-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-pink);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.credential-icon svg {
  width: 16px;
  height: 16px;
  color: var(--color-white);
}

@media (max-width: 768px) {
  .about-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-avatar {
    max-width: 280px;
    order: -1;
  }
}


/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-12);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  color: var(--color-text-muted);
  margin: 0 auto;
}

.section-header__line {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-pink), var(--color-coral));
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-6);
}


/* ---------- CTA Banner ---------- */
.cta-banner {
  text-align: center;
  padding: var(--space-16) var(--space-6);
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--color-coral) 0%, var(--color-pink) 100%);
  color: var(--color-white);
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto var(--space-8);
}

.cta-banner .btn-group {
  justify-content: center;
}


/* ---------- Footer ---------- */
.footer {
  background-color: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer__brand .logo__text {
  color: var(--color-white);
}

.footer__tagline {
  font-size: var(--font-size-sm);
  margin-top: var(--space-3);
  line-height: 1.6;
  max-width: 280px;
}

.footer h4 {
  color: var(--color-white);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-xs);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* .logo is a flex container, so text-align can't centre it — and the
     booking buttons are fit-content flex items, so they need align-items.
     Both must be centred explicitly once the footer stacks. */
  .footer__brand .logo {
    justify-content: center;
  }

  .footer__links {
    align-items: center;
  }

  /* Equal width so the centred button stack reads as one tidy column
     instead of two staggered pills (overrides the inline width: fit-content). */
  .footer .footer__links .btn {
    min-width: 190px;
  }

  .footer__tagline {
    max-width: 100%;
    margin: var(--space-3) auto 0;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }
}


/* ---------- Page Hero Banner (inner pages) ---------- */
.page-hero {
  background-color: #2B2660;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-6) 0;
  border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
}

/* Left accent bar: coral → pink gradient, full height */
.page-hero::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, #F4724A 0%, #E8006F 100%);
  border-radius: 0 0 0 var(--radius-xl);
}

/* Large faint circle overlay — geometric depth */
.page-hero__circle {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 56px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.page-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  position: relative;
  z-index: 1;
}

.page-hero__content {
  flex: 1;
}

.page-hero__eyebrow {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-coral);
  margin-bottom: var(--space-3);
}

.page-hero__title {
  font-size: clamp(var(--font-size-3xl), 5.5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.02em;
}

.page-hero__title .accent-pink  { color: var(--color-white); }
.page-hero__title .accent-coral { color: var(--color-white); }

/* Radiating lines SVG decoration */
.page-hero__rays {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .page-hero__title { font-size: var(--font-size-3xl); }
  .page-hero { padding: var(--space-5) 0; }
}


/* ---------- Philosophy Section (About page) ---------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.philosophy-card {
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  text-align: center;
}

.philosophy-card:nth-child(1) {
  background: linear-gradient(135deg, #FDE4EF, #FFF0F5);
}

.philosophy-card:nth-child(2) {
  background: linear-gradient(135deg, #FDEAE4, #FFF5EE);
}

.philosophy-card:nth-child(3) {
  background: linear-gradient(135deg, #ECEAF6, #F2F0FA);
}

.philosophy-card h3 {
  margin: var(--space-4) 0 var(--space-3);
  font-size: var(--font-size-xl);
}

.philosophy-card p {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  margin: 0 auto;
}

.philosophy-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
}


/* ---------- Photo Placeholders & Galleries ---------- */
.photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-color: var(--color-gray-100);
  border: 2px dashed var(--color-gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  position: relative;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

/* When an img is inside, hide the placeholder text */
.photo:has(img) {
  border: none;
  background: none;
  color: transparent;
}

.photo--square    { aspect-ratio: 1 / 1; }
.photo--portrait  { aspect-ratio: 3 / 4; }
.photo--wide      { aspect-ratio: 16 / 9; }
.photo--hero      { aspect-ratio: 21 / 9; }

/* Rotation helpers for sideways photos */
.photo-rotate-cw  img { transform: rotate(90deg);  transform-origin: center; }
.photo-rotate-ccw img { transform: rotate(-90deg); transform-origin: center; }

.photo--sm { border-radius: var(--radius-lg); }
.photo--round { border-radius: 50%; }

.photo__label {
  font-weight: 600;
  color: var(--color-gray-500);
}

.photo__hint {
  font-size: var(--font-size-xs);
  color: var(--color-gray-300);
}

/* Photo icon placeholder */
.photo__icon {
  width: 32px;
  height: 32px;
  color: var(--color-gray-300);
}

/* Photo grid — masonry-style gallery */
.photo-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(3, 1fr);
}

.photo-grid--2 { grid-template-columns: repeat(2, 1fr); }
.photo-grid--4 { grid-template-columns: repeat(4, 1fr); }

.photo-grid .photo:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 768px) {
  .photo-grid,
  .photo-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-grid .photo:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 480px) {
  .photo-grid,
  .photo-grid--2,
  .photo-grid--4 {
    grid-template-columns: 1fr;
  }

  .photo-grid .photo:first-child {
    grid-column: span 1;
  }
}

/* Split layout: text + photo side by side */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.split--reverse .split__content { order: 2; }
.split--reverse .split__photo  { order: 1; }

@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .split--reverse .split__content,
  .split--reverse .split__photo {
    order: unset;
  }

  .split .split__photo {
    order: -1;
  }
}

/* Photo with overlapping color block accent */
.photo-accent {
  position: relative;
  padding: var(--space-4);
}

.photo-accent::before {
  content: '';
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: var(--radius-xl);
  z-index: -1;
}

.photo-accent--pink::before   { background-color: #FDE4EF; top: 0; left: 0; }
.photo-accent--coral::before  { background-color: #FDEAE4; bottom: 0; right: 0; }
.photo-accent--yellow::before { background-color: #FEF5D4; top: 0; right: 0; }
.photo-accent--navy::before   { background-color: #E8E6F0; bottom: 0; left: 0; }

/* Testimonial card with photo */
.testimonial-card__photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--color-gray-100);
  border: 2px dashed var(--color-gray-300);
}

.testimonial-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card__photo:has(img) {
  border: 2px solid var(--color-white);
  box-shadow: var(--shadow-sm);
}

/* Service card photo header */
.service-card__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-6);
  background-color: var(--color-gray-100);
  border: 2px dashed var(--color-gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

/* "Most Popular" featured tag — overlaid top-right on the card photo */
.service-card__popular {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 1;
  background: var(--color-pink);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(232, 0, 111, 0.35);
}

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

.service-card__photo:has(img) {
  border: none;
}

/* Story card photo */
.story-card__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-6);
  background-color: var(--color-gray-100);
  border: 2px dashed var(--color-gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.story-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card__photo:has(img) {
  border: none;
}

/* Full-width photo banner */
.photo-banner {
  width: 100%;
  aspect-ratio: 21 / 7;
  overflow: hidden;
  background-color: var(--color-gray-100);
  border: 2px dashed var(--color-gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.photo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-banner:has(img) {
  border: none;
}


/* ---------- Responsive Adjustments ---------- */
@media (max-width: 1024px) {
  .hero {
    padding: var(--space-16) 0 var(--space-12);
  }
}

@media (max-width: 768px) {
  h1 { font-size: var(--font-size-3xl); }
  h2 { font-size: var(--font-size-2xl); }

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

  .hero {
    padding: var(--space-12) 0;
  }

  .cta-banner {
    padding: var(--space-10) var(--space-4);
    border-radius: var(--radius-xl);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }

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

  .btn-group .btn {
    width: 100%;
  }
}
