
:root {
  --primary: #164a96;
  --primary-dark: #0d2f61;
  --accent: #d6b68a;
  --accent-soft: #f4ebe0;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --surface-3: #eef3f8;
  --text: #132033;
  --muted: #667085;
  --border: #dde5ef;
  --success: #15803d;
  --danger: #e53935;
  --shadow: 0 20px 60px rgba(16, 33, 61, 0.08);
  --shadow-soft: 0 12px 30px rgba(17, 24, 39, 0.06);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fcfcfd 0%, #f8fafc 40%, #ffffff 100%);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }

.topbar { background: var(--primary-dark); color: #fff; font-size: 14px; }
.topbar__inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; min-height: 48px; flex-wrap: wrap;
}
.topbar__group { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.92); }

.navbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.88);
  border-bottom: 1px solid rgba(221,229,239,0.9);
  transition: min-height .25s ease, box-shadow .25s ease, background .25s ease;
}
.navbar.is-scrolled { box-shadow: 0 10px 24px rgba(17,24,39,.06); background: rgba(255,255,255,0.96); }
.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 88px;
}
.brand { display: flex; flex-direction: column; gap: 3px; min-width: 220px; }
.brand__mark {
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--primary);
}
.brand__name { font-size: 28px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.brand__meta { font-size: 13px; color: var(--muted); }

.navlinks { display: flex; gap: 26px; align-items: center; font-weight: 600; color: #24364f; }
.navlinks a:hover { color: var(--primary); }

.actions { display: flex; gap: 12px; align-items: center; }
.btn {
  border: 0; border-radius: 999px; padding: 14px 22px; cursor: pointer;
  transition: 0.25s ease; font-weight: 700; display: inline-flex;
  align-items: center; justify-content: center; gap: 10px;
}
.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, #2f6ac0 100%);
  color: #fff; box-shadow: 0 16px 30px rgba(22,74,150,0.22);
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--primary); border: 1px solid var(--border); }

.hero {
  position: relative; overflow: hidden; padding: 54px 0 34px;
  background:
    radial-gradient(circle at 10% 20%, rgba(214,182,138,0.16), transparent 24%),
    radial-gradient(circle at 85% 25%, rgba(22,74,150,0.08), transparent 20%),
    linear-gradient(135deg, #ffffff 0%, #fbf7f1 48%, #f5f8fc 100%);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 999px; filter: blur(70px); z-index: 0;
}
.hero::before {
  width: 240px; height: 240px; background: rgba(214,182,138,0.18); left: -60px; top: 40px;
}
.hero::after {
  width: 280px; height: 280px; background: rgba(22,74,150,0.12); right: -60px; top: 0;
}
.hero__grid {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: 1.05fr 0.95fr; gap: 34px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.72);
  border: 1px solid rgba(22,74,150,0.1); color: var(--primary); padding: 10px 14px;
  border-radius: 999px; font-size: 14px; font-weight: 700; margin-bottom: 18px; box-shadow: var(--shadow-soft);
}
h1 {
  font-size: clamp(40px, 5vw, 68px); line-height: 0.98; margin: 0 0 20px;
  letter-spacing: -0.055em; max-width: 11ch;
}
.hero p { font-size: 18px; color: #42526b; max-width: 64ch; margin: 0 0 28px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 26px 0 0; }
.stat {
  background: rgba(255,255,255,0.74); border: 1px solid rgba(221,229,239,0.9);
  border-radius: 18px; padding: 18px; box-shadow: var(--shadow-soft);
}
.stat strong { display: block; font-size: 28px; color: var(--primary-dark); line-height: 1; margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: 14px; }
.hero__visual { position: relative; min-height: 620px; }
.hero__card {
  position: absolute; inset: 0; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.7); background: #eaeef5;
}
.hero__card img { width: 100%; height: 100%; object-fit: cover; }

