/* ==========================================================================
   MedBridge China — Design System
   Clean, calm, trust-first aesthetic for international medical travelers.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette */
  --navy:        #0C3B5D;
  --navy-deep:   #082B45;
  --navy-soft:   #EAF1F6;
  --teal:        #1B7F8E;
  --teal-soft:   #E6F3F4;
  --gold:        #BC9253;
  --gold-soft:   #F6EFE3;

  /* Neutrals */
  --ink:         #17242F;
  --ink-soft:    #44586A;
  --muted:       #6B7E8E;
  --line:        #E3E9EF;
  --line-soft:   #EEF2F6;
  --bg:          #FBFCFD;
  --white:       #FFFFFF;

  /* Typography */
  --font-display: "Fraunces", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont,
                  "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1160px;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(12, 59, 93, 0.06);
  --shadow:    0 10px 30px -12px rgba(12, 59, 93, 0.18);
  --shadow-lg: 0 24px 60px -24px rgba(12, 59, 93, 0.28);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.18;
  color: var(--navy);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }

::selection { background: var(--teal-soft); color: var(--navy-deep); }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--tint { background: var(--navy-soft); }
.section--white { background: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.lead {
  font-size: 1.16rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--navy-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--gold {
  background: var(--gold);
  color: #fff;
}
.btn--gold:hover {
  background: #A57C3F;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn--light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.btn--light:hover { background: rgba(255,255,255,0.2); color: #fff; }

.btn--text {
  padding: 0;
  border: none;
  background: none;
  color: var(--teal);
  font-weight: 600;
}
.btn--text:hover { color: var(--navy); }
.btn--text .arrow { transition: transform 0.25s var(--ease); }
.btn--text:hover .arrow { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 252, 253, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--navy); }
.brand__mark { flex: 0 0 auto; }
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 500;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--navy); }
.nav__links a[aria-current="page"] {
  position: relative;
}
.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.nav__actions { display: flex; align-items: center; gap: 1rem; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: var(--white);
}
.lang-switch a {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.lang-switch a:hover { color: var(--navy); }
.lang-switch a.is-active {
  background: var(--navy);
  color: #fff;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(27, 127, 142, 0.16), transparent 62%),
    radial-gradient(900px 480px at -12% 112%, rgba(188, 146, 83, 0.12), transparent 60%),
    linear-gradient(180deg, #F4F8FB 0%, #FBFCFD 78%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(12, 59, 93, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 59, 93, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 480px at 70% 10%, #000 30%, transparent 76%);
  -webkit-mask-image: radial-gradient(900px 480px at 70% 10%, #000 30%, transparent 76%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(4rem, 8vw, 6rem);
}

.hero__title { margin-bottom: 1.2rem; }
.hero__title em {
  font-style: normal;
  color: var(--teal);
  position: relative;
  white-space: nowrap;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.32em;
  background: linear-gradient(90deg, rgba(188,146,83,0.34), rgba(188,146,83,0.08));
  border-radius: 3px;
  z-index: -1;
}

.hero__sub {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 2.2rem;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.4rem; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 0;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero__trust svg { color: var(--teal); flex: 0 0 auto; }

/* Hero panel card */
.hero__panel {
  position: relative;
}
.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2rem 1.9rem 1.8rem;
  position: relative;
  z-index: 2;
}
.hero-card__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 1.2rem;
  margin-bottom: 1.3rem;
  border-bottom: 1px solid var(--line-soft);
}
.hero-card__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--teal-soft);
  display: grid;
  place-items: center;
  color: var(--teal);
  flex: 0 0 auto;
}
.hero-card__head strong { display: block; font-size: 0.98rem; color: var(--navy); }
.hero-card__head span { font-size: 0.8rem; color: var(--muted); }

