:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-soft: #F1F5F9;
  --ink: #0F172A;
  --ink-muted: #475569;
  --primary: #0284C7;
  --primary-dark: #0369A1;
  --primary-light: #E0F2FE;
  --teal: #0D9488;
  --teal-light: #CCFBF1;
  --whatsapp: #16A34A;
  --whatsapp-dark: #15803D;
  --danger: #DC2626;
  --danger-light: #FEF2F2;
  --warn-bg: #FFFBEB;
  --warn-border: #FDE68A;
  --warn-ink: #92400E;
  --border: #E2E8F0;
  --radius-lg: 22px;
  --radius-md: 14px;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  padding-bottom: 76px;
  -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] body {
  font-family: 'Cairo', sans-serif;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  z-index: 9999;
}

/* Custom Magnetic Cursor Follower (Desktop Mouse Only - Says CLICK) */
.cursor-pill {
  position: fixed;
  top: 0;
  left: 0;
  padding: 0.35rem 0.8rem;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.22s var(--ease-expo), background 0.2s;
  white-space: nowrap;
}
.cursor-pill.active {
  transform: translate(-50%, -50%) scale(1);
}

/* Hide cursor pill automatically on touch-only devices */
@media (hover: none) and (pointer: coarse) {
  .cursor-pill,
  .hover-preview {
    display: none !important;
  }
}

/* Floating Image Preview on Treatment Row Hover (Desktop) */
.hover-preview {
  position: fixed;
  width: 240px;
  background: var(--surface);
  border-radius: 16px;
  padding: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.22);
  border: 1px solid var(--border);
  pointer-events: none;
  z-index: 9000;
  opacity: 0;
  transform: translate(-50%, -65%) scale(0.88) rotate(-2deg);
  transition: opacity 0.25s var(--ease-expo), transform 0.3s var(--ease-expo);
}
.hover-preview.visible {
  opacity: 1;
  transform: translate(-50%, -65%) scale(1) rotate(0deg);
}
.hover-preview img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  object-position: top center;
  border-radius: 11px;
  display: block;
}
.hover-preview-caption {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  padding-top: 0.4rem;
}

/* Pull-Down Curtain Navigation */
.curtain-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(16px);
  color: #fff;
  z-index: 1200;
  transform: translateY(-102%);
  transition: transform 0.7s var(--ease-expo);
  padding: 5.5rem 5% 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.curtain-menu.open {
  transform: translateY(0);
}
.curtain-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.curtain-links a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: #fff;
  text-decoration: none;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 800;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: padding-left 0.35s var(--ease-expo), color 0.25s;
}
.curtain-links a:hover {
  padding-left: 1.25rem;
  color: #38BDF8;
}
.curtain-links small {
  font-size: 0.82rem;
  font-weight: 500;
  color: #94A3B8;
}
.curtain-highlight {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.curtain-highlight h3 {
  font-size: 1.4rem;
  margin: 0.75rem 0 0.5rem;
}
.curtain-highlight p {
  color: #CBD5E1;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1250;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.65rem 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.brand-name {
  display: block;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.brand-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pull-tab-btn {
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease-expo), background 0.25s;
}
.pull-tab-btn:hover {
  background: var(--primary);
  transform: translateY(2px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pill-cta {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s;
}
.pill-cta:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.pill-book {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.pill-book:hover {
  background: var(--primary-dark);
  color: #fff;
}
.pill-emergency {
  background: var(--danger-light);
  color: var(--danger);
  border-color: #FECACA;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  display: inline-block;
  animation: pulseAnim 1.5s infinite;
}
@keyframes pulseAnim {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.55); opacity: 0.4; }
}

/* Hero + Smart Wizard Grid */
.hero-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 2.25rem 4% 3rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: start;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal-light);
  color: var(--teal);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.hero-copy h1 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
}
.hero-subtext {
  font-size: 1.02rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  max-width: 580px;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}
.stat-card strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}
.stat-card span {
  font-size: 0.75rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.hero-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  aspect-ratio: 16 / 9;
  background: #0F172A;
}
.hero-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.6s var(--ease-expo);
}
.hero-media-card:hover img {
  transform: scale(1.04);
}
.media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.15));
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  gap: 0.9rem;
  color: #fff;
}
.play-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
.media-overlay strong {
  display: block;
  font-size: 0.95rem;
}
.media-overlay span {
  font-size: 0.78rem;
  color: #CBD5E1;
}

