/* =====================================================
   Inflexion Health — Main Stylesheet
   Sage & Gold colourway — per Brand Identity 2026
   (Sage, Deep Sage, Gold, Oat, Ground + carried-through
   Oak/rust accent for text-level CTAs; Jost + Inter).
   ===================================================== */

/* --- Google Fonts ---
   Jost: display / wordmark / headings (weights 200, 300, 400 only).
   Inter: body copy, forms, contact details (300 / 400). */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@200;300;400;500&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables ---
   Primary tokens are the sage & gold palette from the 2026 brand
   doc. The rust-brown `--oak` token is retained for text-level uses
   (CTAs, links, headline emphasis) because Gold on Ground measures
   only 2.1:1 and the brand doc explicitly restricts Gold to
   "graphics only — not text". Gold is used decoratively (the mark's
   arc + node, favicon rasters, section prefixes, thin rules).
   Legacy `--navy` / `--teal` aliases carry through so every existing
   call-site inherits the rebrand without a search-and-replace pass. */
:root {
  /* Sage & Gold — primary brand tokens (2026) */
  --sage:        #5a6b35;  /* primary arc + accent green */
  --sage-deep:   #3e4a3b;  /* brand field for reversed applications */
  --gold:        #c89d2c;  /* graphics-only accent: arcs, node, rules, prefixes */
  --bowl-oat:    #dddbc2;  /* bowl shapes on light grounds */
  --ground:      #f1ead8;  /* paper ground for print + documents */

  /* Text-level warm accent — the doc's "rust descriptor" at 7.5:1
     on Ground (AAA). Keeps the site's existing text-Oak legible
     everywhere Gold cannot safely go. */
  --oak:         #7e5c3b;
  --oak-light:   #a88358;

  /* Secondary neutrals */
  --sage-soft:   #7b735d;  /* panels, dividers, muted labels */
  --oat:         var(--ground);   /* legacy alias for the paper ground */
  --stone:       #8e7c6d;  /* captions, metadata, secondary information */

  /* Legacy aliases — keep so unmapped call-sites inherit the rebrand */
  --navy:        var(--sage-deep);
  --navy-light:  #4a5849;
  --teal:        var(--oak);
  --teal-dark:   #654a2f;
  --teal-light:  var(--ground);
  --white:       #ffffff;
  --off-white:   #f7f0e0;   /* ground-tinted off-white for section bands */
  --warm-gray:   #ece4d6;   /* warmer neutral */
  --text-dark:   var(--sage-deep);
  --text-mid:    #5a5648;
  --text-light:  var(--stone);
  --border:      #e4d9c6;   /* ground-tinted border */
  --shadow-sm:   0 2px 12px rgba(62,74,59,0.08);
  --shadow-md:   0 6px 30px rgba(62,74,59,0.12);
  --shadow-lg:   0 16px 60px rgba(62,74,59,0.16);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.3s ease;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Typography Helpers --- */
h1, h2, h3, h4, h5 {
  font-family: 'Jost', sans-serif;
  line-height: 1.25;
  color: var(--navy);
}

.section-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 620px;
  margin: 0 auto 3rem;
}

.text-center { text-align: center; }

/* --- Layout Helpers --- */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 6rem 0; }
section:nth-child(even):not(.page-hero):not(.cta-band) { background: var(--off-white); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(42,180,192,0.35); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid rgba(26,37,53,0.25);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }


/* =====================================================
   NAVIGATION — DROPDOWNS
   ===================================================== */

/* Parent list item must be positioned to anchor the dropdown */
.nav-links li { position: relative; }

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);   /* reduced gap so mouse bridge is shorter */
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--navy);
  border: 1px solid rgba(42,180,192,0.18);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(26,37,53,0.35);
  min-width: 260px;
  padding: 0.5rem 0;
  list-style: none;
  /* Hidden by default — delay on HIDING so mouse can cross the gap */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease 0.18s, transform 0.2s ease 0.18s, visibility 0.2s ease 0.18s;
  z-index: 1100;
}

/* Invisible bridge fills the gap between trigger and panel */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 16px;
  background: transparent;
}

/* Small top arrow/notch */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px; height: 12px;
  background: var(--navy);
  border-left: 1px solid rgba(42,180,192,0.18);
  border-top: 1px solid rgba(42,180,192,0.18);
  transform: translateX(-50%) rotate(45deg);
}

/* Show on hover — no delay when showing, delay only when hiding */
.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

/* Chevron rotation — hover only */