.hero-card__steps { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.hero-card__steps li {
  display: flex;
  gap: 0.9rem;
  padding: 0.72rem 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
  align-items: flex-start;
}
.hero-card__steps li + li { border-top: 1px dashed var(--line); }
.hero-card__steps b { color: var(--navy); font-weight: 600; }
.step-dot {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.hero-card__note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
}
.hero-card__note svg { color: var(--teal); flex: 0 0 auto; }

.hero__badge {
  position: absolute;
  z-index: 3;
  right: -14px;
  top: -22px;
  background: var(--gold);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.8rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
  box-shadow: var(--shadow);
  max-width: 200px;
}
.hero__badge small { display: block; font-weight: 500; opacity: 0.92; }

/* ---------- Trust bar ---------- */
.trustbar {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--white);
}
.trustbar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.9rem 0;
}
.trustbar__item { text-align: center; }
.trustbar__num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
}
.trustbar__label {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- Cards: services ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.8rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(27, 127, 142, 0.35);
}

.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}
.card__icon--gold { background: var(--gold-soft); color: var(--gold); }
.card__icon--navy { background: var(--navy-soft); color: var(--navy); }

.card h3 { margin-bottom: 0.55rem; }
.card p { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 0.9rem; }

.card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.card__list li {
  display: flex;
  gap: 0.6rem;
  padding: 0.3rem 0;
  align-items: flex-start;
}
.card__list svg { color: var(--teal); flex: 0 0 auto; margin-top: 4px; }

.card--feature { border-top: 3px solid var(--gold); }

/* ---------- Steps timeline ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps--horizontal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.steps__item { position: relative; }
.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.steps--horizontal .steps__item::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 58px;
  right: -1.5rem;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.steps--horizontal .steps__item:last-child::after { display: none; }
.steps__item h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.steps__item p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* Vertical timeline (How it works page) */
.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 2.4rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal), var(--gold));
  border-radius: 2px;
  opacity: 0.4;
}
.timeline__item { position: relative; padding: 0 0 2.6rem 1.6rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__num {
  position: absolute;
  left: -2.4rem;
  top: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--teal);
  color: var(--teal);
  font-family: var(--font-display);
  font-weight: 600;
  display: grid;
  place-items: center;
}
.timeline__item h3 { margin-bottom: 0.4rem; }
.timeline__item p { color: var(--ink-soft); font-size: 0.96rem; max-width: 56rem; margin-bottom: 0.6rem; }
.timeline__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
}
.tag--gold { color: var(--gold); background: var(--gold-soft); }
.tag--navy { color: var(--navy); background: var(--navy-soft); }

