/* =============================================================
   HEFCORP DIAGNOSTIC CENTRE — Enterprise Design System
   Inspired by: Dr. Lal PathLabs, Apollo Diagnostics, Metropolis
   Version: 2.0.0
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ─── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* ── Brand Core ─────────────────────────────────── */
  --primary: #0D2F6F;
  /* Brand Red  — rgb(233,37,0)   */
  --primary-dark: #B31C00;
  /* Dark Red   — hero, top-bar   */
  --primary-light: #FF4D2E;
  /* Light Red  — hover accents   */
  --primary-bg: #FFF2F0;
  /* Red tint   — hover bg        */
  --brand-light: #DBFAFF;
  /* Brand Blue — rgb(219,250,255)*/
  /* ── Supporting Palette ─────────────────────────── */
  --teal: #008FA8;
  /* Clinical teal accent         */
  --teal-dark: #006B80;
  --teal-bg: #DBFAFF;
  /* Brand light as teal bg       */
  --offer: #E92500;
  /* Offers = same brand red      */
  --offer-dark: #B31C00;
  --offer-bg: #FFF2F0;
  --green: #1B7A4A;
  /* Success / NABL / verified    */
  --green-bg: #E6F8EF;
  --amber: #D97706;
  /* Fasting warnings             */
  --amber-bg: #FEF3C7;
  /* ── Neutrals ───────────────────────────────────── */
  --text-primary: #0A0A0A;
  /* Near black — primary text    */
  --text-secondary: #3D3D3D;
  /* Dark grey  — body text       */
  --text-muted: #7A7A7A;
  /* Grey       — meta/labels     */
  --border: #E5E5E5;
  --border-light: #F0F0F0;
  --bg-light: #F8F8F8;
  /* Neutral light grey           */
  --bg-soft: #DBFAFF;
  /* Brand light — alt sections   */
  --white: #FFFFFF;
  --black: #000000;
  /* ── Shadows ─────────────────────────────────────── */
  --shadow-xs: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.16);
  /* ── Typography & Layout ─────────────────────────── */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --container: 1260px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.3s;
  --top-bar-h: 40px;
  --nav-h: 68px;
  --header-total: 108px;
}

/* ─── RESET ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

input,
select,
textarea {
  font-family: var(--font-body);
}

/* ─── UTILITIES ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag-offer {
  background: var(--offer-bg);
  color: var(--offer-dark);
}

.tag-green {
  background: var(--green-bg);
  color: var(--green);
}

.tag-teal {
  background: var(--teal-bg);
  color: var(--teal-dark);
}

.tag-primary {
  background: var(--primary-bg);
  color: var(--primary);
}

.tag-amber {
  background: var(--amber-bg);
  color: #92400E;
}

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

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

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

.reveal-delay-5 {
  transition-delay: 0.40s;
}

.reveal-delay-6 {
  transition-delay: 0.48s;
}

/* Section labels */
.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 3 rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.sec-eyebrow::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.sec-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 12px;
}

.sec-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(233, 37, 0, 0.32);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(233, 37, 0, 0.45);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 143, 168, 0.3);
}

.btn-teal:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.btn-offer {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(233, 37, 0, 0.32);
}

.btn-offer:hover {
  background: var(--offer-dark);
  transform: translateY(-1px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary-bg);
}

.btn-outline-white {
  background: transparent;
  color: black;
  border-color: rgba(255, 13, 13, 0.6);
}

.btn-outline-white:hover {
  background: rgba(255, 1, 1, 0.12);
  border-color: rgb(255, 0, 0);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 0.95rem;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ─── TOP UTILITY BAR ───────────────────────────────────────── */
#top-bar {
  background: var(--primary-dark);
  height: var(--top-bar-h);
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.top-bar-link-item {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 0 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.top-bar-link-item:first-child {
  padding-left: 0;
}

.top-bar-link-item:hover {
  color: var(--white);
}

.top-bar-link-item svg {
  width: 15px;
  height: 15px;
}

.top-bar-helpline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-email {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  padding-right: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.top-bar-helpline .helpline-num {
  color: #FFA500;
  font-size: 0.78rem;
  font-weight: 700;
}

.top-bar-helpline .helpline-email {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.top-bar-helpline svg {
  width: 13px;
  height: 13px;
}

/* ─── MAIN HEADER ────────────────────────────────────────────── */
#header {
  position: fixed;
  top: var(--top-bar-h);
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

#header.scrolled {
  box-shadow: var(--shadow-md);
}

/* Keep main content below fixed top-bar + header */
main {
  padding-top: var(--header-total);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  align-items: center;
  min-width: 0;
}

.logo-text img {
  width: clamp(150px, 18vw, 250px);
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.logo-tagline {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Desktop Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}

.main-nav a {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  transition: all 0.2s;
  white-space: nowrap;
}

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

.main-nav a.active {
  color: var(--primary);
  font-weight: 600;
}

/* Header location picker */
.location-picker {
  position: relative;
  flex-shrink: 0;
}

.location-picker-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 176px;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(233, 37, 0, 0.5);
  background: var(--white);
  color: #B31C00;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.location-picker-trigger:hover {
  border-color: #E92500;
}

.location-picker-trigger svg {
  width: 16px;
  height: 16px;
  color: #E92500;
  flex-shrink: 0;
}

.location-picker-trigger #selectedCity {
  max-width: 110px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.location-caret {
  margin-left: auto;
  transition: transform 0.2s var(--ease);
}

.location-picker.open .location-caret {
  transform: rotate(180deg);
}

.location-picker-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  max-height: 260px;
  padding: 8px 0;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  display: none;
  z-index: 1200;
}

.location-picker.open .location-picker-menu {
  display: block;
}

.location-option {
  width: 100%;
  text-align: left;
  padding: 9px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.location-option:hover,
.location-option.active {
  background: var(--primary-bg);
  color: var(--primary);
}

.apply-now-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid var(--primary);
  box-shadow: 0 4px 12px rgba(233, 37, 0, 0.28);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.apply-now-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(233, 37, 0, 0.35);
}

/* Header right actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.header-location-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 8px;
  white-space: nowrap;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
}

.header-location-inline span {
  position: relative;
  padding-right: 10px;
}

.header-location-inline span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 12px;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.18);
}

.header-location-inline span:last-child {
  padding-right: 0;
}

/* Search trigger */
.search-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--bg-soft);
  cursor: pointer;
  transition: all 0.2s;
  min-width: 200px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.search-trigger:hover {
  border-color: var(--primary);
  background: var(--white);
}

.search-trigger svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Cart button */
.cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  border: 1.5px solid var(--border);
}

