/* ═══════════════════════════════════════════════
   TOP OF THE SOUTH CARDIOLOGY — Shared Stylesheet
   ═══════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --bg:           #FDFAF5;
  --surface:      #F5F0E8;
  --surface-mid:  #EDE5D8;
  --ink:          #231E1A;
  --ink-mid:      #6B5E56;
  --ink-light:    #9B8E87;
  --crimson:      #8B1A2E;
  --crimson-deep: #6E1423;
  --gold:         #9A7A48;
  --border:       #DDD5C8;
  --white:        #FFFFFF;
  --shadow-sm:    0 1px 8px rgba(35,30,26,0.07);
  --shadow:       0 2px 20px rgba(35,30,26,0.09);
  --shadow-lg:    0 8px 48px rgba(35,30,26,0.13);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; padding: 0; }
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
}

/* ─── NAV ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 84px; width: auto; object-fit: contain; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  flex-shrink: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-mid);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta {
  background: var(--crimson);
  color: white;
  padding: 9px 20px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}
.nav-links .nav-cta:hover { background: var(--crimson-deep); color: white; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 8px 0 20px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 14px 24px;
  font-size: 15px;
  color: var(--ink-mid);
  border-bottom: 1px solid var(--surface-mid);
  transition: color 0.2s;
}
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile a:hover { color: var(--ink); }
.nav-mobile .nav-cta-mobile {
  margin: 16px 24px 0;
  display: block;
  background: var(--crimson);
  color: white;
  border-radius: 4px;
  padding: 13px 24px;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  border-bottom: none;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 4px;
  padding: 12px 24px;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--crimson); color: white; }
.btn-primary:hover { background: var(--crimson-deep); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-crimson { background: transparent; color: var(--crimson); border: 1.5px solid var(--crimson); }
.btn-outline-crimson:hover { background: var(--crimson); color: white; }
.btn-text { background: transparent; color: var(--crimson); padding: 0; font-weight: 500; }
.btn-text:hover { opacity: 0.7; }
.btn svg { flex-shrink: 0; }
.btn-lg { padding: 15px 32px; font-size: 15px; }

/* ─── LAYOUT ─── */
.section-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.eyebrow-crimson { color: var(--crimson); }
.section h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 20px; }
.lead {
  font-size: 17.5px;
  color: var(--ink-mid);
  line-height: 1.7;
  max-width: 560px;
}
.divider {
  width: 40px;
  height: 1.5px;
  background: var(--crimson);
  margin: 28px 0;
}

/* ─── HOMEPAGE HERO (dark panel, team photo as a card) ─── */
.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 108px 40px 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  align-items: center;
}
/* Card ratio tracks the team photo's own 1424x747 (1.906) so nobody is cropped off
   the sides. The slight extra width leaves ~1.9% of vertical slack top and bottom —
   just enough for the parallax to travel without exposing a gap or clipping heads. */
