/* ==========================================================================
   Regenova — Regenerative Medicine
   Single stylesheet shared across all pages.
   Brand colors: deep clinical blue + Wellstar-inspired purple accent.
   ========================================================================== */

:root {
  --navy: #0f2a43;
  --navy-deep: #0a1e30;
  --blue: #1c5d8c;
  --blue-soft: #eaf2f8;
  --purple: #8347AD;        /* Wellstar primary purple — buttons & accents */
  --purple-dark: #69398A;   /* hover / pressed */
  --purple-deep: #4E2768;   /* deepest shade */
  --purple-light: #C6A7E4;  /* accents on dark backgrounds */
  --purple-soft: #EDE4F5;   /* light lavender tint */
  --ink: #1a2733;
  --muted: #5b6b78;
  --line: #e3e8ec;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 67, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 42, 67, 0.14);
  --wrap: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 0.4em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 0 0 0.5em; }
h3 { font-size: 1.3rem; margin: 0 0 0.4em; }
p { margin: 0 0 1.1em; color: var(--ink); }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--purple); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--purple);
  margin: 0 0 0.9em;
}
.lead { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand .mark {
  position: relative;
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(140deg, var(--purple) 0%, var(--navy) 88%);
  display: grid; place-items: center; color: #fff;
  font-family: var(--serif); font-weight: 600;
  box-shadow: 0 4px 12px rgba(15, 42, 67, 0.28), inset 0 0 0 1.5px rgba(255, 255, 255, 0.16);
  overflow: hidden;
}
/* soft top-left sheen */
.brand .mark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.32), transparent 55%);
}
/* lavender "regeneration" arc sweeping the lower-right */
.brand .mark::after {
  content: ""; position: absolute;
  width: 40px; height: 40px; border-radius: 50%;
  border: 2.5px solid rgba(198, 167, 228, 0.65);
  right: -15px; bottom: -15px;
}
.brand .mark span { position: relative; z-index: 1; transform: translateY(-1px); font-size: 1.18rem; }
/* Two-tone wordmark in Outfit */
.brand .wm { font-family: "Bricolage Grotesque", var(--font); font-weight: 600; letter-spacing: -0.02em; font-size: 1.4rem; }
.brand .wm-a { color: var(--purple); font-weight: 700; }
.brand .wm-b { color: #111111; font-weight: 600; }
/* On the dark footer, keep both legible */
.site-footer .brand .wm-a { color: var(--purple-light); }
.site-footer .brand .wm-b { color: #ffffff; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 0.97rem; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { padding: 10px 22px; }
/* Keep the primary CTA button white — override the nav link color */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(10,30,48,0.93) 0%, rgba(15,42,67,0.8) 52%, rgba(28,93,140,0.55) 100%),
    radial-gradient(circle at 80% 20%, rgba(131,71,173,0.42), transparent 45%),
    url('/images/hero.jpg') center 30% / cover no-repeat,
    #0a1e30;
  overflow: hidden;
}
.hero-inner { padding: 96px 0 104px; max-width: 760px; }
.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.2rem; max-width: 54ch; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero .badges { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 42px; color: rgba(255,255,255,0.85); font-size: 0.92rem; }
.hero .badges strong { color: var(--purple-light); font-family: var(--serif); font-size: 1.4rem; display: block; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .lead, .section-navy p { color: rgba(255,255,255,0.82); }
.section-head { max-width: 62ch; margin: 0 auto 52px; }

/* ---------- Services grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-media {
  margin: -32px -28px 22px;
  height: 190px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius) var(--radius) 0 0;
}
.card .icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 0.3em; }
.card p { color: var(--muted); font-size: 0.98rem; margin-bottom: 0; }

/* ---------- Feature / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .media {
  border-radius: var(--radius);
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(28,93,140,0.15), rgba(15,42,67,0.05)),
    radial-gradient(circle at 30% 30%, rgba(131,71,173,0.22), transparent 60%),
    var(--blue-soft);
  box-shadow: var(--shadow);
  display: grid; place-items: center;
  color: var(--blue); text-align: center; padding: 30px;
}
.split .media.media-photo {
  background: none;
  background-size: cover;
  background-position: center;
  padding: 0;
  border-radius: 0; /* square corners on section photos */
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step .num {
  counter-increment: step;
  flex: 0 0 auto;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 1.15rem;
}
.step .num::before { content: counter(step); }
.step h3 { margin-bottom: 0.2em; }
.step p { color: var(--muted); font-size: 0.98rem; margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }

/* ---------- Content pages (about, legal) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy-deep), var(--purple-deep));
  color: #fff;
  padding: 80px 0 64px;
}
.page-hero h1 { color: #fff; margin-bottom: 0.25em; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 58ch; margin: 0; }

.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.5em; color: var(--navy); }
.prose h4 { margin: 1.3em 0 0.3em; color: var(--navy); font-family: var(--serif); font-weight: 600; font-size: 1.08rem; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose ul ul { margin: 0.4em 0 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.6em 0; }
.prose li { margin-bottom: 0.5em; }
.prose .updated { color: var(--muted); font-size: 0.95rem; margin-bottom: 2.2em; }

.disclaimer {
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 18px 22px;
  font-size: 0.95rem;
  color: var(--navy);
  margin: 0 0 2em;
}
.disclaimer p:last-child { margin-bottom: 0; }

/* ---------- Values ---------- */
.value h3 { display: flex; align-items: center; gap: 10px; }
.value .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--purple); flex: 0 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); padding: 60px 0 30px; font-size: 0.95rem; }
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--purple-light); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 40px; }
.footer-col address { font-style: normal; color: rgba(255,255,255,0.75); }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.85rem; color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }

/* ---------- VSL / landing page ---------- */
.vsl-top {
  background: linear-gradient(180deg, var(--purple-soft) 0%, #ffffff 78%);
  padding: 64px 0 72px;
}
.vsl-narrow { max-width: 800px; margin: 0 auto; }
.vsl-top h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.vsl-top .lead { margin: 0 auto 34px; }

.video-wrap { max-width: 860px; margin: 0 auto; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(131,71,173,0.35), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.06);
}
.video-frame .play {
  width: 86px; height: 86px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 2px solid rgba(255,255,255,0.7);
  display: grid; place-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-frame .play svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
.video-frame .ph-label {
  position: absolute; left: 0; right: 0; bottom: 20px;
  text-align: center; color: rgba(255,255,255,0.7); font-size: 0.9rem; letter-spacing: 0.02em;
}
.video-note { text-align: center; color: var(--muted); margin: 18px 0 26px; font-size: 1.02rem; }
.center-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.microtrust { text-align: center; color: var(--muted); font-size: 0.9rem; margin: 22px 0 0; }
.pullquote {
  max-width: 720px; margin: 0 auto; text-align: center;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.4; color: var(--navy);
}
.pullquote span { color: var(--purple); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; font-size: 1.02rem; }
.checklist li svg { flex: 0 0 auto; width: 24px; height: 24px; margin-top: 1px; }
.checklist.good li svg { color: var(--purple); }
.checklist.bad li svg { color: #b0485c; }

.faq { max-width: 780px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; margin-bottom: 14px; background: #fff; }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 20px 34px 20px 0; font-family: var(--serif); font-weight: 600;
  color: var(--navy); font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 16px; color: var(--purple); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 20px; color: var(--muted); }

.vsl-disclaimer { max-width: 860px; margin: 0 auto; color: var(--muted); font-size: 0.85rem; line-height: 1.6; text-align: center; }

/* Booking / registration embed placeholder */
.embed-frame {
  max-width: 860px; margin: 0 auto; min-height: 540px;
  border: 2px dashed var(--line); border-radius: var(--radius);
  background: var(--bg-alt); color: var(--muted);
  display: grid; place-items: center; text-align: center; padding: 40px;
}
.embed-frame .ef-inner { max-width: 420px; }
.embed-frame svg { width: 46px; height: 46px; color: var(--purple); margin-bottom: 14px; }
.seminar-meta {
  display: flex; gap: 14px 30px; flex-wrap: wrap; justify-content: center;
  color: var(--muted); font-size: 0.98rem; margin: 26px 0 0;
}
.seminar-meta span { display: inline-flex; align-items: center; gap: 8px; }
.seminar-meta svg { width: 18px; height: 18px; color: var(--purple); flex: 0 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split .media { min-height: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Collapse to hamburger early so the longer brand name never crowds the links */
@media (max-width: 880px) {
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 8px 24px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 8px 0; }
  .nav-links .nav-cta { margin-top: 8px; white-space: nowrap; }
  .nav-toggle { display: block; }
}

@media (max-width: 640px) {
  section { padding: 60px 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 68px 0 76px; }
}