/* ---------- Split feature rows ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }

.feature-list { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.feature-list li {
  display: flex;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: flex-start;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .check {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-top: 3px;
}
.feature-list b { color: var(--navy); }
.feature-list p { margin: 0.15rem 0 0; font-size: 0.92rem; color: var(--ink-soft); }

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy) 0%, #11456B 55%, var(--teal) 130%);
  min-height: 380px;
  display: grid;
  place-items: center;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.media-frame--soft {
  background:
    radial-gradient(600px 300px at 20% 10%, rgba(27,127,142,0.14), transparent 60%),
    var(--white);
  border: 1px solid var(--line);
}
.media-frame__stat {
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
}
.media-frame__stat .big {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.4rem);
  font-weight: 600;
  line-height: 1;
}
.media-frame__stat .cap {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-top: 0.6rem;
}
.media-frame__ring {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
}
.media-frame__ring--1 { width: 420px; height: 420px; }
.media-frame__ring--2 { width: 620px; height: 620px; }
.media-frame__ring--3 { width: 820px; height: 820px; }

/* ---------- Hospital list ---------- */
.hospital-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.hospital-chip {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.hospital-chip svg { color: var(--gold); flex: 0 0 auto; }
.hospital-chip b { color: var(--navy); display: block; font-size: 0.92rem; }
.hospital-chip span { font-size: 0.78rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.8rem;
  display: flex;
  flex-direction: column;
}
.quote__stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 1rem; }
.quote p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  flex: 1;
  font-style: italic;
}
.quote__who {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-soft);
}
.quote__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy-soft);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}
.quote__who b { display: block; font-size: 0.9rem; color: var(--navy); }
.quote__who span { font-size: 0.78rem; color: var(--muted); }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-item[open] { border-color: rgba(27,127,142,0.4); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--navy-soft);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 500;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.faq-item[open] summary::after {
  content: "–";
  background: var(--teal);
  color: #fff;
  transform: rotate(180deg);
}
.faq-item__body {
  padding: 0 1.5rem 1.4rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.faq-item__body p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 52%, #124A70 100%);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 4.5rem);
  color: #fff;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 50%;
  right: -180px; top: -260px;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 760px; height: 760px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 50%;
  right: -280px; top: -360px;
}
.cta-band__inner { position: relative; z-index: 1; max-width: 640px; }
.cta-band h2 { color: #fff; margin-bottom: 0.7rem; }
.cta-band p { color: rgba(255,255,255,0.82); font-size: 1.05rem; margin-bottom: 1.8rem; }
.cta-band .btn--gold { box-shadow: var(--shadow-lg); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  margin-top: clamp(4.5rem, 9vw, 7.5rem);
}
.site-footer a { color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: #fff; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding: 4rem 0 3rem;
}
.footer__brand .brand { color: #fff; margin-bottom: 1rem; }
.footer__brand p { font-size: 0.87rem; line-height: 1.7; }

.footer__col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 0.6rem; }

.footer__disclaimer {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.6rem 0;
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.4rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer__bottom nav { display: flex; gap: 1.5rem; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-cards { list-style: none; margin: 0; padding: 0; }
.contact-cards li {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: flex-start;
}
.contact-cards li:last-child { border-bottom: none; }
.contact-cards .card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  margin: 0;
  flex: 0 0 auto;
}
.contact-cards b { display: block; color: var(--navy); font-size: 0.95rem; }
.contact-cards span { font-size: 0.87rem; color: var(--muted); }

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-sm);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__field { margin-bottom: 1.1rem; }
.form__field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.45rem;
}
.form__field label .req { color: #C0392B; }
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form__field textarea { resize: vertical; min-height: 130px; }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(27,127,142,0.12);
  background: var(--white);
}
.form__privacy {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0.9rem 0 1.2rem;
  line-height: 1.65;
}
.form__submit { width: 100%; }
.form__note {
  margin-top: 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: none;
}
.form__note.is-visible { display: block; }
.form__note.is-success { background: var(--teal-soft); color: var(--navy); border: 1px solid rgba(27,127,142,0.3); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(900px 380px at 85% -20%, rgba(27,127,142,0.14), transparent 60%),
    linear-gradient(180deg, #F3F7FA 0%, var(--bg) 100%);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}
.page-hero h1 { max-width: 18ch; margin-bottom: 0.8rem; }
.page-hero .lead { max-width: 46rem; }

.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  list-style: none;
  margin: 0 0 1.3rem;
  padding: 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--teal); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line); }

/* ---------- Content rich text ---------- */
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 2rem; font-size: 1.18rem; }
.prose ul { padding-left: 1.2rem; color: var(--ink-soft); }
.prose li { margin-bottom: 0.5rem; }
.prose strong { color: var(--navy); }

/* ---------- Values / about ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value {
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.value .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.8rem;
}
.value h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.value p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__panel { max-width: 520px; }
  .hero__badge { right: 0; }
  .grid-3, .value-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .steps--horizontal { grid-template-columns: repeat(2, 1fr); }
  .steps--horizontal .steps__item::after { display: none; }
  .hospital-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .nav { height: 66px; }
  .nav__links {
    position: fixed;
    inset: 66px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1.25rem 1.4rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
  }
  .nav__links.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav__links li { border-bottom: 1px solid var(--line-soft); }
  .nav__links li:last-child { border-bottom: none; }
  .nav__links a { display: block; padding: 0.9rem 0.2rem; font-size: 1rem; }
  .nav__links a[aria-current="page"]::after { display: none; }
  .nav__toggle { display: flex; }
  .nav__actions .btn { display: none; }

  .grid-3, .grid-2, .value-grid, .quote-grid, .hospital-grid,
  .steps--horizontal, .split, .contact-grid, .form__row,
  .trustbar__grid { grid-template-columns: 1fr; }

  .trustbar__grid { gap: 1.4rem; padding: 1.6rem 0; }
  .split--reverse .split__media { order: 0; }
  .media-frame { min-height: 280px; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0 2rem; }
  .footer__bottom { flex-direction: column; }
  .hero__badge { position: static; display: inline-block; margin-bottom: 1rem; max-width: none; }
  .timeline { padding-left: 1.8rem; }
  .timeline__num { left: -1.8rem; width: 38px; height: 38px; font-size: 0.9rem; }
  .timeline::before { left: 17px; }
}