.hero-card {
  aspect-ratio: 1.98 / 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  will-change: transform;
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
html.js .hero-content .eyebrow       { animation: hero-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both; }
html.js .hero-content h1             { animation: hero-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both; }
html.js .hero-content p              { animation: hero-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.34s both; }
html.js .hero-content .hero-actions  { animation: hero-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.46s both; }
.hero-content .eyebrow { color: rgba(255,255,255,0.7); margin-bottom: 12px; }
.hero-motif {
  position: absolute;
  left: -240px;
  bottom: -280px;
  width: 660px;
  height: 660px;
  z-index: 0;
  pointer-events: none;
  color: var(--gold-light, #CDAF84);
  opacity: 0.3;
}
.hero-motif svg { width: 100%; height: 100%; display: block; }
.hero-motif circle {
  stroke: currentColor;
  stroke-linecap: round;
  transform-origin: 50% 50%;
  transform-box: view-box;
  animation: motif-spin var(--spin, 80s) linear infinite;
}
.hero-motif .m-r1 { --spin: 110s; }
.hero-motif .m-r2 { --spin: 95s; animation-direction: reverse; }
.hero-motif .m-r3 { --spin: 82s; }
.hero-motif .m-r4 { --spin: 70s; animation-direction: reverse; }
.hero-motif .m-r5 { --spin: 60s; }
.hero-motif .m-r6 { --spin: 52s; animation-direction: reverse; }
.hero-motif .m-r7 { --spin: 45s; }
.hero-motif .m-r8 { --spin: 38s; animation-direction: reverse; }
@keyframes motif-spin { to { transform: rotate(360deg); } }
.hero-content h1 {
  font-size: clamp(2.6rem, 4.2vw, 4.6rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: white;
}
.hero-content h1 em { font-style: italic; color: var(--gold-light, #CDAF84); }
.hero-content p {
  font-size: 15.5px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 26px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-outline-light {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-outline-light:hover { border-color: white; }

/* ─── THREE DOORS ─── */
.three-doors {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 88px 40px;
}
.three-doors-inner { max-width: 1280px; margin: 0 auto; }
.three-doors-header { margin-bottom: 48px; }
.three-doors-header h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
.three-doors-header p { font-size: 16px; color: var(--ink-mid); max-width: 480px; margin-top: 12px; }
.doors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.door {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 44px 36px 36px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.22s;
  position: relative;
}
.door::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--crimson);
  border-radius: 6px 0 0 6px;
  opacity: 0;
  transition: opacity 0.22s;
}
.door:hover { box-shadow: var(--shadow-lg); border-color: rgba(139,26,46,0.25); transform: translateY(-3px); }
.door:hover::before { opacity: 1; }
.door-icon {
  width: 48px;
  height: 48px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--crimson);
  flex-shrink: 0;
}
.door h3 {
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 14px;
}
.door p {
  font-size: 14.5px;
  color: var(--ink-mid);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 32px;
}
.door-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--crimson);
  letter-spacing: 0.02em;
}
.door-link svg { transition: transform 0.2s; }
.door:hover .door-link svg { transform: translateX(4px); }

/* ─── REASSURANCE BAR ─── */
.reassurance-bar {
  background: var(--crimson);
  padding: 0 40px;
}
.reassurance-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.reassurance-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 32px 48px 32px 0;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.reassurance-item:first-child { padding-left: 0; }
.reassurance-item:nth-child(2) { padding-left: 48px; }
.reassurance-item:last-child { border-right: none; padding-left: 48px; }
.reassurance-icon { color: rgba(255,255,255,0.8); flex-shrink: 0; margin-top: 2px; }
.reassurance-text strong {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: white;
  margin-bottom: 3px;
}
.reassurance-text span { font-size: 13.5px; color: rgba(255,255,255,0.68); line-height: 1.5; }

/* ─── TEAM PREVIEW ─── */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.team-photo-wrap { position: relative; border-radius: 6px; overflow: hidden; }
/* Natural height: this group photo runs people right to both edges, so any fixed
   height plus object-fit:cover would crop someone out. */
.team-photo-wrap img { width: 100%; height: auto; display: block; }
.team-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1.45;
  padding-left: 24px;
  border-left: 2px solid var(--crimson);
  margin-bottom: 32px;
  max-width: 460px;
}
.team-text p {
  font-size: 16.5px;
  color: var(--ink-mid);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 460px;
}

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--ink);
}
.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 56px 40px;
  border-right: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 500;
  color: var(--gold-light, #CDAF84);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 11.5px;
  color: rgba(255,255,255,0.55);
  margin-top: 12px;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ─── REGION PARALLAX ─── */
.region-section {
  position: relative;
  height: 460px;
  overflow: hidden;
}
.region-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.region-media img,
.region-media video {
  position: absolute;
  top: -12%;
  left: 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .region-media img,
  .region-media video { transform: none !important; top: 0; height: 100%; }
}
.region-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(35,30,26,0.75) 38%, rgba(35,30,26,0.2) 80%);
}
.region-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.region-content .eyebrow { color: rgba(255,255,255,0.55); margin-bottom: 12px; }
.region-content h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); color: white; max-width: 480px; margin-bottom: 14px; }
.region-content p { font-size: 16px; color: rgba(255,255,255,0.72); max-width: 400px; line-height: 1.65; }
.region-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 9px 16px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  background: rgba(22,16,14,0.35);
  backdrop-filter: blur(4px);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.85);
  align-self: flex-start;
}
.region-location svg { flex-shrink: 0; color: var(--gold-light, #CDAF84); }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 72px 0 80px;
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-light);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--ink-light); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb-sep { color: var(--border); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); margin-bottom: 22px; max-width: 680px; line-height: 1.07; }
.page-hero h1:last-child { margin-bottom: 0; }
.page-hero .lead { max-width: 620px; }
.page-hero .chip-row { margin-top: 36px; }

/* ─── INFO CALLOUT ─── */
.callout {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-left: 3px solid var(--crimson);
  border-radius: 4px;
  padding: 28px 32px;
}
.callout-green {
  background: #F0F7F0;
  border-color: #B8D8B8;
  border-left-color: #3A7A3A;
}
.callout h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.callout p { font-size: 14.5px; color: var(--ink-mid); line-height: 1.65; }