/* Error-Proof Appointment Wizard Card */
.wizard-card {
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 24px 48px -15px rgba(2, 132, 199, 0.16);
}
.wizard-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.wizard-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.wizard-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.reset-btn {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink-muted);
}

.wizard-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}
.step-pill {
  padding: 0.5rem 0.35rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.step-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.step-pill.done {
  background: var(--teal-light);
  color: var(--teal);
  border-color: #99F6E4;
}

/* Editable Selection Chips */
.wizard-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  background: var(--surface-soft);
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.9rem;
  min-height: 40px;
  align-items: center;
}
.summary-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: border-color 0.2s, background 0.2s;
}
.summary-chip:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}
.summary-chip small {
  color: var(--primary);
  font-weight: 800;
}

/* Smart Guardrail Warning Banner */
.smart-guard-banner {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  color: var(--warn-ink);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.smart-guard-banner button {
  background: var(--warn-ink);
  color: #fff;
  border: none;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.step-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  gap: 0.5rem;
}
.step-hint {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}
.gps-btn, .back-link-btn {
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid #BAE6FD;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s;
}
.gps-btn:hover, .back-link-btn:hover {
  background: #BAE6FD;
}
.back-link-btn {
  background: var(--surface-soft);
  color: var(--ink-muted);
  border-color: var(--border);
}

.wizard-pane {
  display: none;
  animation: fadeSlide 0.28s var(--ease-expo);
}
.wizard-pane.active {
  display: block;
}
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.tap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
.tap-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 0.8rem;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s var(--ease-expo), border-color 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-family: inherit;
}
html[dir="rtl"] .tap-card {
  text-align: right;
}
.tap-card:hover, .tap-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}
.tap-card-title {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}
.tap-card-sub {
  font-size: 0.74rem;
  color: var(--ink-muted);
  line-height: 1.35;
}
.badge-24 {
  background: var(--danger);
  color: #fff;
  font-size: 0.64rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-weight: 800;
}
.badge-nearest {
  background: var(--teal);
  color: #fff;
  font-size: 0.64rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-weight: 800;
}

.country-switch-link {
  background: transparent;
  border: 1px dashed var(--border);
  color: var(--ink-muted);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}
.country-switch-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Step 3 Doctor Selection */
.doc-tap-grid {
  max-height: 315px;
  overflow-y: auto;
  padding-right: 4px;
}
.doc-tap-card {
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem;
}
.doc-tap-card img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  background: var(--surface-soft);
}
.best-match-tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--teal);
  background: var(--teal-light);
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
  margin-top: 0.2rem;
}

/* Step 4 Time Chips, Final Review & Send */
.time-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}
.final-review-card {
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
  color: var(--ink);
}
.final-review-card strong {
  color: var(--primary-dark);
}
.optional-name-wrap {
  margin-bottom: 0.9rem;
}
.optional-name-wrap label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 0.3rem;
}
.optional-name-wrap input {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-family: inherit;
  background: var(--bg);
}

.whatsapp-send-btn {
  width: 100%;
  background: var(--whatsapp);
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px -6px rgba(22, 163, 74, 0.4);
  transition: transform 0.2s var(--ease-expo), background 0.2s;
}
.whatsapp-send-btn:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
}
.no-captcha-note {
  font-size: 0.72rem;
  color: var(--ink-muted);
  text-align: center;
  margin-top: 0.55rem;
}

