/* ==========================================================================
   Destination Health — Design System
   Guided Care, Global Destinations.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette */
  --navy:        #0B1F3B;
  --navy-deep:   #071527;
  --navy-lift:   #122C50;
  --gold:        #D4AF37;
  --gold-light:  #E8CC72;
  --gold-deep:   #A8862A;
  --gold-text:   #85691D;  /* small gold text on white/cream (4.6:1+). Too dark for navy: use --gold there */
  --cream:       #F6F2E8;
  --cream-warm:  #FBF9F3;
  --gray:        #4B4B4B;
  --gray-soft:   #6B6B6B;
  --ink:         #1A1A1A;
  --white:       #FFFFFF;

  /* Semantic */
  --bg:            var(--white);
  --text:          var(--gray);
  --heading:       var(--navy);
  --rule:          rgba(11, 31, 59, 0.12);
  --rule-on-navy:  rgba(212, 175, 55, 0.28);
  --focus:         var(--navy);  /* keyboard focus ring; dark sections switch it to gold (section 2) */

  /* Type */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:    "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  --fs-hero:  clamp(2.5rem, 1.4rem + 4.6vw, 5rem);
  --fs-h1:    clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem);
  --fs-h2:    clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem);
  --fs-h3:    clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --fs-h4:    clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-body:  clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  /* Section rhythm */
  --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);

  /* Layout */
  --container: 1240px;
  --container-narrow: 820px;
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 3rem);
  --header-h: 88px;

  /* Effects */
  --radius:    4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 3px rgba(11, 31, 59, 0.08);
  --shadow-md: 0 8px 28px rgba(11, 31, 59, 0.10);
  --shadow-lg: 0 20px 60px rgba(11, 31, 59, 0.16);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 320ms;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@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;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--sp-4);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-color: rgba(212, 175, 55, 0.5); text-underline-offset: 3px; }
a:hover { color: var(--gold-text); }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Gold is only 2:1 against white, so the ring is navy by default and gold on navy
   surfaces. A new dark section needs to join this list. */
.header, .hero, .pillars, .band, .section--navy, .pagehead, .trustbar, .footer, .thanks {
  --focus: var(--gold);
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--cream { background: var(--cream); }
.section--warm  { background: var(--cream-warm); }
.section--navy  { background: var(--navy); color: rgba(255,255,255,0.78); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--gold);
  color: var(--navy);
  padding: var(--sp-3) var(--sp-5);
  font-weight: 600;
  font-size: var(--fs-small);
}
.skip-link:focus { left: var(--sp-4); top: var(--sp-4); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   4. Typographic components
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 var(--sp-3);
}
.hero .eyebrow,
.section--navy .eyebrow,
.band .eyebrow { color: var(--gold); }

.section-head { text-align: center; margin-bottom: var(--sp-8); }
.section-head p { max-width: 62ch; margin-inline: auto; }

/* Gold rule with centre dot — echoes the logo lockup */
.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  margin: var(--sp-4) auto var(--sp-5);
  max-width: 220px;
}
.rule::before, .rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.rule span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.lede { font-size: clamp(1rem, 0.95rem + 0.4vw, 1.1875rem); line-height: 1.75; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.0625rem 2.125rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.28);
}
.btn--gold:hover {
  background: var(--gold-light);
  color: var(--navy);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.38);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gold);
}
.btn--outline:hover { background: var(--gold); color: var(--navy); }

.btn--sm { padding: 0.8125rem 1.5rem; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  text-decoration: none;
}
.link-arrow svg { transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              height var(--dur) var(--ease);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 21, 39, 0.72), rgba(7, 21, 39, 0));
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.header.is-stuck {
  height: 72px;
  background: var(--navy);
  box-shadow: 0 2px 24px rgba(7, 21, 39, 0.35);
}
.header.is-stuck::before { opacity: 0; }

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  position: relative;
  z-index: 1;
}

.brand { display: flex; align-items: center; gap: var(--sp-3); text-decoration: none; flex: none; }
.brand__mark { width: 46px; height: 46px; flex: none; transition: width var(--dur) var(--ease), height var(--dur) var(--ease); }
.is-stuck .brand__mark { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.brand__tag {
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 5px;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 0.3rem + 1.4vw, 2rem); }
.nav a:not(.btn) {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  padding: var(--sp-2) 0;
  position: relative;
  white-space: nowrap;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--dur) var(--ease);
}
.nav a:not(.btn):hover { color: var(--white); }
.nav a:not(.btn):hover::after,
.nav a:not(.btn)[aria-current="page"]::after { width: 100%; }
.nav a:not(.btn)[aria-current="page"] { color: var(--gold); }

