:root {
  --ink: #102924;
  --muted: #64716d;
  --surface: #fffdf5;
  --paper: #ffffff;
  --mist: #e9faf5;
  --teal: #087f6f;
  --teal-strong: #04685c;
  --green: #21a86f;
  --red: #ef233c;
  --gold: #f2c94c;
  --shadow: 0 24px 70px rgba(12, 52, 45, 0.16);
  --radius: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 4%, rgba(33, 168, 111, 0.14), transparent 28rem),
    radial-gradient(circle at 90% 20%, rgba(239, 35, 60, 0.08), transparent 26rem),
    linear-gradient(180deg, #fffef7 0%, #f4fbf8 42%, #fffdf5 100%);
  color: var(--ink);
  font-family: "Outfit", "Trebuchet MS", sans-serif;
}

html[lang="mr"] body,
html[lang="mr"] button,
html[lang="mr"] input,
html[lang="mr"] select,
html[lang="mr"] textarea {
  font-family: "Noto Sans Devanagari", "Outfit", "Trebuchet MS", sans-serif;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 0.7rem 1rem;
}

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

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.7rem max(1.2rem, calc((100vw - var(--max)) / 2));
  background: var(--teal);
  color: white;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.topbar p {
  color: white;
  margin: 0;
}

.topbar__right {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar__actions {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  white-space: nowrap;
}

.language-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  padding: 0.18rem;
  box-shadow: inset 0 0 0 1px rgba(8, 127, 111, 0.08);
}

.language-switch button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: white;
  cursor: pointer;
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.language-switch button:hover {
  transform: translateY(-1px);
}

.language-switch button.is-active {
  background: white;
  color: var(--teal-strong);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem max(1.2rem, calc((100vw - var(--max)) / 2));
  background: rgba(255, 253, 245, 0.84);
  border-bottom: 1px solid rgba(8, 127, 111, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  order: 1;
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 62px;
  height: 62px;
  padding: 4px;
  border-radius: 50%;
  object-fit: contain;
  background: white;
  box-shadow: 0 10px 24px rgba(8, 127, 111, 0.18);
}

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

.brand strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.header-appointment {
  order: 3;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #153d72;
  color: white;
  padding: 0.75rem 1.15rem;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 14px 30px rgba(21, 61, 114, 0.22);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.header-appointment:hover {
  background: #0f315d;
  box-shadow: 0 18px 38px rgba(21, 61, 114, 0.3);
  transform: translateY(-2px);
}

.nav {
  order: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
  color: #29443f;
  font-weight: 700;
}

.nav a {
  position: relative;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.4rem;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  order: 4;
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--teal);
  padding: 0.7rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: white;
}

.hero,
.section,
.quick-grid,
.site-footer {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

.hero-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0f2f57;
}

.hero-banner__viewport {
  overflow: hidden;
}

.hero-banner__track {
  display: flex;
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-banner__slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
}

.hero-banner__slide::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 20, 44, 0.08), rgba(2, 20, 44, 0) 45%, rgba(2, 20, 44, 0.08)),
    linear-gradient(180deg, rgba(3, 21, 44, 0), rgba(3, 21, 44, 0.08));
  content: "";
}

.hero-banner__slide img {
  width: 100%;
  height: clamp(285px, 38.5vw, 690px);
  filter: brightness(1.25) contrast(1.05) saturate(1.05);
  object-fit: cover;
  object-position: center;
}

.hero-banner__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  width: min(var(--max), calc(100% - 2.4rem));
  align-content: center;
  justify-items: center;
  margin-inline: auto;
  pointer-events: none;
  text-align: center;
}

.hero-banner__content p {
  margin: 0.95rem 0 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  padding: 0.55rem 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}

.hero-banner__content h2 {
  max-width: 1050px;
  margin: 0;
  color: white;
  font-family: "Outfit", "Trebuchet MS", sans-serif;
  font-size: clamp(2.2rem, 6.4vw, 5.6rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.42);
}

.hero-banner__button {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #123d70;
  cursor: pointer;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 18px 36px rgba(3, 21, 44, 0.24);
  transform: translateY(-50%);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.hero-banner__button:hover {
  background: white;
  transform: translateY(-50%) scale(1.05);
}

.hero-banner__button--prev {
  left: max(1rem, calc((100vw - var(--max)) / 2));
}

.hero-banner__button--next {
  right: max(1rem, calc((100vw - var(--max)) / 2));
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4.2rem) 0 3rem;
}

