/* MedX Clinical Research — Styles */
:root {
  --navy: #0A2240;
  --navy-mid: #0d2d52;
  --gold: #D4A017;
  --gold-glow: rgba(212,160,23,0.25);
  --gold-dim: rgba(212,160,23,0.12);
  --offwhite: #FAFAF7;
  --white: #FFFFFF;
  --gray: #6B7280;
  --gray-light: #E5E7EB;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Source Sans 3', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--offwhite);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Global card outlines ──
   Navy outline by default on all content boxes; gold on hover.
   Dark-background cards (navy gradient, etc.) override this locally. */
.ai-card,
.cond-card,
.concept-card,
.diff-card,
.benefit-card,
.step-card,
.extra-item,
.right-item,
.faq-item,
.founder-card,
.leader-card,
.stat-card,
.ai-today-card,
.metric-card,
.reason-card,
.capability-card,
.layer-card,
.term-card,
.feat-item,
.stage-item,
.receive-item,
.team-card,
.timeline-card,
.lifecycle-node,
.roadmap-item,
.roadmap-content,
.step-item {
  border: 1.5px solid rgba(10, 34, 64, 0.22) !important;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.ai-card:hover,
.cond-card:hover,
.concept-card:hover,
.diff-card:hover,
.benefit-card:hover,
.step-card:hover,
.extra-item:hover,
.right-item:hover,
.faq-item:hover,
.founder-card:hover,
.leader-card:hover,
.stat-card:hover,
.ai-today-card:hover,
.metric-card:hover,
.reason-card:hover,
.capability-card:hover,
.layer-card:hover,
.term-card:hover,
.feat-item:hover,
.stage-item:hover,
.receive-item:hover,
.team-card:hover,
.timeline-card:hover,
.lifecycle-node:hover,
.roadmap-item:hover,
.roadmap-content:hover,
.step-item:hover {
  border-color: var(--gold) !important;
}
/* Open FAQ stays gold */
.faq-item[open] { border-color: var(--gold) !important; }
/* Dark-background cards keep their own styling — navy border would be invisible */
.aud-card.sponsor,
.eligibility-card,
.stage-highlight .lifecycle-node {
  border: none !important;
}
/* Preserve the gold left-accent on right-items */
.right-item { border-left: 4px solid var(--gold) !important; }


/* ── Utility Bar ── */
.util-bar {
  background: var(--navy);
  padding: 12px 5%;
  font-size: 1rem;
  color: rgba(212,160,23,0.9);
  letter-spacing: 0.01em;
}
.util-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.util-left { display: flex; gap: 1.8rem; align-items: center; }
.util-left a { color: inherit; text-decoration: none; font-size: 1rem; }
.util-left a:hover { color: var(--gold); }
.util-right { display: flex; gap: 1.4rem; align-items: center; }
.util-social { display: flex; gap: 1rem; align-items: center; }
.util-social a { color: rgba(255,255,255,0.7); transition: color 0.2s; text-decoration: none; display: flex; align-items: center; }
.util-social a:hover { color: var(--gold); }
.util-social svg { width: 20px; height: 20px; fill: currentColor; }
.lang-toggle { display: flex; gap: 0.3rem; font-size: 1rem; }
.lang-toggle button { background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.5); font-family: var(--font-sans); font-size: 1rem; padding: 0; transition: color 0.2s; }
.lang-toggle button.active { color: var(--gold); font-weight: 600; }
.lang-sep { color: rgba(255,255,255,0.3); }

/* ── Navigation ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
  transition: padding 0.3s, box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: 0 2px 16px rgba(10,34,64,0.12); }
.nav-inner {
  padding: 0 5%;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 1rem;
  transition: height 0.3s;
}
.site-nav.scrolled .nav-inner { height: 58px; }
.nav-logo { display: flex; flex-direction: row; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo span.nav-name { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.nav-logo span.nav-tagline { font-size: 0.88rem; color: #D4A017 !important; font-style: normal; font-weight: 500; letter-spacing: 0.02em; }
.nav-links {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.6rem 0.9rem;
  font-size: 1rem; font-weight: 600;
  color: var(--navy); text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links > li > a:hover, .nav-links > li.active > a, .nav-links > li > a.active-tab { color: var(--gold); }
.nav-links > li > a .chevron { font-size: 0.7rem; opacity: 0.5; transition: transform 0.2s; }
.nav-links > li:hover > a .chevron { transform: rotate(180deg); }

/* Dropdowns */
.nav-links > li:has(.dropdown) { padding-bottom: 0; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(10,34,64,0.12);
  min-width: 200px;
  padding: 0.5rem 0;
  margin-top: 8px;
  z-index: 200;
}
/* Invisible hover bridge: keeps :hover alive as mouse crosses gap */
.dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}
.nav-links > li:hover .dropdown,
.nav-links > li:focus-within .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 0.65rem 1.3rem;
  font-size: 0.98rem;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.dropdown a:hover { background: var(--gold-dim); color: var(--gold); }