.cart-btn:hover {
  background: var(--primary-bg);
  border-color: var(--primary);
}

.cart-btn svg {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--offer);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  transition: transform 0.3s var(--ease);
}

.cart-count.bump {
  animation: cartBump 0.4s var(--ease);
}

@keyframes cartBump {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.4);
  }

  100% {
    transform: scale(1);
  }
}

/* Login button */
.login-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.2s;
}

.login-btn:hover {
  background: var(--primary-bg);
  border-color: var(--primary);
}

.login-btn svg {
  width: 15px;
  height: 15px;
}

/* Hamburger */
.hamburger-btn {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg-light);
  flex-shrink: 0;
}

.hamburger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.hamburger-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── MOBILE DRAWER ──────────────────────────────────────────── */
#mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-total);
  left: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: var(--white);
  z-index: 990;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
  border-right: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
}

#mobile-nav.open {
  transform: translateX(0);
}

.mob-nav-section {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
}

.mob-nav-section-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  padding: 0 8px;
}

.mob-nav-links {
  display: flex;
  flex-direction: column;
}

.mob-nav-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: all 0.2s;
}

.mob-nav-links a:hover {
  background: var(--primary-bg);
  color: var(--primary);
}

.mob-nav-links a svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.mob-cta-area {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 980;
  display: none;
  opacity: 0;
  backdrop-filter: blur(3px);
  transition: opacity 0.3s;
}

#nav-overlay.open {
  opacity: 1;
}

/* ─── SEARCH MODAL OVERLAY ───────────────────────────────────── */
#search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  backdrop-filter: blur(6px);
}

#search-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.search-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  margin-inline: 20px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform 0.3s var(--ease);
}

#search-overlay.open .search-modal {
  transform: translateY(0);
}

.search-modal-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.search-modal-top svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
}

#searchInput {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: transparent;
}

#searchInput::placeholder {
  color: var(--text-muted);
}

.search-close {
  padding: 4px;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.2s;
}

.search-close:hover {
  color: var(--text-primary);
}

.search-close svg {
  width: 18px;
  height: 18px;
}

.search-results {
  max-height: 400px;
  overflow-y: auto;
  padding: 8px 0;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.15s;
}

.search-result-item:hover {
  background: var(--bg-light);
}

.search-result-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.search-result-icon svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.search-result-info {
  flex: 1;
}

.search-result-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.search-result-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.search-result-price {
  text-align: right;
  flex-shrink: 0;
}

.search-result-price .offer-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.search-result-price .orig-price {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.search-cat-head {
  padding: 8px 20px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.search-empty {
  padding: 32px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.search-shortcuts {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-shortcut {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-light);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}

.search-shortcut:hover {
  background: var(--primary-bg);
  border-color: var(--primary);
  color: var(--primary);
}

/* ─── CART DRAWER ────────────────────────────────────────────── */
#cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(400px, 95vw);
  background: var(--white);
  z-index: 3000;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.18);
}

#cart-drawer.open {
  transform: translateX(0);
}

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

.cart-header-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cart-header-count {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

.cart-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.cart-close:hover {
  background: var(--border);
}

.cart-close svg {
  width: 16px;
  height: 16px;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
  color: var(--text-muted);
  text-align: center;
}

.cart-empty svg {
  width: 56px;
  height: 56px;
  opacity: 0.3;
}

.cart-empty-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-secondary);
}

.cart-empty-sub {
  font-size: 0.85rem;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-icon svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.cart-item-params {
  font-size: 0.73rem;
  color: var(--text-muted);
}

.cart-item-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.cart-item-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
  margin-left: 4px;
}

.cart-item-remove:hover {
  background: var(--offer-bg);
}

.cart-item-remove svg {
  width: 13px;
  height: 13px;
  color: var(--offer);
}

.cart-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

