/* =================================================================
   ===== HOME2-ROUTE OVERRIDES (fight project global SCSS) ==========
   ===== Auto-injected by build-redesign-css.js — do not hand-edit ==
   ================================================================= */
/* html.home2-route { font-size: 16px !important; } */
html.home2-route,
html.home2-route body {
  background: #fff !important;
  height: auto !important;
  min-height: 100vh !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  /* font-size: 14px !important; */
}
html.home2-route .container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100vw !important;
}
html.home2-route .fullHeight {
  height: auto !important;
  /* min-height: 100vh !important; */
}
/* Mobile/tablet (<=768px): drop the 393px column cap so the redesign
   fills any small/medium viewport edge-to-edge. Scoped to html.home2-route
   so it outranks the base `.home2-page { max-width: 393px }` rule that appears
   later in the file (equal specificity would otherwise let the cap win). */
@media (max-width: 768px) {
  html.home2-route .home2-page {
    max-width: 100%;
    padding-bottom: 0;
  }
}


/* ===== CSS RESET & VARIABLES ===== */
.home2-page *, .home2-page *::before, .home2-page *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1B2A5B;
  --primary-dark: #111D42;
  --primary-light: #EAEDF5;
  --primary-gradient: linear-gradient(135deg, #1B2A5B 0%, #2A3F7A 100%);
  --accent: #D33535;
  --accent-light: #FBE9EC;
  --success: #22C55E;
  --warning: #F59E0B;
  --danger: #EF4444;
  --bg: #DEEBF5;
  --bg-card: #FFFFFF;
  --text-primary: #1B2A5B;
  --text-secondary: #4A5578;
  --text-muted: #8B90A0;
  --border: #DDE2EE;
  --shadow-sm: 0 1px 3px rgba(27,42,91,0.06);
  --shadow-md: 0 4px 12px rgba(27,42,91,0.08);
  --shadow-lg: 0 8px 30px rgba(27,42,91,0.12);
  --shadow-glow: 0 4px 20px rgba(27,42,91,0.25);
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-border: 1px solid rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px rgba(27, 42, 91, 0.08);
  --glass-blur: blur(16px);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 50px;
  --font-primary: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --nav-height: 68px;
  --bottom-nav-height: 72px;
}

.home2-page { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
.home2-page {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  max-width: 393px;
  padding-bottom: calc(var(--bottom-nav-height) + 16px);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.home2-page a { text-decoration: none; color: inherit; }
.home2-page button { border: none; cursor: pointer; font-family: inherit; }
.home2-page img { max-width: 100%; display: block; }
.home2-page input, .home2-page select { font-family: inherit; }

/* Skip to content link for accessibility */
.home2-page .skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  transition: top 0.3s;
}
.home2-page .skip-link:focus { top: 10px; }

/* ===== SKELETON LOADER ===== */
@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.home2-page .skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 800px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* ===== TOP BAR ===== */
/* ===== PINCODE POPUP ===== */
@keyframes pincodeSlideIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.93); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ===== HEADER ===== */
.home2-page .header {
  position: sticky;
  top: 30px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 16px 0;
  transition: box-shadow 0.3s, padding 0.3s;
  border-bottom: 1px solid rgba(255,255,255,0.5);
}
.home2-page .header.scrolled {
  box-shadow: 0 4px 20px rgba(27,42,91,0.08);
  padding: 8px 16px 0;
  background: rgba(255, 255, 255, 0.7);
}
.home2-page .logo-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.home2-page .logo-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.home2-page .logo-img {
  height: 40px;
  width: auto;
}
.home2-page .header-rating {
  padding: 2px 4px;
  margin-top: 3px;
  border: 1px solid #daebf5;
  border-radius: 3px;
}
.home2-page .header-rating-score {
  display: flex;
  align-items: center;
  gap: 4px;
}
.home2-page .header-rating-score .rating-number {
  font-size: 12px;
  font-weight: 800;
  color: #122b5b;
  line-height: 1;
}
.home2-page .header-rating-score .rating-stars {
  display: flex;
  gap: 1px;
}
.home2-page .header-rating-score .rating-stars i {
  font-size: 10px;
  color: #f5a623;
}
.home2-page .header-rating-count {
  font-size: 9.5px;
  font-weight: 600;
  color: #6b7a99;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.home2-page .upload-report-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.home2-page .upload-report-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 25px;
  border: 1.5px solid var(--accent);
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}
.home2-page .upload-report-tags {
  font-size: 11px;
  font-weight: 800;
  color: #122b5b;
  letter-spacing: 0;
  opacity: 1;
  text-align: center;
  margin-top: 3px;
}
.home2-page .upload-report-btn .vault-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
}
.home2-page .upload-report-btn:hover {
  background: var(--accent);
  color: #fff;
}
.home2-page .location-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  transition: all 0.2s;
}
.home2-page .location-btn:hover { background: #d0f0f0; }
.home2-page .location-btn i { font-size: 10px; }
.home2-page .header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.home2-page .icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 17px;
  position: relative;
  transition: all 0.2s;
}
.home2-page .icon-btn:hover { background: var(--primary-light); color: var(--primary); }
.home2-page .icon-btn .badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 18px; height: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* ===== HERO SECTION ===== */
.home2-page .hero-section {
  background: url('b-hero4.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  margin: 15px 5px;
  padding: 0 22px 22px;
  position: relative;
  overflow: visible;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.home2-page .hero-section-border {
  display: none;
}
.home2-page .hero-tabs {
  display: flex;
  gap: 4px;
  padding: 14px 0 16px;
  position: relative;
  z-index: 1;
}
.home2-page .hero-tab {
  flex: 1;
  padding: 9px 6px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.home2-page .hero-tab.active {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.home2-page .hero-tab:hover:not(.active) {
  background: rgba(255,255,255,0.25);
  color: #fff;
}
.home2-page .hero-text {
  margin-bottom: 10px;
  padding: 8px 0;
  position: relative;
  z-index: 1;
}
.home2-page .hero-text .hero-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  margin-bottom: 6px;
}
.home2-page .hero-text .hero-title {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  line-height: 1.25;
  letter-spacing: 0.03em;
}

/* ===== HERO BENEFIT PILLS ===== */
.home2-page .hero-benefits {
  display: flex;
  flex-direction: row;
  gap: 6px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.home2-page .hero-benefit-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: var(--radius-full);
  padding: 5px 10px;
  transition: background 0.25s;
}
.home2-page .hero-benefit-pill:hover {
  background: rgba(255, 255, 255, 0.20);
}
.home2-page .hero-benefit-icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #fff;
}
.home2-page .hero-benefit-icon.cashback { background: #22C55E; }
.home2-page .hero-benefit-icon.reports  { background: #A855F7; }
.home2-page .hero-benefit-text {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.home2-page .hero-search-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  padding: 0 16px;
  height: 48px;
  border: 1.5px solid rgba(255,255,255,0.6);
  transition: all 0.3s;
  position: relative;
}
.home2-page .hero-search-bar:focus-within {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.home2-page .hero-search-bar i.search-icon { color: var(--primary); font-size: 16px; margin-right: 5px; }
.home2-page .hero-search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
}
/* Hide the browser's NATIVE search clear (X) that <input type="search"> renders,
   so only the styled .hero-search-clear button shows (was showing two crosses). */
.home2-page .hero-search-bar input[type="search"]::-webkit-search-cancel-button,
.home2-page .hero-search-bar input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.home2-page .hero-search-bar input[type="search"]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}
.home2-page .hero-search-bar input::placeholder { color: var(--text-muted); font-size: 14px; }
.home2-page .hero-search-bar .search-mic {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.home2-page .hero-search-bar .search-mic:hover { background: var(--primary); color: #fff; }

/* View all Labs button */
.home2-page .view-all-labs-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 2px 10px rgba(211,53,53,0.3);
}
.home2-page .view-all-labs-btn:hover {
  background: #b82e2e;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(211,53,53,0.4);
}

/* Prescription link row */
.home2-page .prescription-link-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  position: relative;
  z-index: 1;
}
.home2-page .prescription-link {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.home2-page .prescription-link i {
  margin-right: 4px;
}
.home2-page .prescription-info-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.home2-page .prescription-info-btn:hover { color: #fff; }

/* Prescription popup */
.home2-page .prescription-popup {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.home2-page .prescription-popup.active {
  display: flex;
}
.home2-page .prescription-popup-content {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.home2-page .prescription-popup-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.home2-page .prescription-popup-close {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 36px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.home2-page .prescription-popup-close:hover { background: #B52A2A; }
/* Suggestions are moved to body via JS to escape overflow:hidden */
.home2-page #floatingSuggestions {
  display: none;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 350px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  padding: 8px 0;
  z-index: 99999;
  max-height: 320px;
  overflow-y: auto;
}
.home2-page #floatingSuggestions.active { display: block; }

/* ===== DOCTORS PANEL (inside hero) ===== */
.home2-page .doctors-panel {
  display: none;
  position: relative;
  z-index: 1;
}
.home2-page .doctors-panel.active {
  display: block;
}
.home2-page .speciality-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 18px;
}
.home2-page .speciality-dropdown {
  position: relative;
  flex: 1;
}
.home2-page .speciality-dropdown label {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 6px;
}
.home2-page .speciality-dropdown label span { color: #FF6B6B; }
.home2-page .speciality-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.95);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231B2A5B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: all 0.2s;
}
.home2-page .speciality-select:focus {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
}
.home2-page .speciality-submit {
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  background: #D33535;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  flex-shrink: 0;
}
.home2-page .speciality-submit:hover {
  background: #B52A2A;
  box-shadow: 0 4px 16px rgba(211,53,53,0.3);
}
.home2-page .speciality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.home2-page .speciality-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}
.home2-page .speciality-item:hover { transform: scale(1.05); }
.home2-page .speciality-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home2-page .speciality-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home2-page .speciality-item span {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.2;
}

/* ===== PACKAGES PANEL (inside hero) ===== */
.home2-page .packages-panel {
  display: none;
  position: relative;
  z-index: 1;
}
.home2-page .packages-panel.active {
  display: block;
}
.home2-page .labs-panel {
  display: none;
  position: relative;
  z-index: 1;
}
.home2-page .labs-panel.active {
  display: block;
}
.home2-page .view-all-labs-row {
  text-align: left;
}
.home2-page .location-field {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-full);
  padding: 0 14px;
  height: 46px;
  border: 1.5px solid rgba(255,255,255,0.3);
  margin-bottom: 16px;
  gap: 10px;
  transition: all 0.2s;
}
.home2-page .location-field:focus-within {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
}
.home2-page .location-field .loc-icon {
  color: var(--accent);
  font-size: 16px;
  flex-shrink: 0;
}
.home2-page .location-field input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  font-weight: 500;
}
.home2-page .location-field input::placeholder { color: var(--text-muted); }
.home2-page .location-field .locate-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  transition: all 0.2s;
  white-space: nowrap;
}
.home2-page .location-field .locate-btn:hover { background: var(--primary-light); }
.home2-page .location-field .locate-btn i { font-size: 18px; }
.home2-page .pkg-boxes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.home2-page .pkg-box {
  background: rgba(15, 30, 80, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(120, 170, 255, 0.4);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 8px;
  box-shadow: 0 0 14px rgba(80, 140, 255, 0.1), 0 0 1px rgba(160, 200, 255, 0.6), inset 0 1px 0 rgba(255,255,255,0.15);
}
.home2-page .pkg-box:hover {
  background: rgba(20, 40, 100, 0.65);
  border-color: rgba(150, 200, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(80, 140, 255, 0.2), 0 0 2px rgba(180, 220, 255, 0.7), inset 0 1px 0 rgba(255,255,255,0.2);
}
.home2-page .pkg-box-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.home2-page .pkg-box-icon i {
  font-size: 20px;
  color: #fff;
}
.home2-page .pkg-box-icon .icon-accent {
  font-size: 12px;
  color: #fff;
  position: absolute;
  top: -2px;
  right: -4px;
}
.home2-page .pkg-box-info h4 {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

/* ===== DEFAULT HERO CONTENT ===== */
.home2-page .hero-default { display: block; }
.home2-page .hero-default.hidden { display: none; }

/* ===== SEARCH ===== */
.home2-page .search-wrapper {
  padding: 0 0 12px;
}
.home2-page .search-bar {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-full);
  padding: 0 16px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.6);
  transition: all 0.3s;
}
.home2-page .search-bar:focus-within {
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.7);
  box-shadow: var(--glass-shadow);
}
.home2-page .search-bar i { color: var(--primary); font-size: 16px; margin-right: 10px; }
.home2-page .search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
}
.home2-page .search-bar input::placeholder { color: var(--text-muted); }
.home2-page .search-bar .search-mic {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.home2-page .search-bar .search-mic:hover { background: var(--primary); color: #fff; }

/* Search Suggestions Dropdown */
.home2-page .search-suggestions {
  display: none;
  position: absolute;
  left: 16px; right: 16px;
  top: 100%;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  z-index: 50;
  max-height: 300px;
  overflow-y: auto;
}
.home2-page .search-suggestions.active { display: block; }
.home2-page .suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.15s;
}
.home2-page .suggestion-item:hover { background: var(--primary-light); }
.home2-page .suggestion-item i { color: var(--primary); width: 20px; text-align: center; }
.home2-page .suggestion-item span { font-size: 13px; color: var(--text-primary); }
.home2-page .suggestion-item small { font-size: 11px; color: var(--text-muted); margin-left: auto; }
.home2-page .search-relative { position: relative; }

/* ===== MAIN CONTENT ===== */
.home2-page main { padding: 0 16px; }

/* ===== PROMO BANNERS ===== */
.home2-page .promo-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 16px;
  scrollbar-width: none;
}
.home2-page .promo-scroll::-webkit-scrollbar { display: none; }
.home2-page .promo-card {
  min-width: 150px;
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  padding: 16px;
  color: #fff;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
  height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.home2-page .promo-card:hover { transform: scale(1.02); }
.home2-page .promo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15));
  pointer-events: none;
}
.home2-page .promo-card .discount {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.1;
}
.home2-page .promo-card .label {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.9;
}
.home2-page .promo-card .emoji { font-size: 28px; position: absolute; bottom: 10px; right: 12px; }
.home2-page .promo-1 { background: linear-gradient(135deg, #1B2A5B, #2A3F7A); }
.home2-page .promo-2 { background: linear-gradient(135deg, #2A3F7A, #3D56A0); }
.home2-page .promo-3 { background: linear-gradient(135deg, #D33535, #C0354D); }

/* ===== FEATURE CARDS ===== */
.home2-page .feature-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 12px;
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid #fff;
  position: relative;
  overflow: hidden;
}
.home2-page .feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.home2-page .feature-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
}
.home2-page .feature-card.prescription::before { background: var(--primary-gradient); }
.home2-page .feature-card.home-collection::before { background: linear-gradient(to bottom, #1B8A5A, #16A34A); }
.home2-page .feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.home2-page .prescription .feature-icon { background: var(--primary-light); color: var(--primary); }
.home2-page .home-collection .feature-icon { background: #ECFDF5; color: #1B8A5A; }
.home2-page .feature-info h3 {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px;
}
.home2-page .feature-info p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.home2-page .feature-new {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.home2-page .feature-arrow {
  color: var(--text-muted);
  font-size: 14px;
  margin-left: auto;
}

/* ===== SECTION HEADERS ===== */
.home2-page .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  margin-top: 24px;
}
.home2-page .section-header h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--text-primary);
}
.home2-page .see-all {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: all 0.2s;
}
.home2-page .see-all:hover { background: var(--accent-light); }

/* ===== CATEGORY TABS ===== */
.home2-page .category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 14px;
  -webkit-overflow-scrolling: touch;
}
.home2-page .category-tabs::-webkit-scrollbar { display: none; }
.home2-page .tab-pill {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}
.home2-page .tab-pill.active, .home2-page .tab-pill:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

/* ===== DISCOUNT BANNER ===== */
.home2-page .discount-banner {
  background: var(--primary-gradient);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s;
}
.home2-page .discount-banner:hover { transform: scale(1.01); }
.home2-page .discount-banner i { font-size: 24px; }
.home2-page .discount-banner span {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15px;
}

/* ===== PACKAGE CATEGORY TABS ===== */
.home2-page .pkg-category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 12px;
  margin-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.home2-page .pkg-category-tabs::-webkit-scrollbar { display: none; }
.home2-page .pkg-cat-tab {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border: 1.5px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.25s;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.6);
}
.home2-page .pkg-cat-tab.active {
  background: rgba(211,53,53,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 4px 15px rgba(211,53,53,0.3), inset 0 1px 0 rgba(255,255,255,0.3);
}
.home2-page .pkg-cat-tab:hover:not(.active) {
  background: rgba(255,255,255,0.45);
  border-color: rgba(211,53,53,0.4);
  color: var(--accent);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.7);
}

/* ===== PACKAGE CARDS ===== */
/* ===== PACKAGES STACKED CAROUSEL ===== */
.home2-page .packages-grid {
  position: relative;
  height: 340px;
  perspective: 1000px;
  overflow: visible;
  margin: 0 auto 16px;
  max-width: 320px;
}

/* ===== NEW PACKAGE CARD DESIGN ===== */
.home2-page .package-card {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  background: rgba(230, 238, 248, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.7);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.home2-page .package-card.pkg-active {
  z-index: 3;
  transform: translateX(0) scale(1);
  opacity: 1;
}
.home2-page .package-card.pkg-next {
  z-index: 2;
  transform: translateX(18px) translateY(10px) scale(0.94);
  opacity: 0.7;
}
.home2-page .package-card.pkg-behind {
  z-index: 1;
  transform: translateX(36px) translateY(20px) scale(0.88);
  opacity: 0.4;
}
.home2-page .package-card.pkg-hidden {
  z-index: 0;
  transform: translateX(-30px) scale(0.85);
  opacity: 0;
  pointer-events: none;
}

/* Card top content area — fixed height so the price circle in .pkg-bottom
   always sits at the same spot across cards regardless of text length. */
.home2-page .pkg-content {
  padding: 20px 18px 14px;
  position: relative;
  height: 200px;
  overflow: hidden;
}

/* Discount badge - top right */
.home2-page .pkg-discount-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: 8px 10px 8px 18px;
  display: flex;
  align-items: center;
  gap: 2px;
  line-height: 1;
  box-shadow: 0 3px 12px rgba(211,53,53,0.35);
  min-height: 50px;
}
.home2-page .pkg-discount-badge .upto {
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  color: rgba(255,255,255,0.9);
  position: absolute;
  left: 6px;
  top: 50%;
  margin-top: -14px;
}
.home2-page .pkg-discount-badge .pct {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}
.home2-page .pkg-discount-badge .off {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-end;
  margin-bottom: 2px;
  margin-left: 1px;
}

/* Package title */
.home2-page .pkg-title {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 800;
  font-style: normal;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 10px;
  /* Keep clear of the top-right discount badge, but show the FULL name —
     no line-clamp/ellipsis; the heading wraps to as many lines as needed. */
  max-width: 65%;
}

/* Package description */
.home2-page .pkg-desc {
  font-size: 14px;
  color: #1a1a1a;
  line-height: 1.45;
  margin-bottom: 14px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Test included badge */
.home2-page .pkg-test-badge {
  display: inline-block;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 6px;
}

/* Card bottom area with red semi-circle and price */
.home2-page .pkg-bottom {
  position: relative;
  height: 120px;
  overflow: hidden;
}

/* Red semi-circle */
.home2-page .pkg-price-circle {
  position: absolute;
  bottom: -60px;
  left: -30px;
  width: 180px;
  height: 180px;
  background: #304C7C;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 0;
}
.home2-page .pkg-price-inner {
  position: absolute;
  top: 33%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  white-space: nowrap;
}
.home2-page .pkg-price-circle .orig-price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-bottom: 2px;
}
.home2-page .pkg-price-circle .rupee-sym-sm {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-primary);
  text-decoration: line-through;
}
.home2-page .pkg-price-circle .orig-price {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-decoration: line-through;
}
.home2-page .pkg-price-circle .sale-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.home2-page .pkg-price-circle .rupee-sym {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-primary);
}
.home2-page .pkg-price-circle .sale-price {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 900;
  color: #fff;
}

/* Book Now button in bottom right */
.home2-page .pkg-book-btn {
  position: absolute;
  bottom: 26px;
  right: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(211,53,53,0.3);
  transition: all 0.25s;
  cursor: pointer;
}
.home2-page .pkg-book-btn:hover { background: #B52A2A; box-shadow: 0 6px 20px rgba(211,53,53,0.4); }
.home2-page .pkg-book-btn:active { transform: scale(0.96); }

/* ===== FOOD INTOLERANCE BANNER ===== */
.home2-page .intolerance-banner {
  background: linear-gradient(135deg, #1A1D26 0%, #2D3142 100%);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  color: #fff;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
}
.home2-page .intolerance-banner::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(10,143,143,0.3), transparent 70%);
  top: -60px; right: -60px;
  border-radius: 50%;
}
.home2-page .intolerance-banner h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 6px;
}
.home2-page .intolerance-banner p {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 10px;
}
.home2-page .intolerance-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.home2-page .intolerance-price .test-at {
  font-size: 12px;
  color: #E8B04A;
  font-weight: 700;
  text-transform: uppercase;
}
.home2-page .intolerance-price .test-price {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 800;
  color: #E8B04A;
}
.home2-page .intolerance-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}
.home2-page .banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s;
  cursor: pointer;
}
.home2-page .banner-cta:hover { box-shadow: 0 4px 20px rgba(211,53,53,0.3); transform: translateY(-1px); }

