:root {
  --cn-blue: #173f73;
  --cn-blue-dark: #0b274c;
  --cn-blue-soft: #eaf2fb;
  --cn-orange: #e87524;
  --cn-orange-dark: #c85814;
  --cn-red: #c8222d;
  --cn-text: #263244;
  --cn-muted: #667085;
  --cn-bg: #f6f9fc;
  --cn-white: #ffffff;
  --cn-radius: 22px;
  --cn-shadow: 0 18px 45px rgba(23, 63, 115, .12);
}

html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--cn-text);
  background: var(--cn-white);
}

a { color: var(--cn-blue); text-decoration: none; }
a:hover { color: var(--cn-orange); }

.topbar-fonasa {
  background: linear-gradient(90deg, var(--cn-blue-dark), var(--cn-blue));
  color: #fff;
  padding: 10px 0;
  font-size: .96rem;
}

.brand-logo { width: 190px; height: auto; }
.footer-logo { width: 160px; height: auto; }
.navbar { min-height: 78px; }
.nav-link { color: var(--cn-blue-dark); font-weight: 600; margin: 0 .25rem; }
.nav-link:hover { color: var(--cn-orange); }

.btn-primary {
  --bs-btn-bg: var(--cn-blue);
  --bs-btn-border-color: var(--cn-blue);
  --bs-btn-hover-bg: var(--cn-orange);
  --bs-btn-hover-border-color: var(--cn-orange);
  --bs-btn-active-bg: var(--cn-orange-dark);
  --bs-btn-active-border-color: var(--cn-orange-dark);
}
.btn-outline-primary {
  --bs-btn-color: var(--cn-blue);
  --bs-btn-border-color: var(--cn-blue);
  --bs-btn-hover-bg: var(--cn-blue);
  --bs-btn-hover-border-color: var(--cn-blue);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 86px 0 86px;
}
.hero-bg-section {
  background-image: url('../img/hero-bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 20, 39, .78) 0%, rgba(11, 39, 76, .58) 42%, rgba(11, 39, 76, .22) 100%);
}
.min-vh-hero {
  min-height: 640px;
}
.hero-content-box {
  position: relative;
  z-index: 2;
  padding: 38px;
  border-radius: 28px;
  background: rgba(9, 26, 50, .28);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--cn-orange);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  font-size: .78rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}
.eyebrow.light,
.eyebrow-light { color: #fdaa68; }
.lead { color: #44546a; }
.text-white-hero { color: rgba(255,255,255,.92) !important; }
.bg-primary-gradient .lead { color: rgba(255,255,255,.86); }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(23,63,115,.09);
  box-shadow: 0 12px 30px rgba(23,63,115,.08);
  color: var(--cn-blue-dark);
}
.hero-pill-dark {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.15);
  color: #fff;
  box-shadow: none;
}
.hero-pill i {
  color: var(--cn-orange);
  font-size: 1.15rem;
}
.hero-pill-dark i { color: #fdaa68; }

.hero-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.hero-info-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(23,63,115,.08);
  box-shadow: 0 10px 24px rgba(23,63,115,.06);
}
.hero-info-card-dark {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.14);
  box-shadow: none;
}
.hero-info-card i {
  color: var(--cn-orange);
  font-size: 1.2rem;
  margin-top: 2px;
}
.hero-info-card strong {
  display: block;
  color: var(--cn-blue-dark);
  margin-bottom: .1rem;
}
.hero-info-card span { color: var(--cn-muted); font-size: .95rem; }
.hero-info-card-dark strong,
.hero-info-card-dark span { color: #fff; }
.hero-info-card-dark span { opacity: .9; }

.benefits-strip {
  padding: 28px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.benefit-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid rgba(23,63,115,.07);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(23,63,115,.06);
  font-weight: 700;
  color: var(--cn-blue-dark);
}
.benefit-chip i {
  color: var(--cn-orange);
  font-size: 1.2rem;
}

.section-padding { padding: 88px 0; }
.bg-soft { background: var(--cn-bg); }
.section-title { color: var(--cn-blue-dark); font-weight: 850; line-height: 1.12; margin-top: .75rem; }
.section-text { color: var(--cn-muted); font-size: 1.05rem; }
.service-card {
  padding: 30px;
  border-radius: var(--cn-radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(23, 63, 115, .08);
  border: 1px solid rgba(23,63,115,.07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--cn-shadow); }
.service-card i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--cn-blue-soft);
  color: var(--cn-blue);
  font-size: 1.7rem;
  margin-bottom: 22px;
}
.service-card h3 { color: var(--cn-blue-dark); font-size: 1.25rem; font-weight: 800; }
.service-card p { color: var(--cn-muted); margin-bottom: 0; }
.highlight-card {
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  border-color: rgba(232,117,36,.22);
}

