/* ============================================================
   Arogya Multispecialty Clinics — International Design System
   Clean white · Montserrat · specialty color coding
   ============================================================ */

:root {
  /* Typography */
  --font-family--sans-serif: "Montserrat", sans-serif;
  --font-family--apple-system: "Montserrat", -apple-system, "BlinkMacSystemFont",
    "Segoe UI", sans-serif;

  /* Surfaces */
  --white: #ffffff;
  --grey-50: #f6f8fa;
  --grey-100: #eef1f4;
  --grey-200: #e2e7ec;
  --ink: #0f1215;
  --ink-60: #2a3138;
  --ink-40: #454e57;
  --line: #e6eaee;

  /* Brand */
  --blue: #5bb8e4;
  --blue-deep: #1e88c7;
  --blue-ink: #0e5d8c;
  --blue-tint: #eaf6fc;
  --green: #92d050;
  --green-deep: #5f9e28;
  --green-tint: #f1f9e6;

  /* Specialty accents */
  --c-ent: #e8930c;
  --c-ent-tint: #fdf3e0;
  --c-gp: #1e88c7;
  --c-gp-tint: #e8f4fb;
  --c-cardio: #e2504c;
  --c-cardio-tint: #fdecec;
  --c-pulmo: #0fa3a3;
  --c-pulmo-tint: #e6f7f7;
  --c-nephro: #8e5bd6;
  --c-nephro-tint: #f3ecfc;
  --c-lab: #5f9e28;
  --c-lab-tint: #f1f9e6;
  --c-checkup: #d6538e;
  --c-checkup-tint: #fceef5;
  --c-diabetes: #3f6ad8;
  --c-diabetes-tint: #ebf0fc;

  --shadow-sm: 0 1px 2px rgba(17, 20, 23, 0.05);
  --shadow-md: 0 8px 30px rgba(17, 20, 23, 0.08);
  --shadow-lg: 0 20px 60px rgba(17, 20, 23, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --container: 76rem;
  --header-h: 5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family--sans-serif);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-family--sans-serif);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 0.65rem;
  color: var(--ink);
}

p {
  margin: 0 0 1rem;
  color: var(--ink-60);
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.alert {
  border-radius: 12px;
  padding: 0.95rem 1.15rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}

.alert-success {
  background: var(--green-tint);
  color: var(--green-deep);
  border-color: #cfe8a8;
}

.alert-danger {
  background: var(--c-cardio-tint);
  color: #a33a37;
  border-color: #f3c4c2;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: grid;
  gap: 1rem;
  box-shadow: var(--shadow-md);
}

.form-card label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.form-control {
  width: 100%;
  border: 1.5px solid var(--grey-200);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}

.form-control:focus {
  border-color: var(--blue-deep);
  outline: none;
}

/* ---------- Typographic helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 0.9rem;
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.section {
  padding: clamp(3.75rem, 7vw, 6.75rem) 0;
}

.section.tight {
  padding: clamp(2.5rem, 4vw, 4rem) 0;
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.section-head.centered .eyebrow {
  justify-content: center;
}

.bg-grey {
  background: var(--grey-50);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-family--sans-serif);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}

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

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue-deep);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--blue-deep);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(30, 136, 199, 0.3);
}

.btn-primary:hover {
  background: var(--blue-ink);
  box-shadow: 0 12px 30px rgba(30, 136, 199, 0.4);
}

.btn-green {
  background: var(--green-deep);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(95, 158, 40, 0.3);
}

.btn-outline {
  background: var(--white);
  color: var(--ink);
  border-color: var(--grey-200);
}

.btn-outline:hover {
  border-color: var(--blue-deep);
  color: var(--blue-deep);
}

.btn-whatsapp {
  background: #1fab55;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(31, 171, 85, 0.3);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand img {
  height: 3rem;
  width: auto;
}

.site-footer .brand img {
  height: 2.6rem;
}

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

.nav > a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-60);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav > a:hover,
.nav > a[aria-current="page"] {
  color: var(--blue-deep);
  border-bottom-color: var(--blue-deep);
}

.nav > a.nav-cta,
.nav > a.nav-cta:hover {
  color: var(--white);
  border-bottom: none;
  padding: 0.8rem 1.5rem;
}

.nav-cta {
  display: none;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
}

.menu-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

@media (min-width: 1060px) {
  .nav-cta {
    display: inline-flex;
    padding: 0.75rem 1.4rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 1059px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }

  .nav.is-open {
    display: flex;
  }

  .nav > a {
    padding: 0.95rem 0.25rem;
    border-bottom: 1px solid var(--grey-100);
  }

  .nav .btn {
    margin-top: 1rem;
    width: 100%;
  }
}

/* ---------- Hero slider ---------- */
.slider {
  position: relative;
  overflow: hidden;
  background: var(--grey-50);
}

.slides {
  position: relative;
  min-height: clamp(34rem, calc(100svh - var(--header-h)), 46rem);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease), visibility 0.9s var(--ease);
  display: grid;
  align-items: center;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide-media {
  position: absolute;
  inset: 0;
}

.slide-media picture,
.slide-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.08) 18%, rgba(0, 0, 0, 0) 32%),
    linear-gradient(90deg,
      rgba(222, 240, 196, 0.96) 0%,
      rgba(228, 243, 205, 0.88) 28%,
      rgba(235, 246, 216, 0.45) 55%,
      rgba(240, 249, 228, 0) 78%);
}