.btn-cta {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 0.6rem 1.6rem;
  border-radius: 99px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: box-shadow 0.2s, transform 0.2s;
  animation: ctaPulse 3.5s infinite;
}
.btn-cta:hover { box-shadow: 0 4px 20px rgba(212,160,23,0.5); transform: translateY(-1px); }
@keyframes ctaPulse {
  0%, 80%, 100% { box-shadow: 0 0 0 0 rgba(212,160,23,0); }
  50% { box-shadow: 0 0 0 7px rgba(212,160,23,0.18); }
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 0.6rem 1.4rem;
  border-radius: 99px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── Hero ── */
.hero {
  position: relative;
  background: var(--navy);
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
#networkCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.85;
  pointer-events: none;
}
.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.2rem;
}
.hero-eyebrow::before {
  content: '';
  width: 28px; height: 1.5px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.2rem;
  text-wrap: pretty;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual { position: relative; }

/* ── Collage ── */
.hero-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 10px;
  height: 520px;
  max-height: 520px;
}
.collage-main {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #0d2d52 0%, #163a66 100%);
  border: 1px solid rgba(212,160,23,0.25);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,160,23,0.08);
}
.collage-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 65% 40%;
  display: block;
  transition: transform 0.8s ease;
}
.collage-main:hover img { transform: scale(1.03); }
.collage-main-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,34,64,0.55) 0%, rgba(10,34,64,0) 40%);
  pointer-events: none;
}

.collage-stack {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 10px;
  min-height: 0;
}
.collage-tile {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #0d2d52;
  border: 1px solid rgba(212,160,23,0.2);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  min-height: 0;
}
.collage-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(212,160,23,0.5);
  box-shadow: 0 14px 38px -10px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,160,23,0.25);
}
.collage-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.collage-tile:nth-child(1) img { object-position: center 30%; }
.collage-tile:nth-child(2) img { object-position: center 35%; }
.collage-tile:nth-child(3) img {
  object-position: center 18%;
  transform: scale(1.5);
  transform-origin: center 30%;
}

/* subtle gold vignette on each tile */
.collage-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 110%, rgba(212,160,23,0.12), transparent 55%);
  pointer-events: none;
}

.hero-data-overlay {
  position: absolute;
  bottom: 0; left: 0;
  width: 62%;
  padding: 2.5rem 1.5rem 1.3rem;
  background: linear-gradient(to top, rgba(10,34,64,0.95) 0%, rgba(10,34,64,0.8) 55%, rgba(10,34,64,0) 100%);
  display: flex; align-items: flex-end; gap: 1.2rem;
  border-radius: 0 0 14px 14px;
  pointer-events: none;
}
.hero-stat { color: var(--white); flex: 1; min-width: 0; }
.hero-stat .num { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 700; color: var(--gold); line-height: 1; }
.hero-stat .lbl { font-size: 0.68rem; color: rgba(255,255,255,0.75); letter-spacing: 0.03em; margin-top: 0.4rem; line-height: 1.35; text-transform: uppercase; }
.hero-stat + .hero-stat { border-left: 1px solid rgba(255,255,255,0.2); padding-left: 1rem; }

@media (max-width: 1024px) {
  .hero-collage { height: 440px; max-height: 440px; }
  .hero-stat .num { font-size: 1.4rem; }
}

/* ── Section Shared ── */
section { padding: 80px 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700; color: var(--navy); line-height: 1.25;
  margin-bottom: 0.8rem; text-wrap: pretty;
}
.section-title.light { color: var(--white); }
.section-sub { font-size: 1rem; color: var(--gray); max-width: 560px; line-height: 1.7; }
.section-sub.light { color: rgba(255,255,255,0.65); }

