/* ==========================================================================
   Swastika Imaging & Diagnostics — Design System
   Shared by index.html and admin.html (admin-only classes live inline there).
   ========================================================================== */

:root {
  --bg: #f5f8f8;
  --surface: #ffffff;
  --surface-alt: #eef5f4;
  --ink: #0b1c26;
  --text: #13252f;
  --muted: #5a6b74;
  --border: #e1ebea;
  --border-strong: #cfdedc;
  --primary: #0f766e;
  --primary-dark: #0b5a54;
  --primary-2: #14b8a6;
  --primary-tint: #e7f6f3;
  --accent: #d97706;
  --accent-tint: #fef3e2;
  --success: #15803d;
  --danger: #b91c1c;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --sh-1: 0 1px 2px rgba(11, 28, 38, 0.04), 0 3px 10px rgba(11, 28, 38, 0.04);
  --sh-2: 0 2px 4px rgba(11, 28, 38, 0.04), 0 14px 34px -10px rgba(11, 28, 38, 0.14);
  --sh-3: 0 4px 10px rgba(11, 28, 38, 0.05), 0 34px 70px -24px rgba(10, 70, 66, 0.38);
  --sh-primary: 0 10px 24px -8px rgba(15, 118, 110, 0.55);
  --shadow: var(--sh-2);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Hind", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.brand-name {
  font-family: "Mukta", "Hind", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

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

.muted {
  color: var(--muted);
  margin: 0;
}

.i {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -0.2em;
}

:focus-visible {
  outline: 2px solid var(--primary-2);
  outline-offset: 2px;
}


h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

::selection {
  background: #b9e7df;
  color: var(--ink);
}

input,
textarea {
  caret-color: var(--primary);
}

html {
  scrollbar-color: #b7cfcc transparent;
}

a {
  text-underline-offset: 0.2em;
}

.price,
.pkg-price,
.total-line,
.trust-row strong {
  font-variant-numeric: tabular-nums;
}

.success-icon .i {
  width: 28px;
  height: 28px;
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 120;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--primary);
}

/* Offer Banner */
.offer-banner {
  background: #b45309;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 0;
}

.offer-banner[hidden] {
  display: none;
}

.offer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.offer-cta {
  background: rgba(255, 255, 255, 0.18);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  white-space: nowrap;
}

/* Topbar */
.topbar {
  background: var(--ink);
  color: #cfe9e5;
  font-size: 0.82rem;
  padding: 7px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-right {
  display: flex;
  gap: 18px;
  align-items: center;
}

.topbar-link {
  font-weight: 600;
  color: #fff;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px -16px rgba(11, 28, 38, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  transition: padding 0.3s var(--ease-out);
}

@media (min-width: 921px) {
  .header.is-scrolled .header-inner {
    padding: 8px 0;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  flex-shrink: 0;
  filter: drop-shadow(0 6px 12px rgba(15, 118, 110, 0.3));
  transition: transform 0.5s var(--ease-expo);
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.05);
}

.brand-mark svg {
  display: block;
}

.brand-name {
  display: block;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.1;
  color: var(--primary-dark);
}

.brand-sub {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a {
  position: relative;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  color: var(--primary);
  background: var(--primary-tint);
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Buttons */
.btn {
  position: relative;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 18px;
  font: inherit;
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  isolation: isolate;
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 14px 22px;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 1px 2px rgba(11, 28, 38, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -8px rgba(15, 118, 110, 0.6);
}

.btn-primary .i {
  transition: transform 0.25s var(--ease-out);
}

.btn-primary:hover .i {
  transform: translateX(3px);
}

.btn-outline {
  background: #fff;
  color: var(--primary-dark);
  border-color: var(--border-strong);
  box-shadow: var(--sh-1);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: #f3fbfa;
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--primary-dark);
  font-weight: 800;
}

.badge {
  background: #b45309;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 20px;
  padding: 2px 7px;
  border-radius: 999px;
  text-align: center;
}

.badge.bump {
  animation: badgeBump 0.5s var(--ease-expo);
}

@keyframes badgeBump {
  40% {
    transform: scale(1.45);
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 96px;
  background: #eaf5f2;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-areas:
    "copy stage"
    "tools stage";
  column-gap: 48px;
  row-gap: 22px;
  align-items: center;
}

.hero-copy,
.hero-stage,
.hero-tools {
  min-width: 0;
}

.hero-copy {
  grid-area: copy;
  align-self: end;
}

.hero-stage {
  grid-area: stage;
}

.hero-tools {
  grid-area: tools;
  align-self: start;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 118, 110, 0.18);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: var(--sh-1);
}



.hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
  color: var(--ink);
}

.hero-lead {
  font-size: 1.06rem;
  color: var(--muted);
  margin: 0 0 26px;
  max-width: 54ch;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 3D Stage */
.hero-stage {
  perspective: 1100px;
  perspective-origin: 50% 40%;
}

.stage-inner {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -10deg));
  transition: transform 0.6s var(--ease-out);
}

.stage-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #dff3ee;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--sh-3), inset 0 0 0 1px rgba(15, 118, 110, 0.06);
  transform: translateZ(0);
}