/* Dropdown links */
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  border-radius: 0;
  letter-spacing: 0.3px;
  transition: color 0.18s ease, background 0.18s ease, padding-left 0.18s ease;
  white-space: nowrap;
}
.nav-dropdown a:hover {
  color: var(--teal);
  background: rgba(42,180,192,0.1);
  padding-left: 1.5rem;
}
.nav-dropdown a i {
  width: 18px;
  text-align: center;
  color: var(--teal);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Group headings inside multi-section dropdowns (Services > Body
   Conditions / Injectables / Therapeutics). Non-interactive label
   above each group of items.
   Rendering notes: uses solid teal-light and higher weight/size than
   an earlier iteration, plus explicit font-smoothing hints — teal-on-
   navy at 11px + wide tracking looked blurred on some displays. */
.nav-dropdown .nav-dropdown-heading {
  display: block;
  margin-top: 0.35rem;
  padding: 0.4rem 1.25rem 0.35rem;
  border-top: 1px solid rgba(42,180,192,0.22);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #7ee6ee;
  background: rgba(42,180,192,0.08);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* The very first heading in the dropdown doesn't need a top border,
   the dropdown's own padding already spaces it. */
.nav-dropdown .nav-dropdown-heading:first-child {
  margin-top: 0;
  border-top: none;
}

/* Sub-heading — third-tier label sitting under a main heading (e.g.
   "Reversing the Degenerative Cascade" inside "MSK Health & Function").
   Softer than the primary heading so the hierarchy reads. */
.nav-dropdown .nav-dropdown-subheading {
  display: block;
  padding: 0.35rem 1.25rem 0.15rem 1.4rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  font-style: italic;
}

/* Wide dropdown — used for Our Focus which now packs ~20 items across
   two main groups. Sits a touch wider so long items like "Physical
   Vitality / Sexual Function" don't wrap. */
.nav-dropdown.nav-dropdown-wide {
  min-width: 320px;
}

/* ─── Nested submenu ──────────────────────────────────────────────
   Used on the Services (Conditions) dropdown so each category
   (Spine / Upper Limb / …) shows a right-side pop-out with its
   sub-conditions. On desktop the submenu flies out on hover; on
   mobile it collapses inline as an accordion (see the max-width
   block further down). */
.nav-dropdown li.has-submenu {
  position: relative;
}
.nav-dropdown li.has-submenu > a {
  padding-right: 2rem;   /* room for the chevron */
}
.nav-dropdown li.has-submenu .submenu-chevron {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.18s ease;
}
.nav-submenu {
  /* Hidden by default with display:none so the sub-items can't leak
     into the parent dropdown's flow — some browsers (and cached
     stylesheets) rendered opacity/visibility hidden items as full-
     height boxes, which made the whole tree look uncollapsed. */
  display: none;
  position: absolute;
  top: -0.5rem;         /* align with dropdown padding-top */
  left: 100%;
  margin-left: 4px;
  min-width: 220px;
  padding: 0.5rem 0;
  background: var(--navy);
  border: 1px solid rgba(42,180,192,0.18);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(26,37,53,0.35);
  list-style: none;
  z-index: 1200;
}
/* Show on hover (desktop pointer) OR when JS has tagged the parent
   with .open (click-to-pin on desktop, tap-to-open on mobile). */
.nav-dropdown li.has-submenu:hover > .nav-submenu,
.nav-dropdown li.has-submenu.open   > .nav-submenu {
  display: block;
}
.nav-submenu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  transition: color 0.18s ease, background 0.18s ease, padding-left 0.18s ease;
  white-space: nowrap;
}
.nav-submenu a:hover {
  color: var(--teal);
  background: rgba(42,180,192,0.1);
  padding-left: 1.25rem;
}

/* Chevron rotation when open */
.has-dropdown > a .nav-chevron {
  font-size: 0.7rem;
  transition: transform 0.22s ease;
  margin-left: 0.2rem;
  vertical-align: middle;
}
.has-dropdown:hover > a .nav-chevron {
  transform: rotate(180deg);
}

/* Mobile: dropdowns stack vertically inside the open menu */
@media (max-width: 900px) {
  .nav-dropdown {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    border-left: 2px solid rgba(42,180,192,0.3);
    border-radius: 0;
    background: rgba(255,255,255,0.04);
    padding: 0.25rem 0;
    margin: 0.25rem 0 0.25rem 1rem;
    display: none; /* hidden until parent li gets .open */
    min-width: 0;
  }
  .nav-dropdown::before { display: none; }
  .has-dropdown.open .nav-dropdown { display: block; }
  .nav-dropdown a { font-size: 0.82rem; padding: 0.5rem 1rem; }
  .nav-dropdown a:hover { padding-left: 1.25rem; }
  /* Tap to open dropdown on mobile */
  .has-dropdown > a { cursor: pointer; }

  /* Nested submenu — collapses to accordion under its parent li.
     On mobile there is no hover; only the .open class (added by the
     tap handler) reveals the child list. */
  .nav-submenu {
    position: static;
    left: auto;
    margin-left: 0;
    box-shadow: none;
    border: none;
    border-left: 2px solid rgba(42,180,192,0.3);
    border-radius: 0;
    background: rgba(255,255,255,0.03);
    margin: 0.15rem 0 0.25rem 1rem;
    padding: 0.2rem 0;
    min-width: 0;
  }
  /* Undo the desktop hover-to-open rule on touch viewports — we don't
     want a stray tap-and-hold to keep child menus stuck open. */
  .nav-dropdown li.has-submenu:hover > .nav-submenu { display: none; }
  .nav-dropdown li.has-submenu.open   > .nav-submenu { display: block; }
  .has-submenu > a { cursor: pointer; }
  .has-submenu.open > a .submenu-chevron { transform: translateY(-50%) rotate(90deg); }
}

/* =====================================================
   NAVIGATION
   ===================================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0;
}

#navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(26,37,53,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 1rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.lang-icon {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-right: 0.15rem;
}
.lang-btn {
  background: transparent;
  border: none;
  border-radius: 999px;
  color: rgba(255,255,255,0.7);
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 0.25rem 0.4rem;
  min-width: 28px;
  text-align: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  line-height: 1;
  white-space: nowrap;
}
.lang-btn .lang-code { display: inline-block; }
.lang-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }
.lang-btn.active { background: var(--teal); color: #fff; }
.lang-btn.active:hover { background: var(--teal); }

.nav-logo img {
  height: 46px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 0.15rem;
  align-items: center;
}

.nav-links a {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.85);
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
  background: rgba(42,180,192,0.1);
}

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 0.45rem 1rem !important;
  border-radius: 50px !important;
  white-space: nowrap !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: transparent;
  border: none;
  margin-left: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}


/* =====================================================
   HERO SECTION
   ===================================================== */
#home {
  min-height: 100vh;
  background: var(--white);
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(42,180,192,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(42,180,192,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,37,53,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,37,53,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-slider {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
}

.hero-track {
  display: flex;
  width: 100%;
  transition: transform 0.8s cubic-bezier(0.6, 0.05, 0.15, 1);
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 8rem 1.5rem 6rem;
}

.hero-dots {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  z-index: 3;
  padding: 0;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  background: rgba(26,37,53,0.22);
  border: none;
  cursor: pointer;
  transition: width 0.35s ease, background 0.35s ease, border-radius 0.35s ease;
}
.hero-dot:hover { background: rgba(26,37,53,0.4); }
.hero-dot.active {
  width: 32px;
  border-radius: 5px;
  background: var(--teal);
}

.hero-text .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(42,180,192,0.12);
  border: 1px solid rgba(42,180,192,0.3);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.hero-text h1,
.hero-text .hero-h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-text h1 span,
.hero-text .hero-h1 span { color: var(--teal); }

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

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

.hero-actions .btn {
  min-width: 240px;
  justify-content: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 540px;
}

.hero-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.hero-photo-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(42,180,192,0.4);
  min-width: 130px;
}
.hero-photo-badge .badge-num {
  font-family: 'Jost', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}
.hero-photo-badge .badge-lbl {
  font-size: 0.72rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(26,37,53,0.45);
  font-size: 0.72rem;
  font-family: 'Jost', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.scroll-hint svg { width: 20px; opacity: 0.6; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}


/* =====================================================
   ABOUT US
   ===================================================== */
#about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, rgba(42,180,192,0.3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.about-visual:hover .about-photo { transform: scale(1.03); }

.about-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(26,37,53,0.55) 100%
  );
  pointer-events: none;
}

.about-badge-2 {
  position: absolute;
  bottom: 2rem;
  left: -1.5rem;
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius);
  padding: 0.9rem 1.25rem;
  box-shadow: 0 8px 24px rgba(42,180,192,0.4);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 190px;
}
.about-badge-2 .badge2-icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-badge-2 .badge2-title {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
}
.about-badge-2 .badge2-sub { font-size: 0.72rem; opacity: 0.85; margin-top: 0.15rem; }