/* ===== SPECIAL OFFER BANNER ===== */
.home2-page .special-offer-banner {
  border-radius: 20px;
  margin: 16px 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
  display: block;
}
.home2-page .special-offer-banner:hover { transform: scale(1.01); }
.home2-page .special-offer-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}
/* ===== CARE PLANS ===== */
.home2-page .care-plans-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.home2-page .care-plans-scroll::-webkit-scrollbar { display: none; }
.home2-page .care-card {
  min-width: 140px;
  flex-shrink: 0;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
  border: var(--glass-border);
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: var(--glass-shadow);
}
.home2-page .care-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(255,255,255,0.8); }
.home2-page .care-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.home2-page .care-card:nth-child(1) .care-icon { background: #FCE7F3; }
.home2-page .care-card:nth-child(2) .care-icon { background: #DBEAFE; }
.home2-page .care-card:nth-child(3) .care-icon { background: #FEF3C7; }
.home2-page .care-card h4 {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 3px;
}
.home2-page .care-card p { font-size: 11px; color: var(--text-muted); }

/* ===== ORGAN TESTS (removed) ===== */
/* kept for reference - section removed */
.home2-page .organ-card-legacy {
  min-width: 160px;
  flex-shrink: 0;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  padding: 14px;
  border: var(--glass-border);
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: var(--glass-shadow);
}
.home2-page .organ-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(255,255,255,0.8); }
.home2-page .organ-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 10px;
}
.home2-page .organ-card h4 {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
}
.home2-page .organ-card .organ-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.home2-page .organ-pricing {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.home2-page .organ-pricing .op-new { font-weight: 700; font-size: 15px; color: var(--text-primary); }
.home2-page .organ-pricing .op-old { font-size: 11px; color: var(--text-muted); text-decoration: line-through; }
.home2-page .organ-card .book-sm {
  margin-top: 8px;
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
}
.home2-page .organ-card .book-sm:hover { background: var(--primary); color: #fff; }

/* ===== RADIOLOGY ===== */
.home2-page .radiology-section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 4px;
}
.home2-page .radiology-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.home2-page .radiology-scroll::-webkit-scrollbar { display: none; }
.home2-page .radio-card {
  min-width: calc((100% - 14px) / 2);
  max-width: calc((100% - 14px) / 2);
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.home2-page .radio-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.home2-page .radio-img-wrap {
  width: 100%;
  height: 126px;
  position: relative;
  overflow: hidden;
  background: #E8EEF4;
}
.home2-page .radio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home2-page .radio-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
}
.home2-page .radio-card:nth-child(1) .radio-badge { background: #0A8F8F; }
.home2-page .radio-card:nth-child(2) .radio-badge { background: #1B2A5B; }
.home2-page .radio-card:nth-child(3) .radio-badge { background: var(--accent); }
.home2-page .radio-card:nth-child(4) .radio-badge { background: #7C3AED; }
.home2-page .radio-info {
  padding: 16px 18px 18px;
}
.home2-page .radio-info h4 {
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.home2-page .radio-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 12px;
}
.home2-page .radio-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.home2-page .radio-price-block .radio-price-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}
.home2-page .radio-price-block .radio-price-value {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}
.home2-page .radio-book-btn {
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.25s;
  white-space: nowrap;
}
.home2-page .radio-book-btn:hover {
  background: #B52A2A;
  box-shadow: 0 4px 16px rgba(211,53,53,0.3);
}

/* Radiology carousel — mobile tuning. The footer-API tests have real (long)
   names + descriptions, which look cramped at the default 2-up width. Show one
   prominent card with the next peeking, and clamp text for even card heights. */
@media (max-width: 767.98px) {
  .home2-page .radiology-scroll { gap: 12px; }
  /* Mobile: one card per view (small peek of the next) */
  .home2-page .radio-card {
    min-width: 88%;
    max-width: 88%;
  }
  .home2-page .radio-img-wrap { height: 150px; }
  .home2-page .radio-info { padding: 14px 16px 16px; }
  .home2-page .radio-info h4 {
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
  }
  .home2-page .radio-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
  }
  .home2-page .radio-book-btn { padding: 9px 16px; }
}

/* ===== HEALTH CONCERNS ===== */
.home2-page .health-concerns-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}
.home2-page .concerns-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
  margin-bottom: 20px;
}
.home2-page .concern-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}
.home2-page .concern-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.home2-page .concern-card.card-large {
  grid-row: span 2;
}
.home2-page .concern-card .cc-bg {
  width: 100%;
  height: 100%;
  min-height: 160px;
  background-size: cover;
  background-position: center;
}
.home2-page .concern-card.card-large .cc-bg {
  min-height: 330px;
}
.home2-page .concern-card .cc-pill {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 20px;
  border-radius: 20px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

/* ===== LIFESTYLE CONCERNS ===== */
.home2-page .lifestyle-chip {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  aspect-ratio: 1 / 1.05;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
}
.home2-page .lifestyle-chip:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.home2-page .lifestyle-chip .lc-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.home2-page .lifestyle-chip .lc-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.05) 60%);
  z-index: 1;
}
.home2-page .lifestyle-chip .lc-label {
  position: relative;
  z-index: 2;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* ===== TESTS BY CATEGORY ===== */
.home2-page .tests-category-section {
  margin: 24px 0;
}
.home2-page .tests-category-section h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  font-weight: 400;
  text-align: left;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.home2-page .tests-category-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 0 12px;
  -webkit-overflow-scrolling: touch;
}
.home2-page .tests-category-scroll::-webkit-scrollbar { display: none; }
.home2-page .test-cat-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.3s;
}
.home2-page .test-cat-item:hover { transform: translateY(-3px); }
/* Gradient ring around circle */