.hero-art {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 62% 50%;
}

.scan-beam {
  position: absolute;
  inset: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 0 rgba(11, 28, 38, 0.12);
  animation: scanSweep 4.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  pointer-events: none;
}

@keyframes scanSweep {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 18px 36px -14px rgba(11, 28, 38, 0.35);
  white-space: nowrap;
  transform: translateZ(var(--z, 60px));
}

.float-chip > * {
  animation: chipBob 5s ease-in-out infinite;
}

.float-chip strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.2;
}

.float-chip small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}

.chip-a {
  left: -26px;
  top: 14%;
}

.chip-b {
  right: -18px;
  top: 46%;
}

.chip-b > * {
  animation-delay: -1.6s;
}

.chip-c {
  left: 12%;
  bottom: -22px;
}

.chip-c > * {
  animation-delay: -3.2s;
}

@keyframes chipBob {
  50% {
    transform: translateY(-5px);
  }
}

.chip-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
}

.chip-icon-amber {
  background: var(--accent);
}

.chip-icon-star {
  background: #f59e0b;
}

/* Hero tools: search, tags, contact */
.search-wrap {
  position: relative;
  width: 100%;
  z-index: 5;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  padding: 6px 6px 6px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--sh-2);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.search-box:focus-within {
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.14), var(--sh-2);
}

.search-icon {
  color: var(--muted);
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  box-shadow: none;
  font-size: 0.96rem;
  padding: 9px 4px;
  background: transparent;
}

.search-box input:focus {
  box-shadow: none;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 60;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 50px -12px rgba(11, 28, 38, 0.28);
  max-height: 320px;
  overflow-y: auto;
  transform-origin: top center;
  animation: dropIn 0.28s var(--ease-out);
}

.search-dropdown[hidden] {
  display: none;
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: perspective(800px) rotateX(-10deg) translateY(-6px);
  }
}

.search-drop-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease;
}

.search-drop-item:hover {
  background: #f6fbfa;
}

.search-drop-item:last-child {
  border-bottom: none;
}

.search-drop-info {
  min-width: 0;
  flex: 1;
}

.search-drop-info strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-drop-info small {
  color: var(--muted);
  font-size: 0.76rem;
}

.search-drop-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.search-drop-empty {
  padding: 14px;
  font-size: 0.86rem;
  color: var(--muted);
  text-align: center;
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--muted);
}

.tag-btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  border-radius: 999px;
  padding: 5px 12px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out), background 0.2s ease;
}

.tag-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #fff;
  transform: translateY(-1px);
}


/* Quick actions band (overlaps hero) */
.quick-band {
  position: relative;
  z-index: 3;
  margin-top: -58px;
  padding-bottom: 8px;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--sh-3);
  display: grid;
  gap: 18px;
}

.hero-card-head h2 {
  margin: 0 0 4px;
  font-size: 1.08rem;
}

.hero-card-head p {
  font-size: 0.85rem;
}