.about-content {}

.about-content h2 { margin-bottom: 1.25rem; }
.about-content > p {
  color: var(--text-mid);
  margin-bottom: 2.5rem;
  font-size: 1.02rem;
}

.mv-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mv-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 4px solid var(--teal);
  transition: var(--transition);
}
.mv-card:hover {
  background: var(--teal-light);
  transform: translateX(4px);
}

.mv-card .mv-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.mv-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--navy);
}
.mv-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.about-values {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.value-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
}


/* =====================================================
   CARE IN ACTION — PHOTO GALLERY
   ===================================================== */
/* Light section matching the rest of the site's typographic palette:
   navy headings, gray body, teal section label. The gallery captions
   themselves stay light-on-dark because they sit over photo gradients. */
section.care-gallery { background: var(--off-white); padding: 6rem 0; }
.care-gallery .section-title  { color: var(--navy); }
.care-gallery .section-subtitle { color: var(--text-mid); }
.care-gallery .section-label { color: var(--teal); }

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(26,37,53,0.92) 0%, rgba(26,37,53,0.4) 60%, transparent 100%);
  padding: 1.5rem 1.25rem 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus-within .gallery-caption { opacity: 1; }

.gallery-caption span {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.35rem;
  letter-spacing: 0.3px;
}

.gallery-caption p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

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

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { aspect-ratio: 4 / 3; }
  .gallery-caption { opacity: 1; }
}


/* =====================================================
   CARE FOR EVERY GENERATION
   ===================================================== */
/* Explicit background so it always wins regardless of DOM position
   relative to `section:nth-child(even)`. */
section.generations { background: var(--white); }

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

/* Generations cards — visual redesign.
   Structure: .gen-visual (image + overlay + circular badge) sits on top
   of .gen-body (audience chip + benefit headline + hover cue). On
   hover, a Sage overlay rises from the bottom of the image and reveals
   the elaboration. Keyboard users get the same effect via :focus-within. */

