*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; }

:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --fg: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --lime: #c8ee44;
  --dark: #0f1117;
  --dark-surface: #1a1d27;
  --dark-muted: #9ca3af;
  --sans: "Geist Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;
  --max-w: 1200px;
  --header-h: 64px;
  --section-py: clamp(80px, 10vw, 140px);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--blue);
  color: #fff;
  padding: 10px 14px;
}
.skip-link:focus { top: 16px; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.headline-xl {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.headline-lg {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.body-lg {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); }
.btn-outline { border: 1.5px solid var(--border); color: var(--fg); }
.btn-outline:hover { background: var(--fg); color: var(--surface); }
.btn-white { background: #fff; color: var(--fg); }
.btn-white:hover { background: rgba(255, 255, 255, 0.9); }
.btn-outline-light { border: 1.5px solid rgba(255, 255, 255, 0.25); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.44); }
.btn-sm { min-height: 40px; padding: 10px 20px; font-size: 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 248, 250, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 40px);
  height: 100%;
  display: flex;
  align-items: center;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 28px; height: 28px; flex-shrink: 0; }
.logo-icon circle { fill: var(--blue); }
.logo-text { display: flex; flex-direction: column; line-height: 1; gap: 1px; }
.logo-name { font-weight: 700; font-size: 18px; letter-spacing: 0.18em; color: var(--fg); }
.logo-sub { font-family: var(--mono); font-size: 8.5px; font-weight: 500; letter-spacing: 0.28em; color: var(--muted); }
.header-nav {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.header-nav a:hover,
.header-nav a[aria-current="location"] { color: var(--blue); }
.header-cta { margin-inline-start: 32px; }
.mobile-toggle {
  display: none;
  margin-inline-start: auto;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.mobile-toggle span { display: block; width: 20px; height: 1.5px; background: var(--fg); }
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 40px clamp(20px, 4vw, 40px);
  flex-direction: column;
  gap: 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 20px; font-weight: 500; }
.mobile-nav .btn { text-align: center; margin-top: 12px; }
body.menu-open { overflow: hidden; }

.hero {
  position: relative;
  min-height: clamp(560px, 76vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url("./assets/veda-hero-clinic.webp") center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 17, 23, 0.66), rgba(15, 17, 23, 0.84));
}
.hero-text {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 104px) 0;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.6s ease 0.1s forwards;
}
.hero-text .eyebrow { margin-bottom: 16px; color: var(--lime); }
.hero-text .headline-xl { margin-bottom: 16px; color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3); }
.hero-text .body-lg { margin-bottom: 28px; color: rgba(255, 255, 255, 0.82); }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .btn-outline { border-color: rgba(255, 255, 255, 0.32); color: #fff; }
.hero .btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.trust-strip { padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 40px); }
.trust-item { display: flex; flex-direction: column; gap: 8px; }
.trust-label { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.trust-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

.consult,
.verification,
.programs,
.process,
.materials,
.faq { padding: var(--section-py) 0; border-top: 1px solid var(--border); }
.consult { border-top: 0; }
.split-grid,
.verification-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.consult-inner { max-width: 640px; }
.consult-inner .eyebrow,
.verification-copy .eyebrow,
.programs-header .eyebrow,
.materials-header .eyebrow { margin-bottom: 14px; }
.consult-inner .headline-lg,
.verification-copy .headline-lg,
.programs-header .headline-lg,
.materials-header .headline-lg { margin-bottom: 16px; }
.consult-inner p,
.verification-copy p { color: var(--muted); font-size: 16px; line-height: 1.65; margin-bottom: 12px; }
.consult-inner ul { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.consult-inner li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}
.consult-inner li::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.image-panel,
.verification-image {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}
.image-panel img,
.verification-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.verification { background: var(--surface); }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
}
.proof-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 24px;
}
.proof-card span {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
}
.proof-card h3 {
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.proof-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }

.programs-header,
.materials-header,
.process-header { text-align: center; max-width: 760px; margin: 0 auto clamp(48px, 6vw, 72px); }
.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.program-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.program-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06); }
.program-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  background: var(--bg);
}
.program-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.program-card h3 { font-size: 20px; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 8px; }
.program-card p:not(.program-kicker) { color: var(--muted); font-size: 14px; line-height: 1.6; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-card {
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06); }
.process-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--bg); }
.process-card-body { padding: 22px; }
.process-step {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 8px;
}
.process-card-body h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.process-card-body p { color: var(--muted); font-size: 14px; line-height: 1.6; }

.materials { overflow: hidden; background: var(--surface); }
.marquee { position: relative; }
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 80px;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--surface), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--surface), transparent); }
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.material-card {
  flex: 0 0 300px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 28px;
}
.material-card strong { display: block; font-size: 17px; letter-spacing: -0.01em; }
.material-card span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }

.faq-grid { display: grid; grid-template-columns: 35fr 60fr; gap: clamp(32px, 5vw, 80px); }
.faq-left .headline-lg { margin-top: 12px; margin-bottom: 14px; }
.faq-left p { color: var(--muted); font-size: 16px; max-width: 340px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  color: var(--fg);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}
.faq-question:hover { color: var(--blue); }
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.3s, opacity 0.3s;
}
.faq-icon::before { width: 14px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1.5px; height: 14px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  max-width: 560px;
  padding-bottom: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.bottom-cta { background: var(--dark); color: #fff; overflow: hidden; }
.bottom-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  min-height: 440px;
}
.bottom-cta-text { padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 48px); }
.bottom-cta-text .eyebrow { color: var(--lime); margin-bottom: 14px; }
.bottom-cta-text .headline-lg { color: #fff; margin-bottom: 14px; max-width: 620px; }
.bottom-cta-text p { max-width: 460px; margin-bottom: 28px; color: var(--dark-muted); font-size: 17px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.bottom-cta-image { height: 100%; overflow: hidden; }
.bottom-cta-image img { width: 100%; height: 100%; object-fit: cover; }

.site-footer {
  padding: clamp(48px, 6vw, 80px) 0 32px;
  background: var(--dark);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-sub { color: var(--dark-muted); }
.footer-tagline { max-width: 280px; margin-top: 12px; color: var(--dark-muted); font-size: 14px; line-height: 1.5; }
.footer-col h4 {
  margin-bottom: 16px;
  color: var(--dark-muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-col a { display: block; padding: 4px 0; color: rgba(255, 255, 255, 0.72); font-size: 14px; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-legal p { color: rgba(255, 255, 255, 0.34); font-size: 12px; line-height: 1.6; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger .reveal { transition-delay: calc(var(--i, 0) * 70ms); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .split-grid,
  .verification-grid,
  .faq-grid,
  .bottom-cta-grid { grid-template-columns: 1fr; }
  .proof-grid,
  .process-grid,
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-left { text-align: center; }
  .faq-left p { margin-inline: auto; }
  .bottom-cta-text { text-align: center; }
  .bottom-cta-text p { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .bottom-cta-image { max-height: 380px; }
}

@media (max-width: 700px) {
  .header-nav,
  .header-cta { display: none; }
  .mobile-toggle { display: flex; }
  .hero { min-height: 600px; }
  .hero-text { text-align: left; margin: 0; }
  .hero-ctas { justify-content: flex-start; }
  .btn { width: 100%; }
  .trust-grid,
  .proof-grid,
  .process-grid,
  .program-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .program-card { grid-template-columns: 84px 1fr; gap: 16px; padding: 18px; }
  .program-card img { width: 84px; height: 84px; }
  .material-card { flex-basis: 260px; padding: 22px; }
}