.home2-page .test-cat-circle .cat-icon {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #f0e8e0;
}
.home2-page .test-cat-label {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  white-space: nowrap;
}

/* ===== TRUST SECTION ===== */
.home2-page .trust-section {
  background: #304C7C;
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  margin: 20px 0;
  text-align: center;
  border: none;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}
.home2-page .trust-section h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 16px;
  color: #fff;
}
.home2-page .trust-stats {
  display: flex;
  justify-content: space-around;
  gap: 8px;
}
.home2-page .trust-stat { text-align: center; }
.home2-page .trust-stat .stat-num {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}
.home2-page .trust-stat .stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

/* ===== MEDIA COVERAGE SECTION ===== */
.home2-page .media-coverage-section {
  margin: 24px 0;
}
.home2-page .media-coverage-section h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  font-weight: 400;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 18px;
}

/* Stacked Media Player */
.home2-page .media-player-stack {
  position: relative;
  width: 88%;
  max-width: 100%;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 10px;
}
/* Background stacked cards */
.home2-page .media-player-stack::before,
.home2-page .media-player-stack::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  width: 92%;
  height: 100%;
  border-radius: 20px;
  background: #224d7c42;
  z-index: 0;
}
.home2-page .media-player-stack::before {
  transform: translateX(-50%) rotate(-2deg);
  opacity: 0.5;
  top: 6px;
  width: 88%;
}
.home2-page .media-player-stack::after {
  transform: translateX(-50%) rotate(1.5deg);
  opacity: 0.7;
  top: 8px;
  width: 90%;
}
/* Main card */
.home2-page .media-player-card {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  background: #c8c2b8;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}
/* Close button */
.home2-page .media-player-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  background: rgba(180, 90, 90, 0.85);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s;
}
.home2-page .media-player-close:hover {
  background: rgba(200, 60, 60, 1);
}
/* Thumbnail area */
.home2-page .media-player-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}
.home2-page .media-player-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* Progress bar */
.home2-page .media-player-progress {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.2);
  position: relative;
}
.home2-page .media-player-progress-bar {
  height: 100%;
  width: 55%;
  background: #fff;
  border-radius: 2px;
  transition: width 0.3s;
}
/* Controls bar */
.home2-page .media-player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  background: #304C7C;
  backdrop-filter: blur(8px);
}
.home2-page .media-player-controls button {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  font-size: 18px;
}
.home2-page .media-player-controls button:hover {
  opacity: 0.7;
}
.home2-page .media-player-controls .ctrl-main {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  font-size: 18px;
  margin: 0 4px;
}
.home2-page .media-player-controls .ctrl-spacer {
  flex: 1;
}
/* Hidden swiper for data only */
.home2-page .media-swiper {
  display: none;
}

/* Video Popup Overlay */
.home2-page .video-popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}
.home2-page .video-popup-overlay.show {
  display: flex;
  animation: fadeInPopup 0.3s ease;
}
@keyframes fadeInPopup {
  from { opacity: 0; }
  to { opacity: 1; }
}
.home2-page .video-popup-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  overflow: visible;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: scaleInPopup 0.3s ease;
}
@keyframes scaleInPopup {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.home2-page .video-popup-player {
  position: relative;
  width: 100%;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
}
.home2-page .video-popup-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home2-page .video-popup-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home2-page .video-popup-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: rgba(212, 32, 32, 0.9);
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  z-index: 2;
}
.home2-page .video-popup-play-btn svg {
  width: 22px; height: 22px;
  fill: #fff;
  margin-left: 3px;
}
.home2-page .video-popup-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(212, 32, 32, 1);
}
.home2-page .video-popup-play-btn.hidden { display: none; }
.home2-page .video-popup-info {
  padding: 16px 20px;
  background: linear-gradient(145deg, #0a1a3a, #162855);
  color: #fff;
  border-radius: 0 0 16px 16px;
}
.home2-page .video-popup-info h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.3;
}
.home2-page .video-popup-info p {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.home2-page .video-popup-close {
  position: absolute;
  top: -12px; right: -12px;
  width: 32px; height: 32px;
  background: #D42020;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}
.home2-page .video-popup-close:hover {
  transform: scale(1.1);
}

/* ===== TESTIMONIALS SECTION ===== */
.home2-page .testimonials-section {
  margin: 40px 0;
}
.home2-page .testimonials-section h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  font-weight: 400;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.home2-page .testimonial-carousel {
  position: relative;
  min-height: 340px;
  overflow: hidden;
}
.home2-page .testimonial-card {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 24px 20px 20px;
  box-shadow: var(--glass-shadow);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateX(100%);
}
.home2-page .testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
}
.home2-page .testimonial-card.exit {
  opacity: 0;
  transform: translateX(-100%);
}
.home2-page .testimonial-quote-icon {
  font-size: 32px;
  color: rgba(27,42,91,0.2);
  line-height: 1;
  margin-bottom: 8px;
}
.home2-page .testimonial-body {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.home2-page .testimonial-avatar {
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  overflow: hidden;
  background: linear-gradient(135deg, #ddd, #eee);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.home2-page .testimonial-text {
  flex: 1;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.home2-page .testimonial-footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.home2-page .testimonial-name {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
}
.home2-page .testimonial-stars {
  color: #FFD700;
  font-size: 18px;
  letter-spacing: 2px;
}
.home2-page .testimonial-close-quote {
  font-size: 28px;
  color: rgba(27,42,91,0.15);
  text-align: right;
  line-height: 1;
  margin-top: -4px;
}

/* Carousel nav buttons */
.home2-page .carousel-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  align-items: center;
}
.home2-page .carousel-nav-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(27,42,91,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s;
  border: 1px solid rgba(27,42,91,0.1);
}
.home2-page .carousel-nav-btn:hover { background: rgba(27,42,91,0.15); }
.home2-page .carousel-nav-btn.play-pause {
  width: 42px; height: 42px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  border: none;
}
.home2-page .carousel-nav-btn.play-pause:hover { background: #2A3F7A; }

/* ===== FLOATING CALL BUTTON ===== */
.home2-page .float-call {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 20px);
  right: 16px;
  z-index: 90;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-glow);
  cursor: pointer;
  transition: all 0.3s;
  animation: float-pulse 2s infinite;
}
.home2-page .float-call:hover { transform: scale(1.05); }
@keyframes float-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(211,53,53,0.3); }
  50% { box-shadow: 0 4px 30px rgba(211,53,53,0.5); }
}
.home2-page .float-call i { font-size: 16px; }

/* ===== HAMBURGER MENU BUTTON ===== */

/* ===== SIDEBAR MENU ===== */
.home2-page .social-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
}
.home2-page .social-icon:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* ===== BOTTOM NAV ===== */
.home2-page .bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  height: var(--bottom-nav-height);
  background: #D33535;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 100;
  padding: 0 8px;
  border-radius: 0;
  box-shadow: 0 -4px 20px rgba(211,53,53,0.3);
}
.home2-page .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s;
  color: rgba(255,255,255,0.7);
  position: relative;
  background: transparent;
  min-width: 56px;
}
.home2-page .nav-item.active {
  color: #fff;
}
.home2-page .nav-item.active::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 0 0 3px 3px;
}
.home2-page .nav-item:hover { color: #fff; background: rgba(255,255,255,0.15); }
.home2-page .nav-item i { font-size: 22px; }
.home2-page .nav-label { font-size: 10px; font-weight: 600; }

/* Center Chat icon - elevated */
.home2-page .nav-item.nav-chat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: transparent;
  padding: 4px 12px 8px;
  min-width: 56px;
  position: relative;
  top: -14px;
  margin-bottom: -10px;
}
.home2-page .nav-item.nav-chat img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.home2-page .nav-item.nav-chat .nav-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  padding-top: 3px;
}
.home2-page .nav-item.nav-chat:hover .nav-label,
.home2-page .nav-item.nav-chat.active .nav-label {
  color: #fff;
}

/* ===== FOOTER ===== */
.home2-page .site-footer {
  background: var(--accent);
  padding: 32px 20px 100px;
  margin-top: 24px;
  color: #fff;
}
.home2-page .footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.home2-page .footer-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
}
.home2-page .footer-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.home2-page .footer-contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.home2-page .footer-contact-label {
  font-size: 15px;
  font-weight: 700;
}
.home2-page .footer-contact-value {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin-top: 2px;
}
.home2-page .footer-contact-value a {
  color: #fff;
  text-decoration: none;
}
.home2-page .footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.25);
  margin: 24px 0;
}
.home2-page .footer-links-title {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 16px;
}
.home2-page .footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}
.home2-page .footer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.home2-page .footer-link::before {
  content: '—';
  color: rgba(255,255,255,0.6);
  font-weight: 700;
}