/* ==========================================================================
   Featured strip
   ========================================================================== */
.featured-strip {
  padding: 34px 0 10px;
}

.strip-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.strip-head h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.strip-hint {
  display: none;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  perspective: 1200px;
}

.feat-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--sh-1);
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease-out), box-shadow 0.35s ease, border-color 0.3s ease;
}

.feat-card:hover {
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: var(--sh-3);
}

.feat-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.9), transparent 55%);
  mix-blend-mode: soft-light;
  transition: opacity 0.3s ease;
}

.feat-card:hover .feat-glare {
  opacity: 1;
}

.feat-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.feat-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.feat-card .card-actions {
  margin-top: auto;
}

.feat-card small {
  margin-bottom: 6px;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}


.section-head h3 {
  margin: 0 0 4px;
}

/* Tabs */
.filter-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding: 4px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--sh-1);
}

.tab {
  border: none;
  background: transparent;
  padding: 8px 14px;
  border-radius: 10px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
  transition: background 0.25s ease, color 0.2s ease, box-shadow 0.25s ease;
}

.tab:hover {
  color: var(--primary-dark);
}

.tab.active {
  background: var(--ink);
  color: #fff;
}

.sub-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.sub-filter-tabs[hidden] {
  display: none;
}

.sub-tab {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sub-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Cards (tests + reviews) */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  perspective: 1400px;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--sh-1);
  transition: transform 0.45s var(--ease-out), box-shadow 0.35s ease, border-color 0.3s ease;
}

.card::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.card:hover {
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.card-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.card h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.3;
}

.card-meta {
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.card-actions {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed var(--border);
}

.cat-pill {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--primary-tint);
  color: var(--primary-dark);
  padding: 4px 8px;
  border-radius: 7px;
}

.cat-pill.cat-pathology {
  background: #e9f9f1;
  color: #065f46;
}

.cat-pill.cat-radiology {
  background: #e6f3fd;
  color: #075985;
}

.cat-pill.cat-cardiac {
  background: #fdf1e1;
  color: #92400e;
}

.visit-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
}

.visit-centre {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #dbe3ec;
}

.visit-home {
  background: #e3f8ea;
  color: #166534;
}

.price {
  font-family: "Mukta", "Hind", sans-serif;
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.discount-pill {
  background: #dcfce7;
  color: #166534;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}

.review-stars {
  display: inline-flex;
  gap: 2px;
  color: #f59e0b;
}

.review-stars .star-off {
  color: #e2e8f0;
}

.mobile-show-more-wrap {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.mobile-show-more-btn {
  width: 100%;
  max-width: 360px;
}

/* Compliance */
.compliance-callout {
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: #fffaf0;
  border: 1px solid #f6e2b8;
}

.compliance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.compliance-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #e7ecef;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text);
}

.compliance-pill .i {
  color: var(--primary);
}

/* Packages */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  perspective: 1400px;
}

.pkg-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--sh-1);
  transition: transform 0.45s var(--ease-out), box-shadow 0.35s ease, border-color 0.3s ease;
}

.pkg-card:hover {
  box-shadow: var(--sh-3);
  transform: translateY(-3px);
}

.pkg-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--sh-2);
}

.pkg-card h3 {
  margin: 0;
  font-size: 1.12rem;
}

.pkg-tag {
  align-self: flex-start;
  background: var(--accent-tint);
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.pkg-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.pkg-price strong {
  font-family: "Mukta", "Hind", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
}

.pkg-price s {
  color: var(--muted);
  font-size: 0.92rem;
}

.pkg-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.86rem;
  display: grid;
  gap: 6px;
}

.pkg-list li {
  position: relative;
  padding-left: 22px;
}

.pkg-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230f766e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 9px no-repeat;
}

.pkg-card .card-actions {
  margin-top: auto;
}

/* Doctors / locations */
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  perspective: 1400px;
}

#doctors .section-head + .location-grid {
  grid-template-columns: repeat(4, 1fr);
}