@media (max-width: 700px) {
  .slide-scrim {
    background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.82) 55%,
      rgba(255, 255, 255, 0.55) 100%);
  }
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  padding-block: clamp(3rem, 6vw, 5rem);
}

.slide-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: var(--blue-tint);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.slide h1,
.slide .slide-title {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.1rem;
}

.slide p {
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  color: var(--ink-60);
  max-width: 30rem;
  margin-bottom: 1.8rem;
}

.slide.is-active .slide-kicker,
.slide.is-active .slide-title,
.slide.is-active p,
.slide.is-active .btn-group {
  animation: slideUp 0.85s var(--ease) both;
}

.slide.is-active .slide-title { animation-delay: 0.12s; }
.slide.is-active p { animation-delay: 0.22s; }
.slide.is-active .btn-group { animation-delay: 0.32s; }

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.slider-controls {
  position: absolute;
  z-index: 5;
  bottom: 1.6rem;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
  pointer-events: auto;
}

.slider-dots button {
  width: 2.2rem;
  height: 0.32rem;
  border: 0;
  border-radius: 99px;
  background: rgba(17, 20, 23, 0.18);
  cursor: pointer;
  transition: background 0.25s ease;
}

.slider-dots button.is-active {
  background: var(--blue-deep);
}

.slider-arrows {
  display: flex;
  gap: 0.6rem;
  pointer-events: auto;
}

.slider-arrows button {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  border: 1px solid var(--grey-200);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.slider-arrows button:hover {
  background: var(--blue-deep);
  color: var(--white);
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .slider-arrows {
    display: none;
  }
}

/* ---------- Specialty strip ---------- */
.spec-strip {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px) {
  .spec-strip {
    grid-template-columns: repeat(5, 1fr);
  }
}

.spec-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 1.4rem;
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.spec-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.spec-icon {
  width: 3.4rem;
  height: 3.4rem;
  margin: 0 auto 0.9rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}

.spec-icon svg {
  width: 1.8rem;
  height: 1.8rem;
}

.svc-icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

.spec-tile h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.spec-tile p {
  font-size: 0.82rem;
  margin: 0;
  color: var(--ink-40);
}

/* accent assignments */
.acc-ent .spec-icon, .acc-ent .svc-icon, .acc-ent .profile-mark { background: var(--c-ent); }
.acc-gp .spec-icon, .acc-gp .svc-icon, .acc-gp .profile-mark { background: var(--c-gp); }
.acc-cardio .spec-icon, .acc-cardio .svc-icon, .acc-cardio .profile-mark { background: var(--c-cardio); }
.acc-pulmo .spec-icon, .acc-pulmo .svc-icon, .acc-pulmo .profile-mark { background: var(--c-pulmo); }
.acc-nephro .spec-icon, .acc-nephro .svc-icon, .acc-nephro .profile-mark { background: var(--c-nephro); }
.acc-lab .spec-icon, .acc-lab .svc-icon, .acc-lab .profile-mark { background: var(--c-lab); }
.acc-checkup .spec-icon, .acc-checkup .svc-icon, .acc-checkup .profile-mark { background: var(--c-checkup); }
.acc-diabetes .spec-icon, .acc-diabetes .svc-icon, .acc-diabetes .profile-mark { background: var(--c-diabetes); }

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.acc-ent .badge, .badge.acc-ent { background: var(--c-ent-tint); color: var(--c-ent); }
.acc-gp .badge, .badge.acc-gp { background: var(--c-gp-tint); color: var(--c-gp); }
.acc-cardio .badge, .badge.acc-cardio { background: var(--c-cardio-tint); color: var(--c-cardio); }
.acc-pulmo .badge, .badge.acc-pulmo { background: var(--c-pulmo-tint); color: var(--c-pulmo); }
.acc-nephro .badge, .badge.acc-nephro { background: var(--c-nephro-tint); color: var(--c-nephro); }
.acc-lab .badge, .badge.acc-lab { background: var(--c-lab-tint); color: var(--c-lab); }
.acc-checkup .badge, .badge.acc-checkup { background: var(--c-checkup-tint); color: var(--c-checkup); }
.acc-diabetes .badge, .badge.acc-diabetes { background: var(--c-diabetes-tint); color: var(--c-diabetes); }

/* ---------- Stats band ---------- */
.stats-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.75rem);
  background: linear-gradient(120deg, var(--blue-ink) 0%, var(--blue-deep) 45%, #1a9e7c 100%);
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: repeat(2, 1fr);
  box-shadow: var(--shadow-lg);
}