.gen-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(62,74,59,0.06);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1),
              box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}
.gen-card:hover,
.gen-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(62,74,59,0.18);
  outline: none;
}
.gen-card:focus-visible { outline: 2px solid var(--oak); outline-offset: 4px; }

/* Visual (image + overlay) */
.gen-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sage-deep);
}
.gen-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1), filter 0.35s ease;
}
.gen-card:hover .gen-visual img,
.gen-card:focus-visible .gen-visual img {
  transform: scale(1.05);
  filter: brightness(0.55);
}

/* Circular audience badge — corner accent */
.gen-badge {
  position: absolute;
  top: 1.1rem; left: 1.1rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(242,235,225,0.94);
  color: var(--oak);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(62,74,59,0.24);
  backdrop-filter: blur(4px);
  transition: background 0.28s ease, transform 0.28s ease;
}
.gen-card:hover .gen-badge,
.gen-card:focus-visible .gen-badge {
  background: var(--oak);
  color: var(--oat);
  transform: scale(1.06);
}

/* Overlay — Deep Sage panel that rises from the bottom on hover */
.gen-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.4rem;
  background: linear-gradient(180deg,
              rgba(62,74,59,0.0) 0%,
              rgba(62,74,59,0.72) 30%,
              rgba(62,74,59,0.92) 100%);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(.2,.7,.2,1), opacity 0.3s ease;
  pointer-events: none;
}
.gen-card:hover .gen-overlay,
.gen-card:focus-visible .gen-overlay {
  transform: translateY(0);
  opacity: 1;
}
.gen-overlay-text {
  color: var(--oat);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
  max-width: 32ch;
  text-align: center;
}

/* Body — under the image; leads with chip + benefit headline */
.gen-body {
  padding: 1.4rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.gen-label {
  display: inline-flex;
  align-items: center;
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--oak);
}
.gen-headline {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--sage-deep);
  letter-spacing: 0.01em;
  margin: 0;
}
.gen-headline em {
  font-style: normal;
  color: var(--oak);
  font-weight: 400;
}
.gen-cue {
  margin-top: auto;
  padding-top: 0.75rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--stone);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.25s ease, transform 0.25s ease;
}
.gen-card:hover .gen-cue,
.gen-card:focus-visible .gen-cue {
  color: var(--oak);
  transform: translateX(4px);
}
.gen-cue i { transition: transform 0.3s ease; }
.gen-card:hover .gen-cue i { transform: translateX(4px); }

@media (max-width: 900px) {
  .generations-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .generations-grid { grid-template-columns: 1fr; }
  /* On touch viewports there is no hover — reveal the overlay by
     default so mobile visitors still get the elaboration. */
  .gen-overlay { transform: translateY(0); opacity: 1; }
  .gen-visual img { filter: brightness(0.6); }
  .gen-cue { display: none; }
}


/* =====================================================
   SERVICES
   ===================================================== */
#services { background: var(--off-white); }

.services-intro { margin-bottom: 3.5rem; }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(42,180,192,0.3);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  background: var(--teal-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--teal); }

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.service-learn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1.25rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.3px;
  transition: var(--transition);
}
.service-learn:hover { gap: 0.6rem; }

/* Container for stacking multiple .service-learn chip links vertically
   below a card's description — e.g. the parking-rate references or
   the hotel/mall external URLs. Each child chip inherits the standard
   .service-learn look (Oak text, arrow icon that shifts right on
   hover), one per line. */
.sublinks {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 1.25rem;
}
.sublinks .service-learn { margin-top: 0; }

.services-note {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--text-mid);
  font-size: 0.9rem;
}
.services-note a { color: var(--teal); font-weight: 600; }
.services-note a:hover { text-decoration: underline; }


/* =====================================================
   WHY US / FEATURES STRIP
   ===================================================== */
.features-strip {
  background: var(--navy);
  padding: 5rem 0;
}

.features-strip .section-title,
.features-strip .section-subtitle { color: var(--white); }
.features-strip .section-subtitle { color: rgba(255,255,255,0.6); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.feature-item { text-align: center; }

.feature-num {
  font-family: 'Jost', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.feature-item h4 {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.feature-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}


/* =====================================================
   TEAM
   ===================================================== */
#team { background: var(--white); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}
/* Single-card layout — one team member on the page.
   Constrains the grid to a comfortable card width and centres it
   so a lone card doesn't stretch across the full container. */
.team-grid--single {
  grid-template-columns: minmax(320px, 420px);
  justify-content: center;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.team-photo {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, rgba(42,180,192,0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}
.team-card:hover .team-img { transform: scale(1.05); }

.team-photo-placeholder {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(42,180,192,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--teal);
}

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--navy);
}

.cn-name {
  font-weight: 400;
  color: var(--sage-soft);
  margin-left: 0.35em;
  letter-spacing: 0.05em;
  font-size: 0.9em;
}
.modal-header-text h2 .cn-name {
  color: var(--bowl-oat);
  font-weight: 300;
}

.team-info .title {
  font-size: 0.82rem;
  color: var(--teal);
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-info p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.team-socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.team-socials a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  font-size: 0.8rem;
  transition: var(--transition);
}
.team-socials a:hover { background: var(--teal); color: var(--white); }

.team-join-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--teal-light);
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(42,180,192,0.4);
}
.team-join-cta h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.team-join-cta p { color: var(--text-mid); font-size: 0.9rem; margin-bottom: 1.25rem; }