/* ===== New footer pieces (top CTA col, tags rows, bottom bar) ===== */
.home2-page .footer-top { display: block; }
.home2-page .footer-col { min-width: 0; }
.home2-page .footer-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  width: 100%;
  max-width: 320px;
  margin-bottom: 20px;
  transition: background 0.2s, color 0.2s;
}
.home2-page .footer-cta-btn:hover { background: #fff; color: var(--accent); }
.home2-page .footer-social {
  display: flex;
  gap: 18px;
  margin-top: 20px;
  margin-bottom: 18px;
}
.home2-page .footer-social a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: opacity 0.2s;
}
.home2-page .footer-social a:hover { opacity: 0.75; }
.home2-page .footer-app-title {
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 10px;
}
.home2-page .footer-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  border-radius: 10px;
  padding: 8px 18px;
  color: #fff;
  text-decoration: none;
  min-width: 180px;
}
.home2-page .footer-app-badge i { font-size: 28px; color: #fff; }
.home2-page .footer-app-badge-text { display: inline-flex; flex-direction: column; line-height: 1.1; }
.home2-page .footer-app-badge-sub { font-size: 10px; letter-spacing: 0.04em; opacity: 0.9; }
.home2-page .footer-app-badge-main { font-size: 18px; font-weight: 700; }

.home2-page .footer-tags {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  margin-top: 28px;
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.home2-page .footer-tags-row {
  font-size: 13px;
  line-height: 1.7;
  color: #fff;
}
.home2-page .footer-tags-label { font-weight: 800; margin-right: 6px; }
.home2-page .footer-tags-row a {
  color: #fff;
  text-decoration: none;
}
.home2-page .footer-tags-row a:hover { text-decoration: underline; }
.home2-page .footer-tags-sep {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 6px;
}
.home2-page .footer-tags-more {
  font-weight: 800;
  margin-left: 8px;
  text-decoration: none;
}
.home2-page .footer-tags-more:hover { text-decoration: underline; }

.home2-page .footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  margin-top: 22px;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}
.home2-page .footer-copy { color: #fff; }
.home2-page .footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.home2-page .footer-legal a { color: #fff; text-decoration: none; }
.home2-page .footer-legal a:hover { text-decoration: underline; }
.home2-page .footer-legal-sep { color: rgba(255, 255, 255, 0.7); }

/* ===== PARTNER LABS SECTION ===== */
.home2-page .partner-labs-section {
  text-align: center;
  padding: 5px 0 0;
  margin-top: 0px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  border: 2px solid #fff;
  overflow: hidden;
}
.home2-page .partner-labs-section h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0;
}
.home2-page .partner-labs-section .partner-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 9px;
}
.home2-page .partner-labs-track {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 0px 0px;
}
.home2-page .partner-labs-scroll {
  display: flex;
  gap: 3px;
  animation: partnerScroll 15s linear infinite;
  width: max-content;
  background-color: #fff;
}
.home2-page .partner-labs-scroll:hover {
  animation-play-state: paused;
}
.home2-page .partner-lab-logo {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s;
  background: #fff;
  padding: 4px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.home2-page .partner-lab-logo:hover {
  opacity: 1;
}
@keyframes partnerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== TOAST NOTIFICATION ===== */
.home2-page .toast {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text-primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  z-index: 200;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.home2-page .toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ===== MODAL (for Know More) ===== */
.home2-page .modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 500;
  align-items: flex-end;
  justify-content: center;
}
.home2-page .modal-overlay.active { display: flex; }
.home2-page .modal-sheet {
  background: var(--bg-card);
  width: 100%;
  max-width: 385px;
  max-height: 80vh;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 20px;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.home2-page .modal-handle {
  width: 40px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto 16px;
}
.home2-page .modal-sheet h3 {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.home2-page .modal-sheet .test-list {
  list-style: none;
  padding: 0;
}
.home2-page .modal-sheet .test-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.home2-page .modal-sheet .test-list li i { color: var(--primary); font-size: 10px; }
.home2-page .modal-close {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-top: 16px;
  transition: all 0.2s;
}
.home2-page .modal-close:hover { background: var(--primary-dark); }

/* ===== MICRO ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.home2-page .animate-in {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

/* ===== SCROLLBAR HIDE UTIL ===== */
.home2-page .hide-scroll { scrollbar-width: none; }
.home2-page .hide-scroll::-webkit-scrollbar { display: none; }

/* Primary desktop nav (hidden on mobile; revealed via @media >= 768px) */
.home2-page .primary-nav { display: none; }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .home2-page *, .home2-page *::before, .home2-page *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
@media (max-width: 370px) {
  .home2-page .upload-report-tags {
    font-size: 9.5px;
  }
  .home2-page .upload-report-btn {
    font-size: 10px;
  }
  .home2-page .hero-text .hero-title {
    font-size: 23px;
  }
  .home2-page .prescription-link {
    font-size: 12px;
  }
  .home2-page .hero-section {
    padding: 0 15px 15px;
  }
}

/* =================================================================
   ===== RESPONSIVE WEB / DESKTOP LAYER (>=768px) ===================
   ================================================================= */
@media (min-width: 768px) {
  /* Lift mobile width cap */
  .home2-page {
    max-width: 100%;
    padding-bottom: 0;
  }

  /* Top bar (padding handled by .top-bar-inner; old V1 rules removed) */

  /* Header — stretched, contents max-1200 */
  .home2-page .header { padding: 16px 32px 4px; top: 38px; }
  .home2-page .header.scrolled { padding: 10px 32px 4px; }
  .home2-page .logo-img { height: 52px; }
  .home2-page .header-rating-score .rating-number { font-size: 14px; }
  .home2-page .header-rating-count { font-size: 11px; }
  .home2-page .upload-report-btn { font-size: 13px; padding: 9px 16px; }
  .home2-page .upload-report-tags { font-size: 12px; }

  /* Mobile bottom-nav hidden on desktop (replaced by inline primary nav) */
  .home2-page .bottom-nav { display: none !important; }

  /* Upload-report button hidden on desktop (it's a nav item now) */
  .home2-page .upload-report-wrap { display: none !important; }

  /* Hide hamburger on desktop — inline nav replaces sidebar trigger */

  /* Floating call button hidden on desktop */
  .home2-page .float-call { display: none !important; }

  /* ===== PRIMARY DESKTOP NAV ===== */
  .home2-page .primary-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    gap: 2px;
    margin: 0 0 0 24px;
    padding: 0;
    list-style: none;
  }
  .home2-page .primary-nav li { list-style: none; }
  .home2-page .primary-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
  }
  .home2-page .primary-nav-link i {
    font-size: 13px;
    color: var(--primary);
    transition: color 0.2s;
  }
  .home2-page .primary-nav-link:hover {
    background: var(--primary-light);
    color: var(--primary);
  }
  .home2-page .primary-nav-link.active {
    background: var(--accent-light);
    color: var(--accent);
  }
  .home2-page .primary-nav-link.active i { color: var(--accent); }

  /* Hero — wider, centered inner */
  .home2-page .hero-section {
    margin: 24px 32px;
    padding: 0 36px 36px;
    border-radius: 28px;
    background-position: center 30%;
  }
  .home2-page .hero-section .hero-tabs,
  .home2-page .hero-default,
  .home2-page .packages-panel,
  .home2-page .labs-panel,
  .home2-page .doctors-panel {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
  .home2-page .hero-tab {
    font-size: 14px;
    padding: 11px 14px;
  }
  .home2-page .hero-text { padding: 16px 0 8px; }
  .home2-page .hero-text .hero-title { font-size: 36px; line-height: 1.2; }
  .home2-page .hero-text .hero-subtitle { font-size: 17px; }
  .home2-page .hero-search-bar { height: 56px; padding: 0 20px; }
  .home2-page .hero-search-bar input,
  .home2-page .hero-search-bar input::placeholder { font-size: 16px; }
  .home2-page .hero-search-bar .search-mic { width: 40px; height: 40px; font-size: 16px; }
  .home2-page .hero-benefits { gap: 10px; }
  .home2-page .hero-benefit-pill { padding: 8px 14px; }
  .home2-page .hero-benefit-text { font-size: 12px; }
  .home2-page .hero-benefit-icon { width: 20px; height: 20px; font-size: 10px; }
  .home2-page .prescription-link { font-size: 14px; }

  /* Hero packages-panel grid widens */
  .home2-page .pkg-boxes-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
  }

  /* Hero doctors speciality grid */
  .home2-page .speciality-grid {
    grid-template-columns: repeat(6, 1fr) !important;
  }

  /* Floating search suggestions: align to hero search bar */
  .home2-page #floatingSuggestions { max-width: 600px; width: calc(100% - 64px); }

  /* Main content centered with max-width */
  .home2-page main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
  }

  /* Section headers larger */
  .home2-page .section-header h2,
  .home2-page .tests-category-section h2,
  .home2-page .partner-labs-section h2,
  .home2-page .media-coverage-section h2,
  .home2-page .testimonials-section h2,
  .home2-page .footer-links-title {
    font-size: 32px;
  }
  .home2-page .section-header { margin-top: 40px; margin-bottom: 20px; }

  /* Partner labs section: keep marquee, just bigger logos */
  .home2-page .partner-labs-section { padding: 18px 0 0; margin-top: 16px; }

  /* Tests by Category: from horizontal scroll → grid */
  .home2-page .tests-category-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 22px 18px;
    overflow: visible;
    padding: 8px 0 16px;
  }
  .home2-page .test-cat-item { flex: unset; }
  .home2-page .test-cat-circle .cat-icon { width: 88px; height: 88px; }
  .home2-page .test-cat-label { font-size: 13px; }

  /* Radiology cards: horizontal carousel. Cards-per-view scales up by
     breakpoint — tablet 2 here, then 3 (≥1024) and 4 (≥1280) below. */
  .home2-page .radiology-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 8px;
  }
  .home2-page .radio-card {
    min-width: calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  .home2-page .radio-img-wrap { height: 180px; }
  .home2-page .radio-info h4 { font-size: 18px; }

  /* Health concerns bento → 4 equal columns */
  .home2-page .concerns-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    gap: 18px;
  }
  .home2-page .concern-card.card-large { grid-row: span 1; }
  .home2-page .concern-card .cc-bg,
  .home2-page .concern-card.card-large .cc-bg { min-height: 260px; }
  .home2-page .concern-card .cc-pill { font-size: 16px; padding: 10px 24px; }

  .home2-page .lifestyle-chip .lc-label { font-size: 16px; }

  /* Trust section */
  .home2-page .trust-section { padding: 32px 36px; }
  .home2-page .trust-stats { gap: 24px; }
  .home2-page .stat-num { font-size: 32px !important; }
  .home2-page .stat-label { font-size: 14px !important; }

  /* Special offer banner */
  .home2-page .special-offer-banner img { border-radius: 24px; }

  /* Packages: turn the stacked carousel into a real grid */
  .home2-page .packages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    height: auto;
    max-width: none;
    perspective: none;
    margin-bottom: 24px;
  }
  .home2-page .package-card,
  .home2-page .package-card.pkg-active,
  .home2-page .package-card.pkg-next,
  .home2-page .package-card.pkg-behind,
  .home2-page .package-card.pkg-hidden {
    position: relative;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: auto;
    width: 100%;
  }
  .home2-page #pkgDots { display: none; }

  /* Testimonial cards bigger */
  .home2-page .testimonial-card { font-size: 15px; }

  /* Footer — desktop: 3-col top row (brand | quick links | CTA), full-width tags + bottom bar */
  .home2-page .site-footer { padding: 48px 48px 24px; }
  .home2-page .footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.5fr) minmax(0, 1fr);
    column-gap: 40px;
    align-items: start;
  }
  .home2-page .footer-logo { height: 52px; margin-bottom: 16px; }
  .home2-page .footer-desc { font-size: 14px; max-width: 460px; margin-bottom: 22px; }
  .home2-page .footer-contacts { display: flex; flex-direction: column; gap: 18px; }
  .home2-page .footer-contact-row { display: flex; margin: 0; }
  .home2-page .footer-links-title { margin-top: 0; text-align: left; }
  /* Quick Links: 2 columns × 5 rows spread to fill the middle column width */
  .home2-page .footer-links-grid {
    grid-template-columns: max-content max-content;
    gap: 16px;
    justify-content: space-between;
    width: 100%;
  }
  .home2-page .footer-link {
    font-size: 15px;
    line-height: 1.3;
    white-space: nowrap;
  }
  .home2-page .footer-col--cta { display: flex; flex-direction: column; align-items: flex-end; }
  .home2-page .footer-col--cta > * { width: auto; }
  .home2-page .footer-cta-btn { width: 100%; max-width: 340px; }
  .home2-page .footer-social { justify-content: flex-end; }
  .home2-page .footer-app-title { align-self: flex-end; }
  .home2-page .footer-app-badge { align-self: flex-end; }

  .home2-page .footer-tags-row { font-size: 14px; }
  .home2-page .footer-bottom-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* =================================================================
   ===== DESKTOP REFINEMENTS (>=1024px) =============================
   ================================================================= */
@media (min-width: 1024px) {
  .home2-page .header { padding: 18px 48px 6px; }

  .home2-page .hero-section {
    margin: 32px 48px;
    padding: 0 56px 56px;
    border-radius: 32px;
  }
  .home2-page .hero-text .hero-title { font-size: 44px; }
  .home2-page .hero-text .hero-subtitle { font-size: 18px; }

  /* Hero default: 2-column layout (search left / benefits right) */
  .home2-page .hero-default {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 40px;
    row-gap: 14px;
    align-items: center;
  }
  .home2-page .hero-default .hero-text { grid-column: 1 / -1; grid-row: 1; margin-bottom: 4px; }
  .home2-page .hero-default .hero-search-bar { grid-column: 1; grid-row: 2; margin: 0; }
  .home2-page .hero-default .hero-benefits {
    grid-column: 2;
    grid-row: 2;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
  }
  .home2-page .hero-default .prescription-link-row {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-content: flex-start;
    margin-top: 4px;
  }

  .home2-page main { padding: 0 32px; max-width: 1500px; margin: 0 auto; }
  /* Media coverage breaks out of the main container's gutter */
  .home2-page main > .media-coverage-section {
    margin-left: -32px;
    margin-right: -32px;
  }
  /* Cap media coverage card width on web — it's the focal element, not a hero */
  .home2-page .media-coverage-section .media-player-stack { width: 100%; max-width: 720px; }

  /* Packages 3 across stays nice */
  .home2-page .packages-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .home2-page .footer-links-grid { grid-template-columns: repeat(5, 1fr); }
}

