:root {
  --navy: #103D62;
  --sky: #0EA5E9;
  --sky-deep: #0284C7;
  --sky-soft: #E0F2FE;
  --red: #EF4444;
  --ink: #0F172A;
  --muted: #475569;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #E2E8F0; --muted: #94A3B8; --line: #1E293B;
    --bg: #0B1220; --bg-soft: #111B2E; --sky-soft: #0C2A3F; --navy: #7DD3FC;
  }
}
:root[data-theme="dark"] {
  --ink: #E2E8F0; --muted: #94A3B8; --line: #1E293B;
  --bg: #0B1220; --bg-soft: #111B2E; --sky-soft: #0C2A3F; --navy: #7DD3FC;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; width: 100%; margin: 0 auto; padding: 0 20px; }
img, svg { max-width: 100%; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--navy); }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
nav ul { display: flex; gap: 22px; list-style: none; font-size: 14px; font-weight: 500; }
nav a:hover, nav a.active { color: var(--sky-deep); }
nav a.active { font-weight: 600; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 2px solid var(--sky); color: #fff; background: var(--sky);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(14,165,233,.35); }
.btn.ghost { background: transparent; color: var(--sky-deep); }
.btn.ghost:hover { box-shadow: none; }
.btn.small { padding: 8px 16px; font-size: 14px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(14,165,233,.22), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(239,68,68,.10), transparent 60%),
    var(--bg);
  padding: 96px 0 88px;
}
.page-hero { padding: 64px 0 40px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--sky-soft); color: var(--sky-deep);
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
}
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.12; color: var(--navy); font-weight: 700; margin: 20px 0 18px; letter-spacing: -.01em; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 46px); margin: 14px 0 10px; }
.lead { font-size: 18px; color: var(--muted); max-width: 620px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 24px;
  padding: 28px; box-shadow: 0 30px 60px -20px rgba(16,61,98,.25);
}
.hero-card .row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hero-card .row:last-child { border-bottom: 0; }
.ico {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  display: grid; place-items: center; background: var(--sky-soft); color: var(--sky-deep); font-size: 20px;
}
.hero-card strong { display: block; color: var(--navy); font-size: 15px; }
.hero-card span { color: var(--muted); font-size: 14px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }

/* Sections */
section { padding: 80px 0; }
.alt { background: var(--bg-soft); }
.kicker { color: var(--sky-deep); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
h2 { font-size: clamp(28px, 3.6vw, 40px); color: var(--navy); margin: 10px 0 14px; line-height: 1.2; }
h3.sub-title { font-size: 20px; color: var(--navy); margin: 48px 0 6px; }
.sub { color: var(--muted); max-width: 640px; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.doctor {
  border-radius: 28px; padding: 40px; color: #fff;
  background: linear-gradient(145deg, var(--navy), var(--sky));
  position: relative; overflow: hidden; min-height: 320px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.doctor::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  border-radius: 50%; border: 22px solid rgba(255,255,255,.12);
}
.doctor h3 { font-size: 26px; font-weight: 700; }
.doctor p { opacity: .9; font-size: 15px; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.creds span { background: rgba(255,255,255,.18); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.about-text p + p { margin-top: 14px; }
.about-text p { color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(16,61,98,.35); }
.card .ico { margin-bottom: 18px; }
.card h3 { color: var(--navy); font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card .more { margin-top: auto; padding-top: 16px; color: var(--sky-deep); font-weight: 600; font-size: 14px; }

/* Price grids */
.fee-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 36px; }
.fee-card { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
.fee-card h3 { color: var(--navy); font-size: 18px; margin-bottom: 4px; }
.fee-card .tag { color: var(--sky-deep); font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.price-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.price-row:last-of-type { border-bottom: 0; }
.price-row .name { color: var(--ink); font-weight: 600; font-size: 15px; }
.price-row .detail { color: var(--muted); font-size: 14px; margin-top: 2px; }
.price-row .amt { color: var(--sky-deep); font-weight: 700; font-size: 16px; white-space: nowrap; }
.fee-card .btn { margin-top: auto; align-self: flex-start; }
.option-list { list-style: none; margin-top: 8px; }
.option-list li { padding: 8px 0; color: var(--muted); font-size: 15px; border-bottom: 1px solid var(--line); }
.option-list li:last-child { border-bottom: 0; }
.note { color: var(--muted); font-size: 14px; margin-top: 18px; max-width: 760px; }

.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 44px; }
.info { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.info h3 { color: var(--navy); font-size: 18px; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.info p, .info a { color: var(--muted); font-size: 15px; }
.info a:hover { color: var(--sky-deep); }

footer { background: var(--navy); color: #CBD5E1; padding: 40px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
footer strong { color: #fff; }
footer a { color: #E0F2FE; }

.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 20;
  background: #25D366; color: #fff; border-radius: 999px; padding: 12px 18px;
  font-weight: 600; font-size: 14px; box-shadow: 0 12px 28px -10px rgba(37,211,102,.7);
}

@media (max-width: 880px) {
  nav ul { display: none; }
  .hero-grid, .about-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-grid > *, .about-grid > * { min-width: 0; }
  .hero { padding: 64px 0; }
  section { padding: 60px 0; }
  .cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .visit-grid, .fee-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-card { padding: 20px; }
  .doctor { padding: 28px; min-height: 260px; }
  header .btn { white-space: nowrap; }
  .brand small { display: none; }
  .nav .btn { padding: 10px 16px; font-size: 14px; }
  .lead { font-size: 16px; }
  .fee-card, .card { padding: 22px; }
  .price-row { flex-direction: column; gap: 4px; }
}