.location-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--sh-1);
  transition: transform 0.45s var(--ease-out), box-shadow 0.35s ease, border-color 0.3s ease;
}

.location-card:hover {
  box-shadow: var(--sh-2);
  border-color: rgba(15, 118, 110, 0.25);
}

.doctor-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.doctor-avatar {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--primary-tint);
  color: var(--primary-dark);
  font-family: "Mukta", "Hind", sans-serif;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(15, 118, 110, 0.18);
}

.loc-badge {
  align-self: flex-start;
  background: #e6f3fd;
  color: #075985;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.loc-meta {
  margin: 0;
  padding-left: 18px;
  font-size: 0.86rem;
  color: var(--muted);
}

.loc-meta li + li {
  margin-top: 4px;
}

/* Report / inquiry layout */
.report-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.report-section > div > h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  letter-spacing: -0.03em;
}

#inquiryForm.hero-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  position: relative;
}

.report-form {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.report-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.report-preview {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 250px;
}

.report-empty {
  text-align: center;
  padding: 36px 12px;
}

.report-sheet-head {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 14px;
  gap: 10px;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.report-table th,
.report-table td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid #eef2f3;
}

.status-normal {
  color: var(--success);
  font-weight: 700;
}

.status-borderline {
  color: var(--accent);
  font-weight: 700;
}

/* Forms */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  font: inherit;
  font-size: 0.94rem;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.14);
}

.success-msg {
  color: var(--success);
  font-weight: 600;
  margin: 0;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--sh-1);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(15, 118, 110, 0.3);
  box-shadow: var(--sh-2);
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

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

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--primary);
  background: var(--primary-tint);
  transition: transform 0.35s var(--ease-out), background 0.2s ease, color 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  animation: faqOpen 0.35s var(--ease-out);
}