/* =================================================================
   ===== WIDE DESKTOP (>=1280px) ====================================
   ================================================================= */
@media (min-width: 1280px) {
  .home2-page .hero-section { margin-left: auto; margin-right: auto; max-width: 1280px; }

  /* 4-up package grid on widest screens shows all 5 nicely (4 + 1) */
  .home2-page .packages-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  /* Radiology stays 4-up; lifestyle 6-up; concerns 3-up — already set */
}

/* =================================================================
   ===== V2 LAYOUT (TOP BAR + HEADER + NAV + HERO) ==================
   Matches reference image. Desktop-first; mobile fallback below.
   ================================================================= */

/* ---------- TOP BAR ---------- */
:root { --site-inset: 32px; }

/* ---------- HEADER (V2) ---------- */
.home2-page .brand { display: inline-flex; align-items: center; flex-shrink: 0; }

.home2-page .header-search {
  flex: 1;
  max-width: 620px;
  display: flex;
  align-items: center;
  background: #F1F3F8;
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  height: 50px;
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.home2-page .header-search:focus-within {
  background: #fff;
  border-color: #C9D1E4;
  box-shadow: 0 2px 14px rgba(11, 21, 48, 0.08);
}
.home2-page .header-search-icon { color: #8A95B0; font-size: 16px; margin-right: 12px; }
.home2-page .header-search input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14.5px;
  color: var(--text-primary);
  font-family: inherit;
}
.home2-page .header-search input::placeholder { color: #8E97B0; }
.home2-page .header-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
}
.home2-page .header-search-btn:hover { background: #B82A2A; }
.home2-page .header-search-btn:active { transform: scale(0.97); }
.home2-page .header-search-btn i { font-size: 13px; }

.home2-page .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}
.home2-page .deliver-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #E6F1FA;
  color: var(--primary);
  border: none;
  border-radius: 14px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.2s;
  text-align: left;
}
.home2-page .deliver-pill:hover { background: #D8E8F5; }
.home2-page .deliver-pill-icon { color: var(--accent); font-size: 18px; }
.home2-page .deliver-pill-text { display: flex; flex-direction: column; line-height: 1.1; }
.home2-page .deliver-pill-label {
  font-size: 11px;
  color: #6B7592;
  font-weight: 500;
}
.home2-page .deliver-pill-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}
.home2-page .deliver-pill-caret { font-size: 11px; color: #6B7592; }

.home2-page .header-icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #E6F1FA;
  color: var(--primary);
  border: none;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.home2-page .header-icon-btn:hover { background: #D8E8F5; color: var(--accent); }

.home2-page .header-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--primary);
  background: #fff;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.home2-page .header-login-btn:hover { background: var(--primary); color: #fff; }
.home2-page .header-login-btn i { font-size: 13px; }

/* ---------- MAIN NAV (inline in site-header) ---------- */
.home2-page .main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.home2-page .nav-badge-new {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  margin-left: 2px;
}

/* Pipe separators between text nav items (2nd, 3rd, 4th, 5th BMI) */

/* Upload Report pill */

/* Upload Report list item: stack pill + sub-line below it */

/* BMI Calculator with colorful gauge */
.home2-page .bmi-gauge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

/* ---------- HERO V2 ---------- */
.home2-page .hero-v2 {
  background: #1F2A5F url('b-hero3.jpeg') center / cover no-repeat;
  color: #fff;
  position: relative;
  overflow: visible;
}
.home2-page .hero-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 22, 60, 0.20) 0%, rgba(15, 22, 60, 0.10) 60%, rgba(15, 22, 60, 0.25) 100%);
  pointer-events: none;
}
.home2-page .hero-v2-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 32px 32px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
/* Desktop (≥1024px): wrap first-fold elements in a flex column locked to
   100dvh. The hero takes whatever space remains after top-bar + site-header
   + sample-tested strip, so the strip is GUARANTEED at the viewport bottom
   regardless of any chrome height variance. */
@media (min-width: 1024px) {
  .home2-page .first-fold {
    height: calc(100dvh - 14rem);
    min-height: 500px;
    display: flex;
    flex-direction: column;
    max-height: 740px !important;
  }
  .home2-page .first-fold .hero-v2 {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .home2-page .first-fold .hero-v2-inner {
    flex: 1;
    min-height: 0;
  }
  .home2-page .first-fold.has-selections .hero-v2 { min-height: min-content; }
  .home2-page .first-fold.has-selections .hero-v2-inner { min-height: min-content; }
  /* Compact Doctors panel so 9 specialities always fit on short desktop heights */
  .home2-page .hero-panel[data-panel="doctors"] .hero-panel-eyebrow { font-size: 16px; margin-bottom: 6px; }
  .home2-page .hero-panel[data-panel="doctors"] .hero-panel-title--md { font-size: clamp(35px, 3.4vw, 47px); margin-bottom: 16px; }
  .home2-page .hero-panel[data-panel="doctors"] .speciality-row { margin-bottom: 16px; }
  .home2-page .hero-panel[data-panel="doctors"] .speciality-select { padding: 10px 36px 10px 14px; font-size: 13.5px; }
  .home2-page .hero-panel[data-panel="doctors"] .speciality-submit { padding: 10px 18px; font-size: 13px; }
  .home2-page .hero-panel[data-panel="doctors"] .speciality-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 18px;
    max-width: 440px;
  }
  .home2-page .hero-panel[data-panel="doctors"] .speciality-item--break { grid-column-start: auto; }
  .home2-page .hero-panel[data-panel="doctors"] .speciality-item { gap: 4px; }
  .home2-page .hero-panel[data-panel="doctors"] .speciality-img { width: 72px; height: 72px; border-width: 2px; }
  .home2-page .hero-panel[data-panel="doctors"] .speciality-item span:last-child { font-size: 11.5px; }
}
/* Extra-short desktop heights: shrink hero padding, image + Doctors further */
@media (min-width: 1024px) and (max-height: 820px) {
  .home2-page .hero-v2-inner { padding: 20px 32px 20px; }
  .home2-page .hero-panel[data-panel="doctors"] .hero-panel-eyebrow { display: none; }
  .home2-page .hero-panel[data-panel="doctors"] .hero-panel-title--md { font-size: clamp(31px, 3vw, 39px); margin-bottom: 12px; }
  .home2-page .hero-panel[data-panel="doctors"] .speciality-row { margin-bottom: 12px; }
  .home2-page .hero-panel[data-panel="doctors"] .speciality-img { width: 62px; height: 62px; }
  .home2-page .hero-panel[data-panel="doctors"] .speciality-grid { gap: 8px 16px; }
}
/* Mid-short heights (821–920px): trim the image without compacting Doctors */
@media (min-width: 1024px) and (min-height: 821px) and (max-height: 920px) {
  .home2-page .hero-v2-frame { height: 520px !important; min-height: 520px !important; }
}

/* Hero content (left column) — pin to top so tab position doesn't shift between panels */
.home2-page .hero-v2-content { min-width: 0; align-self: start; }

/* Hide benefit pills on desktop only — they stay visible on mobile */
@media (min-width: 769px) {
  .home2-page .hero-panel[data-panel="tests"] .hero-benefits { display: none; }
}
.home2-page .hero-v2-pill { display: none; }
.home2-page .hero-v2-pill-dot { display: none; }