.stats-band::before,
.stats-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.stats-band::before {
  width: 22rem;
  height: 22rem;
  top: -12rem;
  right: -6rem;
}

.stats-band::after {
  width: 14rem;
  height: 14rem;
  bottom: -8rem;
  left: -4rem;
}

@media (min-width: 900px) {
  .stats-band {
    grid-template-columns: repeat(4, 1fr);
  }

  .stats-band .stat + .stat {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    padding-left: 1.5rem;
  }
}

.stats-band .stat {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.3rem;
  align-content: start;
}

.stat-icon {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  margin-bottom: 0.6rem;
}

.stat-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.stats-band .stat b {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}

.stat-cap {
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Split ---------- */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 940px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .split.reverse .split-media {
    order: 2;
  }
}

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.highlights {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
  margin: 1.5rem 0 1.9rem;
}

@media (max-width: 560px) {
  .highlights {
    grid-template-columns: 1fr;
  }
}

.highlights li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
}

.highlights li::before {
  content: "✓";
  flex-shrink: 0;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  color: var(--white);
  background: var(--green-deep);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

a.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--grey-100);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

a.card:hover .card-media img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.4rem 1.45rem 1.55rem;
}

.card-body h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.card-body p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-deep);
}

/* Service cards with icon */
.svc-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.svc-card .card-body {
  padding-top: 1.6rem;
}

/* ---------- Doctor cards ---------- */
.doctor-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

a.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.doctor-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--grey-100);
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

a.doctor-card:hover .doctor-photo img {
  transform: scale(1.04);
}

.doctor-card .card-body h3 {
  margin-bottom: 0.15rem;
}

.doctor-card .role {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.acc-ent .role { color: var(--c-ent); }
.acc-gp .role { color: var(--c-gp); }
.acc-cardio .role { color: var(--c-cardio); }
.acc-pulmo .role { color: var(--c-pulmo); }
.acc-nephro .role { color: var(--c-nephro); }

.doctor-card .timing {
  font-size: 0.84rem;
  color: var(--ink-40);
  margin: 0;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: var(--grey-50);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg picture,
.page-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.86) 42%, rgba(255, 255, 255, 0.55) 70%, rgba(255, 255, 255, 0.28) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0) 35%);
}

