:root {
  --blue: #0b6fcf;
  --deep: #073b75;
  --aqua: #18b8c7;
  --mint: #e9fbf8;
  --sky: #edf8ff;
  --sun: #ffc857;
  --ink: #122236;
  --muted: #637488;
  --line: #dbe8f2;
  --white: #fff;
  --shadow: 0 18px 45px rgba(11, 72, 130, 0.13);
  --radius: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(100% - 32px, var(--container)); margin: 0 auto; }

.topbar {
  background: var(--deep);
  color: #dcefff;
  font-size: 13px;
}
.topbar-grid {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 232, 242, 0.9);
  backdrop-filter: blur(16px);
}
.site-header.is-scrolled { box-shadow: 0 10px 28px rgba(11, 72, 130, 0.1); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  font-weight: 900;
}
.brand strong { display: block; color: var(--deep); line-height: 1.1; }
.brand small { display: block; color: var(--muted); font-weight: 700; line-height: 1.2; }
.nav-menu { display: flex; justify-content: center; gap: clamp(14px, 2vw, 26px); font-weight: 800; font-size: 14px; color: #243a52; }
.nav-menu a { padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-menu a:hover, .nav-menu a.is-active { color: var(--blue); border-color: var(--aqua); }
.header-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.header-cta { color: #fff; background: var(--blue); box-shadow: 0 10px 24px rgba(11, 111, 207, 0.2); }
.btn:hover, .header-cta:hover { transform: translateY(-2px); }
svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--sky);
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.89) 40%, rgba(255,255,255,.18) 78%),
    url("assets/ojashwi-nicu-hero.jpg") center right / cover no-repeat;
}
.hero-content { position: relative; max-width: 720px; padding: 80px 0; }
.badge, .eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue);
  background: #e8f6ff;
  border: 1px solid #caecff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
  color: #0d2036;
}
.hero p { max-width: 620px; color: #40546b; font-size: clamp(17px, 2vw, 22px); }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--aqua)); box-shadow: 0 14px 28px rgba(11,111,207,.24); }
.btn-light { color: var(--deep); background: #fff; border: 1px solid var(--line); }
.btn-whatsapp { color: #fff; background: #20c768; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust span {
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.85);
  color: var(--muted);
  box-shadow: 0 12px 30px rgba(11,72,130,.09);
}
.hero-trust strong { display: block; color: var(--deep); line-height: 1.1; }

.section { padding: 86px 0; }
.intro-strip { padding: 0; transform: translateY(-34px); position: relative; z-index: 2; }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.strip-card, .doctor-card, .facility-card, .review-card, .contact-card, .about-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.strip-card { min-height: 164px; padding: 24px; }
.strip-card svg, .facility-card svg { color: var(--blue); background: var(--sky); padding: 9px; width: 42px; height: 42px; border-radius: 8px; margin-bottom: 16px; }
.strip-card h3, .facility-card h3, .doctor-card h3, .review-card h3 { margin: 0 0 8px; line-height: 1.25; }
.strip-card p, .facility-card p, .doctor-card p, .review-card p, .section-heading p, .section-copy p { color: var(--muted); margin: 0; }

.about-grid, .appointment-grid, .contact-grid, .why-grid, .vaccine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.section-copy h2, .section-heading h2, .contact-card h2, .vaccine-grid h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4.6vw, 48px);
  line-height: 1.14;
  letter-spacing: 0;
}
.about-panel { padding: 28px; background: linear-gradient(145deg, #fff, var(--sky)); }
.about-panel p { color: #40546b; }

.doctors-section, .gallery-section, .reviews-section { background: #f7fbff; }
.section-heading { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.doctor-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.doctor-card { min-height: 292px; padding: 22px; text-align: center; }
.doctor-photo {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  font-size: 24px;
  font-weight: 900;
}
.doctor-card span { display: block; color: var(--deep); font-weight: 900; }
.doctor-card small { display: block; margin-top: 8px; color: var(--muted); }

.facility-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.facility-card { min-height: 212px; padding: 22px; transition: transform 180ms ease, border-color 180ms ease; }
.facility-card:hover { transform: translateY(-5px); border-color: #9fdff0; }

.vaccine-section { padding: 56px 0; color: #fff; background: linear-gradient(135deg, var(--deep), var(--blue)); }
.vaccine-section .eyebrow { color: #fff; background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.18); }
.vaccine-grid p { color: rgba(255,255,255,.82); }
.vaccine-grid .btn { justify-self: end; background: var(--sun); color: #123; }

.gallery-toolbar { display: flex; justify-content: center; gap: 10px; margin-bottom: 18px; }
.gallery-toolbar button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--deep);
  cursor: pointer;
  font-weight: 900;
}
.gallery-slider { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-card {
  position: relative;
  min-height: 260px;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background-image: linear-gradient(180deg, transparent, rgba(4, 28, 51, 0.75)), url("assets/ojashwi-gallery.jpg");
  background-size: 205% 205%;
  background-position: var(--pos, left top);
  color: #fff;
  cursor: pointer;
}
.gallery-card span { position: absolute; left: 18px; bottom: 16px; font-size: 18px; font-weight: 900; }
.gallery-card.active { outline: 3px solid var(--aqua); outline-offset: 2px; }

.why-section { background: var(--mint); }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why-list span { padding: 16px; border: 1px solid #cdeee8; border-radius: 8px; background: #fff; color: #20384e; font-weight: 900; }
.stats-section { padding: 44px 0; background: var(--deep); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: center; }
.stats-grid div { padding: 20px; border-radius: 8px; background: rgba(255,255,255,.08); }
.stats-grid strong { display: block; font-size: clamp(28px, 4vw, 46px); line-height: 1; }
.stats-grid span { color: #cfe7ff; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { min-height: 250px; padding: 26px; }
.review-card div { color: #fbbc04; margin-bottom: 14px; }
.review-card span { color: var(--blue); font-weight: 900; font-size: 14px; }

.appointment-section { background: linear-gradient(145deg, #fff, var(--sky)); }
.appointment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.appointment-form label { display: grid; gap: 8px; color: #243a52; font-weight: 900; }
.appointment-form .full, .form-note { grid-column: 1 / -1; }
.appointment-form input, .appointment-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cbdbe9;
  border-radius: 8px;
  outline: none;
}
.appointment-form textarea { resize: vertical; }
.appointment-form input:focus, .appointment-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11,111,207,.12); }
.form-note { margin: 0; color: var(--muted); font-size: 14px; }

.contact-card { padding: 28px; }
.contact-card a { color: var(--blue); font-weight: 900; }
.map { width: 100%; min-height: 430px; border: 0; border-radius: 8px; box-shadow: var(--shadow); }

.site-footer { background: #071f3a; color: #d8eafe; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1fr; gap: 32px; padding: 56px 0; }
.site-footer h3 { margin: 0 0 14px; color: #fff; }
.site-footer p, .site-footer a { color: #bdd6ef; }
.site-footer a { display: block; margin: 8px 0; }
.socials { display: flex; gap: 8px; margin-top: 12px; }
.socials a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.1); color: #fff; }
.footer-bottom { padding: 18px; border-top: 1px solid rgba(255,255,255,.12); text-align: center; color: #bdd6ef; }

.float-btn {
  position: fixed;
  right: 18px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 14px 34px rgba(7,31,58,.24);
}
.float-call { bottom: 86px; background: var(--blue); }
.float-wa { bottom: 20px; background: #20c768; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(4, 18, 34, .82);
}
.lightbox.is-open { display: grid; }
.lightbox-image {
  width: min(92vw, 1000px);
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background-image: url("assets/ojashwi-gallery.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 26px 60px rgba(0,0,0,.32);
}
.lightbox p { color: #fff; font-weight: 900; }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 28px;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: auto auto; }
  .menu-toggle { display: block; justify-self: end; }
  .header-cta { display: none; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .nav-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu a { padding: 12px; }
  .doctor-grid, .facility-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .topbar-grid { display: grid; text-align: center; }
  .brand small { max-width: 220px; }
  .hero { min-height: 690px; }
  .hero-media {
    background:
      linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,255,255,.83), rgba(255,255,255,.48)),
      url("assets/ojashwi-nicu-hero.jpg") center / cover no-repeat;
  }
  .hero-content { padding: 70px 0; }
  h1 { font-size: clamp(34px, 11vw, 54px); }
  .hero-actions, .contact-actions { display: grid; }
  .btn { width: 100%; }
  .strip-grid, .about-grid, .appointment-grid, .contact-grid, .why-grid, .vaccine-grid, .footer-grid { grid-template-columns: 1fr; }
  .intro-strip { transform: none; padding: 22px 0 0; }
  .section { padding: 66px 0; }
  .section-heading { text-align: left; margin-left: 0; }
  .doctor-grid, .facility-grid, .gallery-slider, .review-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .vaccine-grid .btn { justify-self: stretch; }
  .appointment-form { grid-template-columns: 1fr; padding: 22px; }
}

@media (max-width: 540px) {
  .site-header { padding-inline: 12px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand strong { font-size: 15px; }
  .brand small { max-width: 180px; font-size: 11px; }
  .hero-trust, .doctor-grid, .facility-grid, .gallery-slider, .review-grid, .stats-grid, .why-list { display: grid; grid-template-columns: 1fr; }
  .gallery-card { min-height: 220px; }
  .float-btn { right: 14px; width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