/* Hero category tabs */
.home2-page .hero-v2-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  margin-bottom: 28px;
}
.home2-page .hero-v2-tab {
  appearance: none;
  border: 1.5px solid #fff;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.home2-page .hero-v2-tab:hover { background: rgba(255, 255, 255, 0.18); }
.home2-page .hero-v2-tab.is-active {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  border-color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.home2-page .hero-v2-eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.home2-page .hero-v2-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(40px, 4.6vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: #fff;
  margin: 0 0 28px;
}

/* ---------- Hero panels (per-tab content) ---------- */
.home2-page .hero-panel { display: none; flex-direction: column; }
.home2-page .hero-panel.is-active { display: flex; }
.home2-page .hero-panel[hidden] { display: none; }
.home2-page .hero-panel.is-active { display: flex !important; }

.home2-page .hero-panel-eyebrow {
  font-size: 20px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.home2-page .hero-panel-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(41px, 4.0vw, 63px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: #fff;
  margin: 0 0 22px;
}
.home2-page .hero-panel-title--md {
  font-size: clamp(39px, 4vw, 57px);
  margin-bottom: 20px;
}

/* Benefit pills (Tests) */
.home2-page .hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.home2-page .hero-benefit-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.home2-page .hero-benefit-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
}
.home2-page .hero-benefit-icon--green { background: #22C55E; }
.home2-page .hero-benefit-icon--purple { background: #A855F7; }
.home2-page .hero-benefit-text { line-height: 1; }

/* Shared search bar (Tests / Packages / Labs) */
.home2-page .hero-search-bar {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  height: 56px;
  padding: 6px 6px 6px 22px;
  max-width: 560px;
  margin-bottom: 16px;
  box-shadow: 0 12px 32px rgba(11, 21, 48, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.home2-page .hero-search-bar-icon { color: var(--primary); font-size: 16px; margin-right: 12px; }
.home2-page .hero-search-bar input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: 15px;
  color: var(--text-primary);
}
.home2-page .hero-search-bar input::placeholder { color: #8E97B0; }
.home2-page .hero-search-mic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #EAF0F7;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s;
}
.home2-page .hero-search-mic:hover { background: #DCE5F3; }
.home2-page .hero-search-mic.listening {
  background: var(--primary);
  color: #fff;
  animation: hero-mic-pulse 1.2s ease-out infinite;
}
@keyframes hero-mic-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(15, 30, 80, 0.45); }
  70%  { box-shadow: 0 0 0 10px rgba(15, 30, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(15, 30, 80, 0); }
}

/* Packages tile grid (2x2 glass-blue cards) */
.home2-page .pkg-tiles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 560px;
}
.home2-page .pkg-tile {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(15, 30, 80, 0.55);
  border: 1.5px solid rgba(120, 170, 255, 0.4);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.home2-page .pkg-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(160, 200, 255, 0.7);
  background: rgba(20, 40, 95, 0.65);
}
.home2-page .pkg-tile-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
}
.home2-page .pkg-tile-text {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

/* Labs: red CTA pill */
.home2-page .view-all-labs-btn {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(211, 53, 53, 0.35);
  align-self: flex-start;
  transition: background 0.15s, transform 0.15s;
}
.home2-page .view-all-labs-btn:hover { background: #B82E2E; transform: translateY(-1px); }

/* Doctors: speciality dropdown + submit + 3x3 grid */
.home2-page .speciality-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  max-width: 560px;
  margin-bottom: 22px;
}
.home2-page .speciality-dropdown { flex: 1; display: flex; flex-direction: column; }
.home2-page .speciality-label {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.home2-page .speciality-asterisk { color: var(--accent); margin-left: 2px; }
.home2-page .speciality-select-wrap { position: relative; }
.home2-page .speciality-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  font: inherit;
  font-size: 14.5px;
  padding: 14px 40px 14px 18px;
  border-radius: 8px;
  cursor: pointer;
}
.home2-page .speciality-select-wrap::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
.home2-page .speciality-submit {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.home2-page .speciality-submit:hover { background: #B82E2E; }

.home2-page .speciality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 560px;
}
.home2-page .speciality-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
}
.home2-page .speciality-img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s;
}
.home2-page .speciality-img img { width: 100%; height: 100%; object-fit: cover; }
.home2-page .speciality-item:hover .speciality-img {
  transform: scale(1.04);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
}
.home2-page .speciality-item--break { grid-column-start: 1; }
.home2-page .speciality-item span:last-child {
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 540px) {
  .home2-page .hero-search-bar { height: 50px; padding: 5px 5px 5px 18px; }
  .home2-page .hero-search-mic { width: 36px; height: 36px; }
  .home2-page .pkg-tile-text { font-size: 12px; }
  .home2-page .speciality-grid { gap: 14px; grid-template-columns: repeat(3, 1fr); max-width: 100%; }
  .home2-page .speciality-img { width: 78px; height: 78px; }
  /* Drop the forced row break so 9 specialities flow as a clean 3×3 */
  .home2-page .speciality-item--break { grid-column-start: auto; }
}
.home2-page .hero-v2-headline em {
  font-style: italic;
  color: #F4A8B8;
}
.home2-page .hero-v2-subtext {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 0 38px;
  font-weight: 400;
}

.home2-page .hero-v2-search {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  padding: 9px 9px 9px 24px;
  height: 72px;
  max-width: 600px;
  box-shadow: 0 14px 40px rgba(11, 21, 48, 0.25);
  margin-bottom: 8px;
}
.home2-page .hero-v2-search-icon { color: var(--accent); font-size: 19px; margin-right: 14px; }
.home2-page .hero-v2-search input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 16.5px;
  color: var(--text-primary);
  font-family: inherit;
}
.home2-page .hero-v2-search input::placeholder { color: #8E97B0; }
.home2-page .hero-v2-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0F1A3D;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 16px 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.home2-page .hero-v2-search-btn:hover { background: #1B2A5B; }
.home2-page .hero-v2-search-btn:active { transform: scale(0.97); }
.home2-page .hero-v2-search-btn i { font-size: 13px; }

.home2-page .prescription-link-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  margin-top: -6px;
  margin-bottom: 24px;
  padding-left: 10px;
}
.home2-page .hero-v2-prescription-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(255, 255, 255, 0.85);
  transition: opacity 0.2s;
}
.home2-page .hero-v2-prescription-link:hover { opacity: 0.8; }
.home2-page .hero-v2-prescription-link i { font-size: 15px; color: #fff; }

.home2-page .prescription-info-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  transition: background 0.2s;
}
.home2-page .prescription-info-btn:hover { background: rgba(255, 255, 255, 0.32); }

.home2-page .hero-v2-tags-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.home2-page .hero-v2-tags-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin-right: 4px;
}
.home2-page .hero-v2-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.home2-page .hero-v2-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 21, 48, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.home2-page .hero-v2-tag:hover {
  background: rgba(11, 21, 48, 0.7);
  border-color: rgba(255, 255, 255, 0.28);
}
.home2-page .hero-v2-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.home2-page .hero-v2-stats {
  display: flex;
  gap: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.home2-page .hero-v2-stat-num {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.home2-page .hero-v2-stat-num span { color: var(--accent); font-weight: 800; }
.home2-page .hero-v2-stat-star { color: var(--accent); margin-left: 2px; font-size: 22px; }
.home2-page .hero-v2-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* Hero visual (right column) */
.home2-page .hero-v2-visual {
  position: relative;
  min-width: 0;
  height: 100%;
}
.home2-page .hero-v2-frame {
  position: relative;
  border-radius: 28px;
  overflow: visible;
  width: calc(100% + 8rem);
  padding: 0 5rem;
  height: 100%;
  align-self: stretch;
  margin-left: -5rem;
  max-height: 485px;
  height: calc(100dvh - 26rem);
  min-height: 360px;
}
@media (max-width: 900px) {
  .home2-page .hero-v2-frame { height: auto; min-height: 0; aspect-ratio: 4 / 3.2; }
}
.home2-page .hero-v2-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  display: block;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.home2-page .hero-v2-img-shadow {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
  left: 5rem;
  right: 5rem;
}

/* Floating cards over the image */
.home2-page .hero-v2-floater {
  position: absolute;
  background: #fff;
  border-radius: 20px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 22px 60px rgba(11, 21, 48, 0.24);
  z-index: 2;
}
.home2-page .hero-v2-floater-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.home2-page .hero-v2-floater-icon--green { background: #DEF6E5; color: #1B8A5A; }
.home2-page .hero-v2-floater-icon--navy  { background: #E6ECFA; color: var(--primary); }
.home2-page .hero-v2-floater-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.home2-page .hero-v2-floater-title { font-size: 16px; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.home2-page .hero-v2-floater-sub { font-size: 13.5px; color: #6B7592; line-height: 1.35; }

.home2-page .hero-v2-collection {
  top: 8%;
  left: 1rem;
  max-width: 320px;
  animation: hero-floater-float 4s ease-in-out infinite;
}
.home2-page .hero-v2-nabl {
  top: auto;
  right: 1rem;
  bottom: calc(6% + 35px);
  max-width: 330px;
  animation: hero-floater-float 4s ease-in-out infinite 1.2s;
}
.home2-page .hero-v2-cashback {
  position: absolute;
  top: calc(-5% + 30px);
  right: 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 18px;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 46px rgba(211, 53, 53, 0.4);
  z-index: 3;
}

@keyframes hero-floater-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .home2-page .hero-v2-collection,
  .home2-page .hero-v2-nabl { animation: none; }
}

/* ---------- SAMPLE TESTED BY (lab marquee) ---------- */
.home2-page .sample-tested {
  background: #fff;
  border-top: 1px solid #E6EAF2;
  border-bottom: 1px solid #E6EAF2;
}
.home2-page .sample-tested-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.home2-page .sample-tested-label { flex-shrink: 0; }
.home2-page .sample-tested-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #6B7592;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.home2-page .sample-tested-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}
.home2-page .sample-tested-marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.home2-page .sample-tested-track {
  display: flex;
  align-items: center;
  gap: 39px;
  width: max-content;
  animation: sample-marquee 45s linear infinite;
}
.home2-page .sample-tested-marquee:hover .sample-tested-track { animation-play-state: paused; }
.home2-page .sample-lab {
  display: inline-flex;
  align-items: center;
  height: 44px;
  flex-shrink: 0;
}
.home2-page .sample-lab-img {
  max-height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(0%);
  opacity: 0.95;
  transition: opacity 0.2s;
}
.home2-page .sample-lab:hover .sample-lab-img { opacity: 1; }
.home2-page .sample-lab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
@keyframes sample-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .home2-page .sample-tested-inner { padding: 14px 16px; gap: 16px; flex-direction: column; align-items: flex-start; }
  .home2-page .sample-tested-title { font-size: 14px; }
  .home2-page .sample-tested-marquee { width: 100%; }
  .home2-page .sample-lab { font-size: 14px; }
}
.home2-page .hero-v2-cb-pct {
  font-family: var(--font-primary);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}
.home2-page .hero-v2-cb-meta { display: flex; flex-direction: column; gap: 4px; line-height: 1.2; }
.home2-page .hero-v2-cb-title { font-size: 15px; font-weight: 800; letter-spacing: 0.01em; }
.home2-page .hero-v2-cb-sub   { font-size: 12.5px; font-weight: 500; opacity: 0.94; }
.home2-page .hero-v2-cb-label { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; opacity: 0.92; }
.home2-page .hero-v2-cb-code  { font-size: 13.5px; font-weight: 700; opacity: 0.92; }

.home2-page .hero-v2-caption {
  position: absolute;
  left: 6%;
  right: 32%;
  bottom: 6%;
  z-index: 2;
  color: #fff;
}
.home2-page .hero-v2-caption-title {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.home2-page .hero-v2-caption-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* Hide legacy elements not part of v2 */
.home2-page .legacy-hero-stub { display: none !important; }
.home2-page .hero-section,
.home2-page .hero-section-border,
.home2-page .hero-tabs,
.home2-page .hero-default,
.home2-page .packages-panel,
.home2-page .labs-panel,
.home2-page .doctors-panel { display: none !important; }

/* Hide the floating call button (24x7 is in nav now) */
.home2-page .float-call { display: none !important; }

/* Bottom-nav: hidden on desktop, shown only on mobile (≤768px) */
.home2-page .bottom-nav { display: none; }
@media (max-width: 768px) {
  .home2-page .bottom-nav { display: flex; }
  .home2-page { padding-bottom: calc(var(--bottom-nav-height) + 12px); }
}

/* Hide the older .header (mobile) since site-header replaces it */
.home2-page .header { display: none !important; }
.home2-page .primary-nav { display: none !important; }

/* Top-bar baseline override (the cascading older .top-bar-left etc. are unused now) */

/* ---------- HEADER / NAV / HERO RESPONSIVE ---------- */

/* Tablet */
@media (max-width: 1100px) {
  :root { --site-inset: 20px; }

  /* Below desktop, fall back to hamburger menu */
  .home2-page .main-nav { display: none; }

  .home2-page .hero-v2-inner { padding: 44px 20px 60px; gap: 32px; }
  .home2-page .hero-v2-stats { gap: 28px; }
}

/* Small tablet / large mobile */
@media (max-width: 900px) {
  .home2-page .hero-v2-inner { grid-template-columns: 1fr; gap: 40px; }
  .home2-page .hero-v2-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .home2-page .hero-v2-frame { aspect-ratio: 4 / 3.2; }
  .home2-page .hero-v2-caption { right: 28%; }
}

/* Mobile */
@media (max-width: 768px) {
  .home2-page { max-width: 100%; padding-bottom: 0; }
  :root { --site-inset: 16px; }

  /* Mobile Upload pill: compact, sits at the right */
  /* Compact brand so the upload block has room */

  /* Hide hero image column on mobile — show panels only */
  .home2-page .hero-v2-visual { display: none; }

  /* Check Your Vitals: show only 3 cards on mobile (no Thyroid) */
  .home2-page .concerns-bento .concern-card--thyroid { display: none; }

  .home2-page .hero-v2-inner {
    padding: 16px 16px 22px;
    gap: 0;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  /* Tabs: full-width row, equal-sized pills */
  .home2-page .hero-v2-tabs {
    display: flex;
    width: 100%;
    padding: 0;
    gap: 6px;
    margin-bottom: 18px;
    align-self: stretch;
    border-radius: 0;
    background: transparent;
    border: 0;
  }
  .home2-page .hero-v2-tab {
    flex: 1;
    padding: 9px 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
  }

  .home2-page .hero-panel-title,
  .home2-page .hero-panel-title--md { font-size: 24px; line-height: 1.25; margin-bottom: 16px; }

  .home2-page .hero-panel-eyebrow { font-size: 13px; margin-bottom: 4px; }

  /* Two equal-width benefit pills side by side */
  .home2-page .hero-benefits {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: nowrap;
  }
  .home2-page .hero-benefit-pill {
    flex: 1 1 0;
    min-width: 0;
    font-size: 11.5px;
    padding: 8px 10px;
    gap: 8px;
    line-height: 1.2;
  }
  .home2-page .hero-benefit-text { white-space: normal; }
  .home2-page .hero-benefit-icon { width: 22px; height: 22px; font-size: 10px; flex-shrink: 0; }

  .home2-page .hero-search-bar { height: 48px; padding: 5px 5px 5px 16px; margin-bottom: 10px; }
  .home2-page .hero-search-bar input { font-size: 13px; }
  .home2-page .hero-search-bar-icon { font-size: 14px; margin-right: 10px; }
  .home2-page .hero-search-mic { width: 36px; height: 36px; font-size: 12px; }

  .home2-page .prescription-link-row { margin-top: 0; margin-bottom: 8px; gap: 8px; justify-content: flex-start; padding-left: 0; }
  .home2-page .hero-v2-prescription-link { font-size: 13px; }
  .home2-page .hero-v2-prescription-link i { font-size: 13px; }
  .home2-page .prescription-info-btn { width: 20px; height: 20px; font-size: 9px; }
  .home2-page .hero-v2-pill { font-size: 12px; padding: 7px 14px; margin-bottom: 18px; }
  .home2-page .hero-v2-headline { font-size: clamp(34px, 9vw, 48px); }
  .home2-page .hero-v2-subtext { font-size: 14.5px; margin-bottom: 24px; }
  .home2-page .hero-v2-search { height: 56px; padding: 6px 6px 6px 16px; }
  .home2-page .hero-v2-search input { font-size: 14px; }
  .home2-page .hero-v2-search-btn { padding: 12px 18px; font-size: 13px; }
  .home2-page .hero-v2-tags-row { gap: 8px; margin-bottom: 28px; }
  .home2-page .hero-v2-stats { gap: 18px; flex-wrap: wrap; padding-top: 22px; }
  .home2-page .hero-v2-stat-num { font-size: 22px; }
  .home2-page .hero-v2-stat-label { font-size: 12px; }

  .home2-page .hero-v2-collection { left: 0; top: 4%; max-width: 230px; padding: 10px 14px; }
  .home2-page .hero-v2-nabl { right: 0; bottom: -6%; max-width: 240px; padding: 10px 14px; }
  .home2-page .hero-v2-cashback { top: -3%; right: 0; padding: 8px 14px; }
  .home2-page .hero-v2-cb-pct { font-size: 22px; }
  .home2-page .hero-v2-floater-title { font-size: 12.5px; }
  .home2-page .hero-v2-floater-sub { font-size: 11px; }
  .home2-page .hero-v2-floater-icon { width: 34px; height: 34px; font-size: 14px; }
  .home2-page .hero-v2-caption { bottom: 10%; right: 4%; left: 4%; }
  .home2-page .hero-v2-caption-title { font-size: 16px; }
  .home2-page .hero-v2-caption-sub { font-size: 12px; }
}

/* ---------- POPULAR PACKAGES: horizontal scroll with arrow controls ---------- */
.home2-page .pkg-scroller {
  position: relative;
  margin: 0 -4px 8px;
}
.home2-page .packages-grid {
  display: flex !important;
  flex-direction: row !important;
  gap: 18px !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 4px 12px !important;
  margin: 0 !important;
  height: auto !important;
  max-width: none !important;
  perspective: none !important;
  grid-template-columns: none !important;
  scroll-behavior: smooth;
}
.home2-page .packages-grid::-webkit-scrollbar { display: none; height: 0; width: 0; }

.home2-page .pkg-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  border: 1px solid #E5E9F3;
  box-shadow: 0 6px 20px rgba(11, 21, 48, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s, color 0.2s, transform 0.15s, opacity 0.2s;
  font-size: 14px;
}
.home2-page .pkg-arrow:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.home2-page .pkg-arrow:active { transform: translateY(-50%) scale(0.92); }
.home2-page .pkg-arrow--prev { left: -6px; }
.home2-page .pkg-arrow--next { right: -6px; }
.home2-page .pkg-arrow.is-disabled {
  opacity: 0;
  pointer-events: none;
}
@media (min-width: 768px) {
  .home2-page .pkg-arrow { width: 48px; height: 48px; font-size: 15px; }
  .home2-page .pkg-arrow--prev { left: -18px; }
  .home2-page .pkg-arrow--next { right: -18px; }
}

.home2-page .package-card,
.home2-page .package-card.pkg-active,
.home2-page .package-card.pkg-next,
.home2-page .package-card.pkg-behind,
.home2-page .package-card.pkg-hidden {
  position: relative !important;
  flex: 0 0 auto !important;
  width: 320px !important;
  min-width: 320px !important;
  max-width: 320px !important;
  transform: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: auto !important;
  scroll-snap-align: start;
}

.home2-page #pkgDots { display: none !important; }

@media (max-width: 768px) {
  /* Stacked deck on mobile: cards layered on top of each other */
  .home2-page .pkg-scroller { margin: 0; }
  .home2-page .packages-grid {
    display: block !important;
    flex-direction: unset !important;
    position: relative !important;
    height: 340px !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 360px !important;
    perspective: 1000px !important;
    gap: 0 !important;
  }
  .home2-page .package-card,
  .home2-page .package-card.pkg-active,
  .home2-page .package-card.pkg-next,
  .home2-page .package-card.pkg-behind,
  .home2-page .package-card.pkg-hidden {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: calc(100% - 4px) !important;
    min-width: 0 !important;
    max-width: calc(100% - 4px) !important;
    flex: none !important;
    scroll-snap-align: none !important;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease !important;
  }
  .home2-page .package-card.pkg-active {
    z-index: 3 !important;
    transform: translateX(0) scale(1) !important;
    opacity: 1 !important;
  }
  .home2-page .package-card.pkg-next {
    z-index: 2 !important;
    transform: translateX(14px) scale(0.96) !important;
    opacity: 0.85 !important;
    pointer-events: none !important;
  }
  .home2-page .package-card.pkg-behind {
    z-index: 1 !important;
    transform: translateX(26px) scale(0.92) !important;
    opacity: 0.55 !important;
    pointer-events: none !important;
  }
  .home2-page .package-card.pkg-hidden {
    z-index: 0 !important;
    transform: translateX(36px) scale(0.88) !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .home2-page .pkg-arrow { display: none !important; }
  .home2-page #pkgDots { display: flex !important; justify-content: center; gap: 8px; margin-top: 8px; margin-bottom: 0; }
  .home2-page .packages-grid { margin-bottom: 0 !important; }
}

/* ---------- TRUST SECTION (V2) ---------- */
.home2-page .trust-v2 {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 44px 0;
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}
.home2-page .trust-v2-inner { position: relative; z-index: 1; }
.home2-page .trust-v2-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.home2-page .trust-v2-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.home2-page .trust-v2-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--primary);
  margin: 0 0 22px;
}
.home2-page .trust-v2-text {
  font-size: 15px;
  line-height: 1.7;
  color: #5C657B;
  max-width: 440px;
  margin: 0;
  font-weight: 400;
}
.home2-page .trust-v2-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.home2-page .trust-v2-stat {
  background: #fff;
  border-radius: 16px;
  padding: 26px 18px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 32px rgba(11, 21, 48, 0.14), 0 2px 6px rgba(11, 21, 48, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.home2-page .trust-v2-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(11, 21, 48, 0.18), 0 2px 6px rgba(11, 21, 48, 0.08);
}
.home2-page .trust-v2-num {
  font-family: var(--font-primary);
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  letter-spacing: -0.01em;
}
.home2-page .trust-v2-plus {
  color: var(--accent);
  font-weight: 800;
  margin-left: 1px;
}
.home2-page .trust-v2-star {
  color: var(--accent);
  font-size: 28px;
  margin-left: 4px;
  line-height: 1;
}
.home2-page .trust-v2-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #8B95A7;
  text-transform: uppercase;
}

@media (max-width: 1000px) {
  .home2-page .trust-v2-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 32px;
  }
  .home2-page .trust-v2-text { max-width: 640px; }
}
@media (max-width: 600px) {
  .home2-page .trust-v2 { padding: 40px 0; border-radius: 18px; margin: 14px 0 24px; }
  .home2-page .trust-v2-inner { padding: 0 20px; gap: 30px; }
  .home2-page .trust-v2-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .home2-page .trust-v2-stat { padding: 22px 14px; }
  .home2-page .trust-v2-num { font-size: 28px; }
  .home2-page .trust-v2-star { font-size: 22px; }
  .home2-page .trust-v2-label { font-size: 10.5px; }
}

/* ---------- PROMO BANNER CAROUSEL ---------- */
.home2-page .banner-carousel {
  position: relative;
  margin: 24px 0;
}
.home2-page .banner-track {
  position: relative;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  padding: 4px 4px 8px;
  margin: 0 -4px;
}
.home2-page .banner-track::-webkit-scrollbar { display: none; height: 0; width: 0; }
.home2-page .banner-slide {
  flex: 0 0 calc((100% - 18px) / 2);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border-radius: 18px;
  overflow: hidden;
  display: block;
  cursor: pointer;
  transition: transform 0.25s;
  box-shadow: 0 8px 24px rgba(11, 21, 48, 0.08);
}
.home2-page .banner-slide:hover { transform: translateY(-2px); }
.home2-page .banner-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  aspect-ratio: 1080 / 500;
  object-fit: cover;
}
@media (max-width: 700px) {
  .home2-page .banner-slide { flex: 0 0 100%; }
  .home2-page .banner-slide img { aspect-ratio: 1080 / 560; }
}

/* ---------- TESTS BY CATEGORY: single-row horizontal scroll, spread across section width ---------- */
.home2-page .tests-category-scroll {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 22px !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  justify-content: space-between;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px 14px !important;
  grid-template-columns: none !important;
}
.home2-page .tests-category-scroll::-webkit-scrollbar { display: none; height: 0; width: 0; }
.home2-page .test-cat-item {
  flex: 0 0 auto !important;
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .home2-page .tests-category-scroll { gap: 28px !important; }
}
@media (min-width: 1024px) {
  .home2-page .tests-category-scroll { gap: 36px !important; }
}

.home2-page .banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  border: 1px solid #E5E9F3;
  box-shadow: 0 6px 20px rgba(11, 21, 48, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  font-size: 14px;
}
.home2-page .banner-arrow:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.home2-page .banner-arrow:active { transform: translateY(-50%) scale(0.92); }
.home2-page .banner-arrow--prev { left: -6px; }
.home2-page .banner-arrow--next { right: -6px; }
@media (min-width: 768px) {
  .home2-page .banner-arrow { width: 48px; height: 48px; font-size: 15px; }
  .home2-page .banner-arrow--prev { left: -18px; }
  .home2-page .banner-arrow--next { right: -18px; }
}
/* Mobile: hide the banner prev/next arrows — the carousel is swipeable, so the
   arrows just crowd the edges on small screens (dots remain as the indicator). */
@media (max-width: 767.98px) {
  .home2-page .banner-arrow { display: none; }
}

.home2-page .banner-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.home2-page .banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #CBD3E1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.25s, background 0.25s;
}
.home2-page .banner-dot.active {
  width: 24px;
  border-radius: 999px;
  background: var(--accent);
}

/* ---------- PROMO CTA SECTION (cashback + app download) ---------- */
.home2-page .promo-cta-section {
  margin: 64px 0 32px;
}
.home2-page .promo-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.home2-page .promo-cta-card {
  position: relative;
  border-radius: 18px;
  padding: 38px 200px 38px 40px;
  overflow: hidden;
  min-height: 260px;
  color: #fff;
  display: flex;
  align-items: center;
}
.home2-page .promo-cta-card--cashback { background: #BD3434; }
.home2-page .promo-cta-card--app { background: #16204A; }

.home2-page .promo-cta-content { position: relative; z-index: 1; width: 100%; min-width: 0; }
.home2-page .promo-cta-card--cashback .promo-cta-title { white-space: nowrap; }
.home2-page .promo-cta-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
}
.home2-page .promo-cta-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.005em;
  color: #fff;
}
.home2-page .promo-cta-body {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 20px;
  max-width: 300px;
}
.home2-page .promo-cta-code {
  display: inline-block;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  background: rgba(255, 255, 255, 0.10);
  border: 1px dashed rgba(255, 255, 255, 0.55);
  padding: 9px 22px;
  border-radius: 8px;
  margin-bottom: 18px;
  color: #fff;
}
.home2-page .promo-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.home2-page .promo-cta-btn--white {
  background: #fff;
  color: #BD3434;
}
.home2-page .promo-cta-btn:hover {
  transform: translateX(3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.home2-page .promo-cta-btn i { font-size: 11px; }
.home2-page .promo-cta-action-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.home2-page .promo-cta-action-row .promo-cta-code { margin-bottom: 0; }

.home2-page .promo-cta-stores { display: flex; gap: 12px; flex-wrap: wrap; }
.home2-page .promo-cta-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  padding: 9px 18px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s;
}
.home2-page .promo-cta-store:hover { transform: translateY(-2px); }
.home2-page .promo-cta-store i { font-size: 26px; }
.home2-page .promo-cta-store-text { display: inline-flex; flex-direction: column; line-height: 1.15; }
.home2-page .promo-cta-store-label { font-size: 9.5px; opacity: 0.85; }
.home2-page .promo-cta-store-name { font-size: 14px; font-weight: 700; }

.home2-page .promo-cta-icon-wrap {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}
.home2-page .promo-cta-icon-wrap::before,
.home2-page .promo-cta-icon-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.40);
  background: rgba(255, 255, 255, 0.06);
  z-index: 0;
  animation: promoIconRipple 2.8s ease-out infinite;
}
.home2-page .promo-cta-icon-wrap::after { animation-delay: 1.4s; }
@keyframes promoIconRipple {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .home2-page .promo-cta-icon-wrap::before,
  .home2-page .promo-cta-icon-wrap::after {
    animation: none;
    inset: -18px;
    border: 0;
    background: rgba(255, 255, 255, 0.07);
  }
}
.home2-page .promo-cta-icon-wrap i {
  font-size: 52px;
  color: #fff;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .home2-page .promo-cta-grid { grid-template-columns: 1fr; gap: 18px; }
  .home2-page .promo-cta-card { padding: 28px 180px 28px 26px; min-height: 0; }
  .home2-page .promo-cta-title { font-size: 28px; }
  .home2-page .promo-cta-icon-wrap { width: 130px; height: 130px; right: 30px; }
  .home2-page .promo-cta-icon-wrap i { font-size: 48px; }
}
@media (max-width: 600px) {
  .home2-page .promo-cta-card--cashback .promo-cta-title { white-space: normal; }
}
@media (max-width: 540px) {
  .home2-page .promo-cta-section { margin: 24px 0; }
  .home2-page .promo-cta-card { padding: 22px 22px 22px 22px; }
  .home2-page .promo-cta-icon-wrap {
    position: absolute;
    right: 16px;
    top: 16px;
    bottom: auto;
    transform: none;
    width: 56px;
    height: 56px;
  }
  .home2-page .promo-cta-icon-wrap::before,
  .home2-page .promo-cta-icon-wrap::after { inset: 0; }
  .home2-page .promo-cta-icon-wrap i { font-size: 24px; }

  /* Reserve top-right space only for the icon row */
  .home2-page .promo-cta-eyebrow,
  .home2-page .promo-cta-title { padding-right: 70px; }

  /* Coupon + CTA side by side */
  .home2-page .promo-cta-action-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  .home2-page .promo-cta-code { margin-bottom: 0; padding: 8px 14px; font-size: 13px; letter-spacing: 0.12em; }
  .home2-page .promo-cta-btn { padding: 10px 18px; font-size: 13px; }

  /* App store + Play store side by side */
  .home2-page .promo-cta-stores { flex-wrap: nowrap; gap: 8px; }
  .home2-page .promo-cta-store { padding: 8px 12px; gap: 8px; min-width: 0; flex: 1; }
  .home2-page .promo-cta-store i { font-size: 20px; }
  .home2-page .promo-cta-store-label { font-size: 9px; }
  .home2-page .promo-cta-store-name { font-size: 12px; }
}

/* ---------- REAL STORIES (customer reviews) ---------- */
.home2-page .real-stories { margin: 48px 0; }
.home2-page .real-stories-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.home2-page .real-stories-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.home2-page .real-stories-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--primary);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.home2-page .real-stories-sub {
  font-size: 15px;
  line-height: 1.5;
  color: #6B7592;
  margin: 0;
  max-width: 620px;
}
.home2-page .real-stories-rating {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.home2-page .real-stories-rating-score {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.home2-page .real-stories-rating-stars {
  display: inline-flex;
  gap: 2px;
  color: #F6B100;
  font-size: 13px;
}
.home2-page .real-stories-rating-count {
  font-size: 14px;
  font-weight: 600;
  color: #6B7592;
}
.home2-page .real-stories-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid #C5CCDB;
  background: #fff;
  color: var(--primary);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.2s, transform 0.2s;
}
.home2-page .real-stories-cta:hover { border-color: var(--primary); transform: translateX(2px); }
.home2-page .real-stories-cta i { font-size: 12px; }

.home2-page .real-stories-carousel { position: relative; }
.home2-page .real-stories-grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  padding: 4px;
  margin: 0 -4px;
}
.home2-page .real-stories-grid::-webkit-scrollbar { display: none; height: 0; width: 0; }
.home2-page .real-stories-grid .story-card {
  flex: 0 0 calc((100% - 44px) / 3);
  scroll-snap-align: start;
}
.home2-page .story-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 1px 2px rgba(11, 21, 48, 0.04);
}
.home2-page .story-stars {
  color: #F6A621;
  font-size: 14px;
  display: inline-flex;
  gap: 2px;
}
.home2-page .story-quote {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--primary);
  margin: 0;
}
.home2-page .story-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #ECEFF4;
  margin-top: auto;
}
.home2-page .story-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #E1E8F2;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: 0.04em;
  overflow: hidden;
}
.home2-page .story-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.home2-page .story-meta { min-width: 0; }
.home2-page .story-name { font-size: 14px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.home2-page .story-tag { font-size: 12.5px; color: #7A839A; line-height: 1.3; margin-top: 2px; }

@media (max-width: 1000px) {
  .home2-page .real-stories-grid .story-card { flex: 0 0 calc((100% - 22px) / 2); }
}
@media (max-width: 900px) {
  .home2-page .real-stories-header { flex-direction: column; }
}
@media (max-width: 700px) {
  .home2-page .real-stories-grid { gap: 14px; }
  .home2-page .real-stories-grid .story-card { flex: 0 0 100%; }
}

/* ===== HERO SEARCH BAR — wrapper + clear button + results dropdown ===== */
.home2-page .hero-search-bar-wrap {
  position: relative;
  width: 100%;
}
/* Anchors the results dropdown to the search bar only (not the whole wrap),
   so it opens right below the input instead of below the pills/Book Now.
   No z-index here on purpose — keeps the dropdown's own z-index in the hero
   stacking context so it stays above the floating cards. */
.home2-page .hero-search-field {
  position: relative;
  width: 100%;
}
.home2-page .hero-search-bar-wrap .hero-search-bar {
  width: 100%;
}
.home2-page .hero-search-clear {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #98A2B3;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  padding: 0;
  transition: color 0.15s;
}
.home2-page .hero-search-clear:hover { color: #475467; }

.home2-page .hero-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  width: 100%;
  max-width: 560px;
  background: #fff;
  border: 1px solid #E4ECF7;
  border-radius: 14px;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.12);
  /* Clip the inner scroll (and its scrollbar) to the rounded corners so the
     scrollbar doesn't poke past the border-radius. Scrolling lives on the ul. */
  overflow: hidden;
  z-index: 120;
}
.home2-page .hero-search-results ul {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  max-height: 360px;
  overflow-y: auto;
}
.home2-page .hero-search-result-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.12s;
  outline: none;
}
.home2-page .hero-search-result-row:hover,
.home2-page .hero-search-result-row:focus {
  background: #F4F7FB;
}
.home2-page .hero-search-result-icon {
  color: #0D1A67;
  font-size: 15px;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}