/* ─── STEPS ─── */
.steps-list { display: flex; flex-direction: column; }
.step-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step-row:first-child { padding-top: 0; }
.step-row:last-child { border-bottom: none; }
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--crimson);
  color: white;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-content h3 { font-size: 1.45rem; margin-bottom: 8px; }
.step-content p { font-size: 15px; color: var(--ink-mid); line-height: 1.65; max-width: 560px; }

/* ─── TEST CARDS ─── */
.tests-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.test-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.test-card:hover { box-shadow: var(--shadow); border-color: rgba(139,26,46,0.2); }
.test-tag {
  display: inline-block;
  background: var(--surface);
  border-radius: 3px;
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mid);
  align-self: flex-start;
}
.test-card h3 { font-size: 1.6rem; line-height: 1.2; }
.test-card .desc { font-size: 15px; color: var(--ink-mid); line-height: 1.65; }
.test-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.test-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.4;
}
.test-meta-item svg { color: var(--crimson); flex-shrink: 0; margin-top: 2px; }
.test-meta-label { font-weight: 500; color: var(--ink); display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }

/* ─── FAQ / ACCORDION ─── */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--crimson); }
.faq-q svg { flex-shrink: 0; transition: transform 0.22s; color: var(--ink-light); }
.faq-item.open .faq-q { color: var(--crimson); }
.faq-item.open .faq-q svg { transform: rotate(90deg); color: var(--crimson); }
.faq-a {
  display: none;
  padding: 0 48px 24px 0;
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* ─── TWO-COLUMN CONTENT ─── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
/* Narrow intro column beside a longer list (steps, FAQ) */
.aside-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }

/* ─── FEATURE CARD ─── */
.feature-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 36px;
}
.feature-card-icon {
  width: 44px;
  height: 44px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--crimson);
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--ink-mid); line-height: 1.65; }

/* ─── LOCATION CARD ─── */
.location-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.location-card-head {
  background: var(--surface);
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
}
.location-card-head h3 { font-size: 1.5rem; margin-bottom: 4px; }
.location-card-head span { font-size: 13px; color: var(--ink-mid); }
.location-card-body { padding: 28px 32px; }
.location-detail {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14.5px;
  color: var(--ink-mid);
  line-height: 1.5;
}
.location-detail:last-child { margin-bottom: 0; }
.location-detail svg { color: var(--crimson); flex-shrink: 0; margin-top: 2px; }

/* ─── FOOTER ─── */
.footer {
  background: var(--ink);
  padding: 72px 0 48px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
}
.footer-brand img { height: 78px; width: auto; object-fit: contain; margin-bottom: 24px; opacity: 0.9; }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,0.5); line-height: 1.65; max-width: 260px; }
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-col p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.6; margin-bottom: 8px; }
.footer-col p a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col p a:hover { color: white; }
/* Each cardiologist heads their own contact block, so email and phone sit under the right name. */
.footer-doc {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  margin-top: 22px;
  margin-bottom: 6px !important;
}
.footer-col .footer-doc:first-of-type { margin-top: 0; }
.footer-postal { margin-top: 22px; }
.footer-bottom {
  max-width: 1280px;
  margin: 48px auto 0;
  padding: 24px 40px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.28);
}

/* ─── UX POLISH ─── */
[id] { scroll-margin-top: 120px; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 3px;
  border-radius: 2px;
}
.section-head { margin-bottom: 48px; max-width: 760px; }
.section-head .lead { margin-top: 4px; }

/* ─── MEDIA CARD (image-topped feature card) ─── */
.media-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.media-card > img { width: 100%; height: 220px; object-fit: cover; }
.media-card-body { padding: 26px 30px 30px; }
.media-card-body h3 { font-size: 1.35rem; margin-bottom: 8px; }
.media-card-body p { font-size: 14.5px; color: var(--ink-mid); line-height: 1.65; }

/* ─── SERVICE ROWS (homepage newest services) ─── */
.services-list { display: grid; gap: 20px; }
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.service-row > img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.service-row-body {
  padding: 40px 48px;
  align-self: center;
}
.service-row h3 { font-size: 1.6rem; margin-bottom: 10px; }
.service-row p { font-size: 15px; color: var(--ink-mid); line-height: 1.65; }
a.service-row {
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}
a.service-row:hover { box-shadow: var(--shadow-lg); border-color: rgba(139,26,46,0.25); transform: translateY(-3px); }
.service-row .door-link { margin-top: 18px; }
.service-row:hover .door-link svg { transform: translateX(4px); }

