:root {
  --teal: #0d7377;
  --teal-dark: #095456;
  --teal-light: #e6f4f4;
  --navy: #0f2744;
  --navy-soft: #1a3a5c;
  --text: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 10px 40px rgba(15, 39, 68, 0.08);
  --font: 'Inter', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
.container { width: min(1120px, 92%); margin: 0 auto; }

/* Top bar */
.top-bar { background: var(--navy); color: #cbd5e1; font-size: 13px; padding: 8px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.top-bar a { color: #e2e8f0; }
.top-bar a:hover { color: #fff; }
.top-bar-right { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; font-size: 1.05rem; }
.logo:hover { color: var(--navy); }
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--teal), var(--navy));
  color: #fff; display: grid; place-items: center; font-weight: 800;
}
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 500; font-size: 14px; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); background: var(--teal-light); }
.nav-cta { background: var(--teal) !important; color: #fff !important; padding: 10px 16px !important; }
.nav-cta:hover { background: var(--teal-dark) !important; color: #fff !important; }
.mobile-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; }
.mobile-toggle span { display: block; height: 2px; background: var(--navy); margin: 6px 8px; border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 14px; border: 0; cursor: pointer;
  transition: .2s ease;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,.35); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-white { background: #fff; color: var(--teal-dark); }
.btn-white:hover { background: #f1f5f9; color: var(--teal-dark); }
.btn-ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-soft { background: var(--teal-light); color: var(--teal-dark); }
.btn-soft:hover { background: #d1ecec; color: var(--teal-dark); }

/* Hero */
.hero {
  position: relative; color: #fff; padding: 72px 0 80px;
  background: linear-gradient(120deg, rgba(15,39,68,.88), rgba(13,115,119,.75)), url('../images/cover.jpg') center/cover no-repeat;
}
.hero-content { max-width: 640px; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; margin-bottom: 16px;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.15; margin-bottom: 14px; letter-spacing: -0.02em; }
.hero p { color: #dbe4ee; font-size: 1.05rem; margin-bottom: 28px; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; max-width: 480px; }
.hero-stats div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 14px; }
.hero-stats strong { display: block; font-size: 1.35rem; }
.hero-stats span { font-size: 12px; color: #b6c4d4; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg); }
.section-head { max-width: 620px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { color: var(--teal); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--navy); letter-spacing: -0.02em; margin-bottom: 10px; }
.section-head p { color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px;
  box-shadow: 0 4px 16px rgba(15,39,68,.04); transition: .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--teal-light); color: var(--teal);
  display: grid; place-items: center; font-size: 1.25rem; margin-bottom: 14px; font-weight: 700;
}
.card h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }

.feature-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.feature-row.reverse { grid-template-columns: 1fr 1.1fr; }
.feature-row img { border-radius: 18px; width: 100%; height: 340px; object-fit: cover; box-shadow: var(--shadow); }
.feature-row ul { margin-top: 16px; padding-left: 18px; color: var(--muted); }
.feature-row li { margin: 8px 0; }

.doctor-card { overflow: hidden; padding: 0; }
.doctor-card img { width: 100%; height: 220px; object-fit: cover; }
.doctor-card .body { padding: 18px 20px 22px; }
.doctor-card .role { color: var(--teal); font-size: 13px; font-weight: 600; margin-bottom: 6px; }

.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--teal-dark));
  color: #fff; text-align: center; padding: 64px 0;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.cta-band p { color: #c5d0dc; margin-bottom: 24px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* Page hero small */
.page-hero {
  background: linear-gradient(120deg, var(--navy), var(--navy-soft));
  color: #fff; padding: 56px 0 48px;
}
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 8px; }
.page-hero p { color: #b6c4d4; max-width: 56ch; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--text); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(13,115,119,.25); border-color: var(--teal); }
textarea { min-height: 120px; resize: vertical; }

.contact-cards { display: grid; gap: 14px; }
.contact-card { background: var(--bg); border-radius: 14px; padding: 18px; border: 1px solid var(--line); }
.contact-card h3 { font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 14px; color: var(--muted); }

/* FAQ */
details.faq {
  border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 14px 16px; margin-bottom: 10px;
}
details.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq p { margin-top: 10px; color: var(--muted); font-size: 14px; }

/* Footer */
.footer { background: var(--navy); color: #94a3b8; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 36px; }
.footer .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; max-width: 32ch; margin-bottom: 14px; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer ul { list-style: none; }
.footer li { margin: 8px 0; font-size: 14px; }
.footer a { color: #94a3b8; }
.footer a:hover { color: #fff; }
.social-links { display: flex; gap: 8px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08);
  display: grid; place-items: center; color: #e2e8f0; font-size: 12px; font-weight: 700;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px;
}

.badge-soft {
  display: inline-block; background: var(--teal-light); color: var(--teal-dark);
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}

@media (max-width: 900px) {
  .grid-3, .grid-4, .feature-row, .feature-row.reverse, .footer-grid { grid-template-columns: 1fr; }
  .grid-2, .form-grid { grid-template-columns: 1fr; }
  .feature-row img { height: 240px; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 12px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: block; }
  .hero-stats { grid-template-columns: 1fr; }
}