.cart-summary {
  margin-bottom: 14px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.cart-summary-row.total {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  padding-top: 8px;
  border-top: 1px solid var(--border);
  margin-top: 6px;
}

.cart-summary-row.savings {
  color: var(--green);
}

.cart-checkout {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 0.95rem;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
  backdrop-filter: blur(3px);
}

.cart-overlay.open {
  opacity: 1;
}

/* ─── HERO SECTION (static, no slider) ───────────────────────── */
#hero {
  background: linear-gradient(135deg, #7A0E00 0%, #B31C00 40%, #E92500 100%);
  position: relative;
  overflow: hidden;
  padding: 48px 0 52px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: radial-gradient(circle, white 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Two-column hero layout: content | form panel */
.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

/* ── Left column content ──────────── */
.hero-content {
  max-width: 660px;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.slide-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFCC00;
  animation: blink 2s infinite;
  flex-shrink: 0;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.35
  }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  font-weight: 800;
  color: #000;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.hero-headline span {
  color: #E92500;
}

.hero-desc {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 480px;
}

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

/* White filled button (used in hero) */
.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
  background: #F5F5F5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-white svg {
  color: var(--primary);
}

/* Social proof strip under CTAs */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hsp-item {
  text-align: left;
}

.hsp-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 2px;
}

.hsp-label {
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hsp-sep {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

/* ── Right column: Hero Booking Form Panel ────────────────────── */
.hero-form-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28), 0 4px 12px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 440px;
  justify-self: end;
}

/* Panel heading */
.hfp-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--brand-light);
  margin-bottom: 16px;
}

.hfp-title svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── Hero Booking Form ─────────────────────────────── */
.hero-booking-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  position: relative;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  transition: all 0.2s;
  padding: 0 14px;
}

.input-wrap:focus-within {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(233, 37, 0, 0.1);
}

.input-wrap svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 13px 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
}

.input-wrap input::placeholder {
  color: #9CA3AF;
}

/* File Upload Styles */
.file-input-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.upload-area {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px dashed var(--primary);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.upload-area:hover,
.upload-area.dragover {
  background: var(--primary-bg);
  border-color: var(--primary-dark);
}

.upload-icon-container {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.upload-icon-container svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.upload-text {
  display: flex;
  flex-direction: column;
}

.ut-main {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ut-main.has-file {
  color: var(--primary);
}

.ut-opt {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.ut-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.btn-submit-booking {
  width: 100%;
  border: none;
  cursor: pointer;
  background: var(--primary);
  color: white;
  margin-top: 4px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.btn-submit-booking:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.form-disclaimer {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
  line-height: 1.5;
}

.form-disclaimer a {
  color: var(--primary);
  text-decoration: underline;
}

.input-wrap textarea {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 13px 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  resize: vertical;
  min-height: 84px;
}

.input-wrap textarea::placeholder {
  color: #9CA3AF;
}

.customer-care-section {
  padding: 72px 0;
  background: var(--bg-soft);
}

.customer-care-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 28px;
}

.customer-care-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 768px) {
  .customer-care-card {
    padding: 20px;
  }

  .customer-care-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── SEARCH SUGGESTIONS (legacy search bar compatibility) ────── */
.search-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: white;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border: 2px solid var(--primary);
  border-top: none;
  box-shadow: var(--shadow-lg);
  z-index: 50;
  max-height: 320px;
  overflow-y: auto;
  display: none;
}

.search-suggestions.show {
  display: block;
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid var(--border-light);
}

.search-suggestion-item:hover {
  background: var(--bg-light);
}

.sug-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sug-icon svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
}

.sug-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.sug-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.sug-price {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary);
  margin-left: auto;
  padding-left: 12px;
}

.suggestion-wrapper {
  position: relative;
}


/* ─── STATS BAR ──────────────────────────────────────────────── */
#stats-bar {
  background: var(--primary);
  padding: 32px 0;
  margin-top: 32px;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
}

/* ─── WHY HEFCORP ─────────────────────────────────────────────── */
#why-hefcorp {
  padding: 64px 0 72px;
  background: linear-gradient(180deg, #F4F4F4 0%, #FFFFFF 100%);
}

#why-hefcorp>.container {
  max-width: var(--container);
  padding-inline: 20px;
}

.why-hefcorp-shell {
  display: grid;
  grid-template-columns: 1.42fr 0.58fr;
  border-radius: 0;
  overflow: visible;
  border: none;
  background: transparent;
  box-shadow: none;
}

.why-hefcorp-left {
  padding: 32px 30px 30px;
  position: relative;
  z-index: 2;
}

.why-hefcorp-head {
  margin-bottom: 16px;
}

.why-hefcorp-head .sec-title {
  margin-bottom: 8px;
  color: #111111;
}

.why-hefcorp-sub {
  font-size: 0.9rem;
  color: #4A4A4A;
  max-width: 580px;
}

.why-hefcorp-trust-strip {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(233, 37, 0, 0.08);
  border: 1px solid rgba(233, 37, 0, 0.28);
  color: #7A1500;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.why-hefcorp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.why-hefcorp-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #DDE2E7;
  border-radius: 12px;
  padding: 24px 20px 22px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s var(--ease);
}

.why-hefcorp-card:hover {
  transform: translateY(-3px);
  border-color: rgba(233, 37, 0, 0.45);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.14);
}