.overlay-card, .booking-float {
  position: absolute; background: rgba(255,255,255,0.86); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.8); box-shadow: var(--shadow-soft); border-radius: 24px;
}
.overlay-card { left: -20px; top: 34px; padding: 20px; width: 240px; }
.overlay-card h3, .booking-float h3 { margin: 0 0 10px; font-size: 18px; }
.overlay-card p, .booking-float p { margin: 0; font-size: 14px; color: var(--muted); }
.booking-float { right: -18px; bottom: 28px; width: 280px; padding: 22px; }
.mini-list { display: grid; gap: 10px; margin-top: 14px; color: #30425c; font-size: 14px; font-weight: 600; }

.section { padding: 92px 0; }
.section--soft { background: var(--surface-2); }
.section-heading {
  display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 34px;
}
.section-heading h2 {
  font-size: clamp(30px, 4vw, 48px); line-height: 1.04; letter-spacing: -0.045em; margin: 10px 0 0;
}
.section-heading p { max-width: 62ch; color: var(--muted); margin: 0; }

.services-grid, .doctor-grid, .location-grid, .why-grid, .testimonial-grid {
  display: grid; gap: 18px;
}
.services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.doctor-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.location-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.service-card, .doctor-card, .package-card, .location-card, .testimonial, .news-card {
  background: #fff; border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow-soft); overflow: hidden;
}
.service-card { padding: 24px; transition: 0.25s ease; }
.service-card:hover, .doctor-card:hover, .location-card:hover, .news-card:hover { transform: translateY(-4px); }

.icon-box {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, #edf4ff, #f8f2ea); color: var(--primary); font-size: 24px; margin-bottom: 18px;
}
.service-card h3, .doctor-card h3, .package-card h3, .location-card h3, .news-card h3 {
  margin: 0 0 10px; font-size: 22px; line-height: 1.2; letter-spacing: -0.03em;
}
.service-card p, .doctor-card p, .package-card p, .location-card p, .testimonial p, .news-card p { margin: 0; color: var(--muted); }
.service-card a, .news-card a {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 700;
}

.trust-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: center; }
.trust-visual {
  border-radius: 30px; overflow: hidden; min-height: 620px; box-shadow: var(--shadow); background: #e9edf4;
}
.trust-visual img { width: 100%; height: 100%; object-fit: cover; }
.trust-content {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(252,252,253,0.94));
  border: 1px solid var(--border); border-radius: 30px; padding: 34px; box-shadow: var(--shadow-soft);
}