.hero__copy {
  max-width: 960px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.6rem;
  height: 2px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Newsreader", Georgia, serif;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

html[lang="mr"] h1,
html[lang="mr"] h2 {
  font-family: "Noto Serif Devanagari", "Noto Sans Devanagari", Georgia, serif;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

html[lang="mr"] .eyebrow {
  letter-spacing: 0.06em;
}

h1 {
  max-width: 820px;
  margin-bottom: 1.35rem;
  font-size: clamp(2.65rem, 5.7vw, 4.85rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.25rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero__lead {
  max-width: 660px;
  font-size: 1.15rem;
}

.hero__actions,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--red);
  color: white;
  box-shadow: 0 16px 30px rgba(239, 35, 60, 0.24);
}

.button--ghost {
  border-color: rgba(8, 127, 111, 0.22);
  background: white;
  color: var(--teal);
}

.button--ambulance {
  background: var(--teal);
  color: white;
  box-shadow: 0 16px 30px rgba(8, 127, 111, 0.22);
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 2.1rem;
}

.hero__metrics article {
  border: 1px solid rgba(8, 127, 111, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  padding: 1rem;
}

.hero__metrics strong {
  display: block;
  color: var(--teal);
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.hero__metrics span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.hero__visual {
  position: relative;
  min-height: 560px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 12px solid white;
  border-radius: 42px;
  background: white;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.hero-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 50, 44, 0.78));
  content: "";
}

.hero-card img {
  width: 100%;
  height: 530px;
  object-fit: cover;
  object-position: center;
}

.hero-card__note {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  left: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  padding: 1rem;
}

.hero-card__note span {
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-card__note strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.2rem;
}

.orbit-card {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  background: var(--teal);
  color: white;
  box-shadow: 0 16px 40px rgba(8, 127, 111, 0.2);
  padding: 0.85rem 1.15rem;
  font-weight: 800;
}

.orbit-card--one {
  top: 3rem;
  left: -1rem;
}

.orbit-card--two {
  right: -1rem;
  bottom: 13rem;
  background: var(--red);
}

.orbit-card--three {
  bottom: 2rem;
  left: 2rem;
  background: var(--green);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem 0 clamp(3rem, 8vw, 6rem);
}

.quick-card,
.service-card,
.address-card,
.appointment-form,
.facility-card,
.director-card,
.panel-card {
  border: 1px solid rgba(8, 127, 111, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 60px rgba(12, 52, 45, 0.08);
}

.quick-card {
  padding: 1.4rem;
}

.quick-card h2 {
  font-family: "Outfit", "Trebuchet MS", sans-serif;
  font-size: 1.45rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.quick-card--accent {
  background: var(--teal);
  color: white;
}

.quick-card span {
  display: inline-flex;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--teal);
  padding: 0.35rem 0.7rem;
  font-weight: 800;
}

.quick-card--accent span {
  background: white;
}

.quick-card--accent p {
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.section__copy {
  max-width: 760px;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.about-highlights span {
  border: 1px solid rgba(8, 127, 111, 0.14);
  border-radius: 999px;
  background: white;
  color: var(--teal-strong);
  padding: 0.65rem 0.9rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(12, 52, 45, 0.07);
}

.about-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.about-services article {
  border: 1px solid rgba(8, 127, 111, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(12, 52, 45, 0.06);
}

.about-services h3 {
  color: var(--teal-strong);
  font-size: 1rem;
}

.about-services ul {
  margin: 0;
  padding-left: 1.05rem;
}

.about-services li {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0.32rem;
}

.address-card {
  padding: 2rem;
}

.address-card img {
  width: 110px;
  height: 110px;
  padding: 6px;
  margin-bottom: 1.4rem;
  border-radius: 50%;
  object-fit: contain;
  background: white;
}

.address-card a {
  color: var(--teal);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 2.2rem;
}

.section-heading--light h2,
.section-heading--light p {
  color: white;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 0;
}

.service-card::after {
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 6rem;
  height: 6rem;
  border-radius: 999px;
  background: rgba(8, 127, 111, 0.1);
  content: "";
}

.service-card h3 {
  margin: 1rem 1.2rem 0.4rem;
  color: var(--teal-strong);
}

.service-card p {
  margin: 0 1.2rem 1.3rem;
}

.service-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.doctors {
  width: 100%;
  max-width: none;
  background:
    radial-gradient(circle at 86% 0%, rgba(242, 201, 76, 0.22), transparent 22rem),
    linear-gradient(135deg, #04453e 0%, #087f6f 70%, #0aa087 100%);
  padding-inline: max(1.2rem, calc((100vw - var(--max)) / 2));
}

.doctor-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.director-card {
  background: rgba(255, 255, 255, 0.94);
  padding: 1.5rem;
}

.director-card span {
  display: inline-block;
  margin-bottom: 1.3rem;
  border-radius: 999px;
  background: var(--red);
  color: white;
  padding: 0.42rem 0.85rem;
  font-weight: 800;
}

.director-profile {
  overflow: hidden;
  border: 1px solid rgba(8, 127, 111, 0.12);
  border-radius: 24px;
  background: white;
  box-shadow: 0 14px 36px rgba(12, 52, 45, 0.08);
}

.director-profile + .director-profile {
  margin-top: 1rem;
}

.director-profile img {
  width: 100%;
  height: 265px;
  object-fit: cover;
  object-position: center top;
}

.director-profile div {
  padding: 1rem;
}

.director-profile h3 {
  margin-bottom: 0.25rem;
}

.director-profile p {
  margin-bottom: 0;
}

.doctor-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.specialty-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 60px rgba(5, 50, 44, 0.18);
  padding: 1.25rem;
}

.specialty-card h3 {
  color: var(--teal-strong);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.specialty-card p {
  display: grid;
  gap: 0.1rem;
  margin-bottom: 0.8rem;
  border-top: 1px solid rgba(8, 127, 111, 0.1);
  padding-top: 0.8rem;
  line-height: 1.35;
}

.specialty-card p:last-child {
  margin-bottom: 0;
}

.specialty-card strong {
  color: var(--ink);
}

.specialty-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.panel-card {
  overflow: hidden;
  margin: 0;
  background: #1d2725;
}

.panel-card img {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  background: #3f3f3f;
}

.panel-card figcaption {
  color: rgba(255, 255, 255, 0.72);
  padding: 0.85rem 1rem 1rem;
  font-size: 0.92rem;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.facility-card {
  overflow: hidden;
}

.facility-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.facility-card h3 {
  padding: 1rem 1.2rem 0.3rem;
}

.facility-card p {
  margin: 0;
  padding: 0 1.2rem 1.2rem;
  font-size: 0.94rem;
}

.facility-card h3:last-child {
  padding-bottom: 1.2rem;
}

.schemes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  gap: 1.5rem;
  align-items: center;
  border-radius: 36px;
  background: #fff6de;
  padding: clamp(2rem, 5vw, 3rem);
}

.scheme-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.scheme-list span {
  display: grid;
  min-height: 96px;
  place-items: center;
  border-radius: 22px;
  background: white;
  color: var(--teal);
  font-size: 1.2rem;
  font-weight: 900;
  box-shadow: 0 16px 35px rgba(12, 52, 45, 0.08);
}

.scheme-logo-card {
  min-height: 196px;
  padding: 1.15rem;
}

.scheme-logo-card img {
  width: 100%;
  max-width: min(320px, 100%);
  max-height: 165px;
  object-fit: contain;
}

.gallery-section {
  position: relative;
}

.gallery-section .section-heading {
  margin-inline: auto;
  text-align: center;
}

.gallery-section .eyebrow {
  justify-content: center;
}

.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-bottom: 1.35rem;
}

.gallery-preview-grid figure {
  overflow: hidden;
  min-height: 230px;
  margin: 0;
  border-radius: 8px;
  background: #e7f1ee;
  box-shadow: 0 18px 38px rgba(12, 52, 45, 0.1);
}

.gallery-preview-grid img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform 520ms ease;
}

.gallery-preview-grid figure:hover img {
  transform: scale(1.04);
}

.gallery-shell {
  position: relative;
  border: 1px solid rgba(8, 127, 111, 0.12);
  border-radius: 18px;
  background: white;
  box-shadow: 0 18px 45px rgba(12, 52, 45, 0.08);
  padding: 1rem;
}

.gallery-viewport {
  overflow: hidden;
  border-radius: 28px;
  padding: 0.2rem 0.2rem 1rem;
}

.gallery-viewport:focus {
  outline: 3px solid rgba(8, 127, 111, 0.14);
  outline-offset: 5px;
}

.gallery-track {
  display: flex;
  gap: 1rem;
  transition: transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.gallery-slide {
  position: relative;
  flex: 0 0 calc((100% - 2rem) / 3);
  overflow: hidden;
  min-width: 0;
  margin: 0;
  border-radius: 8px;
  background: #102924;
  box-shadow: 0 14px 28px rgba(12, 52, 45, 0.1);
}

.gallery-slide img {
  width: 100%;
  height: 285px;
  object-fit: cover;
}

.gallery-slide figcaption {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  left: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 0.75rem 0.85rem;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(12, 52, 45, 0.12);
}

.gallery-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: white;
  cursor: pointer;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 16px 34px rgba(8, 127, 111, 0.24);
  transform: translateY(-50%);
}

.gallery-button--prev {
  left: -0.5rem;
}

.gallery-button--next {
  right: -0.5rem;
}

.gallery-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0.4rem 0.2rem;
}

.gallery-status span {
  color: var(--teal-strong);
  font-weight: 900;
}

.gallery-status small {
  color: var(--muted);
  font-weight: 800;
}

.testimonials-section {
  position: relative;
}

.testimonials-section .section-heading {
  margin-inline: auto;
  text-align: center;
}

.testimonials-section .eyebrow {
  justify-content: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.testimonial-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(8, 127, 111, 0.12);
  border-radius: 30px;
  background: #102924;
  box-shadow: 0 24px 56px rgba(12, 52, 45, 0.14);
  transform: translateY(0);
  transition:
    box-shadow 220ms ease,
    transform 220ms ease;
}

.testimonial-card:hover {
  box-shadow: 0 30px 70px rgba(12, 52, 45, 0.2);
  transform: translateY(-6px);
}

.testimonial-card img {
  width: 100%;
  aspect-ratio: 9 / 11.8;
  object-fit: cover;
  transition: transform 520ms ease;
}

.testimonial-card:hover img {
  transform: scale(1.035);
}

.testimonial-open {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #153d72;
  padding: 0.55rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(3, 21, 44, 0.18);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
  margin: 2rem 0;
}

.contact-list a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  border: 1px solid rgba(8, 127, 111, 0.14);
  border-radius: 18px;
  background: white;
  padding: 1rem;
}

.contact-list span {
  color: var(--muted);
}

.contact-list strong {
  color: var(--teal);
  overflow-wrap: anywhere;
}

.contact-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 14px;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-icon--phone {
  background: rgba(8, 127, 111, 0.12);
  color: var(--teal);
}

.contact-icon--ambulance {
  background: rgba(239, 35, 60, 0.12);
  color: var(--red);
}

.contact-icon--instagram {
  background: linear-gradient(135deg, #f9ce34, #ee2a7b 48%, #6228d7);
  color: white;
}

.contact-icon--facebook {
  background: #1877f2;
  color: white;
}

.contact-icon--maps {
  background: rgba(21, 61, 114, 0.1);
  color: #153d72;
}

address {
  color: var(--muted);
  font-style: normal;
  line-height: 1.65;
}

.appointment-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.appointment-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 800;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  border: 1px solid rgba(8, 127, 111, 0.16);
  border-radius: 16px;
  background: #fbfffd;
  padding: 0.9rem 1rem;
  color: var(--ink);
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(8, 127, 111, 0.12);
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid rgba(8, 127, 111, 0.12);
  padding: 2rem 0 6rem;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-actions a {
  color: var(--teal);
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  background: #18a957;
  color: white;
  box-shadow: 0 16px 30px rgba(24, 169, 87, 0.25);
  padding: 0.95rem 1.2rem;
  font-weight: 900;
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .split,
  .contact,
  .doctor-layout,
  .schemes {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: auto;
  }

  .service-grid,
  .facility-grid,
  .doctor-directory,
  .about-services {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-slide {
    flex-basis: calc((100% - 1rem) / 2);
  }

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

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

  .quick-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.9rem;
  }

  .topbar__right {
    justify-content: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 1.2rem;
    left: 1.2rem;
    display: grid;
    border: 1px solid rgba(8, 127, 111, 0.12);
    border-radius: 22px;
    background: white;
    padding: 1rem;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .header-appointment {
    margin-left: auto;
    padding-inline: 0.95rem;
    font-size: 0.9rem;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    padding-top: 2.2rem;
  }

  .hero-banner__slide img {
    height: 285px;
  }

  .hero-banner__content {
    width: min(100% - 2rem, var(--max));
  }

  .hero-banner__content p {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    padding: 0.45rem 0.75rem;
  }

  .hero-banner__content h2 {
    font-size: clamp(1.9rem, 7.7vw, 3rem);
  }

  .hero-banner__button {
    display: none;
  }

  .hero__metrics,
  .service-grid,
  .facility-grid,
  .scheme-list,
  .doctor-directory,
  .about-services {
    grid-template-columns: 1fr;
  }

  .gallery-shell {
    border-radius: 18px;
    padding: 0.75rem;
  }

  .gallery-preview-grid {
    gap: 0.45rem;
  }

  .gallery-preview-grid figure,
  .gallery-preview-grid img {
    min-height: 178px;
  }

  .gallery-slide {
    flex-basis: 100%;
  }

  .gallery-slide img {
    height: 310px;
  }

  .testimonial-card {
    border-radius: 24px;
  }

  .gallery-button {
    display: none;
  }

  .hero-card {
    border-width: 8px;
    border-radius: 30px;
  }

  .hero-card img {
    height: 420px;
  }

  .orbit-card {
    display: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand small {
    display: block;
    font-size: 0.7rem;
  }

  .brand img {
    width: 52px;
    height: 52px;
    padding: 3px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .header-appointment {
    min-height: 40px;
    padding: 0.65rem 0.75rem;
    font-size: 0.78rem;
  }

  h1 {
    font-size: 3rem;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero-banner__slide img {
    height: 260px;
  }

  .hero-banner__content h2 {
    font-size: 2rem;
  }

  .hero-banner__content p {
    margin-top: 0.65rem;
  }

  .contact-list a {
    align-items: flex-start;
    flex-direction: column;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}