/* Team placeholder (no photo) */
.team-photo--placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

/* Framed real headshot — Deep Sage backdrop so a plain-background
   subject photo presents corporate. Photo is masked into a large
   circle centred in the panel; role-tag pins to the lower edge. */
.team-photo--framed {
  position: relative;
  background: linear-gradient(140deg, var(--sage-deep) 0%, #4a5849 60%, var(--sage) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  overflow: hidden;
}
.team-photo--framed img {
  width: 78%;
  max-width: 210px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 50%;
  border: 4px solid var(--bowl-oat);
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
}
.team-photo--framed .team-role-tag {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(200,157,44,0.16);
  border-color: rgba(200,157,44,0.4);
  color: var(--gold);
}

/* Modal avatar — same framing, smaller for the profile header */
.modal-avatar--framed {
  width: 72px;
  height: 72px;
  padding: 0;
  overflow: hidden;
  background: var(--sage-deep);
  border: 2px solid var(--bowl-oat);
}
.modal-avatar--framed img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 50%;
  display: block;
}

.team-initials-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.team-initials {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(42,180,192,0.18);
  border: 2px solid rgba(42,180,192,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Jost', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 1px;
}

.team-role-tag {
  background: rgba(42,180,192,0.15);
  border: 1px solid rgba(42,180,192,0.3);
  color: var(--teal);
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}

.team-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Inline "View Profile →" link, matching .service-learn for site-wide
   consistency. No pill, no background — just a teal text + arrow CTA. */
.btn-profile {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
  outline: none;
}
.btn-profile:hover { gap: 0.6rem; color: var(--teal-dark); }
.btn-profile:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-underline-offset: 4px;
}


/* =====================================================
   DOCTOR PROFILE MODALS
   ===================================================== */
.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.profile-modal.open {
  opacity: 1;
  pointer-events: all;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26,37,53,0.6);
  backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow-y: auto;
  box-shadow: 0 24px 70px rgba(26,37,53,0.35);
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.25s ease;
}
.profile-modal.open .modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--warm-gray);
  color: var(--text-mid);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  z-index: 3;
}
.modal-close:hover { background: var(--navy); color: var(--white); }

.modal-header {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem 3.5rem 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}

.modal-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  letter-spacing: 1px;
}

.modal-header-text h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.modal-title {
  font-size: 0.88rem;
  color: var(--teal);
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.modal-quals { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.qual-tag {
  background: var(--teal-light);
  color: var(--teal-dark);
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
}

.modal-body { padding: 0 2rem 3rem; }

.modal-section {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}
.modal-section:last-child { border-bottom: none; }

.modal-section h4 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}
.modal-section h4 i { color: var(--teal); }

.modal-section p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.75;
}

.achievement-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.achievement-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.achievement-list li i { color: var(--teal); margin-top: 0.2rem; flex-shrink: 0; }

.article-list { display: flex; flex-direction: column; gap: 0.75rem; }
.article-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  transition: var(--transition);
}
.article-item:hover { background: var(--teal-light); }

.article-icon {
  width: 36px; height: 36px;
  background: var(--teal-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.article-title { font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.article-meta  { font-size: 0.76rem; color: var(--text-mid); margin-top: 0.15rem; }
.article-link  { margin-left: auto; color: var(--teal); font-size: 0.85rem; flex-shrink: 0; }

.video-list { display: flex; flex-direction: column; gap: 0.75rem; }
.video-placeholder {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: rgba(255,255,255,0.6);
}
.video-placeholder > i { font-size: 2rem; color: var(--teal); flex-shrink: 0; }
.video-title { font-size: 0.88rem; font-weight: 600; color: var(--white); }
.video-sub   { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-top: 0.2rem; }


/* =====================================================
   INSURANCE PANEL
   ===================================================== */
#insurance { background: var(--white); }

/* Coming Soon state */
.insurance-coming-soon {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background: var(--off-white);
  border: 2px dashed rgba(42,180,192,0.35);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
}

.coming-soon-icon {
  width: 72px; height: 72px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--teal);
  margin: 0 auto 1.25rem;
}

.coming-soon-badge {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.insurance-coming-soon h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.insurance-coming-soon p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.insurance-coming-soon a {
  color: var(--teal);
  font-weight: 600;
}
.insurance-coming-soon a:hover { text-decoration: underline; }

.insurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.insurance-card {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: var(--transition);
}
.insurance-card:hover {
  border-color: var(--teal);
  background: var(--teal-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.insurance-icon {
  font-size: 1.5rem;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.insurance-name {
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.insurance-type {
  font-size: 0.75rem;
  color: var(--text-mid);
}
.insurance-type a { color: var(--teal); font-weight: 600; }

.insurance-card--cta {
  border-style: dashed;
  border-color: rgba(42,180,192,0.4);
  background: var(--teal-light);
}
.insurance-card--cta .insurance-icon { color: var(--teal-dark); }

.insurance-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-mid);
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  justify-content: center;
}
.insurance-note i { color: var(--teal); margin-top: 0.15rem; flex-shrink: 0; }

@media (max-width: 900px) {
  .insurance-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .insurance-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-panel { max-width: 100%; }
  .modal-header { flex-direction: column; }
}


/* =====================================================
   CONTACT
   ===================================================== */
#contact { background: var(--off-white); }

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

.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--text-mid); margin-bottom: 2.5rem; font-size: 1rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-item-text .label {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.2rem;
}
.contact-item-text p {
  font-size: 0.92rem;
  color: var(--text-dark);
}

.contact-social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}
.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-link:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-light); }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.contact-form-wrap h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--navy);
}
.contact-form-wrap .form-sub {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 1.75rem;
}

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

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