/* ── Audience Split ── */
.audience-split { padding: 60px 5%; background: var(--white); }
.audience-grid {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.aud-card {
  border-radius: 16px; padding: 2.5rem 2rem;
  position: relative; overflow: hidden; cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none; display: block;
}
.aud-card:hover { transform: translateY(-4px); }
.aud-card.patient { background: var(--offwhite); border: 1.5px solid var(--gold-dim); }
.aud-card.patient:hover { box-shadow: 0 8px 40px rgba(212,160,23,0.2); border-color: rgba(212,160,23,0.4); }
.aud-card.sponsor { background: var(--navy); }
.aud-card.sponsor:hover { box-shadow: 0 8px 40px rgba(10,34,64,0.35); }
.aud-icon { font-size: 2rem; margin-bottom: 1rem; }
.aud-card h3 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.6rem; }
.aud-card.patient h3 { color: var(--navy); }
.aud-card.sponsor h3 { color: var(--white); }
.aud-card p { font-size: 0.95rem; line-height: 1.65; }
.aud-card.patient p { color: var(--gray); }
.aud-card.sponsor p { color: rgba(255,255,255,0.65); }
.aud-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.2rem; font-weight: 700; font-size: 0.9rem; }
.aud-card.patient .aud-link { color: var(--gold); }
.aud-card.sponsor .aud-link { color: var(--gold); }

/* ── AI Capabilities ── */
.ai-band { background: var(--offwhite); }
.ai-header { text-align: center; margin-bottom: 3rem; }
.ai-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; position: relative; }
.ai-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 14px; padding: 2rem 1.6rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative; overflow: hidden;
}
.ai-card::before {
  content: ''; position: absolute; inset: 0;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1.5px var(--gold);
  opacity: 0; transition: opacity 0.3s;
}
.ai-card:hover { transform: translateY(-4px); }
.ai-card:hover::before { opacity: 1; }
.ai-card:hover { box-shadow: 0 8px 32px rgba(212,160,23,0.15); }
.ai-icon {
  width: 48px; height: 48px; background: var(--gold-dim);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem; font-size: 1.3rem;
}
.ai-card h4 { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.ai-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.65; }
.ai-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: var(--gold-dim); color: var(--gold);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 99px;
  margin-top: 0.8rem;
}

/* ── Conditions ── */
.conditions { background: var(--white); }
.cond-header { text-align: center; margin-bottom: 3rem; }
.cond-header .section-sub,
.ai-header .section-sub,
.why-header .section-sub { margin-left: auto; margin-right: auto; }
.cond-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.cond-card {
  border: 1px solid var(--gray-light); border-radius: 12px;
  padding: 1.6rem 1.4rem; cursor: pointer; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.cond-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(212,160,23,0.15); border-color: rgba(212,160,23,0.4); }
.cond-icon { font-size: 1.6rem; color: var(--gold); line-height: 1; }
.cond-card h4 { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--navy); }
.cond-card p { font-size: 0.82rem; color: var(--gray); line-height: 1.5; }
.cond-arrow { color: var(--gold); font-size: 0.8rem; margin-top: auto; }

/* ── Why Participate ── */
.why { background: var(--offwhite); }
.why-header { max-width: 560px; margin-bottom: 3rem; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.why-card { display: flex; flex-direction: column; gap: 0.75rem; }
.why-num {
  font-family: var(--font-serif); font-size: 3rem; font-weight: 700;
  color: var(--gold); opacity: 0.25; line-height: 1;
}
.why-card h4 { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.why-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.7; }

/* ── Sponsors Band ── */
.sponsors-band {
  background: var(--navy);
  position: relative; overflow: hidden;
}
.sponsors-band::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='0.8' fill='rgba(212,160,23,0.15)'/%3E%3C/svg%3E");
}
.sponsors-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.sponsors-top { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 3.5rem; }
.sponsors-copy .section-sub { max-width: none; }
.metrics-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.metric-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(212,160,23,0.2);
  border-radius: 14px; padding: 1.8rem 1.5rem; text-align: center;
  transition: border-color 0.25s;
}
.metric-card:hover { border-color: rgba(212,160,23,0.5); }
.metric-num {
  font-family: var(--font-serif); font-size: 2.5rem; font-weight: 700;
  color: var(--gold); line-height: 1; margin-bottom: 0.3rem;
}
.metric-label { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.4; }
.sponsors-cta { margin-top: 2.5rem; }