.why-hefcorp-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(160deg, #FFF2F0 0%, #FFE7E1 100%);
  border: 1px solid rgba(233, 37, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #E92500;
  transition: background 0.24s var(--ease), color 0.24s var(--ease), border-color 0.24s var(--ease);
}

.why-hefcorp-icon svg {
  width: 22px;
  height: 22px;
}

.why-hefcorp-card:hover .why-hefcorp-icon {
  background: linear-gradient(160deg, #FFE6E0 0%, #FFD8CF 100%);
  border-color: rgba(233, 37, 0, 0.4);
  color: #B31C00;
}

.why-hefcorp-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 8px;
}

.why-hefcorp-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.why-hefcorp-visual {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}

.why-hefcorp-visual::before {
  content: none;
}

.why-hefcorp-visual::before {
  position: absolute;
  left: -66px;
  top: 0;
  bottom: 0;
  width: 120px;
  background: #EEF0F2;
  transform: skewX(-12deg);
  z-index: 2;
}

.why-hefcorp-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.26), rgba(233, 37, 0, 0.1));
  z-index: 1;
}

.why-hefcorp-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ─── POPULAR TESTS ──────────────────────────────────────────── */
#popular-tests {
  padding: 30px 0;
  background: var(--white);
}

.section-head {
  margin-bottom: 36px;
}

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

/* Tabs */
.tests-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
}

.test-tab {
  padding: 8px 20px;
  border-radius: calc(var(--radius-sm) - 2px);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.test-tab.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

/* Test cards grid */
.tests-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.test-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.test-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.test-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

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

.test-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.test-card-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.test-card-params {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.test-card-params svg {
  width: 12px;
  height: 12px;
}

.test-card-fasting {
  font-size: 0.72rem;
  color: var(--amber);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
}

.test-card-fasting svg {
  width: 12px;
  height: 12px;
}

.test-card-price {
  margin-top: auto;
}

.price-offer {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.price-original {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
}

.price-discount {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  background: var(--green-bg);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-left: 6px;
}

.test-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.add-to-cart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: var(--font-body);
}

.add-to-cart-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.03);
}

.add-to-cart-btn svg {
  width: 14px;
  height: 14px;
}

.add-to-cart-btn.added {
  background: var(--green);
}

.view-detail-btn {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.view-detail-btn:hover {
  color: var(--primary-dark);
}

/* Package card variant */
.test-card.package-card {
  border-color: rgba(233, 37, 0, 0.15);
}

.test-card.package-card:hover {
  border-color: var(--primary);
}

.package-highlight {
  position: absolute;
  top: 14px;
  right: 14px;
}

/* ─── HOW IT WORKS / SERVICES ────────────────────────────────── */
#services {
  padding: 30px 0;
  background: var(--brand-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.25s var(--ease);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

.si-blue {
  background: var(--primary-bg);
}

.si-teal {
  background: var(--teal-bg);
}

.si-green {
  background: var(--green-bg);
}

.si-amber {
  background: var(--amber-bg);
}

.si-offer {
  background: var(--offer-bg);
}

.si-purple {
  background: #F3E8FF;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.si-blue svg {
  color: var(--primary);
}

.si-teal svg {
  color: var(--teal);
}

.si-green svg {
  color: var(--green);
}

.si-amber svg {
  color: var(--amber);
}

.si-offer svg {
  color: var(--offer);
}

.si-purple svg {
  color: #9C27B0;
}

.service-step {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Process steps */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 48px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  z-index: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 8px;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary);
}

.step-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.step-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── HEALTH CATEGORIES ──────────────────────────────────────── */
#health-categories {
  padding: 72px 0;
  background: var(--white);
}

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

.cat-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.cat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient, linear-gradient(90deg, var(--primary), var(--teal)));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.cat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}

.cat-card:hover::after {
  transform: scaleX(1);
}

.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.6rem;
}

.cat-name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cat-count {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── ACCREDITATION / TRUST STRIP ───────────────────────────── */
#trust-strip {
  padding: 48px 0;
  background: var(--brand-light);
  border-top: 1px solid rgba(0, 143, 168, 0.15);
  border-bottom: 1px solid rgba(0, 143, 168, 0.15);
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.trust-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.trust-item-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ─── APP SECTION ────────────────────────────────────────────── */
#app-section {
  padding: 72px 0;
  background: linear-gradient(135deg, #7A0E00 0%, #B31C00 40%, #E92500 100%);
  position: relative;
  overflow: hidden;
}

#app-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.app-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.app-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.app-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  margin-bottom: 28px;
}

.app-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.app-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
}

.app-feature svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  flex-shrink: 0;
}

.app-store-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.app-store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  cursor: pointer;
  transition: all 0.2s;
}

.app-store-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.app-store-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.app-store-btn-text {
  text-align: left;
}

.app-store-small {
  font-size: 0.65rem;
  opacity: 0.75;
  display: block;
}

.app-store-name {
  font-weight: 700;
  font-size: 0.92rem;
}

.app-mockup {
  position: relative;
  text-align: center;
}

.phone-mockup {
  width: 200px;
  margin: 0 auto;
  position: relative;
  background: #1a1a2e;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.15);
}

.phone-screen {
  background: linear-gradient(160deg, #DBFAFF, #EAF9FF);
  border-radius: 28px;
  overflow: hidden;
  height: 380px;
  display: flex;
  flex-direction: column;
}

.phone-status {
  background: var(--primary);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-time {
  font-size: 11px;
  font-weight: 700;
  color: white;
}

.phone-ui {
  padding: 12px;
  flex: 1;
}

.phone-header {
  background: var(--primary);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 8px;
}

.phone-header-title {
  font-size: 11px;
  font-weight: 700;
  color: white;
}

.phone-header-sub {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.8);
}

.phone-card {
  background: white;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.phone-card-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.phone-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-card-row span {
  font-size: 9px;
  color: var(--text-muted);
}

.phone-card-row strong {
  font-size: 9px;
  color: var(--primary);
  font-weight: 700;
}

.phone-badge {
  background: var(--green-bg);
  color: var(--green);
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
}

/* ─── MEGA FOOTER ────────────────────────────────────────────── */
#mega-footer {
  background: #0F0F0F;
  padding-top: 56px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}


.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  text-align: left;
}