.home2-page .hero-search-result-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: #0D1A67;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home2-page .hero-search-result-category {
  font-size: 13px;
  color: #98A2B3;
  font-weight: 500;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 45%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-left: 8px;
  text-transform: capitalize;
}
.home2-page .hero-search-empty {
  padding: 18px;
  text-align: center;
  font-size: 14px;
  color: #98A2B3;
}
.home2-page .hero-search-loading {
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: #98A2B3;
}
.home2-page .hero-search-loading i {
  color: var(--primary);
}

/* ===== HERO SEARCH PILLS (selected tests) ===== */
.home2-page .hero-search-pills-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: -6px;
  min-height: 24px;
  max-width: 540px;
}
.home2-page .hero-search-remove-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.15s;
}
.home2-page .hero-search-remove-all:hover {
  opacity: 1;
  color: #F4A8B8;
}
.home2-page .hero-search-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  max-width: 560px;
  max-height: 132px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
}
.home2-page .hero-search-pills-head + .hero-search-pills {
  margin-top: 16px;
}
.home2-page .hero-search-pills::-webkit-scrollbar {
  width: 6px;
}
.home2-page .hero-search-pills::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}
.home2-page .hero-search-pills::-webkit-scrollbar-track {
  background: transparent;
}
.home2-page .hero-search-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  padding: 6px 8px 6px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #0D1A67;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.home2-page .hero-search-pill-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}
.home2-page .hero-search-pill-close {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #98A2B3;
  font-size: 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s, color 0.15s;
}
.home2-page .hero-search-pill-close:hover {
  background: #F4F7FB;
  color: #475467;
}

