:root {
  --orange: #ff9100;
  --orange-dark: #f88927;
  --orange-soft: #fff4e0;
  --navy: #2e2e4c;
  --text: #2e2e4c;
  --muted: #6b7280;
  --bg: #fffdfb;
  --border: #ebebeb;
  --shadow-sm: 0 4px 24px rgba(46,46,76,0.08);
  --shadow-lg: 0 12px 40px rgba(46,46,76,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.ic { width: 16px; height: 16px; vertical-align: -3px; flex-shrink: 0; }

/* Top strip */
.top-strip {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  padding: 9px 0;
}
.top-strip .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.top-strip .wrap > div {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.top-strip a { color: inherit; }
.top-strip a:hover { color: var(--orange); }
.top-strip .ic { color: var(--orange); }

/* Site nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
}
.brand-text {
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  letter-spacing: 0.3px;
}
.brand-text small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.site-nav .wrap > nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.site-nav .wrap > nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color .15s;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: var(--orange-soft);
  color: var(--orange);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s;
}
.nav-toggle:hover { background: rgba(255,145,0,0.22); }

.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover,
.mobile-menu a:focus {
  background: var(--orange-soft);
  color: var(--orange);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}
.btn-ghost:hover { background: #fff; color: var(--navy); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 88px 0 104px;
  background:
    linear-gradient(100deg, rgba(46,46,76,0.78) 0%, rgba(46,46,76,0.45) 50%, rgba(46,46,76,0.15) 100%),
    url('sn-hospital.jpg') center/cover no-repeat;
  background-color: var(--navy);
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}
.hero::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255,145,0,0.55), transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
}
.hero::after {
  content: '';
  position: absolute;
  left: -150px;
  bottom: -200px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(255,145,0,0.25), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-text { max-width: 720px; }

.pill {
  display: inline-block;
  padding: 7px 16px;
  background: rgba(255,145,0,0.22);
  color: #ffc266;
  border: 1px solid rgba(255,145,0,0.5);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--orange); }
.hero .lede {
  font-size: 18px;
  color: rgba(255,255,255,0.95);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-ctas .btn .ic { width: 18px; height: 18px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 48px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.25);
}
.hero-stats strong {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: #ffb347;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-stats span {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* Trust band */
.trust {
  background: #fff;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.trust .wrap {
  display: flex;
  gap: 32px;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ic-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ic-circle svg { width: 18px; height: 18px; }
.trust-item strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
}
.trust-item small {
  color: var(--muted);
  font-size: 12px;
}

/* Sections */
section { padding: 80px 0; }
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head .pill {
  background: var(--orange-soft);
  border-color: rgba(255,145,0,0.3);
  color: var(--orange);
}
.section-head h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

/* About */
.about {
  background: linear-gradient(180deg, #fff 0%, var(--orange-soft) 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about h2 {
  font-size: 34px;
  color: var(--navy);
  margin-bottom: 18px;
  line-height: 1.2;
}
.about h2 .accent { color: var(--orange); }
.about p { color: var(--text); margin-bottom: 16px; }
.about .pill {
  background: var(--orange-soft);
  border-color: rgba(255,145,0,0.3);
  color: var(--orange);
}

.about-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
  background: var(--navy);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: #fff;
  color: var(--orange);
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 28px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.badge small {
  display: block;
  background: var(--orange);
  color: #fff;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 6px;
  width: fit-content;
}

/* History */
.prose {
  max-width: 780px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.85;
}
.prose p { margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }

/* NABH */
.nabh-section { background: var(--orange-soft); }
.nabh-card {
  background: #fff;
  border-left: 5px solid var(--orange);
  border-radius: 12px;
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  max-width: 880px;
  margin: 0 auto;
}
.nabh-label {
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.nabh-card p {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 500;
}

/* Location */
.location {
  background: #fff;
  padding: 56px 0;
}
.location .section-head { margin-bottom: 32px; }
.location .section-head h2 { font-size: 28px; }
.map-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 320px;
  background: rgba(0,0,0,0.05);
  margin: 0 auto;
  max-width: 1000px;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-cta {
  text-align: center;
  margin-top: 22px;
}


/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-blurb {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.7;
}
.site-footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
  font-weight: 600;
}
.site-footer ul { list-style: none; }
.site-footer ul li {
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.site-footer ul li .ic { color: var(--orange); }
.site-footer a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* Standalone legal pages (terms, privacy) */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 60px 0 52px;
  text-align: center;
}
.page-hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.page-hero .crumbs {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.page-hero .crumbs a { color: rgba(255,255,255,0.9); }
.page-hero .crumbs a:hover { color: var(--orange); }

.page-body {
  padding: 56px 0 72px;
  background: #fff;
}
.page-body .wrap { max-width: 820px; }
.page-body .updated {
  display: inline-block;
  background: var(--orange-soft);
  color: var(--orange);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.page-body h2 {
  color: var(--navy);
  font-size: 22px;
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange);
}
.page-body h2:first-of-type { margin-top: 0; }
.page-body h3 {
  color: var(--navy);
  font-size: 17px;
  margin: 24px 0 8px;
  font-weight: 600;
}
.page-body p {
  margin-bottom: 14px;
  line-height: 1.75;
  font-size: 15px;
  color: var(--text);
}
.page-body ul {
  padding-left: 22px;
  margin-bottom: 14px;
}
.page-body ul li {
  margin-bottom: 8px;
  line-height: 1.7;
  font-size: 15px;
}
.page-body a {
  color: var(--orange);
  font-weight: 600;
}

@media print {
  .top-strip, .site-nav, .site-footer { display: none; }
  .page-hero { background: #fff; color: var(--navy); padding: 24px 0; border-bottom: 2px solid var(--orange); }
  .page-hero .crumbs { display: none; }
  .page-body { padding: 24px 0; }
  body { background: #fff; }
}

/* Legal modal */
.legal-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  border: none;
  border-radius: 14px;
  padding: 0;
  width: min(720px, 92vw);
  max-width: 92vw;
  max-height: 86vh;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  overflow: hidden;
  background: #fff;
  color: var(--text);
}
.legal-dialog::backdrop {
  background: rgba(46,46,76,0.55);
  backdrop-filter: blur(4px);
}
.dialog-head {
  position: sticky;
  top: 0;
  background: var(--navy);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  z-index: 1;
}
.dialog-head h2 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.dialog-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s, color .15s;
}
.dialog-close:hover { background: var(--orange); color: #fff; }
.dialog-close svg { width: 18px; height: 18px; }

.dialog-body {
  padding: 28px 32px 36px;
  overflow-y: auto;
  max-height: calc(86vh - 78px);
}
.dialog-body h3 {
  color: var(--navy);
  font-size: 18px;
  margin: 22px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--orange);
}
.dialog-body h3:first-child,
.dialog-body p:first-child { margin-top: 0; }

.dialog-fullpage {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--orange-soft);
  border-radius: 6px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.2;
  margin-bottom: 22px;
  transition: background .15s;
}
.dialog-fullpage:hover { background: rgba(255,145,0,0.22); color: var(--orange); }
.dialog-fullpage svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.dialog-body h4 {
  color: var(--navy);
  font-size: 15px;
  margin: 18px 0 6px;
  font-weight: 600;
}
.dialog-body p { margin-bottom: 12px; font-size: 14px; line-height: 1.7; }
.dialog-body ul { padding-left: 22px; margin-bottom: 12px; }
.dialog-body li { margin-bottom: 6px; font-size: 14px; }
.dialog-body a { color: var(--orange); font-weight: 600; }

/* Responsive */
@media (max-width: 900px) {
  .top-strip { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav .wrap { padding-top: 12px; padding-bottom: 12px; }
  .brand-logo { width: 44px; height: 44px; }
  .brand-text { font-size: 17px; }
  .brand-text small { font-size: 10px; letter-spacing: 0.8px; }
  .btn { padding: 9px 16px; font-size: 13px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .location { padding: 40px 0; }
  .map-frame { height: 260px; }
  .hero h1 { font-size: 36px; }
  .site-nav .wrap > nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section-head h2 { font-size: 28px; }
  section { padding: 56px 0; }
  .top-strip { font-size: 12px; }
  .top-strip .wrap > div { gap: 12px; }
  .nabh-card { padding: 28px 24px; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero h1 { font-size: 30px; }
  .dialog-body { padding: 22px 24px 28px; }
  .map-frame { height: 220px; }
}