.footer-logo-sub {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.footer-contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact-line svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
  flex-shrink: 0;
}

.footer-contact-line a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-line a:hover {
  color: white;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.fsocial {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  cursor: pointer;
}

.fsocial:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.fsocial svg {
  width: 15px;
  height: 15px;
  color: rgba(255, 255, 255, 0.6);
}

.fsocial:hover svg {
  color: white;
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col-links a {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-col-links a::before {
  content: '›';
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.15s;
  font-size: 1rem;
}

.footer-col-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-col-links a:hover::before {
  opacity: 1;
}

/* Accreditation badges in footer */
.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.footer-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
}

/* Footer bottom */
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-text {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
}

.footer-bottom-links a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.15s;
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ─── FLOATING BOOK HOME BTN ─────────────────────────────────── */
.floating-book {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #25D366;
  color: white;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.floating-book:hover {
  transform: translateY(-3px);
  background: #1ebe5b;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

.floating-book svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@keyframes fbPulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }

  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0);
  }
}

/* ─── SCROLL TO TOP ──────────────────────────────────────────── */
#scroll-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 900;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s var(--ease);
}

#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#scroll-top:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

#scroll-top:hover svg {
  color: white;
}

#scroll-top svg {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
}

/* ─── SECTION TITLE LAYOUT ───────────────────────────────────── */
.section-block {
  padding: 72px 0;
}

.section-center {
  text-align: center;
}

.section-center .sec-eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-center .sec-eyebrow::before {
  display: none;
}

/* ─── TESTIMONIALS ────────────────────────────────────────────── */
#testimonials {
  padding: 72px 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  transition: all 0.25s;
}

.testi-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.testi-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
}

.testi-stars svg {
  width: 16px;
  height: 16px;
  color: #FBBF24;
  fill: #FBBF24;
}

.testi-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: white;
  flex-shrink: 0;
}

.testi-info-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testi-info-loc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.testi-verified {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--green);
  font-weight: 600;
}