@keyframes faqOpen {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

/* Footer */
.footer {
  position: relative;
  background: var(--ink);
  color: #e2e8f0;
  padding: 36px 0;
}

.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.footer strong {
  color: #fff;
}

.footer .muted {
  color: #94a3b8;
  font-size: 0.86rem;
  margin-top: 4px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
}

.footer-links a {
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #5eead4;
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 28, 38, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 16px;
  z-index: 100;
  perspective: 1200px;
  animation: fadeIn 0.25s ease;
}

.modal-backdrop[hidden] {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

.modal {
  background: #fff;
  width: min(560px, 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -20px rgba(11, 28, 38, 0.45);
  max-height: 92vh;
  overflow-y: auto;
  transform-origin: 50% 100%;
  animation: modalIn 0.45s var(--ease-out);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: rotateX(14deg) translateY(30px) scale(0.96);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  margin: 0;
}

.icon-close {
  display: grid;
  place-items: center;
  border: none;
  background: #f1f5f9;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text);
  transition: background 0.2s ease, transform 0.3s var(--ease-out);
}

.icon-close:hover {
  background: #e2e8f0;
  transform: rotate(90deg);
}

.modal-body {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.modal-body[hidden] {
  display: none;
}

.selected-items {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.selected-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.remove-btn {
  border: none;
  background: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
}

.mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mode-toggle [hidden] {
  display: none;
}

.radio-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 11px 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.87rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.radio-pill:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-tint);
}

.radio-pill input {
  width: auto;
  accent-color: var(--primary);
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.total-line strong {
  font-family: "Mukta", "Hind", sans-serif;
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-left: 6px;
}

.success-box {
  text-align: center;
  padding: 16px 8px;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.success-box h4 {
  margin: 0;
  font-size: 1.2rem;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 28px -10px rgba(22, 163, 74, 0.7);
  animation: successPop 0.6s var(--ease-expo);
}

@keyframes successPop {
  from {
    transform: scale(0.3) rotate(-30deg);
    opacity: 0;
  }
}

.upload-box {
  border: 2px dashed var(--border-strong);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  cursor: pointer;
  background: var(--bg);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.upload-box:hover {
  border-color: var(--primary);
  background: #f3fbfa;
}

.upload-box input {
  display: none;
}

/* Floating booking dock */
.floating-cart {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 85;
  background: var(--ink);
  color: #fff;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 20px 40px -12px rgba(11, 28, 38, 0.55);
  animation: dockIn 0.5s var(--ease-expo);
}

.floating-cart[hidden] {
  display: none;
}

@keyframes dockIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(30px) scale(0.9);
  }
}

/* Mobile-only chrome hidden on desktop */
.mobile-bar,
.mobile-quick-nav {
  display: none;
}

html.is-touch .btn,
html.is-touch .tab {
  min-height: 44px;
}

/* ==========================================================================
   Motion system (classes are applied by app.js; content is visible without JS)
   Reveal uses the individual `translate`/`rotate`/`scale` properties so it
   never fights hover/tilt `transform`.
   ========================================================================== */
html.motion .rv {
  opacity: 0;
  translate: 0 26px;
  rotate: x 10deg;
  scale: 0.97;
  transition:
    opacity 0.7s var(--ease-out) var(--rv-delay, 0ms),
    translate 0.8s var(--ease-out) var(--rv-delay, 0ms),
    rotate 0.8s var(--ease-out) var(--rv-delay, 0ms),
    scale 0.8s var(--ease-out) var(--rv-delay, 0ms);
}

html.motion .rv.in {
  opacity: 1;
  translate: 0 0;
  rotate: x 0deg;
  scale: 1;
}

html.motion .hero-copy > * {
  animation: heroRise 0.9s var(--ease-out) backwards;
}

html.motion .hero-copy > :nth-child(2) {
  animation-delay: 0.08s;
}

html.motion .hero-copy > :nth-child(3) {
  animation-delay: 0.16s;
}

html.motion .hero-copy > :nth-child(4) {
  animation-delay: 0.24s;
}

html.motion .hero-tools {
  animation: heroRise 0.9s var(--ease-out) 0.32s backwards;
}

html.motion .hero-stage {
  animation: stageIn 1.2s var(--ease-out) 0.1s backwards;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

@keyframes stageIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.94);
  }
}

/* Touch press depth */
html.is-touch .card:active,
html.is-touch .pkg-card:active,
html.is-touch .feat-card:active,
html.is-touch .location-card:active,
html.is-touch .action-tile:active,
html.is-touch .contact-tile:active {
  transform: scale(0.975);
  transition-duration: 0.12s;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {


  #doctors .section-head + .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "stage"
      "tools";
    row-gap: 26px;
  }

  .hero-stage {
    max-width: 560px;
    width: 100%;
    margin: 6px auto 10px;
  }

  .report-section,
  .test-grid,
  .package-grid,
  .location-grid {
    grid-template-columns: 1fr 1fr;
  }

  .report-section {
    grid-template-columns: 1fr;
  }

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

  .floating-cart {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 24px);
    justify-content: space-between;
  }

  .nav {
    display: none;
  }

  .mobile-quick-nav {
    position: sticky;
    top: var(--header-h, 62px);
    z-index: 35;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 4%;
    background: #fff;
    border-bottom: 1px solid var(--border);
  }

  .mobile-quick-nav::-webkit-scrollbar {
    display: none;
  }

  .mobile-quick-nav a {
    flex: 0 0 auto;
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--surface-alt);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .mobile-quick-nav a.is-active,
  .mobile-quick-nav a:active {
    background: var(--primary);
    color: #fff;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr 1.25fr;
    gap: 6px;
    padding: 6px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 18px 40px -14px rgba(11, 28, 38, 0.4), 0 0 0 1px rgba(11, 28, 38, 0.04);
    transition: transform 0.4s var(--ease-out);
  }


  .mobile-bar-btn {
    border: none;
    border-radius: 14px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    font-size: 0.86rem;
    min-height: 46px;
    padding: 10px 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .mobile-bar-btn:active {
    background: var(--surface-alt);
  }

  .mobile-bar-wa {
    color: #15803d;
  }

  .mobile-bar-book {
    color: #fff;
    background: var(--primary);
  }

  .mobile-bar-book:active {
    background: var(--primary-dark);
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 48px 0;
  }

  .section-head {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 22px;
  }

  .topbar {
    display: none;
  }

  .header-inner {
    padding: 10px 0;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .brand-text {
    min-width: 0;
    overflow: hidden;
  }

  .brand-mark svg {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 1.28rem;
    white-space: nowrap;
  }

  .brand-sub {
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-actions #openCartBtn,
  .header-actions #heroBookBtn {
    display: none;
  }

  .header-actions .btn-sm {
    min-height: 40px;
    padding: 8px 12px;
  }

  .floating-cart {
    display: none;
  }

  .mobile-quick-nav {
    padding: 8px 16px;
  }

  /* Hero */
  .hero {
    padding: 26px 0 84px;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 8.4vw, 2.2rem);
    line-height: 1.1;
  }

  .hero-lead {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .pill {
    font-size: 0.72rem;
    margin-bottom: 14px;
  }

  .hero-cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-cta-row .btn {
    width: 100%;
    padding: 14px 18px;
  }

  .hero-stage {
    margin: 4px 8px 18px;
    width: auto;
  }

  .stage-frame {
    border-radius: 22px;
  }

  .float-chip {
    padding: 7px 10px 7px 7px;
    gap: 8px;
    border-radius: 13px;
  }

  .float-chip strong {
    font-size: 0.76rem;
  }

  .float-chip small {
    font-size: 0.64rem;
  }

  .chip-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .chip-icon .i {
    width: 16px;
    height: 16px;
  }

  .chip-a {
    left: 8px;
    top: 8px;
  }

  .chip-b {
    right: 8px;
    top: auto;
    bottom: 8px;
  }

  .chip-c {
    display: none;
  }

  .search-box input {
    font-size: 16px;
  }

  .quick-tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-right: -16px;
    padding-right: 16px;
    padding-bottom: 2px;
  }

  .quick-tags::-webkit-scrollbar {
    display: none;
  }

  .quick-tags > * {
    flex: 0 0 auto;
  }


  /* Quick band */
  .quick-band {
    margin-top: -54px;
  }

  .hero-card {
    padding: 16px;
    gap: 14px;
    border-radius: 20px;
  }


  /* Featured: 3D swipe carousel */
  .featured-strip {
    padding-top: 26px;
  }

  .strip-hint {
    display: inline;
  }

  .featured-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 6px 16px 22px;
    perspective: 900px;
  }

  .featured-grid::-webkit-scrollbar {
    display: none;
  }

  .featured-grid .feat-card {
    flex: 0 0 76%;
    scroll-snap-align: center;
  }

  /* Grids */
  .test-grid,
  .package-grid,
  .location-grid,
  #doctors .section-head + .location-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .location-card,
  .pkg-card {
    padding: 16px;
  }

  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tabs .tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .sub-filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-right: -16px;
    padding-right: 16px;
  }

  .sub-filter-tabs .sub-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .form-row,
  .mode-toggle {
    grid-template-columns: 1fr;
  }

  /* Bottom-sheet modals */
  .modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .modal {
    width: 100%;
    max-width: 100%;
    max-height: 92dvh;
    border-radius: 24px 24px 0 0;
    animation-name: sheetIn;
  }

  .modal::before {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    border-radius: 4px;
    background: #d5dfe0;
    margin: 10px auto 0;
  }

  @keyframes sheetIn {
    from {
      transform: translateY(100%);
    }
  }

  .modal-body {
    padding: 16px;
  }

  .modal-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .modal-footer .btn {
    width: 100%;
  }

  .footer {
    padding: 28px 0 32px;
  }

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

  .footer-links {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html.motion .rv {
    opacity: 1;
    translate: none;
    rotate: none;
    scale: none;
  }

  .scan-beam {
    display: none;
  }
}

/* ==========================================================================
   Booking flow, status and form feedback
   ========================================================================== */
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--muted);
}