.page-hero.has-bg.acc-ent .page-hero-bg::after {
  background:
    linear-gradient(90deg, rgba(253, 243, 224, 0.94) 0%, rgba(253, 243, 224, 0.82) 40%, rgba(255, 255, 255, 0.35) 75%, rgba(255, 255, 255, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 35%);
}
.page-hero.has-bg.acc-gp .page-hero-bg::after,
.page-hero.has-bg.acc-blue .page-hero-bg::after {
  background:
    linear-gradient(90deg, rgba(232, 244, 251, 0.95) 0%, rgba(232, 244, 251, 0.84) 40%, rgba(255, 255, 255, 0.35) 75%, rgba(255, 255, 255, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 35%);
}
.page-hero.has-bg.acc-cardio .page-hero-bg::after {
  background:
    linear-gradient(90deg, rgba(253, 236, 236, 0.94) 0%, rgba(253, 236, 236, 0.82) 40%, rgba(255, 255, 255, 0.35) 75%, rgba(255, 255, 255, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 35%);
}
.page-hero.has-bg.acc-pulmo .page-hero-bg::after {
  background:
    linear-gradient(90deg, rgba(230, 247, 247, 0.94) 0%, rgba(230, 247, 247, 0.82) 40%, rgba(255, 255, 255, 0.35) 75%, rgba(255, 255, 255, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 35%);
}
.page-hero.has-bg.acc-nephro .page-hero-bg::after {
  background:
    linear-gradient(90deg, rgba(243, 236, 252, 0.94) 0%, rgba(243, 236, 252, 0.82) 40%, rgba(255, 255, 255, 0.35) 75%, rgba(255, 255, 255, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 35%);
}
.page-hero.has-bg.acc-lab .page-hero-bg::after,
.page-hero.has-bg.acc-green .page-hero-bg::after {
  background:
    linear-gradient(90deg, rgba(241, 249, 230, 0.95) 0%, rgba(241, 249, 230, 0.84) 40%, rgba(255, 255, 255, 0.35) 75%, rgba(255, 255, 255, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 35%);
}
.page-hero.has-bg.acc-checkup .page-hero-bg::after {
  background:
    linear-gradient(90deg, rgba(252, 238, 245, 0.94) 0%, rgba(252, 238, 245, 0.82) 40%, rgba(255, 255, 255, 0.35) 75%, rgba(255, 255, 255, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 35%);
}
.page-hero.has-bg.acc-diabetes .page-hero-bg::after {
  background:
    linear-gradient(90deg, rgba(235, 240, 252, 0.94) 0%, rgba(235, 240, 252, 0.82) 40%, rgba(255, 255, 255, 0.35) 75%, rgba(255, 255, 255, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 35%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 6vw, 5rem) 0;
  max-width: 46rem;
}

.page-hero > .container:not(.page-hero-inner) {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.page-hero.compact .page-hero-inner {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  letter-spacing: -0.03em;
}

.page-hero p {
  font-size: 1.08rem;
  max-width: 38rem;
  margin-bottom: 0;
}

.page-hero .breadcrumb {
  margin-bottom: 1.4rem;
}

.page-hero.tinted::after {
  content: "";
  position: absolute;
  top: -8rem;
  right: -8rem;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  opacity: 0.5;
  filter: blur(10px);
}

.page-hero.acc-ent { background: var(--c-ent-tint); }
.page-hero.acc-gp { background: var(--c-gp-tint); }
.page-hero.acc-cardio { background: var(--c-cardio-tint); }
.page-hero.acc-pulmo { background: var(--c-pulmo-tint); }
.page-hero.acc-nephro { background: var(--c-nephro-tint); }
.page-hero.acc-lab { background: var(--c-lab-tint); }
.page-hero.acc-checkup { background: var(--c-checkup-tint); }
.page-hero.acc-diabetes { background: var(--c-diabetes-tint); }
.page-hero.acc-blue { background: var(--blue-tint); }
.page-hero.acc-green { background: var(--green-tint); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-40);
}

.breadcrumb a {
  color: var(--blue-deep);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .sep {
  color: var(--grey-200);
}

/* ---------- Detail pages ---------- */
.detail-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .detail-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.detail-main h2 {
  font-size: 1.6rem;
  margin-top: 2.2rem;
}

.detail-main h2:first-child {
  margin-top: 0;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 1.5rem;
}

.check-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--ink-60);
  font-size: 0.96rem;
}

.check-list li::before {
  content: "•";
  flex-shrink: 0;
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--blue-deep);
}

.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.side-card + .side-card {
  margin-top: 1.25rem;
}

.side-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.side-card .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* Doctor mini-card (in service sidebar) */
.doc-mini {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.doc-mini img {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  object-fit: cover;
}

.doc-mini h4 {
  margin: 0 0 0.1rem;
  font-size: 1rem;
}

.doc-mini span {
  font-size: 0.82rem;
  color: var(--ink-40);
  font-weight: 600;
}

/* Timing table */
.timing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.timing-table th,
.timing-table td {
  text-align: left;
  padding: 0.8rem 0.5rem;
  border-bottom: 1px solid var(--grey-100);
}

.timing-table th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-40);
}

.timing-table td b {
  color: var(--ink);
}

/* Doctor profile layout */
.profile-head {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .profile-head {
    grid-template-columns: auto 1fr;
    gap: 3rem;
  }
}

.profile-photo {
  width: min(19rem, 70vw);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.profile-photo img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.profile-head h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 0.4rem;
}

.profile-head .role {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ---------- Quotes ---------- */
.quote-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 820px) {
  .quote-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.8rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.quote .stars {
  color: #f5a623;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.9rem;
}

.quote p {
  font-size: 1.04rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 1.35rem;
  flex: 1;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--grey-100);
}

.quote-author img {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blue-tint);
  box-shadow: var(--shadow-sm);
}

.quote cite {
  font-style: normal;
  display: grid;
  gap: 0.15rem;
}

.quote cite strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.quote cite span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-40);
}

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  background: linear-gradient(120deg, var(--blue-deep) 0%, #16a0c8 55%, var(--green-deep) 130%);
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 880px) {
  .cta-band {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  max-width: 34rem;
}

.cta-band .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  background: transparent;
  color: var(--white);
}

.cta-band .btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--blue-ink);
  box-shadow: none;
}