/* Phone number: drawer only. It does not fit the desktop row (the header caps at
   1144px of usable width), and thumb-reach calling is a mobile behaviour anyway. */
.nav__tel { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
  flex: none;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--white);
  margin: 5px 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Drawer below 1200px: the six-link desktop row needs about that much room. Keep in
   step with the min-width query in main.js. */
@media (max-width: 1199px) {
  /* The toggle needs main.js, so without JS it stays hidden rather than showing a
     dead button. The footer's Explore links still reach every section. */
  .js .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    padding: var(--sp-4) var(--gutter) var(--sp-7);
    border-top: 1px solid var(--rule-on-navy);
    box-shadow: 0 20px 40px rgba(7, 21, 39, 0.4);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a:not(.btn) { padding: var(--sp-4) 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: var(--fs-small); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: var(--sp-5); }
  .nav a.nav__tel {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    color: var(--gold);
    letter-spacing: 0.08em;
    text-transform: none;
  }
  .nav a.nav__tel svg { width: 17px; height: 17px; flex: none; }
}

/* Phone landscape: the drawer is only ~270px tall there, which pushes the CTA
   below the fold. Tighten the rhythm so the primary action stays in view. */
@media (max-width: 1199px) and (max-height: 560px) {
  .nav { padding-block: var(--sp-3) var(--sp-4); }
  .nav a:not(.btn) { padding: var(--sp-3) 0; }
  .nav .btn { margin-top: var(--sp-3); }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* Slideshow: slides are stacked and only .is-active shows. The first slide is in the
   HTML; main.js adds the rest from data-slides, loading each just before it's due.
   The incoming slide fades in on top while the outgoing one (.is-leaving) stays
   put underneath, so the crossfade never dips to the navy background. */
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.hero__media img.is-active { opacity: 1; z-index: 1; }
.hero__media img.is-leaving { opacity: 1; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(100deg, rgba(7, 21, 39, 0.94) 0%, rgba(7, 21, 39, 0.80) 34%, rgba(7, 21, 39, 0.28) 62%, rgba(7, 21, 39, 0.42) 100%),
    linear-gradient(180deg, rgba(7, 21, 39, 0.5) 0%, transparent 26%, rgba(7, 21, 39, 0.55) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 660px; padding-block: var(--sp-9) var(--sp-8); }
.hero h1 {
  color: var(--white);
  font-size: var(--fs-hero);
  line-height: 1.04;
  margin-bottom: var(--sp-5);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.hero h1 span { display: block; }
.hero__sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 0.95rem + 0.45vw, 1.25rem);
  line-height: 1.65;
  max-width: 46ch;
  margin-bottom: var(--sp-6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: var(--sp-5);
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.55);
  display: grid;
  place-items: center;
  gap: var(--sp-2);
  font-size: 0.5625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
}
.hero__scroll:hover { color: var(--gold); }
.hero__scroll svg { animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50%      { transform: translateY(5px); opacity: 1; }
}
@media (max-width: 640px) { .hero__scroll { display: none; } }

/* Pause/play for the slideshow (WCAG 2.2.2). Hidden until main.js starts the show;
   lines up with the right edge of the content column. */
.hero__pause {
  position: absolute;
  right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  bottom: var(--sp-5);
  z-index: 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(7, 21, 39, 0.35);
  color: var(--white);
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.hero__pause:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.hero__pause svg { width: 14px; height: 14px; }
.hero__pause[hidden] { display: none; }

/* --------------------------------------------------------------------------
   8. Pillars band (navy, four columns with gold dividers)
   -------------------------------------------------------------------------- */
.pillars {
  background: var(--navy);
  border-top: 1px solid var(--rule-on-navy);
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.pillar {
  padding: clamp(2rem, 1.2rem + 2.4vw, 3.25rem) clamp(1rem, 0.4rem + 1.6vw, 2rem);
  text-align: center;
  border-left: 1px solid var(--rule-on-navy);
  transition: background var(--dur) var(--ease);
}
.pillar:first-child { border-left: 0; }
.pillar:hover { background: var(--navy-lift); }
.pillar__icon { color: var(--gold); margin: 0 auto var(--sp-4); width: 40px; height: 40px; }
.pillar h3 {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--sp-3);
}
.pillar p {
  font-size: var(--fs-small);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
  margin: 0;
}
@media (max-width: 900px) {
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(3) { border-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--rule-on-navy); }
}
@media (max-width: 520px) {
  .pillars__grid { grid-template-columns: 1fr; }
  .pillar { border-left: 0; }
  .pillar:not(:first-child) { border-top: 1px solid var(--rule-on-navy); }
}

/* --------------------------------------------------------------------------
   9. Value grid ("Why Choose")
   -------------------------------------------------------------------------- */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 0.5rem + 2.4vw, 3rem);
}
.value { text-align: center; }
.value__icon { color: var(--gold-deep); margin: 0 auto var(--sp-4); width: 44px; height: 44px; }
.value h3 {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: var(--sp-3);
}
.value p { font-size: var(--fs-small); line-height: 1.65; margin: 0; }
@media (max-width: 860px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   10. Services cards
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  /* 320px floor keeps this at three columns in the 1240px container, so six
     services land as a clean 3x2 rather than a ragged 4+2. */
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.25rem, 0.6rem + 1.6vw, 2rem);
}
.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1.2rem + 1.2vw, 2.25rem);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.4);
}
.card:hover::before { transform: scaleX(1); }
.card__icon { color: var(--gold-deep); width: 34px; height: 34px; margin-bottom: var(--sp-4); }
.card h3 { font-size: var(--fs-h4); font-family: var(--font-display); margin-bottom: var(--sp-3); }
.card p { font-size: var(--fs-small); line-height: 1.65; margin: 0; }