.open-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
}

.open-status.is-open {
  color: #047857;
}

.open-status.is-open::before {
  background: #10b981;
}

.open-status + span::before {
  content: "·";
  margin-right: 8px;
  color: var(--border-strong);
}

.steps-card .hero-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.rating-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
}

.rating-link:hover {
  text-decoration-color: var(--primary);
}

.rating-stars {
  display: inline-flex;
  gap: 1px;
  color: #f59e0b;
}

.rating-stars .i {
  width: 15px;
  height: 15px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 6px;
  padding: 16px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.steps li::before {
  content: counter(step);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Mukta", "Hind", sans-serif;
  font-weight: 800;
  color: var(--primary-dark);
  background: var(--primary-tint);
}

.steps strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.3;
}

.steps li > span {
  color: var(--muted);
  font-size: 0.9rem;
}

.steps .btn {
  margin-top: 6px;
}

.active-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 10px 10px 16px;
  border-radius: 12px;
  background: var(--primary-tint);
  color: var(--primary-dark);
  font-weight: 600;
}

.active-filter[hidden] {
  display: none;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px 20px;
  border-radius: var(--radius);
  border: 1px dashed var(--border-strong);
  background: #fff;
  text-align: center;
}

.empty-state p {
  margin: 0 0 14px;
}