.form-group label {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42,180,192,0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0bec5; }

.form-submit { width: 100%; justify-content: center; margin-top: 0.5rem; }

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-mid);
  margin-top: 0.75rem;
}

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--teal-dark);
}
.form-success.show { display: block; }
.form-success svg { font-size: 3rem; margin-bottom: 1rem; }


/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img { height: 60px; margin-bottom: 1rem; display: block; }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
  color: rgba(255,255,255,0.55);
}

.footer-col h5 {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--teal); }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-bottom a:hover { color: var(--teal); }


/* =====================================================
   ANIMATIONS
   ===================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s 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; }
.fade-up-delay-5 { transition-delay: 0.5s; }


/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .hero-content  { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-text p   { max-width: 100%; }
  .hero-actions  { justify-content: center; }
  .hero-visual   { display: none; }

  .about-grid    { grid-template-columns: 1fr; }
  .about-visual  { display: none; }

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

  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }

  /* Mobile nav panel. `max-height` + `overflow-y: auto` are critical:
     without them, once the Services dropdown (13 items + 3 group
     headings) or Our Focus dropdown (8 items) expands, the panel's
     natural height exceeds the viewport and the last items become
     unreachable — the panel is position:fixed so the page cannot
     scroll to expose them. `-webkit-overflow-scrolling` restores
     momentum scrolling on older iOS Safari. */
  .nav-links { display: none; position: fixed; top: 80px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 1.5rem; gap: 0; box-shadow: 0 10px 30px rgba(0,0,0,0.3); max-height: calc(100vh - 80px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.9rem 1rem; border-radius: 8px; }
  .nav-toggle { display: flex; }
  .lang-switcher { margin-left: auto; gap: 0.15rem; padding: 0.2rem 0.4rem; }
  .lang-icon { font-size: 0.95rem; margin-right: 0.1rem; }
  .lang-btn { font-size: 0.68rem; padding: 0.25rem 0.4rem; min-width: 28px; }

  .services-grid { grid-template-columns: 1fr; }
  .team-grid     { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }

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

  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions  { flex-direction: column; align-items: center; }
  .nav-logo img  { height: 40px; }
}

/* =====================================================
   CONTACT MAP
   ===================================================== */
.contact-map {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.contact-map iframe { display: block; }

/* =====================================================
   WHATSAPP FLOATING BUTTON
   ===================================================== */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  z-index: 900;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37,211,102,0.55);
  color: var(--white);
}
.whatsapp-fab:focus-visible {
  outline: 3px solid rgba(37,211,102,0.5);
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .whatsapp-fab { bottom: 1rem; right: 1rem; width: 52px; height: 52px; font-size: 1.6rem; }
}


/* =====================================================
   SCROLL BACKGROUND — PARALLAX GLOW + DOT TEXTURE
   Viewport-fixed gradient blobs sit behind every light
   section; as the user scrolls the blobs stay put while
   the section content glides over them, producing a
   natural parallax shimmer.  A faint dot-grid adds
   depth without distracting from the content.
   ===================================================== */

/* --- Shared dot-grid + two fixed gradient blobs --- */
#about,
section.care-gallery,
section.generations,
#services,
#team,
#insurance,
#contact,
#getting-here,
#newsletter,
#therapeutics {
  background-image:
    /* dot grid — scrolls with content */
    radial-gradient(circle, rgba(42,180,192,0.055) 1.5px, transparent 1.5px),
    /* primary blob — stays fixed to viewport (parallax) */
    radial-gradient(ellipse 55% 65% at var(--blob1-x) var(--blob1-y),
      rgba(42,180,192,0.10) 0%, transparent 100%),
    /* secondary blob — stays fixed to viewport (parallax) */
    radial-gradient(ellipse 45% 55% at var(--blob2-x) var(--blob2-y),
      rgba(42,180,192,0.065) 0%, transparent 100%);
  background-size:
    28px 28px,   /* dot grid tile */
    100% 100%,   /* primary blob spans full viewport */
    100% 100%;   /* secondary blob spans full viewport */
  background-attachment:
    scroll,  /* dot grid scrolls normally */
    fixed,   /* primary blob fixed — creates parallax */
    fixed;   /* secondary blob fixed — creates parallax */
}