/* ---------- Values / mission ---------- */
.values {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 960px) {
  .values {
    grid-template-columns: repeat(5, 1fr);
  }

  .values:has(.value.rich) {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .values:has(.value.rich) {
    grid-template-columns: repeat(5, 1fr);
  }
}

.value {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.2rem;
  text-align: center;
}

.value.rich {
  text-align: left;
  padding: 1.7rem 1.5rem;
}

.value .v-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  margin: 0 auto 0.8rem;
}

.value.rich .v-dot {
  margin: 0 0 0.9rem;
}

.value h3 {
  font-size: 1rem;
  margin: 0;
}

.value.rich h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.value.rich p {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.55;
}

/* About page extras */
.promise-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .promise-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.promise-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.promise-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.promise-card .pc-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.promise-card .pc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promise-card .pc-body {
  padding: 1.4rem 1.35rem 1.55rem;
}

.promise-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.promise-card p {
  font-size: 0.92rem;
  margin: 0;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.5rem;
  max-width: 52rem;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--green));
}

@media (min-width: 760px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
}

@media (min-width: 760px) {
  .timeline-item {
    width: 50%;
    padding-left: 0;
  }

  .timeline-item:nth-child(odd) {
    padding-right: 2.5rem;
    text-align: right;
    justify-self: start;
  }

  .timeline-item:nth-child(even) {
    padding-left: 2.5rem;
    justify-self: end;
  }
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue-deep);
  box-shadow: 0 0 0 4px var(--blue-tint);
}

@media (min-width: 760px) {
  .timeline-item:nth-child(odd)::before {
    left: auto;
    right: -0.55rem;
  }

  .timeline-item:nth-child(even)::before {
    left: -0.55rem;
  }
}

.timeline-item .tl-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: var(--blue-tint);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}

.timeline-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.timeline-item p {
  font-size: 0.93rem;
  margin: 0;
}

.about-mosaic {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
}

@media (max-width: 760px) {
  .about-mosaic {
    grid-template-columns: 1fr;
  }
}

.about-mosaic .mosaic-main {
  grid-row: span 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 18rem;
}

.about-mosaic .mosaic-main img,
.about-mosaic .mosaic-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-mosaic .mosaic-side {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 10rem;
}

.why-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 800px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
}

.why-item .why-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-deep), var(--green-deep));
}

.why-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.why-item p {
  font-size: 0.9rem;
  margin: 0;
}