.testi-verified svg {
  width: 13px;
  height: 13px;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .tests-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 900px) {
  #why-hefcorp>.container {
    padding-inline: 16px;
  }

  :root {
    --nav-h: 62px;
  }

  .container {
    padding-inline: 16px;
  }

  .header-inner {
    gap: 12px;
  }

  .logo-tagline {
    display: none;
  }

  .logo-name {
    font-size: 1.02rem;
  }

  .header-actions {
    gap: 6px;
  }

  .header-location-inline {
    font-size: 0.76rem;
    gap: 8px;
  }

  .cart-btn,
  .hamburger-btn {
    width: 38px;
    height: 38px;
  }

  .main-nav,
  .search-trigger,
  .login-btn {
    display: none;
  }

  .location-picker-trigger {
    min-width: 152px;
    padding: 8px 10px;
    font-size: 0.84rem;
  }

  .location-picker-trigger #selectedCity {
    max-width: 84px;
  }

  .hamburger-btn {
    display: flex;
  }

  #mobile-nav {
    display: flex;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-form-panel {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .tests-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    white-space: nowrap;
  }

  .test-tab {
    flex: 0 0 auto;
  }

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

  .why-hefcorp-shell {
    grid-template-columns: 1fr;
  }

  .why-hefcorp-left {
    padding: 22px 18px;
  }

  .why-hefcorp-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .why-hefcorp-visual {
    min-height: 220px;
    max-height: 300px;
    order: -1;
  }

  .why-hefcorp-visual::before {
    left: 0;
    top: auto;
    bottom: -38px;
    width: 100%;
    height: 72px;
    transform: skewY(-4deg);
  }

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

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

  .app-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .phone-mockup {
    width: 160px;
  }

  .phone-screen {
    height: 300px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

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

  .stats-grid {
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .process-steps::before {
    display: none;
  }

  .process-steps {
    flex-wrap: wrap;
    gap: 24px;
  }

  .process-step {
    flex: 1;
    min-width: 140px;
  }
}

@media (max-width: 640px) {
  :root {
    --top-bar-h: 34px;
    --nav-h: 58px;
    --header-total: 92px;
  }

  .container {
    padding-inline: 14px;
  }

  #top-bar {
    height: auto;
    min-height: 42px;
  }

  .top-bar-inner {
    max-width: none;
    padding-inline: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
  }

  .top-bar-links {
    display: none;
  }

  .top-bar-link-item {
    padding: 8px 6px;
    justify-content: center;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    line-height: 1.15;
    min-height: 42px;
  }

  .top-bar-link-item:first-child {
    padding-left: 6px;
  }

  .top-bar-link-item svg {
    width: 11px;
    height: 11px;
  }

  .top-bar-contact {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .top-bar-email,
  .top-bar-helpline {
    justify-content: center;
    gap: 4px;
    min-height: 42px;
    padding: 6px 8px;
    font-size: 0.68rem;
    line-height: 1.15;
    text-align: center;
  }

  .top-bar-email {
    display: flex;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 8px;
  }

  .top-bar-helpline svg {
    width: 11px;
    height: 11px;
  }

  .top-bar-email span:first-of-type,
  .top-bar-helpline span:first-of-type {
    display: none;
  }

  .top-bar-helpline .helpline-num {
    font-size: 0.7rem;
    line-height: 1.1;
    display: inline-block;
  }

  #stats-bar {
    padding: 24px 0;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 18px 12px;
    justify-items: center;
    align-items: start;
  }

  .stat-item {
    width: 100%;
    max-width: 180px;
  }

  .stat-num {
    font-size: 2rem;
    margin-bottom: 4px;
  }

  .stat-label {
    font-size: 0.74rem;
    letter-spacing: 0.04em;
  }

  .site-logo {
    gap: 8px;
    flex: 1;
    min-width: 0;
  }

  .logo-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
  }

  .logo-icon svg {
    width: 16px;
    height: 16px;
  }

  .logo-text {
    overflow: hidden;
  }

  .logo-text img {
    width: clamp(132px, 54vw, 196px);
    max-height: 42px;
  }

  .logo-name {
    font-size: 0.95rem;
  }

  .header-actions {
    gap: 4px;
    margin-left: 0;
    flex-shrink: 0;
  }

  .header-location-inline {
    display: none;
  }

  .location-picker {
    margin-left: auto;
    margin-right: 6px;
    min-width: 0;
  }

  .location-picker-trigger {
    min-width: 128px;
    padding: 7px 10px;
    font-size: 0.8rem;
    gap: 6px;
  }

  .location-picker-trigger svg {
    width: 14px;
    height: 14px;
  }

  .location-picker-trigger #selectedCity {
    max-width: 70px;
  }

  .cart-btn,
  .hamburger-btn {
    width: 34px;
    height: 34px;
  }

  .cart-btn svg {
    width: 16px;
    height: 16px;
  }

  .cart-count {
    width: 16px;
    height: 16px;
    font-size: 0.6rem;
  }

  #hero {
    padding: 32px 0;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
    text-align: center;
  }

  .hero-cta-row {
    justify-content: center;
    gap: 10px;
  }

  .hero-cta-row .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-social-proof {
    justify-content: center;
    gap: 12px;
  }

  .hsp-sep {
    display: none;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .hero-desc {
    font-size: 0.92rem;
    margin-inline: auto;
  }

  .hero-form-panel {
    padding: 18px 14px;
    border-radius: 12px;
  }

  #why-hefcorp {
    padding: 38px 0 42px;
  }

  #why-hefcorp>.container {
    padding-inline: 14px;
  }

  .why-hefcorp-head {
    margin-bottom: 14px;
  }

  .why-hefcorp-sub {
    font-size: 0.86rem;
  }

  .why-hefcorp-trust-strip {
    width: 100%;
    border-radius: 8px;
    font-size: 0.68rem;
    line-height: 1.35;
    padding: 8px 10px;
  }

  .why-hefcorp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .why-hefcorp-card {
    padding: 18px 14px 16px;
  }

  .why-hefcorp-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
  }

  .why-hefcorp-card h3 {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }

  .why-hefcorp-card p {
    font-size: 0.82rem;
  }

  .why-hefcorp-visual {
    min-height: 190px;
  }

  .hfp-title {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
  }

  .input-wrap {
    padding: 0 10px;
  }

  .input-wrap input {
    padding: 12px 8px;
    font-size: 0.88rem;
  }

  .btn-submit-booking {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .section-head-inner {
    align-items: flex-start;
  }

  .section-head-inner .btn {
    width: 100%;
    justify-content: center;
  }

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

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

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cat-card {
    padding: 16px 12px;
  }

  .cat-icon {
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
  }

  .cat-name {
    font-size: 0.82rem;
  }

  .cat-count {
    font-size: 0.68rem;
  }

  .trust-item {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 12px;
  }

  .process-step {
    min-width: 100%;
  }

  .test-card {
    padding: 16px;
  }

  .test-card-footer {
    gap: 10px;
    flex-wrap: wrap;
  }

  .add-to-cart-btn {
    width: 100%;
    justify-content: center;
  }

  .view-detail-btn {
    width: 100%;
    text-align: center;
  }

  .quick-tiles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .quick-tile {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo-wrap,
  .footer-contact-line,
  .footer-socials,
  .footer-badges {
    justify-content: center;
  }

  .footer-col {
    margin-bottom: 24px;
  }

  .footer-btm {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

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

  .floating-book {
    padding: 12px 16px;
    width: auto;
    height: auto;
    justify-content: center;
  }

  .floating-book {
    right: 14px;
    bottom: 14px;
  }

  #scroll-top {
    left: 14px;
    bottom: 14px;
  }

  #cart-drawer {
    width: 100vw;
  }

  .cart-header,
  .cart-body,
  .cart-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  #search-widget {
    padding: 16px;
    margin-inline: 16px;
  }
}