/* Diagonal Kinetic Marquee Ribbon */
.kinetic-ribbon-wrap {
  background: var(--ink);
  color: #fff;
  padding: 0.9rem 0;
  overflow: hidden;
  white-space: nowrap;
  transform: rotate(-0.7deg) scale(1.01);
  margin: 1rem 0 2rem;
}
.kinetic-ribbon {
  display: inline-block;
  animation: ribbonScroll 28s linear infinite;
}
.kinetic-ribbon span {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-right: 2.75rem;
  color: #CBD5E1;
}
.kinetic-ribbon strong {
  color: #38BDF8;
}
@keyframes ribbonScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Content Sections */
.content-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 3.5rem 4%;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-eyebrow {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--primary);
  margin-bottom: 0.35rem;
}
.section-title {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-desc {
  color: var(--ink-muted);
  font-size: 0.92rem;
  max-width: 420px;
}

/* Kinetic Everyday Treatment Rows */
.treatment-rows {
  border-top: 1px solid var(--border);
}
.treat-row {
  display: grid;
  grid-template-columns: 50px 1.15fr 1.6fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.35rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.3s var(--ease-expo), padding-left 0.3s var(--ease-expo);
}
.treat-row:hover {
  background: #F0F9FF;
  padding-left: 1.75rem;
}
.treat-num {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
}
.treat-name {
  font-size: 1.2rem;
  font-weight: 800;
}
.treat-plain {
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.treat-cta {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--surface-soft);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  transition: background 0.25s, color 0.25s;
}
.treat-row:hover .treat-cta {
  background: var(--primary);
  color: #fff;
}

/* Mobile Home Visit Van Banner */
.van-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.06);
}
.van-image-col {
  position: relative;
  min-height: 300px;
}
.van-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.van-float-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}
.van-text-col {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.van-text-col h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}
.van-text-col p {
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s var(--ease-expo);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Doctors Directory Grid */
.branch-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.filter-pill {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.filter-pill.active, .filter-pill:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 1.25rem;
}
.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-expo), box-shadow 0.3s;
}
.doc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -12px rgba(15, 23, 42, 0.1);
}
.doc-img-box {
  aspect-ratio: 4 / 3.3;
  background: var(--surface-soft);
  position: relative;
  overflow: hidden;
}
.doc-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.doc-loc-tag {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: rgba(255, 255, 255, 0.94);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}
.doc-info {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.doc-info h3 {
  font-size: 1.02rem;
  font-weight: 800;
}
.doc-role-plain {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0.2rem 0 0.45rem;
}
.doc-exp {
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin-bottom: 0.9rem;
}

/* Patient Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.25rem;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.35rem;
}
.review-stars {
  color: #F59E0B;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.review-text {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 0.9rem;
}
.review-author {
  font-weight: 800;
  font-size: 0.85rem;
}

/* Locations & FAQ Split */
.locations-faq-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
}
.loc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.15rem;
  margin-bottom: 0.85rem;
}
.loc-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.loc-card p {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}
.loc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
}
.faq-item summary {
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
}
.faq-item p {
  font-size: 0.86rem;
  color: var(--ink-muted);
  margin-top: 0.6rem;
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 4%;
}
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.footer-brand p {
  font-size: 0.8rem;
  color: var(--ink-muted);
}
.footer-region-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
}
.region-override-links {
  display: flex;
  gap: 0.4rem;
}
.region-override-links button {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

/* Mobile Sticky Bottom Thumb-Zone Bar */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 0.6rem 4%;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  z-index: 1300;
}
.m-bar-btn {
  padding: 0.8rem 0.5rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.84rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.m-bar-book {
  background: var(--primary);
  color: #fff;
}
.m-bar-call {
  background: var(--danger-light);
  color: var(--danger);
  border: 1px solid #FECACA;
}

/* Modal Lightbox */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-backdrop.open {
  display: flex;
}
.modal-card {
  background: var(--surface);
  max-width: 680px;
  width: 100%;
  border-radius: 22px;
  padding: 1.5rem;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.close-btn {
  background: var(--surface-soft);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 800;
}
.ceo-quote {
  background: var(--surface-soft);
  padding: 1rem;
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}
.ceo-quote footer {
  margin-top: 0.5rem;
  color: var(--ink);
}
.modal-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.modal-photos img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 960px) {
  .hero-grid,
  .van-card,
  .locations-faq-split,
  .curtain-inner {
    grid-template-columns: 1fr;
  }
  .treat-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .header-actions .pill-book,
  .header-actions .pill-emergency {
    display: none;
  }
  .mobile-bottom-bar {
    display: grid;
  }
}

@media (max-width: 480px) {
  .tap-grid,
  .time-chips {
    grid-template-columns: 1fr;
  }
}