.mv-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 820px) {
  .mv-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.mv {
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
}

.mv.mission {
  background: var(--blue-tint);
}

.mv.vision {
  background: var(--green-tint);
}

.mv h3 {
  font-size: 1.45rem;
}

.mv p {
  margin: 0;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 50rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-tint);
  color: var(--blue-deep);
  font-size: 1.15rem;
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .answer {
  padding: 0 1.5rem 1.35rem;
}

.faq-item .answer p {
  margin: 0;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 940px) {
  .contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.info-chips {
  display: grid;
  gap: 1rem;
}

.info-chip {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.35rem;
}

.info-chip .ic {
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: var(--white);
}

.info-chip:nth-child(1) .ic { background: var(--blue-deep); }
.info-chip:nth-child(2) .ic { background: var(--c-cardio); }
.info-chip:nth-child(3) .ic { background: var(--green-deep); }
.info-chip:nth-child(4) .ic { background: var(--c-nephro); }

.info-chip h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.info-chip p {
  font-size: 0.92rem;
  margin: 0;
}

.info-chip a {
  color: var(--blue-deep);
  font-weight: 600;
}

.info-chip a:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: grid;
  gap: 1.1rem;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1.5px solid var(--grey-200);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font: inherit;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--blue-deep);
  outline: none;
}

.form-row textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.map-embed {
  margin-top: 2.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 23rem;
  border: 0;
}

/* ---------- Blog / article ---------- */
.blog-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 980px) {
  .blog-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(16rem, 0.7fr);
    gap: 3rem;
    align-items: start;
  }
}

.blog-main {
  min-width: 0;
}

.blog-sidebar {
  display: grid;
  gap: 0;
}

@media (min-width: 980px) {
  .blog-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }
}

.blog-search {
  display: grid;
  gap: 0.75rem;
}

.blog-search input[type="search"] {
  width: 100%;
  border: 1.5px solid var(--grey-200);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}

.blog-search input[type="search"]:focus {
  border-color: var(--blue-deep);
  outline: none;
}

.blog-cat-list {
  display: grid;
  gap: 0.35rem;
}

.blog-cat-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  color: var(--ink-60);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.blog-cat-list a:hover,
.blog-cat-list a.is-active {
  background: var(--blue-tint);
  color: var(--blue-ink);
}

.blog-cat-list .count {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-40);
  background: var(--grey-100);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}

.blog-recent-list {
  display: grid;
  gap: 0.9rem;
}

.blog-recent-list a {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  gap: 0.85rem;
  align-items: center;
}

.blog-recent-list img {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 12px;
  object-fit: cover;
}

.blog-recent-list strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--ink);
}

.blog-recent-list small {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink-40);
  font-size: 0.78rem;
  font-weight: 600;
}

.blog-cta-card p {
  margin-bottom: 1rem;
}

.blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0.9rem 1.1rem;
  background: var(--grey-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.blog-filter-bar p {
  margin: 0;
}

.blog-filter-bar a {
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 0.9rem;
}

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.blog-pagination a {
  min-width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--ink-60);
}

.blog-pagination a.is-active,
.blog-pagination a:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: var(--white);
}

.article-wrap .article {
  max-width: none;
  margin: 0;
}

.article .lead {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink-60);
}

.article-body ol,
.article-body ul {
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
}

.article-body ol {
  list-style: decimal;
}

.article-body ul {
  list-style: disc;
}

.article-body li {
  margin-bottom: 0.45rem;
  color: var(--ink-60);
}

.featured-post {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.28s var(--ease);
  margin-bottom: 2.5rem;
}

.featured-post:hover {
  box-shadow: var(--shadow-md);
}

@media (min-width: 880px) {
  .featured-post {
    grid-template-columns: 1.2fr 1fr;
  }
}

.featured-post .fp-media {
  min-height: 16rem;
}

.featured-post .fp-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-post .fp-body {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  display: grid;
  align-content: center;
  gap: 0.4rem;
}

.featured-post h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.post-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-40);
}

.article {
  max-width: 46rem;
  margin: 0 auto;
}

.article-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.25rem;
  box-shadow: var(--shadow-md);
}

.article-hero-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.article .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  color: var(--ink-40);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.article h2 {
  font-size: 1.5rem;
  margin-top: 2.3rem;
}

.article ul {
  list-style: disc;
  padding-left: 1.3rem;
  margin: 0 0 1.25rem;
}

.article li {
  margin-bottom: 0.5rem;
  color: var(--ink-60);
}