.fonasa-note {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: 13px 16px;
  border-radius: 16px;
  background: var(--cn-blue-soft);
  color: var(--cn-blue-dark);
  font-weight: 700;
}
.fonasa-note i { color: var(--cn-orange); }

.exam-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 22px;
  border-radius: var(--cn-radius);
  background: #fff;
  border: 1px solid rgba(23,63,115,.08);
  box-shadow: 0 10px 26px rgba(23, 63, 115, .07);
  font-weight: 800;
  color: var(--cn-blue-dark);
}
.exam-item i {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(232,117,36,.13);
  color: var(--cn-orange);
  font-size: 1.35rem;
}

.bg-primary-gradient {
  background:
    radial-gradient(circle at 12% 18%, rgba(232,117,36,.36), transparent 26%),
    linear-gradient(135deg, var(--cn-blue-dark), var(--cn-blue));
}
.doctor-badge {
  width: min(100%, 360px);
  min-height: 360px;
  display: grid;
  place-items: center;
  margin: auto;
  border-radius: 34px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 24px 60px rgba(0,0,0,.16);
}
.doctor-badge i { color: #fff; font-size: 8rem; text-shadow: 0 16px 38px rgba(0,0,0,.2); }
.feature-line {
  padding: 15px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.10);
  font-weight: 700;
}
.feature-line i { color: #fdaa68; margin-right: .35rem; }

.contact-card {
  padding: 28px;
  border-radius: var(--cn-radius);
  background: #fff;
  box-shadow: var(--cn-shadow);
  border: 1px solid rgba(23,63,115,.08);
}
.contact-row {
  display: flex;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #edf2f7;
}
.contact-row:last-of-type { border-bottom: 0; margin-bottom: 8px; }
.contact-row i { color: var(--cn-orange); font-size: 1.35rem; }
.contact-row strong { display: block; color: var(--cn-blue-dark); }
.contact-row p { margin: .25rem 0 0; color: var(--cn-muted); }
.map-box {
  overflow: hidden;
  min-height: 520px;
  border-radius: 28px;
  box-shadow: var(--cn-shadow);
  border: 1px solid rgba(23,63,115,.08);
}
.map-box iframe { width: 100%; height: 520px; border: 0; display: block; }

.cta-section { padding: 30px 0 88px; }
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 38px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--cn-orange), var(--cn-red));
  box-shadow: 0 18px 42px rgba(200, 34, 45, .18);
}
.cta-box h2 { font-weight: 850; margin-top: .55rem; }
.cta-box p { color: rgba(255,255,255,.86); margin: 0; }
.footer {
  padding: 26px 0;
  background: #fff;
  border-top: 1px solid #edf2f7;
  color: var(--cn-muted);
}

@media (max-width: 991.98px) {
  .brand-logo { width: 170px; }
  .hero-section { padding: 64px 0; }
  .min-vh-hero { min-height: 520px; }
  .hero-content-box { padding: 28px; }
  .section-padding { padding: 66px 0; }
  .cta-box { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767.98px) {
  .hero-info-grid { grid-template-columns: 1fr; }
  .hero-overlay { background: linear-gradient(180deg, rgba(7,20,39,.78) 0%, rgba(11,39,76,.56) 100%); }
}

@media (max-width: 575.98px) {
  .topbar-fonasa { font-size: .88rem; }
  .display-4 { font-size: 2.15rem; }
  .hero-pill { border-radius: 22px; }
  .min-vh-hero { min-height: 460px; }
  .hero-content-box { padding: 22px; }
  .map-box, .map-box iframe { min-height: 380px; height: 380px; }
  .cta-box { padding: 28px; }
}
