:root {
  --navy: #0d3b8c;
  --navy-deep: #0a2a66;
  --sky: #3aaeea;
  --sky-soft: #e8f5fd;
  --ink: #16233b;
  --muted: #5b6780;
  --line: #e3e8f0;
  --bg: #ffffff;
  --tint: #f5f8fc;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(13, 59, 140, 0.08);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 16px; color: var(--navy-deep); }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 16px; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1eb858; }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 1.35rem; font-weight: 700; color: var(--navy); }
.brand-name span { color: var(--sky); }
.brand-tag { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.04em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:not(.btn):hover { color: var(--sky); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--sky-soft) 0%, #fff 100%);
  padding: 64px 0 80px;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--muted); font-size: 0.92rem; }
.hero-points li::before { content: "✓"; color: var(--sky); font-weight: 700; margin-right: 6px; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  object-position: 65% center;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

/* Info strip */
.info-strip { margin-top: -40px; position: relative; z-index: 2; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.info-item { display: flex; gap: 16px; padding: 26px 28px; }
.info-item + .info-item { border-left: 1px solid var(--line); }
.info-item h3 { font-size: 0.95rem; margin-bottom: 4px; }
.info-item p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.6; }
.info-item a { color: var(--muted); text-decoration: none; }
.info-item a:hover { color: var(--navy); }
.info-icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--sky-soft);
  display: grid; place-items: center;
}
.info-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head p:last-child { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split-reverse .split-media { order: 2; }
.split-copy p { color: var(--muted); }
.split-copy strong { color: var(--ink); }
.signoff { font-family: var(--serif); font-size: 1.25rem; color: var(--navy) !important; margin-top: 8px; }

.stack { position: relative; padding-bottom: 60px; padding-right: 60px; }
.stack-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.stack-small {
  position: absolute; right: 0; bottom: 0;
  width: 42%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 16px;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
}

.duo { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; align-items: end; }
.duo img { width: 100%; border-radius: 18px; object-fit: cover; }
.duo img:first-child { aspect-ratio: 3 / 4.2; }
.duo img:last-child { aspect-ratio: 4 / 3.4; margin-bottom: 40px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #cfe6f7; }
.service-card h3 { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 2px solid var(--sky-soft); }
.service-card ul { list-style: none; margin: 0; padding: 0; }
.service-card li { position: relative; padding-left: 20px; color: var(--muted); font-size: 0.94rem; margin-bottom: 8px; line-height: 1.5; }
.service-card li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--sky);
}
.service-card-accent { background: var(--navy); border-color: var(--navy); }
.service-card-accent h3 { color: #fff; border-bottom-color: rgba(255,255,255,.15); }
.service-card-accent li { color: #d5e2f7; }
.card-link { display: inline-block; margin-top: 10px; color: #fff; font-weight: 600; text-decoration: none; }
.services-note { text-align: center; max-width: 760px; margin: 48px auto 0; color: var(--muted); font-style: italic; }

/* Why */
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checklist li {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: var(--tint);
  border-radius: 12px;
  font-weight: 600;
  color: var(--ink);
}
.checklist li::before {
  content: "✓";
  flex: none;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy); color: #fff;
  font-size: 0.85rem;
}

/* Doctor */
.section-dark { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #fff; }
.doctor { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.doctor-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 24px; }
.doctor-copy h2 { color: #fff; margin-bottom: 6px; }
.doctor-copy .eyebrow { color: #8fd3fa; }
.doctor-meta { color: #8fd3fa; font-weight: 600; margin-bottom: 20px; }
.doctor-copy p { color: #d5e2f7; }
.tags { list-style: none; padding: 0; margin: 8px 0 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: 0.9rem; }

/* Gallery */
.gallery { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 16px; }
.gallery img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: stretch; }
.contact-copy > p { color: var(--muted); }
.contact-list { margin: 28px 0 0; display: grid; gap: 20px; }
.contact-list dt { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky); }
.contact-list dd { margin: 4px 0 0; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-map { display: flex; flex-direction: column; gap: 10px; }
.contact-map iframe { width: 100%; flex: 1; min-height: 380px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.map-link { font-weight: 600; text-decoration: none; font-size: 0.92rem; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #b9c8e4; padding: 36px 0; font-size: 0.9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-inner p { margin: 0; }
.footer-inner a { color: #fff; text-decoration: none; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { background: #fff; border-radius: 10px; padding: 4px; }
.footer-brand div { display: flex; flex-direction: column; line-height: 1.3; }
.footer-brand strong { color: #fff; font-size: 1.05rem; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner, .split, .doctor, .contact { grid-template-columns: 1fr; gap: 40px; }
  .split-reverse .split-media { order: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .doctor-photo { max-width: 420px; }
  .section { padding: 72px 0; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-item + .info-item { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .hero { padding: 40px 0 72px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 160px; gap: 10px; }
  .stack { padding-right: 40px; padding-bottom: 40px; }
  .brand-tag { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Emergency card spans the full last row so the grid stays even */
.service-card-accent { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 2fr auto; gap: 8px 32px; align-items: center; }
.service-card-accent h3 { margin: 0; padding: 0; border: 0; }
.service-card-accent ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
.service-card-accent .card-link { margin: 0; white-space: nowrap; }
@media (max-width: 760px) {
  .service-card-accent { display: block; }
  .service-card-accent h3 { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 2px solid rgba(255,255,255,.15); }
  .service-card-accent ul { display: block; }
  .service-card-accent .card-link { margin-top: 10px; }
}

/* Blog */
.post-hero { background: linear-gradient(180deg, var(--sky-soft) 0%, #fff 100%); padding: 56px 0 32px; }
.post-narrow { max-width: 780px; }
.post-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.breadcrumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs a { text-decoration: none; }
.post-meta { color: var(--muted); font-size: 0.92rem; margin: 0; }
.post-body { padding-bottom: 80px; }
.post-body .lead { max-width: none; }
.post-body h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 48px; scroll-margin-top: 90px; }
.post-body h3 { margin: 0 0 6px; }
.post-body ul { padding-left: 22px; margin: 0 0 16px; }
.post-body li { margin-bottom: 6px; }
.post-body li::marker { color: var(--sky); }
.two-col { columns: 2; column-gap: 32px; }
.two-col li { break-inside: avoid; }
.toc { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 32px 0 8px; }
.toc strong { display: block; margin-bottom: 8px; color: var(--navy-deep); }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { font-size: 0.94rem; margin-bottom: 4px; break-inside: avoid; }
.toc a { text-decoration: none; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 18px 20px 6px 68px; background: var(--tint); border-radius: 12px; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 18px; top: 18px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 0.9rem;
}
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 20px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy-deep); }
.faq details[open] summary { margin-bottom: 8px; }
.faq details p { margin: 0 0 8px; color: var(--muted); }
.post-cta { margin: 48px 0 24px; padding: 32px; border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); }
.post-cta h2 { margin-top: 0; }
.post-cta .contact-list { margin-top: 12px; }
.disclaimer { font-size: 0.88rem; color: var(--muted); font-style: italic; }
.blog-list-section { padding-top: 24px; }
.blog-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 360px)); justify-content: center; gap: 24px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s ease, transform .2s ease; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-card-body { padding: 22px 24px 26px; }
.blog-card h2, .blog-card h3 { font-family: var(--sans); font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
.blog-card p:not(.eyebrow) { color: var(--muted); font-size: 0.94rem; }
.card-more { font-weight: 600; color: var(--navy); }
.blog-more { text-align: center; margin-top: 32px; }
@media (max-width: 560px) {
  .toc ol, .two-col { columns: 1; }
  .post-cta { padding: 24px 20px; }
  .steps li { padding-left: 60px; }
}

/* Hero tagline subline */
.hero-sub { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--navy); line-height: 1.4; margin: -4px 0 14px; }