@media (max-width: 420px) {
  .location-picker {
    margin-right: 4px;
  }

  .location-picker-trigger {
    min-width: 112px;
    padding: 6px 8px;
  }

  .location-picker-trigger #selectedCity {
    max-width: 58px;
  }

  .logo-icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .logo-icon svg {
    width: 14px;
    height: 14px;
  }

  .logo-text img {
    width: clamp(100px, 50vw, 150px);
    max-height: 32px;
  }

  #top-bar {
    min-height: 40px;
  }

  .top-bar-link-item {
    font-size: 0.68rem;
    min-height: 40px;
  }

  .top-bar-link-item svg {
    display: inline-block;
    width: 10px;
    height: 10px;
  }

  .top-bar-link-item {
    gap: 4px;
  }

  .top-bar-helpline {
    min-height: 40px;
    padding-inline: 6px;
  }

  .top-bar-helpline svg {
    display: inline-block;
    width: 10px;
    height: 10px;
  }

  .top-bar-helpline .helpline-num {
    font-size: 0.66rem;
  }

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

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

  .why-hefcorp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .why-hefcorp-left {
    padding: 16px 12px;
  }

  .why-hefcorp-visual {
    min-height: 160px;
  }

  .hero-social-proof {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .hsp-item {
    width: 45%;
    text-align: center;
    margin-bottom: 12px;
  }
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection {
  background: rgba(13, 47, 111, 0.12);
}

/* =============================================================
   Corporate Healthcare Theme Override
   Direction: premium, structured, minimal, blue/teal-led
   ============================================================= */
:root {
  --primary: #E92500;
  --primary-dark: #B31C00;
  --primary-light: #FF4D2E;
  --primary-bg: #FFF2F0;
  --teal: #00B8A9;
  --teal-dark: #008F83;
  --teal-bg: #E3F7F5;
  --offer: #FF5630;
  --offer-dark: #BF2600;
  --offer-bg: #FFEBE6;
  --green: #2E7D32;
  --green-bg: #E8F5E9;
  --amber: #F59E0B;
  --amber-bg: #FEF3C7;
  --text-primary: #172B4D;
  --text-secondary: #5E6C84;
  --text-muted: #97A0AF;
  --border: #DFE1E6;
  --border-light: #EBECF0;
  --bg-light: #F4F5F7;
  --bg-soft: #FAFBFC;
  --white: #FFFFFF;
  --shadow-xs: 0 1px 4px rgba(23, 43, 77, 0.08);
  --shadow-sm: 0 2px 8px rgba(23, 43, 77, 0.10);
  --shadow-md: 0 4px 20px rgba(23, 43, 77, 0.12);
  --shadow-lg: 0 8px 40px rgba(23, 43, 77, 0.15);
  --shadow-xl: 0 16px 60px rgba(23, 43, 77, 0.18);
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --container: 1260px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.3s;
  --top-bar-h: 40px;
  --nav-h: 68px;
  --header-total: 108px;
}

body {
  letter-spacing: 0.005em;
}

h1, h2, h3, h4, h5, h6,
.sec-title,
.service-title,
.test-card-name,
.cat-name {
  font-family: var(--font-display);
  color: #000000;
  letter-spacing: -0.015em;
}

.hero-headline {
  font-family: var(--font-avenir);
}

.container {
  padding-inline: 28px;
}

section {
  position: relative;
}

.sec-title {
  font-size: clamp(1.85rem, 2.7vw, 2.55rem);
  margin-bottom: 14px;
}

.sec-subtitle {
  max-width: 780px;
  color: var(--text-secondary);
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-primary,
.btn-offer,
.apply-now-btn,
.add-to-cart-btn,
.btn-submit-booking {
  background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 100%);
  box-shadow: 0 8px 18px rgba(233, 37, 0, 0.22);
}

.btn-primary:hover,
.btn-offer:hover,
.apply-now-btn:hover,
.add-to-cart-btn:hover,
.btn-submit-booking:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(233, 37, 0, 0.28);
}

#top-bar {
  background: var(--primary-dark);
}

#top-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

#top-bar,
#header {
  --primary: #E92500;
  --primary-dark: #B31C00;
  --primary-light: #FF4D2E;
  --primary-bg: #FFF2F0;
}

#stats-bar {
  background: var(--primary-dark);
}

#header {
  border-bottom: 1px solid var(--border-light);
}

.main-nav a {
  font-weight: 600;
}

#hero {
  background: linear-gradient(145deg, #FFF8F7 0%, #FFF2F0 45%, #FFECE8 78%, #FFE8E3 100%);
  padding: 56px 0 64px;
}

.hero-bg-pattern {
  opacity: 0.2;
  background-size: 46px 46px;
}

.hero-layout {
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
}

.hero-content {
  max-width: 760px;
}

.slide-tag {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(233, 37, 0, 0.22);
  color: var(--primary);
  letter-spacing: 0.09em;
}

.slide-tag-dot {
  background: #ff0026;
  animation: none;
}

.hero-headline {
  font-size: clamp(2.25rem, 3.9vw, 3.75rem);
  font-weight: 800;
  color: #000;
}

.hero-headline span {
  color: #E92500;
}

.hero-desc {
  font-size: 1.18rem;
  line-height: 1.72;
  max-width: 680px;
  color: var(--text-secondary);
}

.hero-marquee-shell {
  --hero-marquee-step: 90px;
  width: 100%;
  max-width: 560px;
  margin-bottom: 18px;
}

.hero-marquee-window {
  position: relative;
  height: 90px;
  overflow: hidden;
  border-radius: 16px;
}

.hero-marquee-track {
  display: flex;
  flex-direction: column;
  animation: heroMarqueeRotate 12s ease-in-out infinite;
}

.hero-marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 90px;
  padding: 11px 16px 10px;
  border: 1px solid rgba(233, 37, 0, 0.14);
  border-radius: 16px;
  background: linear-gradient(135deg, #fff3ee 0%, #ffe4dc 52%, #ffd8cc 100%);
  box-shadow: none;
}