/* --- Per-section blob positions for visual variety --- */
/* white sections: primary blob top-right, secondary bottom-left */
#about             { --blob1-x: 92%; --blob1-y:  8%;
                     --blob2-x:  8%; --blob2-y: 92%; }
section.generations{ --blob1-x: 85%; --blob1-y: 12%;
                     --blob2-x: 12%; --blob2-y: 85%; }
#team              { --blob1-x: 90%; --blob1-y:  6%;
                     --blob2-x:  6%; --blob2-y: 90%; }
#insurance         { --blob1-x: 88%; --blob1-y: 10%;
                     --blob2-x: 10%; --blob2-y: 88%; }

/* off-white sections: primary blob top-left, secondary bottom-right */
section.care-gallery{ --blob1-x:  8%; --blob1-y:  8%;
                      --blob2-x: 92%; --blob2-y: 88%; }
#services           { --blob1-x: 10%; --blob1-y: 12%;
                      --blob2-x: 90%; --blob2-y: 85%; }
#contact            { --blob1-x:  8%; --blob1-y: 10%;
                      --blob2-x: 90%; --blob2-y: 90%; }
#getting-here       { --blob1-x: 92%; --blob1-y:  8%;
                      --blob2-x:  6%; --blob2-y: 90%; }
#newsletter         { --blob1-x: 12%; --blob1-y: 12%;
                      --blob2-x: 88%; --blob2-y: 88%; }
#therapeutics       { --blob1-x: 90%; --blob1-y: 15%;
                      --blob2-x: 10%; --blob2-y: 85%; }

/* --- Mobile: fixed-attachment parallax is unreliable on
       touch devices (especially iOS Safari), so revert to
       normal scroll while keeping the dot texture.       --- */
@media (hover: none) and (pointer: coarse) {
  #about,
  section.care-gallery,
  section.generations,
  #services,
  #team,
  #insurance,
  #contact,
  #getting-here,
  #newsletter,
  #therapeutics {
    background-image:
      radial-gradient(circle, rgba(42,180,192,0.055) 1.5px, transparent 1.5px),
      radial-gradient(ellipse 55% 65% at var(--blob1-x) var(--blob1-y),
        rgba(42,180,192,0.09) 0%, transparent 100%),
      radial-gradient(ellipse 45% 55% at var(--blob2-x) var(--blob2-y),
        rgba(42,180,192,0.06) 0%, transparent 100%);
    background-size: 28px 28px, 100% 100%, 100% 100%;
    background-attachment: scroll, scroll, scroll;
  }
}


/* =====================================================
   SECTION BACKGROUND PHOTOS
   Very-low-opacity lifestyle photos (healthy movement,
   sports, family) layered behind each light section.
   isolation: isolate creates a stacking context so the
   z-index: -1 image layer stays inside its section and
   above the section's own background colour.
   ===================================================== */

#home,
#about,
section.care-gallery,
section.generations,
#services,
#team,
#insurance,
#contact {
  position: relative;
  isolation: isolate;
}

.section-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  opacity: 0.08;
  z-index: -1;
  pointer-events: none;
  /* slight pan upward on scroll simulated by the fixed-attachment
     gradient already on the section; the photo itself stays put */
}

/* Reduce opacity a touch on mobile so the dot grid still reads clearly */
@media (max-width: 768px) {
  .section-bg-img { opacity: 0.06; }
}

/* ──────────────────────────────────────────────────────────────
   FAQ — keyword-rich answer cards (SEO + UX)
   ────────────────────────────────────────────────────────────── */
.faq-section {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(180deg, #f7fbfc 0%, #ffffff 100%);
}
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(10, 37, 64, 0.04);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-item:hover {
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.08);
  border-color: rgba(10, 37, 64, 0.16);
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy, #0a2540);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary > span { flex: 1; }
.faq-chev {
  font-size: 0.85rem;
  color: var(--teal, #14b8a6);
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-item > p {
  margin: 0;
  padding: 0 1.4rem 1.2rem;
  color: var(--text-mid, #4a5568);
  line-height: 1.7;
  font-size: 0.97rem;
}
@media (max-width: 640px) {
  .faq-section { padding: 3.5rem 0; }
  .faq-item > summary { padding: 1rem 1.1rem; font-size: 0.98rem; }
  .faq-item > p { padding: 0 1.1rem 1.1rem; }
}

/* =====================================================
   NEWSLETTER SIGNUP
   Compact CRM-style block. PDPA consent uses larger
   touch targets on the checkboxes so older or motor-
   impaired users can tap easily.
   ===================================================== */
.newsletter-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  padding: 3rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  max-width: 1080px;
  margin: 0 auto;
  align-items: center;
}
.newsletter-pitch .section-label { margin-bottom: 0.75rem; }
.newsletter-pitch h2 { margin-bottom: 1.15rem; }
.newsletter-pitch p {
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.newsletter-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.newsletter-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-dark);
}
.newsletter-benefits li i { color: var(--teal); margin-top: 5px; flex-shrink: 0; font-size: 0.95rem; }

.newsletter-form-wrap { position: relative; }
.newsletter-form-wrap form { display: flex; flex-direction: column; gap: 0.95rem; }
.newsletter-form-wrap .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.newsletter-form-wrap .form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.newsletter-form-wrap label {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.4px;
  color: var(--text-dark);
}
.newsletter-form-wrap input[type="text"],
.newsletter-form-wrap input[type="email"],
.newsletter-form-wrap input[type="tel"] {
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: border-color 0.2s ease, background 0.2s ease;
  min-height: 44px;
}
.newsletter-form-wrap input:focus {
  outline: none;
  border-color: var(--teal);
  background: #ffffff;
}

/* --- PDPA consent block --- */
.pdpa-consent {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.15rem 0.9rem;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
}
.pdpa-consent legend {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--teal);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 0.5rem;
}
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.55;
  cursor: pointer;
}
.consent-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--teal);
  cursor: pointer;
}
.consent-check strong { color: var(--navy); font-weight: 700; }
.consent-check a { color: var(--teal); text-decoration: underline; }
.pdpa-note {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.55;
  margin: 0.15rem 0 0;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}