/* ===== BOOK NOW BUTTON ===== */
.home2-page .hero-search-book-now {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  background: linear-gradient(135deg, #E31019 0%, #C20F18 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(227, 16, 25, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.home2-page .hero-search-book-now:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(227, 16, 25, 0.45);
}
.home2-page .hero-search-book-now-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* Dim already-added rows in the results dropdown */
.home2-page .hero-search-result-row.is-added {
  opacity: 0.55;
}
.home2-page .hero-search-result-row.is-added::after {
  content: 'Added';
  font-size: 12px;
  font-weight: 600;
  color: #18A957;
  margin-left: 8px;
  flex-shrink: 0;
}

/* Radiology carousel cards-per-view: mobile = 1, tablet (≥768) = 2 (above),
   desktop (≥1024) = 4. gap is 20px at ≥768. */
@media (min-width: 1024px) {
  .home2-page .radio-card {
    min-width: calc((100% - 60px) / 4);
    max-width: calc((100% - 60px) / 4);
  }
}

.home2-page .lifestyle-scroller {
  position: relative;
  margin: 0 -4px 20px;
}
.home2-page .lifestyle-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 4px 8px;
  scroll-behavior: smooth;
}
.home2-page .lifestyle-track::-webkit-scrollbar { display: none; height: 0; width: 0; }
.home2-page .lifestyle-track .lifestyle-chip {
  flex: 0 0 auto;
  width: calc((100% - 20px) / 3);   /* ~3 chips visible on mobile */
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .home2-page .lifestyle-track { gap: 14px; }
  .home2-page .lifestyle-track .lifestyle-chip {
    width: calc((100% - 70px) / 6); /* ~6 chips visible on desktop */
  }
}

.home2-page .modal-overlay { z-index: 9999; }

@media (max-width: 1024px) {
  .home2-page .packages-grid {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    height: auto !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
    gap: 14px !important;
    padding: 8px 4px 12px !important;
    margin: 0 !important;
    max-width: none !important;
    perspective: none !important;
  }
  .home2-page .packages-grid::-webkit-scrollbar { display: none; }
  .home2-page .package-card,
  .home2-page .package-card.pkg-active,
  .home2-page .package-card.pkg-next,
  .home2-page .package-card.pkg-behind,
  .home2-page .package-card.pkg-hidden {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    flex: 0 0 auto !important;
    width: calc((100% - 14px) / 2) !important;
    min-width: calc((100% - 14px) / 2) !important;
    max-width: calc((100% - 14px) / 2) !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: auto !important;
    scroll-snap-align: start !important;
    transition: none !important;
  }
  .home2-page .pkg-arrow { display: none !important; }
  .home2-page #pkgDots { display: none !important; }
}

@media (max-width: 767.98px) {
  .home2-page .package-card,
  .home2-page .package-card.pkg-active,
  .home2-page .package-card.pkg-next,
  .home2-page .package-card.pkg-behind,
  .home2-page .package-card.pkg-hidden {
    width: 88% !important;
    min-width: 88% !important;
    max-width: 88% !important;
  }
}

@media (min-width: 768px) {
  .home2-page .lifestyle-scroller.is-static .lifestyle-track {
    overflow-x: visible;
  }
  .home2-page .lifestyle-scroller.is-static .lifestyle-track .lifestyle-chip {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
    aspect-ratio: 6 / 5;
  }
}

.home2-page .lifestyle-scroller--vitals .lc-label {
  background: #fff;
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  text-shadow: none;
}

@media (max-width: 767.98px) {
  .home2-page .lifestyle-scroller--vitals .lifestyle-track .lifestyle-chip {
    width: 46%;
  }
  .home2-page .lifestyle-scroller--vitals .lc-label {
    padding: 6px 14px;
    font-size: 13px;
  }
  /* Habit Analysis: same partial-card peek as Vitals so the next card is ~80%
     hidden, signalling the row is horizontally scrollable (base rule fit exactly
     3 chips with no peek). */
  .home2-page .lifestyle-scroller--habit .lifestyle-track .lifestyle-chip {
    width: 46%;
  }
}

/* Tablet (768–1023px): give all three horizontal carousels a partial next-card
   peek (like the mobile view) so it's obvious the row scrolls. Without this the
   cards fit exactly (radiology 2-up, lifestyle 6-up) and there's no scroll hint. */
@media (min-width: 768px) and (max-width: 1023.98px) {
  /* Radiology: ~2 cards + a peek of the next */
  .home2-page .radio-card {
    min-width: calc((100% - 20px) / 2.2);
    max-width: calc((100% - 20px) / 2.2);
  }
  /* Vitals + Habit chips: ~4 per view + a peek of the next. (When Vitals fits
     and goes .is-static its higher-specificity rule still wins, so a fitting
     row stays centred instead of forcing a fake peek.) */
  .home2-page .lifestyle-track .lifestyle-chip {
    width: calc((100% - 56px) / 4.2);
  }
  /* Popular Packages: ~2 cards + a peek of the next (was 2-up exact fit). Needs
     the same selector list + !important to beat the base <=1024 flex rule. */
  .home2-page .package-card,
  .home2-page .package-card.pkg-active,
  .home2-page .package-card.pkg-next,
  .home2-page .package-card.pkg-behind,
  .home2-page .package-card.pkg-hidden {
    width: calc((100% - 14px) / 2.2) !important;
    min-width: calc((100% - 14px) / 2.2) !important;
    max-width: calc((100% - 14px) / 2.2) !important;
  }
}