/* Three cards: three across, then straight to one column, never a 2+1 row */
.cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .cards--three { grid-template-columns: 1fr; } }

/* Cards that aren't links shouldn't lift on hover as if they were */
.card--static:hover { transform: none; box-shadow: none; border-color: var(--rule); }
.card--static:hover::before { transform: scaleX(0); }

/* --------------------------------------------------------------------------
   11. Full-bleed CTA band
   -------------------------------------------------------------------------- */
.band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  text-align: center;
  isolation: isolate;
}
.band__media { position: absolute; inset: 0; z-index: -1; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 21, 39, 0.72), rgba(7, 21, 39, 0.58));
}
.band__inner {
  padding-block: clamp(4rem, 2.5rem + 6vw, 8rem);
  max-width: 780px;
  margin-inline: auto;
}
.band h2 {
  color: var(--white);
  margin-bottom: var(--sp-5);
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.band h2 span { display: block; }
.band p { color: rgba(255,255,255,0.86); margin-bottom: var(--sp-6); }

/* --------------------------------------------------------------------------
   12. Steps ("How it works")
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1rem, 0.3rem + 1.6vw, 2rem);
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent);
  opacity: 0.45;
}
.step { text-align: center; position: relative; }
.step__num {
  counter-increment: step;
  width: 52px; height: 52px;
  margin: 0 auto var(--sp-4);
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 1.125rem;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
/* Playfair's digits sit ~0.21em below the middle of their line box, so grid
   centring alone leaves them low in the circle. Nudge them back optically. */
.step__num::after { content: counter(step); transform: translateY(-0.21em); }
.step:hover .step__num { background: var(--gold); color: var(--navy); }
.step h3 {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: var(--sp-2);
}
.step p { font-size: var(--fs-small); line-height: 1.6; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
  .steps::before { display: none; }
}
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   13. Stats
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 0.5rem + 2vw, 3rem);
  text-align: center;
}
.stat__figure {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  line-height: 1;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}
.stat__label {
  font-size: var(--fs-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin: 0;
  text-wrap: balance;  /* two even lines rather than one word left on its own */
}
@media (max-width: 620px) { .stats { grid-template-columns: 1fr; gap: var(--sp-7); } }

/* --------------------------------------------------------------------------
   14. Founder / split feature
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }

/* isolation keeps the gold frame (z-index -1) above a cream section background */
.split__media { position: relative; isolation: isolate; }
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
}
/* Gold frame offset behind the portrait */
.split__media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}
/* About: the mission statement, set large and centred above the founder feature */
.mission {
  max-width: 36ch;
  margin: 0 auto var(--sp-5);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--navy);
}

/* Meet the Founder */
.founder { margin-top: var(--sp-9); }
.founder__name { font-size: var(--fs-h2); margin-bottom: var(--sp-2); }
.founder__creds {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: var(--sp-5);
}
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: var(--sp-7); }
  .split--reverse .split__media { order: 0; }
  .split__media { max-width: 380px; margin-inline: auto; }
  .split__media::before { inset: 14px -14px -14px 14px; }
}