.pdpa-note i { color: var(--teal); margin-top: 3px; }
.pdpa-note a { color: var(--teal); text-decoration: underline; }

/* --- Newsletter submit + success reuse existing patterns --- */
.newsletter-form-wrap .form-submit { align-self: flex-start; margin-top: 0.35rem; }
.newsletter-form-wrap .form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.newsletter-form-wrap .form-success.show { display: block; }

/* --- Field-level error (used by main.js) --- */
.newsletter-form-wrap .form-error {
  border-color: #dc2626 !important;
  background: #fef2f2 !important;
}
.newsletter-form-wrap .error-message {
  font-size: 0.78rem;
  color: #dc2626;
  margin-top: 0.35rem;
}

/* =====================================================
   CONTACT SECTION CTA ROW
   Two centred pill buttons under the "We'd Love to Hear
   From You" subtitle. Wrap and stretch on mobile.
   ===================================================== */
.contact-cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}
@media (max-width: 500px) {
  .contact-cta-actions { gap: 0.65rem; }
  .contact-cta-actions .btn { width: 100%; justify-content: center; }
}

/* =====================================================
   HERITAGE KATONG GALLERY PLACEHOLDER TILES
   These sit inside .gallery-item and share the same
   hover/caption UI as image-backed items. Each tile
   has its own gradient + Font Awesome icon so the four
   feel distinctive. Swap for real <img> when you have
   licensed photography.
   ===================================================== */
.katong-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(255,255,255,0.95);
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 1rem;
  overflow: hidden;
}
.katong-placeholder i {
  font-size: 3rem;
  opacity: 0.9;
}
.katong-placeholder span {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.95;
  max-width: 90%;
}
.katong-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.katong-placeholder--peranakan {
  background: linear-gradient(135deg, #d97e88 0%, #b5556a 45%, #7d3448 100%);
}
.katong-placeholder--park {
  background: linear-gradient(135deg, #4fc3a1 0%, #2ab4c0 50%, #1e8f99 100%);
}
.katong-placeholder--laksa {
  background: linear-gradient(135deg, #f4a261 0%, #e76f51 55%, #b1462f 100%);
}
.katong-placeholder--shopping {
  background: linear-gradient(135deg, #6c7d95 0%, #3d4a63 55%, #1a2535 100%);
}

/* --- Newsletter CTA card ---
   The subscription form lives on a Google Form; the right column of
   the newsletter section is a pitch card with a single big CTA. */
.newsletter-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.newsletter-cta-card {
  background: linear-gradient(135deg, var(--off-white) 0%, #ffffff 100%);
  border: 1px solid rgba(42,180,192,0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 4px 20px rgba(26,37,53,0.06);
}
.newsletter-cta-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.newsletter-cta-header i {
  font-size: 1.9rem;
  color: var(--teal);
  flex-shrink: 0;
}
.newsletter-cta-header h3 {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}
.newsletter-cta-body {
  color: var(--text-mid);
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}
.newsletter-cta-btn {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
}
.newsletter-pdpa-note {
  margin: 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* Stacked layout at ≤ 900px — give the two blocks real breathing
   room. Also honour that the section-title font-size scales with the
   viewport so we tone down padding rather than gaps. */
@media (max-width: 900px) {
  .newsletter-card {
    grid-template-columns: 1fr;
    padding: 2.25rem 2rem;
    gap: 2.5rem;
  }
  .newsletter-cta-wrap { justify-content: flex-start; }
  .newsletter-cta-card { max-width: 100%; }
  .newsletter-form-wrap .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .newsletter-card { padding: 1.75rem 1.35rem; border-radius: 16px; gap: 2rem; }
  .newsletter-cta-card { padding: 1.85rem 1.5rem; gap: 1.15rem; }
  .newsletter-cta-btn { align-self: stretch; text-align: center; justify-content: center; }
  .newsletter-pitch p { margin-bottom: 1.4rem; }
  .pdpa-consent { padding: 0.9rem 1rem 0.8rem; }
}