/* ── Trust Strip ── */
.trust { background: var(--white); padding: 48px 5%; }
.trust-inner { max-width: 1200px; margin: 0 auto; }
.trust-label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); text-align: center; margin-bottom: 1.8rem; }
.trust-items { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2.5rem; }
.trust-badge {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--gray); font-size: 0.85rem; font-weight: 600;
}
.trust-badge-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--offwhite); border: 1px solid var(--gray-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  padding: 64px 5% 32px;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand-tagline {
  font-size: 0.75rem; color: var(--gold); letter-spacing: 0.06em;
  margin-top: 0.5rem; font-style: italic;
}
.footer-col h5 {
  font-family: var(--font-sans); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; font-size: 0.88rem; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact p { line-height: 1.8; }
.footer-contact a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem;
  font-size: 0.78rem;
}
.footer-bottom-links { display: flex; gap: 1.2rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ── Modal ── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,34,64,0.75); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 1.5rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white); border-radius: 20px;
  width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto;
  padding: 2.5rem; position: relative;
  box-shadow: 0 24px 80px rgba(10,34,64,0.4);
}
.modal-close {
  position: absolute; top: 1rem; right: 1.2rem;
  background: none; border: none; font-size: 1.4rem; cursor: pointer;
  color: var(--gray); line-height: 1;
}
.modal h2 { font-family: var(--font-serif); font-size: 1.6rem; color: var(--navy); margin-bottom: 0.4rem; }
.modal-sub { font-size: 0.9rem; color: var(--gray); margin-bottom: 1.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea {
  font-family: var(--font-sans); font-size: 0.92rem; color: var(--navy);
  border: 1.5px solid var(--gray-light); border-radius: 8px; padding: 0.65rem 0.85rem;
  background: var(--offwhite); outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 80px; }
.hipaa-note { font-size: 0.75rem; color: var(--gray); margin-bottom: 1.2rem; line-height: 1.5; }
.modal .btn-cta { width: 100%; justify-content: center; font-size: 1rem; padding: 0.8rem; }
.modal-success { display: none; text-align: center; padding: 2rem 0; }
.modal-success h3 { font-family: var(--font-serif); color: var(--navy); font-size: 1.4rem; margin-bottom: 0.5rem; }
.modal-success p { color: var(--gray); }

/* ── Scroll Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(.16,.84,.44,1),
              transform 0.75s cubic-bezier(.16,.84,.44,1);
  will-change: opacity, transform;
}
.fade-up.visible { opacity: 1; transform: none; }

/* Respect users who've disabled animations */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .audience-grid { grid-template-columns: 1fr; max-width: 480px; }
  .ai-grid { grid-template-columns: 1fr; }
  .cond-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .sponsors-top { grid-template-columns: 1fr; }
  .metrics-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
}
@media (max-width: 600px) {
  .cond-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .util-bar { flex-direction: column; gap: 0.4rem; text-align: center; }
}
.mobile-menu-btn {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 6px;
}
.mobile-menu-btn span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }

/* ── Patient Gallery Carousel ── */
.gallery { background: var(--offwhite); padding: 90px 5%; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
}
.gallery-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(10,34,64,0.35), 0 0 0 1px rgba(212,160,23,0.15);
  background: var(--navy);
}
.gallery-track {
  position: relative;
  aspect-ratio: 8/5;
  width: 100%;
}
.gallery-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.gallery-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.gallery-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,34,64,0.35) 0%, rgba(10,34,64,0) 50%);
  pointer-events: none;
}
.gallery-dots {
  position: absolute; bottom: 1.2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 0.55rem;
  z-index: 2;
}
.gallery-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.gallery-dot:hover { background: rgba(255,255,255,0.75); }
.gallery-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

.gallery-copy { max-width: 500px; }
.gallery-copy .section-title { margin-top: 0.6rem; margin-bottom: 1rem; }
.gallery-copy .section-sub { margin-bottom: 2rem; }
.gallery-benefits {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
.gallery-benefits li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.gal-check {
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1.4;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.gallery-benefits h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 0.2rem;
  font-weight: 700;
}
.gallery-benefits p {
  color: var(--gray);
  font-size: 0.93rem;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .gallery-copy { max-width: none; }
}