.hero-marquee-copy {
  color: #8b1e08;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.01em;
  align-items: center;
}

@keyframes heroMarqueeRotate {
  0%,
  22% {
    transform: translateY(0);
  }

  30%,
  52% {
    transform: translateY(calc(-1 * var(--hero-marquee-step)));
  }

  60%,
  82% {
    transform: translateY(calc(-2 * var(--hero-marquee-step)));
  }

  100% {
    transform: translateY(calc(-3 * var(--hero-marquee-step)));
  }
}

.hero-point-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.hero-point-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(233, 37, 0, 0.22);
  background: rgba(233, 37, 0, 0.06);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.1;
}

.hero-cta-row {
  gap: 14px;
  margin-bottom: 38px;
}

.hero-cta-row .btn {
  padding: 16px 36px;
  font-size: 1.02rem;
}

@media (max-width: 640px) {
  .hero-point-pills {
    gap: 8px;
    margin-bottom: 14px;
  }

  .hero-point-pill {
    font-size: 0.7rem;
    padding: 6px 10px;
  }
}

.hero-social-proof {
  border-top: 1px solid rgba(233, 37, 0, 0.16);
  gap: 24px;
  padding-top: 24px;
}

.hsp-num {
  font-size: 1.24rem;
  color: var(--primary);
}

.hsp-label {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.hsp-sep {
  background: rgba(233, 37, 0, 0.18);
}

.hero-form-panel {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF9F8 100%);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  box-shadow: 0 22px 44px rgba(8, 34, 82, 0.18);
  padding: 28px 24px;
}

.hfp-title {
  color: var(--primary);
  border-bottom-color: #FFDCD5;
}

.input-wrap:focus-within {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(233, 37, 0, 0.11);
}

.upload-area {
  border-color: #F3B2A4;
  background: #FFF7F5;
}

#why-hefcorp {
  background: linear-gradient(180deg, #FFF8F7 0%, #FFF3F1 52%, #FFFFFF 100%);
}

.why-hefcorp-shell {
  background: transparent;
  border: none;
  box-shadow: none;
}

.why-hefcorp-trust-strip {
  background: rgba(233, 37, 0, 0.08);
  border-color: rgba(233, 37, 0, 0.24);
  color: var(--primary);
}

.why-hefcorp-card {
  border-color: #D7E2EC;
  box-shadow: 0 6px 14px rgba(8, 34, 82, 0.08);
}

.why-hefcorp-card:hover {
  border-color: #9BB4D4;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(8, 34, 82, 0.12);
}

.why-hefcorp-icon {
  background: linear-gradient(160deg, #FFF1EE 0%, #FFE7E1 100%);
  border-color: rgba(233, 37, 0, 0.2);
  color: var(--primary);
}

.why-hefcorp-card:hover .why-hefcorp-icon {
  background: linear-gradient(160deg, #E5F8FA 0%, #D6F2F4 100%);
  border-color: rgba(15, 139, 148, 0.35);
  color: var(--teal-dark);
}

.why-hefcorp-visual::after {
  background: linear-gradient(120deg, rgba(8, 34, 82, 0.34), rgba(15, 139, 148, 0.12));
}

.tests-tabs {
  background: #F3F7FC;
  border: 1px solid var(--border-light);
}

.test-tab.active {
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(8, 34, 82, 0.1);
}

.test-card,
.cat-card,
.service-card {
  border-color: #D6E0EA;
}

.test-card:hover,
.cat-card:hover,
.service-card:hover {
  border-color: #9AB4D3;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.test-card::before,
.cat-card::after,
.process-steps::before {
  background: linear-gradient(90deg, var(--primary), var(--teal));
}

#services {
  background: linear-gradient(180deg, #FFF9F8 0%, #FFF2F0 100%);
}

#popular-tests {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F6 100%);
}

#health-categories {
  background: linear-gradient(180deg, #FFF9F8 0%, #FFFFFF 100%);
}

.step-circle {
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(233, 37, 0, 0.24);
}

.search-trigger {
  background: #F4F8FC;
}

.location-picker-trigger {
  border-color: rgba(233, 37, 0, 0.35);
  color: var(--primary);
}

.location-picker-trigger svg {
  color: var(--primary);
}

.reveal {
  transition-duration: 0.5s;
}

/* Final mobile safeguard: keep hero fully stacked on small screens */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-form-panel {
    width: 100%;
    max-width: 100%;
    margin: 0;
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  .hero-layout {
    gap: 20px;
  }

  .hero-marquee-window {
    height: 102px;
  }

  .hero-marquee-shell {
    --hero-marquee-step: 102px;
  }

  .hero-marquee-item {
    min-height: 102px;
    padding: 10px 12px 8px;
    gap: 8px;
    align-items: center;
    border-radius: 14px;
  }

  .hero-marquee-copy {
    font-size: 0.88rem;
    line-height: 1.28;
  }

  .hero-marquee-count {
    min-width: 31px;
    height: 31px;
    font-size: 0.84rem;
  }
}

@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;
  }

  .hero-marquee-window {
    height: auto;
    overflow: visible;
  }

  .hero-marquee-track {
    animation: none !important;
    gap: 12px;
  }

  .hero-marquee-item {
    min-height: auto;
  }

  .hero-marquee-item--clone {
    display: none;
  }
}