/* --------------------------------------------------------------------------
   15. Destinations
   -------------------------------------------------------------------------- */
/* Explicit 3 / 2 / 1 columns, so six destinations always fill complete rows.
   (An auto-fit grid used to leave one card alone on a row.) */
.destinations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 0.5rem + 1.2vw, 1.5rem);
}
.dest {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 4;
  text-decoration: none;
  background: var(--navy);
}
.dest img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.dest:hover img { transform: scale(1.06); }
.dest::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,21,39,0) 35%, rgba(7,21,39,0.86) 100%);
}
.dest__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: var(--sp-5);
  color: var(--white);
}
.dest__label strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 2px;
}
/* Treatment tags. Every tag carries a leading dot, and the container's clip-path
   hides the one that would start each line, so a wrapped line never begins or
   ends on a stray "·". Keep whitespace between the tag spans in the HTML, or
   screen readers run the words together. */
.dest__tags {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  margin-left: -1.4em;
  clip-path: inset(0 0 0 1.4em);
  font-size: var(--fs-micro);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
}
.dest__tags span { white-space: nowrap; }
.dest__tags span::before {
  content: "·";
  content: "·" / "";
  display: inline-block;
  width: 1.4em;
  text-align: center;
}
@media (max-width: 760px) { .destinations { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 521px) {
  /* Two lines of room on every card, so country names line up across a row
     even when only some cards' tags wrap */
  .dest__tags { min-height: 3.4em; }
}
@media (max-width: 520px) { .destinations { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   16. Newsletter / forms
   -------------------------------------------------------------------------- */
.form-row {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  max-width: 520px;
}
.form-row .field { flex: 1 1 240px; }

label { display: block; font-size: var(--fs-micro); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-bottom: var(--sp-2); }

input[type="email"], input[type="text"], input[type="tel"], textarea, select {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1rem 1.125rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--gray-soft); }
/* A 2px ring in the focus colour (navy, or gold in the footer) with a soft gold halo */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 1px var(--focus), 0 0 0 5px rgba(212, 175, 55, 0.3);
}

.form-note { font-size: var(--fs-micro); color: var(--gray-soft); margin-top: var(--sp-3); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --------------------------------------------------------------------------
   16b. FAQ accordion
   -------------------------------------------------------------------------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: var(--sp-5) 3rem var(--sp-5) 0;
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  color: var(--navy);
  transition: color var(--dur) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-text); }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 11px; height: 11px;
  margin-top: -8px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details > div {
  padding: 0 3rem var(--sp-5) 0;
  font-size: var(--fs-small);
  line-height: 1.75;
}
.faq details > div ul,
.faq details > div ol { margin-top: var(--sp-2); }
.faq details > div li { margin-bottom: var(--sp-1); }

/* FAQ page: questions grouped under small headings */
.faq-group + .faq-group { margin-top: var(--sp-8); }
.faq-group h2 { font-size: var(--fs-h3); margin-bottom: var(--sp-5); }
.faq__source { display: block; margin-top: var(--sp-2); font-size: var(--fs-micro); color: var(--gray-soft); }
.faq__source a { color: inherit; }

/* --------------------------------------------------------------------------
   17. Trust bar
   -------------------------------------------------------------------------- */
.trustbar {
  background: var(--navy-deep);
  border-top: 1px solid var(--rule-on-navy);
  border-bottom: 1px solid var(--rule-on-navy);
}
.trustbar__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-4);
  padding-block: var(--sp-6);
}
.trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: left;
}
.trust svg { color: var(--gold); flex: none; width: 26px; height: 26px; }
@media (max-width: 1000px) {
  .trustbar__grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
  .trust:last-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .trustbar__grid { grid-template-columns: 1fr; }
  .trust { justify-content: flex-start; }
  .trust:last-child { grid-column: auto; }
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.66);
  font-size: var(--fs-small);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  padding-block: var(--sp-8) var(--sp-7);
}
.footer h4 {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-4);
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); }
.footer a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__brand .brand { margin-bottom: var(--sp-4); }
.footer__brand p { max-width: 34ch; line-height: 1.7; }

.contact-list { display: grid; gap: var(--sp-3); }
.contact-list li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.contact-list svg { color: var(--gold); flex: none; margin-top: 3px; width: 16px; height: 16px; }

