/* ============================================================
   OncoBridge — shared stylesheet
   ============================================================ */
:root {
  --navy: #123C55;
  --teal: #0E7C7B;
  --teal-light: #E6F4F4;
  --accent: #E07A1F;
  --bg: #FFFFFF;
  --surface: #F5F8FA;
  --border: #DCE4EA;
  --text: #1F2D38;
  --muted: #5B6B77;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(18, 60, 85, 0.08);
  font-size: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.3; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.6rem; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section.alt { background: var(--surface); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--navy);
  font-weight: 700; font-size: 1.1rem;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem;
}
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  text-decoration: none; color: var(--text);
  padding: 8px 12px; border-radius: 8px; font-size: 0.95rem;
}
.main-nav a:hover, .main-nav a.active { background: var(--teal-light); color: var(--teal); }
.nav-toggle { display: none; }
.logo { display: block; height: 34px; width: auto; }
.main-nav a.nav-cta { color: var(--accent); font-weight: 600; }
.main-nav a.nav-cta.active, .main-nav a.nav-cta:hover { background: #FDF1E5; color: var(--accent); }
.tagline {
  font-size: 1.08rem; font-weight: 600; color: var(--teal);
  margin: -0.2rem 0 1rem; letter-spacing: 0.01em;
}
.video-slot {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  background: var(--surface); border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.9rem; text-align: center; padding: 20px;
}
.video-frame { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: var(--radius); overflow: hidden; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.slot {
  border: 1px dashed var(--border); border-radius: var(--radius);
  padding: 22px 24px; background: var(--surface);
  color: var(--muted); font-size: 0.92rem;
}
.slot strong { color: var(--navy); display: block; margin-bottom: 4px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #F0F7F9 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}
.hero h1 { margin-bottom: 1rem; max-width: 720px; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin-bottom: 1.8rem; }
.eyebrow {
  display: inline-block; background: var(--teal-light); color: var(--teal);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 10px;
  text-decoration: none; font-weight: 600; font-size: 1rem;
  transition: opacity 0.15s ease; border: none; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-secondary { background: var(--teal); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn:hover { opacity: 0.88; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.card h3 a { text-decoration: none; color: inherit; }
.card h3 a:hover { color: var(--teal); }
.tag {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  color: var(--teal); background: var(--teal-light);
  padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.8rem; }
.card .more { font-weight: 600; font-size: 0.92rem; text-decoration: none; }

/* ---------- Feature / stat blocks ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stat .num { font-size: 1.9rem; font-weight: 700; color: var(--teal); }
.stat .label { color: var(--muted); font-size: 0.92rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.step { counter-increment: step; position: relative; padding-top: 48px; }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem;
}
.step h3 { font-size: 1.02rem; }
.step p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy); color: #fff;
  border-radius: 16px; padding: 40px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #C7D8E2; max-width: 560px; margin: 0 auto 1.4rem; }

/* ---------- FAQ ---------- */
details {
  border: 1px solid var(--border); border-radius: 10px;
  padding: 16px 20px; margin-bottom: 12px; background: var(--bg);
}
details summary { cursor: pointer; font-weight: 600; color: var(--navy); }
details p { margin: 10px 0 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
th { background: var(--surface); color: var(--navy); }

/* ---------- Hospital cards ---------- */
.hospital-card .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.6rem; }
.hospital-card ul { margin: 0 0 0.8rem 18px; color: var(--muted); font-size: 0.93rem; }

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 6px; color: var(--navy); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 0.95rem; font-family: inherit;
  background: var(--bg); color: var(--text);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal);
}
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.consent input { margin-top: 4px; }

/* ---------- Notice / disclaimer ---------- */
.notice {
  background: #FDF6EE; border: 1px solid #F0D9BC; color: #7A5A2E;
  border-radius: 10px; padding: 14px 18px; font-size: 0.88rem;
}
.disclaimer { font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C7D8E2; padding: 48px 0 24px; margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 12px; }
.site-footer a { color: #C7D8E2; text-decoration: none; font-size: 0.9rem; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 32px; padding-top: 20px; font-size: 0.82rem; text-align: center;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  background: #25D366; color: #fff; text-decoration: none;
  padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
  box-shadow: var(--shadow);
}
.wa-float:hover { opacity: 0.9; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; width: 100%; flex-direction: column; padding-bottom: 12px; }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .nav-toggle-label { display: block; cursor: pointer; font-size: 1.6rem; color: var(--navy); padding: 4px 10px; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .steps, .stats, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0; }
  h1 { font-size: 1.7rem; }
}
.nav-toggle-label { display: none; }