.empty-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.card-gloss {
  margin: -4px 0 0;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

.card-prep {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.card-prep strong {
  color: var(--text);
}

.link-btn {
  align-self: flex-start;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.card-actions .book-now-test-btn,
.card-actions .book-pkg-btn,
.card-actions .quick-book-id,
.card-actions .quick-book-pkg {
  flex: 1;
}

.card-actions {
  gap: 8px;
}

.add-item-btn.is-added {
  color: var(--success);
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.pkg-params {
  font-size: 0.875rem;
}

.review-card p {
  margin: 0;
  color: var(--text);
}

.review-author {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 600;
}

.reviews-head {
  margin-top: 8px;
  margin-bottom: 16px;
}

.doctors-grid {
  margin-bottom: 36px;
}

.doctor-row h3 {
  margin: 0;
}

.doctor-role {
  font-size: 0.875rem;
  color: var(--muted);
}

.doctor-bio {
  font-size: 0.9rem;
}

.compliance-note {
  font-size: 0.875rem;
  margin: 8px 0 0;
}

#inquiryForm.hero-card {
  gap: 14px;
}

.field-error,
.form-error {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--danger);
}

.form-error a {
  color: inherit;
  text-decoration: underline;
}

[aria-invalid="true"] {
  border-color: var(--danger);
}

.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.storefront {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--sh-2);
  background: var(--surface-alt);
}

.storefront img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

body.modal-open {
  overflow: hidden;
}

.mobile-quick-nav {
  transition: transform 0.35s var(--ease-out);
}

.mobile-quick-nav.is-tucked {
  transform: translateY(-110%);
}

@media (max-width: 920px) {
  .steps,
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .filter-tabs {
    mask-image: linear-gradient(90deg, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
}

@media (max-width: 600px) {
  .steps li {
    padding: 14px;
  }

  .active-filter {
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .pill {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    border-radius: 14px;
    padding: 8px 12px;
  }

  .open-status + span::before {
    content: none;
  }
}

/* Hero quick contact: call + WhatsApp */
.hero-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #d5e4e2;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.contact-chip:hover {
  border-color: var(--primary);
  background: #f3fbfa;
}

.contact-chip-wa {
  color: #15803d;
  border-color: #bbe5c8;
}

.contact-chip-wa:hover {
  border-color: #16a34a;
  background: #f0fdf4;
}

/* Call / WhatsApp band */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  background: var(--primary-dark);
  color: #fff;
}

.cta-banner h2 {
  margin: 0 0 6px;
  color: #fff;
}

.cta-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  max-width: 48ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-ghost-light {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  text-decoration: none;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

@media (max-width: 600px) {
  .cta-banner {
    padding: 24px 20px;
  }

  .cta-actions,
  .cta-actions .btn {
    width: 100%;
  }

  .cta-actions .btn {
    justify-content: center;
  }

  .hero-contact-row .contact-chip {
    flex: 1 1 0;
    justify-content: center;
  }
}
