:root {
  --green: #1f7a4d;
  --green-dark: #0f3d2e;
  --blue: #123f32;
  --blue-soft: #2d6a4f;
  --white: #ffffff;
  --ink: #14303d;
  --muted: #62727b;
  --line: #d9ead7;
  --surface: #f8fcf2;
  --surface-strong: #edf7df;
  --gold: #f4c430;
  --danger: #b42318;
  --shadow: 0 18px 45px rgba(18, 63, 50, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans Devanagari", "Nirmala UI", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--blue);
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 1rem;
}

.top-strip {
  color: var(--white);
  background: var(--green-dark);
}

.top-strip-inner,
.header-inner,
.container,
.site-footer-inner {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.top-strip-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
}

.top-strip a {
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  color: var(--green-dark);
  background: var(--gold);
  border-radius: 0.65rem;
  font-size: 1.2rem;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--blue);
  font-size: clamp(1rem, 2.6vw, 1.28rem);
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.menu-toggle {
  min-width: 44px;
  min-height: 44px;
  display: none;
  place-items: center;
  color: var(--blue);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  font-size: 1.1rem;
  cursor: pointer;
}

.nav a {
  padding: 0.55rem 0.7rem;
  color: var(--blue);
  border-radius: 0.5rem;
  font-weight: 800;
  font-size: 0.95rem;
}

.nav a[aria-current="page"],
.nav a:hover {
  background: var(--surface);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.language-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.22rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang-button {
  min-height: 38px;
  padding: 0 0.75rem;
  color: var(--blue);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.lang-button[aria-pressed="true"] {
  color: var(--green-dark);
  background: var(--gold);
}

.phone-link,
.header-cta,
.primary-button,
.secondary-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 0.5rem;
  font-weight: 900;
}

.phone-link {
  padding: 0 0.85rem;
  color: var(--blue);
  border: 1px solid var(--line);
}

.phone-link::before {
  content: "\f095";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.header-cta::before {
  content: "\f271";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.header-cta,
.primary-button {
  padding: 0.75rem 1rem;
  color: var(--green-dark);
  background: var(--gold);
  box-shadow: 0 10px 22px rgba(244, 196, 48, 0.25);
}

.secondary-button {
  padding: 0.75rem 1rem;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero {
  min-height: calc(100svh - 120px);
  padding: clamp(2rem, 5vw, 4.5rem) 0 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(1.6rem, 4vw, 4rem);
}

.page-hero {
  padding: clamp(2.6rem, 7vw, 5.5rem) 0;
  background: linear-gradient(180deg, var(--surface), var(--white));
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  max-width: 900px;
  margin-left: max(1rem, calc((100vw - 1160px) / 2));
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--blue);
  line-height: 1.15;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.1rem, 6vw, 4.85rem);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.65rem, 4.5vw, 2.75rem);
}

h3 {
  font-size: 1.26rem;
}

.hero-copy,
.section-heading p,
.feature-panel p,
.contact-copy address,
.site-footer p,
.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-copy,
.lead {
  max-width: 720px;
  margin: 1.15rem 0 0;
}

.hero-actions,
.contact-buttons,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.hero-meta,
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.hero-meta span,
.badge {
  padding: 0.45rem 0.75rem;
  color: var(--blue);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
}

.hero-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
  color: var(--green-dark);
  font-weight: 900;
}

.hero-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--green-dark);
  background: var(--gold);
  border-radius: 50%;
}

.badge.emergency {
  color: var(--danger);
  background: #fff5f4;
  border-color: #ffd5d2;
}

.hero-visual {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: var(--surface);
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

.hero-visual img,
.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual img {
  min-height: 440px;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 48, 73, 0) 45%, rgba(0, 48, 73, 0.56));
}

.visual-card {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: 1rem;
  color: var(--white);
  background: rgba(0, 48, 73, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.5rem;
}

.visual-card strong,
.visual-card span {
  display: block;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  box-shadow: 0 12px 30px rgba(0, 48, 73, 0.08);
}

.stat-item {
  padding: clamp(1rem, 3vw, 1.7rem);
  background: var(--white);
  border-right: 1px solid var(--line);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-item strong,
.stat-item span {
  display: block;
}

.stat-item strong {
  color: var(--green);
  font-size: clamp(1.65rem, 5vw, 2.45rem);
  line-height: 1.1;
}

.stat-item span {
  margin-top: 0.2rem;
  color: var(--blue);
  font-weight: 800;
}

.section {
  padding: clamp(3rem, 8vw, 5.5rem) 0 0;
}

.section.last {
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
}

.section-heading {
  max-width: 760px;
}

.grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.card .icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--white);
  background: var(--green);
  border-radius: 0.5rem;
  font-size: 1.2rem;
  font-weight: 900;
}

.card p,
.card ul {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.card ul {
  padding-left: 1.1rem;
}

.doctor-profile-card {
  position: relative;
  overflow: hidden;
}

.doctor-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 1rem;
  object-fit: cover;
  object-position: center;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.feature-panel {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1.5rem;
  padding: clamp(1.3rem, 4vw, 2.2rem);
  color: var(--white);
  background: var(--blue);
  border-radius: 0.5rem;
}

.feature-panel h2,
.feature-panel .eyebrow {
  color: var(--white);
}

.feature-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 0.85rem 1rem;
  color: var(--blue);
  background: var(--white);
  border-left: 5px solid var(--gold);
  border-radius: 0.5rem;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.5rem;
  align-items: stretch;
}

.image-panel {
  min-height: 360px;
  overflow: hidden;
  background: var(--surface);
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
}

.contact-copy,
.map-wrap {
  min-width: 0;
}

.contact-copy address {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0 0;
  font-style: normal;
}

.contact-copy address strong {
  color: var(--blue);
}

.info-list {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.map-wrap {
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
}

.site-footer {
  color: var(--white);
  background: var(--green-dark);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 1fr;
  gap: 1.5rem;
  padding: 2rem 0 5.5rem;
}

.site-footer strong {
  font-size: 1.1rem;
}

.site-footer p {
  max-width: 620px;
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.footer-title {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--gold);
  font-weight: 900;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.footer-contact {
  display: grid;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.82);
}

.footer-contact a {
  color: var(--white);
  font-weight: 900;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--green-dark);
  background: var(--gold);
  border-radius: 50%;
  font-size: 1.1rem;
}

.disclaimer {
  grid-column: 1 / -1;
  max-width: none;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 11;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: #128c7e;
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(0, 48, 73, 0.24);
  font-size: 1.55rem;
  font-weight: 900;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .header-inner {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 0.8rem 0;
  }

  .menu-toggle {
    display: grid;
  }

  .nav {
    grid-column: 1 / -1;
    width: 100%;
    display: none;
    grid-template-columns: 1fr 1fr;
    padding-top: 0.8rem;
  }

  .site-header.nav-open .nav {
    display: grid;
  }

  .header-actions {
    grid-column: 1 / -1;
    width: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .hero,
  .feature-panel,
  .split,
  .contact,
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 320px;
  }

  .grid.three,
  .grid.two,
  .stats {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-item:last-child {
    border-bottom: 0;
  }

}

@media (max-width: 560px) {
  .top-strip-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.55rem 0;
    gap: 0.2rem;
  }

  .nav,
  .site-header.nav-open .nav {
    grid-template-columns: 1fr 1fr;
  }

  .header-actions,
  .hero-actions,
  .contact-buttons,
  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .language-toggle {
    width: 100%;
  }

  .phone-link,
  .header-cta,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .floating-whatsapp {
    width: 54px;
    height: 54px;
  }
}