.article .pull {
  border-left: 4px solid var(--blue);
  background: var(--blue-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.3rem 1.5rem;
  margin: 1.75rem 0;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--blue-ink);
}

.related {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding-top: 2.25rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--grey-50);
  border-top: 1px solid var(--line);
  padding: 4rem 0 1.75rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 840px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.site-footer h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 1.1rem;
}

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

.footer-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-60);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--blue-deep);
}

.site-footer p {
  font-size: 0.92rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--ink-40);
}

.footer-bottom a {
  color: var(--blue-deep);
  font-weight: 600;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ---------- Floating CTA ---------- */
.float-cta {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.float-cta a {
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.22s var(--ease);
}

.float-cta a:hover {
  transform: translateY(-3px) scale(1.05);
}

.float-cta .call { background: var(--blue-deep); }
.float-cta .wa { background: #1fab55; }

.float-cta svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: currentColor;
}

/* ---------- Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal,
  .slide.is-active .slide-kicker,
  .slide.is-active .slide-title,
  .slide.is-active p,
  .slide.is-active .btn-group {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mx-auto { margin-inline: auto; }

/* ---------- Appointment booking ---------- */
.book-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 980px) {
  .book-layout {
    grid-template-columns: 1fr 20rem;
    align-items: start;
    gap: 2.5rem;
  }
}

.book-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-md);
}

.book-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.book-steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-40);
  background: var(--grey-50);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
}

.book-steps li span {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grey-200);
  color: var(--ink);
  font-size: 0.72rem;
}

.book-steps li.is-active {
  color: var(--blue-ink);
  background: var(--blue-tint);
  border-color: transparent;
}

.book-steps li.is-active span,
.book-steps li.is-done span {
  background: var(--blue-deep);
  color: var(--white);
}

.book-steps li.is-done {
  color: var(--green-deep);
  background: var(--green-tint);
  border-color: transparent;
}

.book-step {
  display: none;
}

.book-step.is-active {
  display: block;
}

.book-step h2 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.book-step > p {
  margin-bottom: 1.25rem;
}

.book-choice-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .book-choice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.book-choice {
  text-align: left;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  font: inherit;
  color: inherit;
}

.book-choice strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.25rem;
}

.book-choice span {
  font-size: 0.84rem;
  color: var(--ink-40);
}

.book-choice:hover,
.book-choice.is-selected {
  border-color: var(--blue-deep);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.book-choice.is-selected {
  background: var(--blue-tint);
}

.book-doctor-grid {
  display: grid;
  gap: 0.85rem;
}

.book-doctor {
  display: flex;
  gap: 1rem;
  align-items: center;
  text-align: left;
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.book-doctor img {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  object-fit: cover;
}

.book-doctor strong {
  display: block;
  font-size: 1.05rem;
}

.book-doctor em {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--blue-deep);
  margin: 0.15rem 0;
}

.book-doctor small {
  color: var(--ink-40);
  font-size: 0.8rem;
}

.book-doctor:hover,
.book-doctor.is-selected {
  border-color: var(--blue-deep);
  box-shadow: var(--shadow-sm);
  background: var(--blue-tint);
}

.slot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.book-slot {
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.book-slot:hover,
.book-slot.is-selected {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: var(--white);
}

.book-hint {
  color: var(--ink-40);
  font-size: 0.92rem;
  margin: 0.5rem 0 0;
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.book-side {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.book-summary,
.book-success-card {
  display: grid;
  gap: 0.85rem;
}

.book-summary div,
.book-success-card div {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--grey-100);
}

.book-summary span,
.book-success-card span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-40);
}

.book-summary strong,
.book-success-card strong {
  font-size: 0.98rem;
}

.book-error {
  background: #fdecec;
  color: #a12622;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.book-success {
  text-align: center;
  padding: 1rem 0.5rem 0.5rem;
}

.book-success-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-tint);
  color: var(--green-deep);
  font-size: 1.5rem;
  font-weight: 700;
}

.book-ref {
  font-size: 1.05rem;
}

.book-success-card {
  text-align: left;
  background: var(--grey-50);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin: 1.5rem 0;
}

.visit-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}

.visit-options label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.visit-options input {
  accent-color: var(--blue-deep);
}

.form-grid-2 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.book-select,
select.book-select {
  width: 100%;
  border: 1.5px solid var(--grey-200);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