.socials { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); }
.socials a {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule-on-navy);
  border-radius: 50%;
  color: var(--gold);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.socials a:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-micro);
}
.footer__bottom p { margin: 0; }
.footer__tagline { color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; }
.footer__disclaimer {
  padding-bottom: var(--sp-6);
  font-size: var(--fs-micro);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);  /* 6.7:1 on navy. This is the legal disclaimer; keep it legible */
  max-width: 90ch;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   19. Service detail page
   -------------------------------------------------------------------------- */

/* Compact navy page header. Pads past the fixed site header rather than
   relying on a full-height hero, so interior pages start close to content. */
.pagehead {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding-block: calc(var(--header-h) + var(--sp-7)) var(--sp-8);
  text-align: center;
}
.pagehead h1 { color: var(--white); margin-bottom: 0; }
.pagehead .eyebrow { color: var(--gold); }
.pagehead .lede { color: rgba(255, 255, 255, 0.82); max-width: 60ch; margin-inline: auto; }

/* Jump links to each service on the page */
.svc-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-7);
}
.svc-jump a {
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.625rem 1.125rem;
  border: 1px solid var(--rule-on-navy);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.svc-jump a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

/* One service: prose beside its facts panel, sides alternating down the page */
.svc {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 1rem + 3.5vw, 4.5rem);
  align-items: start;
}
.svc--reverse .svc__body { order: 2; }
.svc__icon {
  color: var(--gold-deep);
  width: 40px;
  height: 40px;
  margin-bottom: var(--sp-5);
}
@media (max-width: 880px) {
  .svc { grid-template-columns: 1fr; gap: var(--sp-6); }
  .svc--reverse .svc__body { order: 0; }
}

/* Left-aligned variant of the gold centre-dot rule */
.rule--left { margin-inline: 0; }

/* "Medical Tourism Facts" panel */
.facts {
  background: var(--cream-warm);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: clamp(1.5rem, 1.1rem + 1vw, 2rem);
}
.section--cream .facts { background: var(--white); }
.facts__title {
  font-size: var(--fs-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: var(--sp-4);
}
.facts__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-4);
}
.facts__list li {
  position: relative;
  padding-left: var(--sp-5);
  font-size: var(--fs-small);
  line-height: 1.65;
}
.facts__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.facts__list strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
}

/* Home page service cards, now linking through to this page */
.card--link { display: block; text-decoration: none; }
.card--link,
.card--link:hover { color: var(--text); }
.card--link h3 { color: var(--navy); }

/* --------------------------------------------------------------------------
   19b. Confirmation pages
   Where the forms land: thank-you.html (consultation) and subscribed.html
   (newsletter). A single centred message on navy.
   -------------------------------------------------------------------------- */
.confirm { background: var(--navy); }
.thanks {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--sp-7) var(--gutter);
}
.thanks__inner { max-width: 620px; }
.thanks .mark { width: 92px; height: auto; margin: 0 auto var(--sp-5); }
.thanks .eyebrow { color: var(--gold); }
.thanks h1 { color: var(--white); margin-bottom: var(--sp-4); }
.thanks p { color: rgba(255, 255, 255, 0.78); }
.thanks p a { color: var(--gold); }
.thanks__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

/* --------------------------------------------------------------------------
   19c. Legal pages (privacy.html, terms.html)
   Long-form text: left-aligned, comfortable measure, modest headings.
   -------------------------------------------------------------------------- */
.legal { max-width: 68ch; }
.legal__updated { font-size: var(--fs-small); color: var(--gray-soft); margin-bottom: var(--sp-6); }
.legal h2 { font-size: var(--fs-h3); margin: var(--sp-7) 0 var(--sp-3); }
.legal ul { display: grid; gap: var(--sp-2); }
.legal strong { color: var(--navy); font-weight: 600; }

/* --------------------------------------------------------------------------
   20. Scroll reveal
   -------------------------------------------------------------------------- */
/* Hidden only once the inline script in each page's <head> has put .js on <html>,
   so content stays visible with JavaScript off. If main.js fails to load, the
   onerror on its script tag removes .js again. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   21. Print
   -------------------------------------------------------------------------- */
@media print {
  .header, .hero__scroll, .nav-toggle, .band__media, .socials { display: none !important; }
  body { color: #000; background: #fff; }
  .section--navy, .footer, .pillars, .trustbar { background: #fff !important; color: #000 !important; }
  /* Sections the reader hasn't scrolled to yet would otherwise print blank */
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