/* ─── ANCHOR CHIPS ─── */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mid);
  letter-spacing: 0.03em;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.chip:hover { border-color: var(--crimson); color: var(--crimson); }

/* ─── DETAIL ROWS (tests / procedures) ─── */
.detail-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.detail-row:last-child { border-bottom: none; }
.detail-row > img { width: 100%; border-radius: 6px; box-shadow: var(--shadow-sm); }
.detail-row h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 6px; }
.detail-row .subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-mid);
  margin-bottom: 14px;
  display: block;
}
.detail-row p { font-size: 15.5px; color: var(--ink-mid); line-height: 1.7; margin-bottom: 14px; max-width: 640px; }
.detail-row p:last-child { margin-bottom: 0; }
.detail-row ul { margin: 0 0 14px 20px; }
.detail-row li { font-size: 15.5px; color: var(--ink-mid); line-height: 1.7; }
.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--crimson);
  border: 1.5px solid rgba(139,26,46,0.35);
  border-radius: 4px;
  padding: 10px 18px;
  margin-top: 6px;
  transition: background 0.2s, color 0.2s;
}
.pdf-link:hover { background: var(--crimson); color: white; }

/* ─── HOME EXPLORE DOORS (label-only variant) ─── */
.doors-grid-2row .door { padding: 36px 32px 30px; }
.doors-grid-2row .door h3 { flex: 1; margin-bottom: 24px; font-size: 1.5rem; }
.doors-grid-2row .door-icon { margin-bottom: 22px; }

/* ─── VIDEO EMBED ─── */
.video-embed {
  position: relative;
  padding-top: 56.25%;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─── PARTNER ICONS ─── */
.partner-row {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 180px;
  text-align: center;
}
.partner img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.partner:hover img { transform: translateY(-4px); box-shadow: var(--shadow); }
.partner span { font-size: 13.5px; font-weight: 500; color: var(--ink-mid); letter-spacing: 0.02em; }

/* ─── WHY LIST ─── */
.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  list-style: none;
}
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15.5px;
  color: var(--ink-mid);
  line-height: 1.5;
}
.why-list svg { color: var(--crimson); flex-shrink: 0; margin-top: 4px; }

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { padding: 0 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 88px 24px 64px; }
  .hero-content h1 { font-size: clamp(2.7rem, 10vw, 4.2rem); }
  .hero-motif { left: auto; right: -220px; top: -240px; bottom: auto; width: 500px; height: 500px; }
  .three-doors { padding: 56px 24px; }
  .doors-grid { grid-template-columns: 1fr; gap: 16px; }
  .door { padding: 32px 28px; }
  .reassurance-bar { padding: 0 24px; }
  .reassurance-inner { grid-template-columns: 1fr; }
  .reassurance-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 22px 0; }
  .reassurance-item:last-child { border-bottom: none; }
  .reassurance-item:nth-child(2),
  .reassurance-item:last-child { padding-left: 0; }
  .team-grid { grid-template-columns: 1fr; gap: 40px; }
  .team-photo-wrap img { height: auto; }
  .stats-inner { grid-template-columns: 1fr 1fr; padding: 0 24px; }
  .stat { padding: 36px 20px; }
  .stat:nth-child(even) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.12); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; padding: 0 24px; }
  .footer-bottom { padding: 24px 24px 0; }
  .section-wrap { padding: 0 24px; }
  .region-content { padding: 0 24px; }
  .page-hero { padding: 52px 0 60px; }
  .page-hero-inner { padding: 0 24px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .aside-grid { grid-template-columns: 1fr; gap: 36px; }
  .three-col { grid-template-columns: 1fr; gap: 20px; }
  .tests-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-sm { padding: 44px 0; }
  .detail-row { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .detail-row > img { max-width: 440px; }
  .why-list { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .service-row > img { height: auto; aspect-ratio: 16 / 9; }
  .service-row-body { padding: 28px 24px 32px; }
}

@media (max-width: 640px) {
  /* Keep the enlarged logo prominent without letting the sticky bar eat the screen */
  .nav-inner { height: 78px; }
  .nav-logo img { height: 62px; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .region-section { height: 360px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .test-meta { grid-template-columns: 1fr; }
  .partner-row { gap: 28px; }
  /* Reduce internal card padding so content breathes on narrow screens */
  .feature-card { padding: 24px 20px; }
  .location-card-head { padding: 20px 20px; }
  .location-card-body { padding: 20px 20px; }
  .callout { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