.bullet-list { display: grid; gap: 20px; margin-top: 26px; }
.bullet {
  display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start;
  padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.bullet:last-child { border-bottom: 0; padding-bottom: 0; }
.bullet__icon {
  width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center;
  background: var(--surface-3); color: var(--primary); font-size: 28px; font-weight: 800;
}

.doctor-card__media { height: 320px; background: #edf1f5; }
.doctor-card__media img { width: 100%; height: 100%; object-fit: cover; }
.doctor-card__body { padding: 22px; }
.doctor-meta { color: var(--primary); font-weight: 700; margin-bottom: 8px; font-size: 14px; }

.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.comparison, .booking-panel, .map-panel, .package-feature, .news-layout {
  background: #fff; border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow-soft);
}
.comparison { overflow: hidden; }
.comparison__top { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
.comparison__top img { width: 100%; height: 100%; object-fit: cover; }
.comparison__labels { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); }
.comparison__labels div { padding: 18px 22px; font-weight: 700; text-align: center; }
.comparison__labels div:first-child { background: #fef5f5; color: #ab1f24; border-right: 1px solid var(--border); }
.comparison__labels div:last-child { background: #f2fbf4; color: var(--success); }

.why-card {
  background: linear-gradient(180deg, #ffffff, #f8fafc); border: 1px solid var(--border);
  border-radius: 22px; padding: 26px; box-shadow: var(--shadow-soft);
}
.why-card strong { display: block; font-size: 34px; color: var(--primary-dark); line-height: 1; margin-bottom: 12px; }

.testimonial { padding: 24px; }
.testimonial__head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.avatar {
  width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #dfe8f4, #f6ebe1);
  display: grid; place-items: center; color: var(--primary); font-weight: 800;
}

.booking-layout { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 26px; align-items: stretch; }
.booking-panel {
  padding: 30px; background: linear-gradient(160deg, rgba(13,47,97,0.96), rgba(22,74,150,0.94)); color: #fff;
}
.booking-panel p { color: rgba(255,255,255,0.8); }
.booking-panel ul { padding-left: 18px; color: rgba(255,255,255,0.84); margin: 16px 0 0; }

.form-card {
  background: rgba(255,255,255,0.96); border: 1px solid var(--border); border-radius: 28px;
  padding: 30px; box-shadow: var(--shadow-soft);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field, textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 14px; padding: 15px 16px;
  background: #fff; color: var(--text); outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field:focus, textarea:focus {
  border-color: rgba(22,74,150,0.4); box-shadow: 0 0 0 4px rgba(22,74,150,0.08);
}
.span-2 { grid-column: span 2; }

.location-card__image { height: 180px; background: #edf1f5; }
.location-card__image img { width: 100%; height: 100%; object-fit: cover; }
.location-card__body { padding: 20px; }
.location-meta {
  display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 14px; color: var(--muted);
}

.package-wrap { display: grid; grid-template-columns: 360px 1fr; gap: 24px; align-items: stretch; }
.package-card { padding: 28px; background: linear-gradient(180deg, #eaf4fb, #f9fbfd); min-height: 100%; }
.package-feature { padding: 30px; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin-top: 18px; }
.feature-list div { display: flex; gap: 10px; align-items: start; color: #3a4b64; }

.news-layout { padding: 22px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 22px; }
.news-card img { width: 100%; height: 280px; object-fit: cover; }
.news-card__body { padding: 24px; }
.news-list { display: grid; gap: 18px; }
.news-mini { padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.news-mini:last-child { border-bottom: 0; padding-bottom: 0; }
.news-mini .date, .news-card .date { color: #8a94a6; font-size: 14px; margin-bottom: 8px; }

.footer { background: #091a37; color: #fff; padding: 72px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; }
.footer h4 { margin: 0 0 16px; font-size: 18px; }
.footer p, .footer li, .footer a { color: rgba(255,255,255,0.76); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.certs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.badge {
  border: 1px solid rgba(255,255,255,0.14); color: #fff; border-radius: 999px; padding: 10px 14px;
  font-size: 13px; background: rgba(255,255,255,0.05);
}
.footer-bottom {
  margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,0.68); flex-wrap: wrap;
}

.floating-cta { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: grid; gap: 12px; }
.floating-cta a {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  box-shadow: 0 14px 30px rgba(0,0,0,0.16); font-size: 24px; font-weight: 700;
}
.phone { background: #1d5bcc; }
.wa { background: #18a66a; }

@media (max-width: 1100px) {
  .navlinks { display: none; }
  .hero__grid, .trust-grid, .booking-layout, .package-wrap, .news-layout, .before-after { grid-template-columns: 1fr; }
  .services-grid, .doctor-grid, .location-grid, .why-grid, .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__visual { min-height: 520px; }
  .package-wrap { gap: 18px; }
}
@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .topbar__inner, .navbar__inner, .section-heading { align-items: start; }
  .navbar__inner { min-height: 76px; }
  .actions .btn--ghost { display: none; }
  .hero { padding-top: 30px; }
  h1 { max-width: none; }
  .hero__stats, .form-grid, .services-grid, .doctor-grid, .location-grid, .why-grid, .testimonial-grid, .footer-grid, .feature-list {
    grid-template-columns: 1fr;
  }
  .span-2 { grid-column: auto; }
  .overlay-card, .booking-float { position: static; width: 100%; margin-top: 14px; }
  .hero__visual { min-height: auto; }
  .hero__card { position: relative; min-height: 420px; }
  .comparison__top, .comparison__labels { grid-template-columns: 1fr; }
  .comparison__labels div:first-child { border-right: 0; border-bottom: 1px solid var(--border); }
  .footer-bottom { flex-direction: column; }
  .floating-cta a { width: 54px; height: 54px; }
}
