:root {
  --dg-red: #C22127;
  --dg-red-dark: #8b1518;
  --dg-pink-bg: #fdf1f0;
  --dg-card-bg: #fbeeed;
  --dg-booking-bg: #F8F0F0;
  --dg-booking-border: rgba(195, 198, 210, 0.3);
  --dg-radius: 22px;
  --dg-shadow: 0 10px 30px rgba(0,0,0,0.06);
     --dygo-red: #BD1922;
    --dygo-red-dark: #A60015;
    --dygo-red-darker: #7E141D;
    --dygo-red-bright: #FC1E27;
    --dygo-red-tint: #F8F0F0;
    --dygo-red-border-soft: rgba(189, 25, 34, 0.25);
    --dygo-gray-text: #636467;
    --dygo-white: #FFFFFF;
    --dygo-navbar-height: 77px;
    --dygo-navbar-height-mobile: 60px;
}

/* ===== Error banner ===== */
.hero-error-label {
  background: #fdecea;
  color: #b3261e;
  border: 1px solid #f5c6c2;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.92rem;
  position: relative;
}

.hero-error-label .close-error {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.1rem;
}

/* ===== Hero section ===== */
.hero-redesign {
  background: var(--dg-pink-bg);
  padding: 40px 0;
  margin-top: 100px;
  box-sizing: border-box;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow-x: hidden;
}

@media (max-width: 991.98px) {
  .hero-redesign {
    margin-top: 90px;
  }
}

@media (max-width: 575.98px) {
  .hero-redesign {
    margin-top: 78px;
  }
}

.hero-redesign-inner.hero-redesign-inner {
  max-width: 1400px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}

.hero-cards-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 389px;
  gap: 24px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

/* ===== Card A: full-bleed image carousel ===== */
.hero-info-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--dg-radius);
  min-height: 460px;
  height: 599px;
  width: 100%;
  box-sizing: border-box;
  background: #10121a;
  isolation: isolate;
}

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

.hero-info-card img.hero-bg-image {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
  clip-path: none !important;
  filter: none !important;
  transform: none !important;
  margin: 0 !important;
  opacity: 0;
  transition: opacity 0.7s ease;
  z-index: 0 !important;
}

.hero-info-card img.hero-bg-image.is-active {
  opacity: 1 !important;
  z-index: 1 !important;
}

.hero-info-card > *:not(.hero-slides):not(.hero-overlay):not(.hero-badge):not(.hero-info-content):not(.hero-carousel-controls) {
  display: none !important;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.05) 0%,
    rgba(10, 10, 15, 0.15) 35%,
    rgba(10, 10, 15, 0.65) 68%,
    rgba(10, 10, 15, 0.88) 100%
  );
  z-index: 2;
}

.hero-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--dg-red);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: 0 6px 16px rgba(194,33,39,0.35);
}

.hero-badge i {
  font-size: 0.85rem;
}

.hero-info-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 40px 100px 40px 40px;
  max-width: 720px;
}

.hero-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}

.hero-heading-accent {
  color: var(--dg-red);
}

.hero-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 460px;
  margin-bottom: 22px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}

.hero-trust-row i {
  color: #16a34a;
  margin-right: 5px;
  font-size: 0.9rem;
}

.hero-trust-row span:last-child i {
  color: rgba(255,255,255,0.85);
}

.hero-carousel-controls {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

.hero-carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--dg-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(194,33,39,0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}

.hero-carousel-arrow:hover {
  background: var(--dg-red-dark);
  transform: translateY(-1px);
}

/* ===== Card B: Booking card ===== */
.hero-booking-wrapper {
  width: 100%;
  box-sizing: border-box;
}

.qtb-card {
  background: var(--dg-booking-bg);
  border-radius: var(--dg-radius);
  border: 1px solid var(--dg-booking-border);
  padding: 28px 24px;
  box-sizing: border-box;
}

.qtb-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.qtb-bolt {
  color: var(--dg-red);
  font-size: 1.1rem;
}

.qtb-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
}

.qtb-subtitle {
  color: #6c757d;
  font-size: 0.85rem;
  margin-bottom: 22px;
}

.qtb-field {
  margin-bottom: 16px;
}

.qtb-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #6c757d;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.qtb-select,
.qtb-input {
  width: 100%;
  border: 1px solid #ecdcda;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.9rem;
  background: #fff;
  box-sizing: border-box;
}

.qtb-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.qtb-input-icon {
  position: relative;
}

.qtb-input-icon i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.qtb-input-icon .qtb-input {
  padding-left: 36px;
}

.qtb-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #7b0b14, #C22127);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 6px 16px rgba(194,33,39,0.25);
}

.qtb-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(194,33,39,0.35);
}

.qtb-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--dg-red), transparent);
  margin: 20px 0 16px;
}

.qtb-prescription-row {
  display: flex;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 12px;
}

.qtb-prescription-icon {
  background: var(--dg-red);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qtb-prescription-row strong {
  display: block;
  font-size: 0.84rem;
  color: #1a1a2e;
}

.qtb-prescription-row small {
  display: block;
  font-size: 0.74rem;
  color: #6c757d;
  line-height: 1.3;
}

.qtb-upload-box {
  display: block;
  text-align: center;
  border: 1.5px dashed var(--dg-red);
  color: var(--dg-red);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 0;
}

.qtb-upload-box:hover {
  background: #fff;
}

/* ===================== RESPONSIVE (Hero + Booking) ===================== */

@media (max-width: 1199.98px) {
  .hero-cards-row {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
  .hero-info-content {
    padding: 36px 90px 36px 30px;
  }
}

@media (max-width: 991.98px) {
  .hero-cards-row {
    grid-template-columns: 1fr;
  }
  .hero-info-card {
    min-height: 420px;
    height: auto;
  }
  .hero-info-content {
    padding: 32px 24px 88px;
    max-width: 100%;
  }
  .hero-carousel-controls {
    bottom: 20px;
    right: 20px;
  }
  .hero-booking-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 575.98px) {
  .hero-redesign {
    padding: 24px 0;
  }
  .hero-redesign-inner.hero-redesign-inner {
    padding: 0 16px !important;
  }
  .hero-cards-row {
    gap: 16px;
  }

  .hero-info-card {
    border-radius: 16px;
    min-height: 460px;
  }
  .hero-badge {
    top: 16px;
    left: 16px;
    font-size: 0.72rem;
    padding: 6px 12px;
  }
  .hero-info-content {
    padding: 24px 16px 84px;
  }
  .hero-heading {
    font-size: 1.5rem;
  }
  .hero-desc {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }
  .hero-trust-row {
    flex-direction: column;
    gap: 8px;
  }
  .hero-carousel-controls {
    bottom: 16px;
    right: 16px;
  }
  .hero-carousel-arrow {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .qtb-card {
    border-radius: 16px;
    padding: 22px 18px;
  }
}
/* ===== Services Quicklinks Row ===== */
.services-quicklinks {
  background: #FFF7F7;
  padding: 18px 0;
}

.services-quicklinks-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Grid Layout - Desktop (Default) ===== */
.sql-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.25fr;
  gap: 12px;
}

/* ===== Card Base Styles ===== */
.sql-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  text-decoration: none;
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s ease;
  min-height: 110px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sql-icon {
  width: 36px;
  height: 36px;
  background: var(--dg-red);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 8px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.sql-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  color: #cbd5e1;
  font-size: 0.95rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.sql-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 6px;
  margin-bottom: 2px;
  transition: color 0.25s ease;
}

.sql-sub {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
  transition: color 0.25s ease;
}

/* ===== Card Hover States (Desktop/Tablet) ===== */
.sql-card:not(.sql-card-cta):hover {
  background: linear-gradient(135deg, #bd1922 0%, #dc2626 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(189,25,34,0.22);
}

.sql-card:not(.sql-card-cta):hover .sql-icon {
  background: #fff;
  color: #bd1922;
  transform: translateY(0) scale(1.05);
}

.sql-card:not(.sql-card-cta):hover .sql-arrow {
  color: rgba(255,255,255,0.9);
  transform: translateX(2px);
}

.sql-card:not(.sql-card-cta):hover .sql-title {
  color: #fff;
}

.sql-card:not(.sql-card-cta):hover .sql-sub {
  color: rgba(255,255,255,0.9);
}

/* ===== CTA Card (Expert Guidance) ===== */
.sql-card-cta {
  background: linear-gradient(135deg, #991b1b 0%, #bd1922 100%);
  color: #fff;
  padding: 14px 16px;
  min-height: 110px;
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sql-card-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(153,27,27,0.3);
}

.sql-icon-light {
  background: rgba(255,255,255,0.2);
}

.sql-arrow-light {
  color: rgba(255,255,255,0.7);
}

.sql-title-light {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-top: 6px;
  margin-bottom: 2px;
}

.sql-sub-light {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.3;
  margin-bottom: 6px;
}

.sql-callnow {
  display: none;
}

.sql-phone {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Large Tablet (≤ 1199px) */
@media (max-width: 1199.98px) {
  .sql-row {
    grid-template-columns: repeat(3, 1fr) 1.2fr;
    gap: 12px;
  }

  .services-quicklinks-inner {
    padding: 0 20px;
  }
}

/* Tablet (≤ 991px) — start horizontal scroll here */
@media (max-width: 991.98px) {
  .services-quicklinks {
    padding: 16px 0;
  }

  .services-quicklinks-inner {
    padding: 0 20px;
  }

  /* ---- Single-row horizontal scroller ---- */
  .sql-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;

    /* Hide scrollbar */
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE / Edge legacy */
  }

  .sql-row::-webkit-scrollbar {
    display: none;                /* Chrome, Safari, Edge Chromium */
    height: 0;
  }

  .sql-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 55%;
    min-width: 180px;
    min-height: 105px;
    padding: 14px;
  }

  /* CTA card slightly wider so its extra content fits */
  .sql-card-cta {
    width: 65%;
    min-width: 210px;
  }

  .sql-icon {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }

  .sql-title {
    font-size: 0.88rem;
  }

  .sql-sub {
    font-size: 0.73rem;
  }

  .sql-title-light {
    font-size: 0.88rem;
  }

  .sql-sub-light {
    font-size: 0.72rem;
  }
}

/* Mobile (≤ 767px) */
@media (max-width: 767.98px) {
  .services-quicklinks {
    padding: 14px 0;
  }

  .services-quicklinks-inner {
    padding: 0 16px;
  }

  .sql-row {
    gap: 10px;
  }

  .sql-card {
    width: 52%;
    min-width: 165px;
    min-height: 100px;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .sql-card-cta {
    width: 60%;
    min-width: 195px;
  }

  .sql-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .sql-arrow {
    top: 18px;
    right: 18px;
    font-size: 1rem;
  }

  .sql-title {
    font-size: 0.9rem;
    margin-bottom: 3px;
    line-height: 1.3;
  }

  .sql-sub {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  /* Disable hover effects on mobile, keep active/tap state */
  .sql-card:not(.sql-card-cta):active {
    background: linear-gradient(135deg, #a0161d 0%, #d92026 60%, #ff3b3b 100%);
    transform: translateY(-2px);
  }

  .sql-card:not(.sql-card-cta):active .sql-icon {
    background: #fff;
    color: var(--dg-red);
  }

  .sql-card:not(.sql-card-cta):active .sql-title {
    color: #fff;
  }

  .sql-card:not(.sql-card-cta):active .sql-sub {
    color: rgba(255,255,255,0.85);
  }

  /* CTA Card responsive */
  .sql-card-cta {
    min-height: 140px;
    padding: 18px;
  }

  .sql-icon-light {
    width: 40px;
    height: 40px;
  }

  .sql-title-light {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }

  .sql-sub-light {
    font-size: 0.73rem;
    margin-bottom: 10px;
  }

  .sql-callnow {
    font-size: 0.8rem;
    margin-bottom: 2px;
  }

  .sql-phone {
    font-size: 0.76rem;
  }
}

/* Small Mobile (≤ 575px) */
@media (max-width: 575.98px) {
  .services-quicklinks {
    padding: 24px 0;
  }

  .services-quicklinks-inner {
    padding: 0 14px;
  }

  .sql-row {
    gap: 12px;
  }

  .sql-card {
    width: 58%;
    min-width: 170px;
    min-height: 140px;
    padding: 16px;
    border-radius: 10px;
  }

  .sql-card-cta {
    width: 72%;
    min-width: 220px;
  }

  .sql-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .sql-arrow {
    top: 16px;
    right: 16px;
    font-size: 0.9rem;
  }

  .sql-title {
    font-size: 0.85rem;
    margin-bottom: 2px;
    line-height: 1.2;
  }

  .sql-sub {
    font-size: 0.7rem;
    line-height: 1.2;
  }

  /* CTA Card small mobile */
  .sql-card-cta {
    min-height: 130px;
    padding: 16px;
  }

  .sql-icon-light {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .sql-title-light {
    font-size: 0.85rem;
    margin-bottom: 3px;
  }

  .sql-sub-light {
    font-size: 0.7rem;
    margin-bottom: 8px;
    line-height: 1.3;
  }

  .sql-callnow {
    font-size: 0.75rem;
    margin-bottom: 1px;
  }

  .sql-phone {
    font-size: 0.73rem;
  }
}

/* Extra Small Mobile (≤ 375px) */
@media (max-width: 375px) {
  .services-quicklinks-inner {
    padding: 0 12px;
  }

  .sql-row {
    gap: 10px;
  }

  .sql-card {
    width: 60%;
    min-width: 150px;
    min-height: 130px;
    padding: 14px;
  }

  .sql-card-cta {
    width: 76%;
    min-width: 200px;
  }

  .sql-icon {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .sql-arrow {
    top: 14px;
    right: 14px;
    font-size: 0.85rem;
  }

  .sql-title {
    font-size: 0.8rem;
  }

  .sql-sub {
    font-size: 0.68rem;
  }

  .sql-card-cta {
    min-height: 120px;
    padding: 14px;
  }

  .sql-title-light {
    font-size: 0.8rem;
  }

  .sql-sub-light {
    font-size: 0.67rem;
  }
}

/* ===== Accessibility: Reduce Motion ===== */
@media (prefers-reduced-motion: reduce) {
  .sql-card,
  .sql-icon,
  .sql-arrow,
  .sql-title,
  .sql-sub {
    transition: none !important;
  }
}

/* ===== Test Browser Section ===== */
.test-browser-section {
  background: #fff;
  padding: 24px 0 20px;
}
.tb-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}
.tb-header {
  margin-bottom: 24px;
  padding-bottom: 0;
}
.tb-header-left {
  max-width: 680px;
}
.tb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dg-red);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.tb-heading {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}
.tb-heading-desc {
  color: #55575C;
  font-size: 14px;
  max-width: 600px;
  margin-left: 0 !important;
  margin-top: 6px;
  line-height: 1.55;
  text-align: left !important;
}
.tb-panel {
  border: 1px solid #fee2e2;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
.tb-panel .row {
  align-items: center !important;
}
.tb-cat-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2px;
}
.tb-cat-desc {
  color: #64748b;
  font-size: 0.82rem;
  margin-bottom: 10px;
}
.tb-pills-wrapper {
  position: relative;
  border-left: 2.5px solid #fecdd3;
  padding-left: 10px;
  padding-right: 6px;
}
.tb-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tb-pill {
  flex: 0 0 auto;
  border: 1px solid #fee2e2;
  background: #fff5f5;
  color: #475569;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.74rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.tb-pill-icon {
  color: var(--dg-red);
  font-size: 0.82rem;
  transition: color 0.2s ease;
}
.tb-pill-dot {
  font-size: 0.4rem;
  color: inherit;
}
.tb-pill:hover {
  background: #ffe4e6 !important;
  border-color: #fecdd3 !important;
  color: #be123c !important;
}
.tb-pill:hover .tb-pill-icon {
  color: #be123c !important;
}
.tb-pill-active,
.tb-pill-active:hover,
.tb-pill-active:focus {
  background: #be123c !important;
  color: #ffffff !important;
  border-color: #be123c !important;
  font-weight: 600 !important;
}
.tb-pill-active .tb-pill-icon,
.tb-pill-active:hover .tb-pill-icon,
.tb-pill-active .tb-pill-dot,
.tb-pill-active:hover .tb-pill-dot {
  color: #ffffff !important;
}
.tb-notsure-col {
  padding: 0 0 0 12px !important;
  border-left: 1px dashed #fee2e2;
}
.tb-notsure-card {
  background: #FFF7F7;
  border: 1px solid #fecdd3;
  border-radius: 12px;
  padding: 10px 12px;
  height: 100%;
}
.tb-notsure-top {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.tb-notsure-icon {
  width: 24px;
  height: 24px;
  background: var(--dg-red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
}
.tb-notsure-top strong {
  font-size: 0.78rem;
  color: #0f172a;
  display: block;
  margin-bottom: 1px;
}
.tb-notsure-top p {
  font-size: 0.68rem;
  color: #64748b;
  margin: 0;
}
.tb-upload-btn {
  display: block;
  text-align: center;
  border: 1.5px dashed #fecdd3;
  color: var(--dg-red);
  font-weight: 600;
  font-size: 0.72rem;
  border-radius: 6px;
  padding: 6px;
  cursor: pointer;
  margin-bottom: 6px;
  background: #fff;
  transition: background 0.2s;
}
.tb-upload-btn:hover {
  background: #fff1f2;
}
.tb-or {
  text-align: center;
  position: relative;
  margin: 6px 0;
  border-top: 1px solid #fee2e2;
}
.tb-or span {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: #FFF7F7;
  padding: 0 6px;
  font-size: 0.6rem;
  color: #94a3b8;
  font-weight: 600;
}
.tb-talk-btn {
  display: block;
  background: linear-gradient(135deg, #bd1922, #dc2626);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.2px;
}
.tb-talk-btn small {
  font-weight: 500;
  opacity: 0.9;
  display: block;
  margin-top: 1px;
  font-size: 0.68rem;
}
.tb-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-bottom: 24px;
}
.tb-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 18px;
}
.tb-card-inner {
  display: block;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/5;
  text-decoration: none;
  height: 100%;
}
.tb-card-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.tb-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
}
.tb-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px;
  color: #fff;
}
.tb-card-content h5 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.tb-card-content p {
  font-size: 0.74rem;
  opacity: 0.85;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.tb-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #a0161d, #d92026);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 50px;
}
.tb-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(194, 33, 39, 0.35);
}
.tb-card:hover .tb-card-inner img {
  transform: scale(1.06);
}
.tb-explore-more {
  margin-top: 14px;
  margin-bottom: 10px;
}
.tb-explore-more a {
  color: var(--dg-red);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.2s;
}
.tb-explore-more a:hover {
  color: var(--dg-red-dark);
}
@media (max-width: 1199.98px) {
  .tb-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ============================================================
   MOBILE (≤ 767.98px) — matches Figma mobile spec:
   - pills scroll horizontally in a single row, scrollbar hidden
   - "not sure" card stacks below, full width
   - test cards become a 2-row, horizontally scrollable set of
     tall image cards (248x350-style, 32px radius) instead of
     a wrapping 2-column grid
   ============================================================ */
@media (max-width: 767.98px) {
  .tb-panel {
    padding: 16px 12px;
  }
  .tb-panel .row {
    align-items: stretch !important;
  }
  /* ---- Pills: single scrollable row ---- */
  .tb-pills-wrapper {
    padding-left: 12px;
    padding-right: 0;
    border-left: 3px solid #f5d5d5;
    /* let the row scroll, wrapper itself doesn't clip */
    overflow: hidden;
  }
  .tb-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: 2px;
    /* Hide scrollbar */
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE / Edge legacy */
  }
  .tb-pills::-webkit-scrollbar {
    display: none;                /* Chrome, Safari, Edge Chromium */
    height: 0;
  }
  .tb-pill {
    scroll-snap-align: start;
  }
  /* ---- Not sure card: icon+text on the left, actions stacked on the right ---- */
  .tb-notsure-col {
    padding: 0 !important;
    margin-top: 18px;
    border-left: none;
  }
  .tb-notsure-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
    row-gap: 8px;
    border-radius: 12px;
  }
  .tb-notsure-top {
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: start;
    margin-bottom: 0;
  }
  .tb-upload-btn {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0;
  }
  .tb-or {
    grid-column: 2;
    grid-row: 2;
    margin: 6px 0;
  }
  .tb-talk-btn {
    grid-column: 2;
    grid-row: 3;
  }
  .tb-heading-desc {
    text-align: left !important;
    margin-left: 0;
  }
  .tb-header .col-lg-6.text-lg-end {
    text-align: left !important;
  }
  /* ---- Test cards: 2-row horizontal scroller ---- */
  .tb-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: none;
    gap: 18px 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 6px;
    margin-bottom: 20px;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .tb-grid::-webkit-scrollbar {
    display: none;
    height: 0;
  }
  .tb-card {
    flex: none;
    width: 68vw;
    max-width: 248px;
    min-width: 210px;
    scroll-snap-align: start;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  }
  .tb-card-inner {
    aspect-ratio: 248 / 350;
    height: auto;
    border-radius: 24px;
  }
  .tb-card-content {
    padding: 18px;
  }
  .tb-card-content h5 {
    font-size: 1rem;
    margin-bottom: 4px;
    line-height: 1.3;
  }
  .tb-card-content p {
    font-size: 0.74rem;
    margin-bottom: 12px;
    -webkit-line-clamp: 2;
  }
  .tb-book-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    font-size: 0.82rem;
    padding: 11px 18px;
  }
}
@media (max-width: 575.98px) {
  .test-browser-section {
    padding: 30px 0 20px;
  }
  .tb-heading {
    font-size: 1.5rem;
  }
  .tb-cat-title {
    font-size: 1.3rem;
  }
  .tb-card {
    width: 72vw;
    max-width: 220px;
    min-width: 190px;
  }
  .tb-card-inner {
    aspect-ratio: 248 / 350;
    height: auto;
  }
  .tb-card-content {
    padding: 14px;
  }
  .tb-card-content h5 {
    font-size: 0.92rem;
  }
  .tb-card-content p {
    font-size: 0.7rem;
    margin-bottom: 10px;
  }
  .tb-book-btn {
    font-size: 0.78rem;
    padding: 9px 16px;
  }
}
/* ===== App Download Section (Banner) ===== */
/* ===== App Download Section (Banner) ===== */
/* ===== Ultra-Clean Luxury White Theme App Download Section ===== */
.app-download-section,
.app-download-section.ad-white-theme {
  background: transparent;
  overflow: hidden;
  position: relative;
  padding: 36px 0;
}
.app-download-section .ad-inner,
.app-download-section.ad-white-theme .ad-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.app-download-section .ad-banner,
.app-download-section.ad-white-theme .ad-banner {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  min-height: 480px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F5 100%) !important;
  border: 1px solid #FFE4E6 !important;
  border-radius: 28px !important;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(194, 33, 39, 0.08), 0 4px 20px rgba(0, 0, 0, 0.02) !important;
  isolation: isolate;
}

/* Ambient Soft Rose Glow */
.app-download-section .ad-glow-rose {
  position: absolute;
  width: 450px;
  height: 450px;
  top: -120px;
  right: -60px;
  background: radial-gradient(circle, rgba(194, 33, 39, 0.08) 0%, rgba(254, 205, 211, 0.15) 50%, transparent 80%);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}
.app-download-section .ad-glow-subtle {
  position: absolute;
  width: 300px;
  height: 300px;
  bottom: -60px;
  left: -50px;
  background: radial-gradient(circle, rgba(194, 33, 39, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

/* Left Content Column */
.app-download-section .ad-content {
  position: relative;
  z-index: 3;
  flex: 0 0 54%;
  max-width: 54%;
  padding: 44px 24px 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.app-download-section .ad-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 550px;
  width: 100%;
}

/* Badge Group & Rating */
.app-download-section .ad-badge-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.app-download-section .ad-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #FFF1F2 !important;
  color: #C22127 !important;
  -webkit-text-fill-color: #C22127 !important;
  font-family: 'Hanken Grotesk', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase;
  padding: 6px 16px !important;
  border: 1px solid #FECDD3 !important;
  border-radius: 50px !important;
  box-shadow: 0 2px 6px rgba(194, 33, 39, 0.06);
}
.app-download-section .ad-live-pulse {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.app-download-section .ad-rating-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

/* Heading */
.app-download-section .ad-heading {
  font-family: 'Hanken Grotesk', sans-serif !important;
  font-size: 38px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.6px !important;
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
  margin: 0;
}
.app-download-section .ad-heading-red {
  color: #C22127 !important;
  -webkit-text-fill-color: #C22127 !important;
}
.app-download-section .ad-desc {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  margin: 0;
}

/* 2x2 Feature Chips Grid */
.app-download-section .ad-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  margin: 4px 0 6px;
}
.app-download-section .ad-feat-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}
.app-download-section .ad-feat-chip:hover {
  background: #FFF1F2;
  border-color: #FECDD3;
  transform: translateY(-2px);
}
.app-download-section .ad-chip-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #FFF1F2;
  color: #C22127;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* Action Row (Buttons + QR Box) */
.app-download-section .ad-action-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-top: 8px;
  flex-wrap: wrap;
}
.app-download-section .ad-store-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 190px;
}
.app-download-section .ad-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0F172A;
  color: #FFFFFF !important;
  text-decoration: none !important;
  border-radius: 14px;
  padding: 10px 20px;
  border: 1px solid #0F172A;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}
.app-download-section .ad-store-btn:hover {
  background: #C22127;
  border-color: #C22127;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(194, 33, 39, 0.3);
}
.app-download-section .ad-store-icon {
  font-size: 1.5rem;
  color: #FFFFFF;
}

/* QR Code Card */
.app-download-section .ad-qr-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.app-download-section .ad-qr-img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #FFFFFF;
  padding: 2px;
  border: 1px solid #F1F5F9;
  object-fit: contain;
}
.app-download-section .ad-qr-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.app-download-section .ad-qr-info strong {
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
}
.app-download-section .ad-qr-info small {
  font-size: 11px;
  color: #64748B;
  margin-top: 2px;
}

/* Right Phone Stage & Floating Stat Badges */
.app-download-section .ad-phone-panel {
  position: relative;
  z-index: 3;
  flex: 0 0 46%;
  max-width: 46%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 40px 24px 0;
}
.app-download-section .ad-phone-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-download-section .ad-phone-stage::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(194, 33, 39, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  filter: blur(40px);
}
.app-download-section .ad-phone-combined {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 500px;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(15, 23, 42, 0.12));
  transition: transform 0.4s ease;
}
.app-download-section .ad-banner:hover .ad-phone-combined {
  transform: translateY(-8px) scale(1.02);
}

/* Floating White Stat Badges */
.app-download-section .ad-float-badge {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  animation: floatBadge 4s ease-in-out infinite;
}
.app-download-section .ad-float-top-left {
  top: 20px;
  left: -15px;
}
.app-download-section .ad-float-bottom-right {
  bottom: 20px;
  right: 0px;
  animation-delay: 2s;
}
.app-download-section .ad-fb-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #FFF1F2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.app-download-section .ad-float-badge strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.2;
}
.app-download-section .ad-float-badge small {
  display: block;
  font-size: 11px;
  color: #64748B;
}

/* Responsive White Theme */
@media (max-width: 1199.98px) {
  .app-download-section .ad-content {
    padding: 40px 20px 40px 36px;
  }
  .app-download-section .ad-heading {
    font-size: 32px !important;
  }
  .app-download-section .ad-phone-combined {
    max-width: 420px;
  }
  .app-download-section .ad-float-top-left {
    left: 0;
  }
}

@media (max-width: 991.98px) {
  .app-download-section .ad-banner {
    flex-direction: column;
    height: auto;
    min-height: auto;
  }
  .app-download-section .ad-content {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 36px 24px;
  }
  .app-download-section .ad-phone-panel {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 24px 36px 24px;
    min-height: 340px;
  }
  .app-download-section .ad-phone-combined {
    max-width: 360px;
  }
  .app-download-section .ad-feature-grid {
    grid-template-columns: 1fr;
  }
}

  .ad-phone-combined {
    max-width: 400px;
  }

  .ad-pagination-indicator {
    display: none;
  }
}

/* ============================================================
   MOBILE (≤ 767.98px) — matches Figma mobile spec exactly:
   402px frame, diagonal white→red gradient, stacked content
   (badge → heading → desc → store buttons) then the phone
   mockup image hugging the bottom-right red diagonal.
   ============================================================ */
@media (max-width: 767.98px) {
  .ad-inner {
    padding: 0 16px;
  }

  .ad-banner {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    min-height: 431px;
    padding: 24px 25px 24px 26px;
    gap: 10px;
    border-radius: 8px;
    background: linear-gradient(
      153.93deg,
      #FFFFFF 24.44%,
      #FFFFFF 49.74%,
      #FFFFFF 50.11%,
      #D8787D 51.12%,
      #BD1922 51.51%,
      #FC1E27 56.56%
    );
  }

  .ad-content {
    width: 100%;
    flex: none;
    padding: 0;
    order: 1;
    justify-content: flex-start;
  }

  .ad-text-wrapper {
    gap: 9px;
    max-width: 100%;
  }

  .ad-badge {
    font-size: 0.68rem;
    letter-spacing: 1.2px;
    padding: 0 13px 0 10px;
    height: 27px;
    gap: 8px;
    border-radius: 9px;
  }

  .ad-heading {
    font-size: 18px;
    line-height: 20px;
    letter-spacing: -0.96px;
    max-width: 100%;
  }

  .ad-desc {
    font-size: 11px;
    line-height: 15px;
    margin: 6px 0 0;
    max-width: 100%;
  }

  .ad-store-buttons {
    gap: 12px;
    margin-top: 14px;
    max-width: 244px;
    flex-wrap: nowrap;
  }

  .ad-store-btn {
    flex: 1 1 auto;
    min-width: 0;
    height: 34px;
    padding: 0 10px;
    font-size: 0.58rem;
    gap: 6px;
    border-radius: 6px;
  }

  .ad-store-icon {
    font-size: 1rem;
  }

  .ad-store-btn small {
    font-size: 0.48rem;
  }

  .ad-phone-panel {
    width: 100%;
    flex: none;
    padding: 0;
    margin-top: 6px;
    min-height: auto;
    order: 2;
    justify-content: center;
    align-items: flex-end;
  }

  .ad-phone-combined {
    width: 100%;
    max-width: 380px;
    max-height: 280px;
    margin: 0 auto;
  }

  .ad-pagination-indicator {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .app-download-section {
    padding: 24px 0;
  }

  .ad-banner {
    padding: 20px 18px;
    min-height: 400px;
  }

  .ad-heading {
    font-size: 16px;
    line-height: 18px;
  }

  .ad-desc {
    font-size: 10px;
    line-height: 13px;
  }

  .ad-badge {
    font-size: 0.6rem;
    padding: 0 10px;
    height: 26px;
  }

  .ad-store-btn {
    font-size: 0.52rem;
    padding: 0 8px;
  }

  .ad-store-btn small {
    font-size: 0.44rem;
  }

  .ad-phone-combined {
    max-width: 320px;
    max-height: 240px;
  }
}
/* ===== Hero Diagnostics Section ===== */
.hdx-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 30px 0;
  width: 100%;
  min-height: auto;
  background: #FFF7F7;
  box-sizing: border-box;
}

.hdx-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: auto;
}

/* ===== Left Content ===== */
.hdx-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex: 1 1 780px;
  max-width: 780px;
}

.hdx-badge {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  padding: 4px 12px;
  gap: 6px;
  background: linear-gradient(180deg, #BD1922 0%, #FC1E27 100%);
  box-shadow: 0px 2px 8px rgba(189, 25, 34, 0.25);
  border-radius: 9999px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hdx-badge:hover {
  transform: translateY(-1px) scale(1.02);
}

.hdx-badge-icon {
  color: #fff;
  font-size: 12px;
}

.hdx-badge span {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 11.5px;
  line-height: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #FFFFFF;
}

.hdx-heading-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.hdx-heading {
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.6px;
  color: #0F172A;
  margin: 0;
  width: 100%;
}

.hdx-heading-red {
  color: #E11D26;
  background: linear-gradient(180deg, #BD1922 0%, #FC1E27 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hdx-desc {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14.5px;
  line-height: 22px;
  color: #475569;
  margin: 0;
  max-width: 660px;
}

/* Trust Badges */
.hdx-trust-badges {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.hdx-trust-pill {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  padding: 6px 14px;
  gap: 7px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.03);
  border-radius: 9999px;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.hdx-trust-pill:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.07);
  border-color: #CBD5E1;
}

.hdx-trust-icon {
  font-size: 15px;
  flex-shrink: 0;
}

.hdx-trust-pill span {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  line-height: 18px;
  letter-spacing: 0.3px;
  color: #1E293B;
}

/* CTAs */
.hdx-ctas {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 4px;
  width: 100%;
}

.hdx-btn-primary {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  gap: 8px;
  background: linear-gradient(180deg, #BD1922 0%, #FC1E27 100%);
  border-radius: 9999px;
  box-shadow: 0px 4px 12px rgba(189, 25, 34, 0.25);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.4px;
  color: #FFFFFF;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.hdx-btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0px 8px 20px rgba(189, 25, 34, 0.35);
}

.hdx-btn-primary i {
  font-size: 13px;
  transition: transform 0.2s ease;
}

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

.hdx-btn-secondary {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.4px;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hdx-btn-secondary:hover {
  background: #FFF1F2;
  border-color: #FECDD3;
  transform: translateY(-2px);
}

.hdx-btn-secondary i {
  color: #BD1922;
  font-size: 14px;
}

.hdx-btn-secondary span {
  color: #BD1922;
}

/* ===== Right Content: Booking Card ===== */
.hdx-right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 460px;
  max-width: 460px;
  flex-shrink: 0;
}

/* ===== Entrance & Glow Animations ===== */
@keyframes hdxGlowPulse {
  0%, 100% { opacity: 0.45; transform: scale(0.97); filter: blur(22px); }
  50% { opacity: 0.85; transform: scale(1.04); filter: blur(30px); }
}

@keyframes hdxSlideLeft {
  0% { opacity: 0; transform: translateX(-40px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes hdxSlideRight {
  0% { opacity: 0; transform: translateX(40px) scale(0.95); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes hdxChipPop {
  0% { opacity: 0; transform: scale(0.75); }
  70% { transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}

.hdx-card-glow {
  position: absolute;
  left: -14px;
  right: -14px;
  top: -14px;
  bottom: -14px;
  background: radial-gradient(circle, rgba(225, 29, 38, 0.16) 0%, rgba(248, 240, 240, 0.04) 70%);
  border-radius: 28px;
  z-index: 0;
  animation: hdxGlowPulse 4s ease-in-out infinite;
  pointer-events: none;
}

.hdx-section:not(.hdx-animated) .hdx-badge,
.hdx-section:not(.hdx-animated) .hdx-heading-block,
.hdx-section:not(.hdx-animated) .hdx-trust-badges,
.hdx-section:not(.hdx-animated) .hdx-ctas,
.hdx-section:not(.hdx-animated) .hdx-right {
  opacity: 0;
}

.hdx-animated .hdx-badge {
  animation: hdxSlideLeft 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hdx-animated .hdx-heading-block {
  animation: hdxSlideLeft 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.hdx-animated .hdx-trust-badges {
  animation: hdxSlideLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both;
}

.hdx-animated .hdx-ctas {
  animation: hdxSlideLeft 1.25s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both;
}

.hdx-animated .hdx-right {
  animation: hdxSlideRight 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.hb-selected-chip {
  animation: hdxChipPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ===== HDX Quick Booking Card Redesign ===== */
.hdx-card {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 26px;
  gap: 20px;
  width: 100%;
  background: linear-gradient(145deg, #FFFFFF 0%, #FFF9F9 55%, #FBF0F0 100%);
  border: 1px solid rgba(194, 33, 39, 0.14);
  box-shadow: 0 20px 45px -12px rgba(194, 33, 39, 0.09), 0 2px 6px rgba(0, 0, 0, 0.02);
  border-radius: 24px;
  z-index: 1;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: visible !important;
}

.hdx-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #C22127 0%, #E11D48 50%, #BD1922 100%);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

.hdx-card:hover {
  transform: translateY(-4px);
  border-color: rgba(194, 33, 39, 0.25);
  box-shadow: 0 28px 56px -12px rgba(194, 33, 39, 0.16), 0 4px 12px rgba(0, 0, 0, 0.04);
}

@keyframes hdxHighlightPulse {
  0% { box-shadow: 0 0 0 0 rgba(194, 33, 39, 0.6); border-color: #C22127; transform: scale(1); }
  50% { box-shadow: 0 0 0 16px rgba(194, 33, 39, 0.2); border-color: #C22127; transform: scale(1.02); }
  100% { box-shadow: 0 20px 45px -12px rgba(194, 33, 39, 0.09); transform: scale(1); }
}

.hdx-highlight-pulse {
  animation: hdxHighlightPulse 1.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hdx-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
}

.hdx-card-title-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  width: 100%;
  flex-wrap: wrap;
}

.hdx-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(194, 33, 39, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C22127;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.hdx-card:hover .hdx-icon-badge {
  transform: scale(1.1) rotate(-8deg);
  background: #C22127;
  color: #FFFFFF;
}

.hdx-card-icon {
  font-size: 18px;
  color: inherit;
}

.hdx-card-title {
  font-family: 'Hanken Grotesk', 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 21px;
  line-height: 26px;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.3px;
}

.hdx-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #059669;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  margin-left: auto;
}

.hdx-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
  animation: hdxLivePulse 1.8s infinite;
}

@keyframes hdxLivePulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hdx-card-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13.5px;
  line-height: 20px;
  color: #64748B;
  margin: 0;
  width: 100%;
}

/* Form */
.hdx-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.hdx-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  width: 100%;
}

.hdx-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hdx-label {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  line-height: 18px;
  letter-spacing: 0.4px;
  color: #1E293B;
  text-transform: uppercase;
}

.hdx-label-badge {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #C22127;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* Input Fields styling */
.hb-test-wrapper, .hb-location-wrapper {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.hb-test-input, .hdx-input {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  padding: 12px 38px 12px 42px;
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 12px !important;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #0F172A !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.hb-test-input::placeholder, .hdx-input::placeholder {
  color: #94A3B8 !important;
  font-weight: 400;
}

.hb-test-input:focus, .hdx-input:focus {
  outline: none !important;
  border-color: #C22127 !important;
  box-shadow: 0 0 0 4px rgba(194, 33, 39, 0.12) !important;
  background: #FFFFFF !important;
}

.hb-input-icon-left, .hdx-input-icon i.location-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #C22127 !important;
  font-size: 16px;
  z-index: 2;
  pointer-events: none;
}

.hb-test-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 14px;
  transition: transform 0.25s ease, color 0.25s ease;
  pointer-events: none;
}

.hb-test-wrapper.is-open .hb-test-chevron {
  transform: translateY(-50%) rotate(180deg);
  color: #C22127;
}

/* Submit Button */
.hdx-submit-wrapper {
  padding-top: 6px;
  width: 100%;
}

.hdx-submit-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 14px 20px;
  gap: 10px;
  width: 100%;
  height: 50px;
  background: linear-gradient(135deg, #C22127 0%, #E11D48 50%, #BD1922 100%);
  border: none;
  border-radius: 14px;
  box-shadow: 0 8px 20px -2px rgba(194, 33, 39, 0.35);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0.3px;
  color: #FFFFFF !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hdx-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.hdx-submit-btn:hover::before {
  left: 140%;
}

.hdx-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -2px rgba(194, 33, 39, 0.45);
}

.hdx-submit-btn .btn-icon {
  font-size: 17px;
  transition: transform 0.3s ease;
}

.hdx-submit-btn:hover .btn-icon {
  transform: scale(1.15) rotate(-6deg);
}

.hdx-divider-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 6px 0;
}

.hdx-divider-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(194, 33, 39, 0.05), rgba(194, 33, 39, 0.25), rgba(194, 33, 39, 0.05));
}

.hdx-divider-text {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #C22127;
  text-transform: uppercase;
  background: #FFFFFF;
  padding: 3px 12px;
  border: 1px solid rgba(194, 33, 39, 0.2);
  border-radius: 99px;
  box-shadow: 0 2px 6px rgba(194, 33, 39, 0.08);
}

/* Secondary Actions (Bottom Cards) */
.hdx-secondary-actions {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

.hdx-secondary-btn {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px 14px;
  gap: 12px;
  flex: 1;
  background: #FFFFFF;
  border: 1.5px solid rgba(194, 33, 39, 0.12);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.hdx-secondary-btn:hover {
  border-color: #C22127;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F5 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(194, 33, 39, 0.15);
}

.hdx-sec-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(194, 33, 39, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C22127;
  flex-shrink: 0;
  font-size: 16px;
  transition: all 0.3s ease;
}

.hdx-secondary-btn:hover .hdx-sec-icon-circle {
  background: #C22127;
  color: #FFFFFF;
  transform: scale(1.08);
}

.hdx-sec-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.hdx-sec-text strong {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  line-height: 16px;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hdx-sec-text small {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  line-height: 14px;
  color: #64748B;
  white-space: nowrap;
}

.hdx-secondary-btn span {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #151C27;
}

.hdx-secondary-btn span {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  background: linear-gradient(180deg, #BD1922 0%, #FC1E27 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Responsive ===== */
@media (max-width: 1199.98px) {
  .hdx-container {
    gap: 30px;
  }
  .hdx-heading {
    font-size: 28px;
    line-height: 36px;
  }
  .hdx-right {
    width: 420px;
  }
}

@media (max-width: 991.98px) {
  .hdx-section {
    padding: 40px 24px;
  }
  .hdx-container {
    flex-direction: column;
    min-height: auto;
  }
  .hdx-section {
    min-height: auto;
  }
  .hdx-left {
    flex: none;
    width: 100%;
    max-width: 100%;
  }
  .hdx-right {
    width: 100%;
    max-width: 500px;
  }
  .hdx-heading {
    font-size: 26px;
    line-height: 34px;
  }
}

/* ============================================================
   MOBILE (≤ 767.98px) — matches the 402px Figma mobile spec
   exactly: compact badge, 18px heading, scrollable trust-badge
   row, fixed-width side-by-side CTAs, and a tightened booking
   card (smaller title/subtitle/inputs/buttons).
   ============================================================ */
@media (max-width: 767.98px) {
  .hdx-section {
    padding: 32px 25px;
  }

  .hdx-container {
    gap: 22px;
  }

  .hdx-left {
    gap: 12px;
  }

  /* ---- Badge ---- */
  .hdx-badge {
    padding: 4px 12px;
    height: 24px;
  }

  /* ---- Heading block ---- */
  .hdx-heading-block {
    gap: 16px;
  }

  .hdx-heading {
    font-size: 18px;
    line-height: 19px;
    letter-spacing: -1.12px;
  }

  .hdx-desc {
    font-size: 12px;
    line-height: 16px;
    max-width: 100%;
  }

  /* ---- Trust badges: single scrollable row ---- */
  .hdx-trust-badges {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 2px;

    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .hdx-trust-badges::-webkit-scrollbar {
    display: none;
    height: 0;
  }

  .hdx-trust-pill {
    flex: none;
    padding: 9px 11px;
    height: 36px;
  }

  .hdx-trust-icon {
    font-size: 16px;
  }

  .hdx-trust-pill span {
    font-size: 10px;
    line-height: 20px;
  }

  /* ---- CTAs: content-sized, side-by-side, left aligned ---- */
  .hdx-ctas {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 12px;
    padding-top: 6px;
  }

  .hdx-btn-primary,
  .hdx-btn-secondary {
    width: auto;
    flex: 0 0 auto;
    padding: 10px 18px;
    height: 36px;
    font-size: 0.78rem;
    letter-spacing: 0.4px;
  }

  .hdx-btn-primary i,
  .hdx-btn-secondary i {
    font-size: 12px;
  }

  /* ---- Booking card ---- */
  .hdx-right {
    width: 100%;
  }

  .hdx-card {
    padding: 22px 24px 20px;
    gap: 17px;
  }

  .hdx-card-header {
    gap: 4px;
  }

  .hdx-card-icon {
    font-size: 18px;
  }

  .hdx-card-title {
    font-size: 14px;
    line-height: 32px;
  }

  .hdx-card-subtitle {
    font-size: 12px;
    line-height: 24px;
  }

  .hdx-form {
    gap: 16px;
  }

  .hdx-label {
    font-size: 14px;
  }

  .hdx-select {
    height: 44px;
    padding: 12px 40px 12px 16px;
    font-size: 12px;
  }

  .hdx-input-icon {
    height: 42px;
  }

  .hdx-input {
    height: 42px;
    padding: 12px 16px 12px 44px;
    font-size: 12px;
    line-height: 15px;
  }

  .hdx-input-icon i {
    font-size: 13px;
  }

  .hdx-submit-wrapper {
    padding-top: 16px;
  }

  .hdx-submit-btn {
    height: 44px;
    font-size: 10px;
  }

  .hdx-submit-btn i {
    font-size: 13px;
  }

  .hdx-secondary-actions {
    gap: 16px;
  }

  .hdx-secondary-btn {
    padding: 14px 10px;
    gap: 8px;
    min-height: 65px;
  }

  .hdx-secondary-icon {
    font-size: 16px;
  }

  .hdx-secondary-btn span {
    font-size: 12px;
  }
}

@media (max-width: 575.98px) {
  .hdx-section {
    padding: 28px 20px;
  }
  .hdx-card {
    padding: 20px 18px;
  }
}


/* ===== Health Packages Section ===== */
.hp-section {
  background: #FFFFFF;
  padding: 40px 0 28px;
}
.hp-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
/* Header */
.hp-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.hp-header-left {
  max-width: 692px;
}
.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #BD1922 0%, #FC1E27 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.hp-eyebrow i {
  color: #BD1922;
  font-size: 14px;
  -webkit-text-fill-color: #BD1922;
}
.hp-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: #281718;
  margin: 0 0 4px;
}
.hp-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.45;
  color: #5C3F40;
  margin: 0;
  max-width: 580px;
}
/* Header right: link + tabs + arrows */
.hp-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  flex-shrink: 0;
}
.hp-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(90deg, #BD1922 0%, #FC1E27 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}
.hp-view-all i {
  color: #BD1922;
  font-size: 12px;
  -webkit-text-fill-color: #BD1922;
}
.hp-controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.hp-tabs {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.hp-tabs::-webkit-scrollbar {
  display: none;
}
.hp-tab {
  flex: 0 0 auto;
  padding: 6px 16px;
  background: #F8F0F0;
  border: 1px solid #BD1922;
  border-radius: 9999px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  color: #5D3F3C;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.hp-tab:hover {
  background: #f3e4e3;
}
.hp-tab-active {
  background: linear-gradient(90deg, #BA0013 0%, #FC1E27 100%);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
}
.hp-carousel-arrows {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.hp-arrow {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 9999px;
  background: linear-gradient(180deg, #BD1922 0%, #FC1E27 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.hp-arrow:hover {
  transform: translateY(-1px);
}
/* Card track */
.hp-track-wrapper {
  width: 100%;
  overflow: hidden;
}
.hp-track {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 6px 4px 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hp-track::-webkit-scrollbar {
  display: none;
}
/* ===== CONCEPT 5: APPLE WATCH / TESLA 3D ORBIT DIAL HUB ===== */
.hp-orbit-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  position: relative;
  width: 100%;
}

.hp-orbit-dial-wrap {
  position: relative;
  width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFF8F8 0%, #FFFFFF 50%, #FFF0F0 100%);
  border: 1px solid rgba(225, 29, 38, 0.18);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(225, 29, 38, 0.06);
  padding: 10px 24px;
  overflow: hidden;
  box-sizing: border-box;
}

.hp-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(225, 29, 38, 0.2);
  pointer-events: none;
}

.hp-orbit-ring-outer {
  width: 550px;
  height: 550px;
  top: -220px;
}

.hp-orbit-ring-inner {
  width: 360px;
  height: 360px;
  top: -120px;
  border-style: dotted;
}

.hp-orbit-center {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #FFFFFF;
  border: 1.5px solid #E11D26;
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(225, 29, 38, 0.18);
  z-index: 10;
  flex-shrink: 0;
}

.hp-orbit-core-pulse {
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border-radius: 9999px;
  border: 1px solid rgba(225, 29, 38, 0.5);
  animation: hubPulse 2s ease-out infinite;
}

.hp-orbit-center i {
  color: #E11D26;
  font-size: 16px;
  animation: beaconPulse 1.8s ease-out infinite;
}

.hp-orbit-core-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1px;
  color: #E11D26;
  white-space: nowrap;
}

.hp-orbit-nodes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  z-index: 5;
  margin-left: 14px;
}

.hp-orbit-node {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #374151;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hp-orbit-node i {
  font-size: 13px;
  color: #E11D26;
  transition: transform 0.25s ease;
}

.hp-node-pulse {
  position: absolute;
  top: -3px; left: -3px; right: -3px; bottom: -3px;
  border-radius: 9999px;
  border: 1px solid rgba(225, 29, 38, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hp-orbit-node:hover {
  border-color: #F0B7BB;
  background: #FFF5F5;
  color: #E11D26;
  transform: translateY(-3px) scale(1.05);
}

.hp-orbit-node:hover i {
  transform: scale(1.2);
}

.hp-node-active {
  background: linear-gradient(135deg, #E11D26 0%, #FF3B44 100%) !important;
  border-color: transparent !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(225, 29, 38, 0.38) !important;
  transform: translateY(-2px) scale(1.05) !important;
}

.hp-node-active i {
  color: #FFFFFF !important;
}

.hp-node-active .hp-node-pulse {
  opacity: 1;
  animation: hubPulse 1.8s ease-out infinite;
}

.hp-orbit-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.8px;
  color: #E11D26;
  background: #FFF5F5;
  padding: 5px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(225, 29, 38, 0.2);
}

/* 3D ORGAN DIAGNOSTIC SCANNER DOCK */
.hp-organ-dock {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #FFF8F8 0%, #FFFFFF 100%);
  border: 1px solid rgba(225, 29, 38, 0.15);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(225, 29, 38, 0.04);
}

.hp-dock-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1.2px;
  color: #E11D26;
  text-transform: uppercase;
}

.hp-dock-label i {
  font-size: 14px;
  animation: beaconPulse 1.8s ease-out infinite;
}

.hp-organ-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hp-organ-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  color: #374151;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hp-organ-pill i {
  font-size: 14px;
  color: #E11D26;
  transition: transform 0.25s ease;
}

.hp-organ-badge {
  padding: 2px 8px;
  background: #FFF0F0;
  border: 1px solid rgba(225, 29, 38, 0.15);
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 9.5px;
  color: #E11D26;
}

.hp-organ-pill:hover {
  background: #FFF5F5;
  border-color: #F0B7BB;
  transform: translateY(-2px);
  color: #E11D26;
}

.hp-organ-pill:hover i {
  transform: scale(1.2);
}

.hp-organ-pill-active {
  background: linear-gradient(135deg, #E11D26 0%, #FF3B44 100%) !important;
  border-color: transparent !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(225, 29, 38, 0.35) !important;
}

.hp-organ-pill-active i {
  color: #FFFFFF !important;
}

.hp-organ-pill-active .hp-organ-badge {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: transparent !important;
  color: #FFFFFF !important;
}

/* Card */
.hp-card {
  position: relative;
  flex: 0 0 auto;
  width: 300px;
  min-width: 300px;
  background: #FFFFFF;
  border: 1px solid rgba(225, 227, 228, 0.6);
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  padding: 18px 18px;
  gap: 16px;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  perspective: 1000px;
}

.hp-card:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
  border-color: rgba(225, 29, 38, 0.3);
  box-shadow: 0 16px 36px rgba(225, 29, 38, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.hp-match-beacon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: linear-gradient(135deg, #FFF5F5 0%, #FFEBEB 100%);
  border: 1px solid rgba(225, 29, 38, 0.25);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 11px;
  color: #E11D26;
  margin-bottom: 4px;
}

.hp-match-beacon i {
  font-size: 12px;
  animation: beaconPulse 1.5s ease-out infinite;
}

/* ORGAN COVERAGE BAR METER */
.hp-organ-meter {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: #FFF8F8;
  border: 1px dashed rgba(225, 29, 38, 0.2);
  border-radius: 10px;
}

.hp-meter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.6px;
  color: #717582;
  text-transform: uppercase;
}

.hp-meter-pct {
  color: #E11D26;
  font-weight: 800;
}

.hp-meter-bar {
  width: 100%;
  height: 6px;
  background: #E5E7EB;
  border-radius: 9999px;
  overflow: hidden;
}

.hp-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #E11D26 0%, #FF3B44 100%);
  border-radius: 9999px;
  transition: width 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hp-organ-icons-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #E11D26;
  padding-top: 2px;
}

.hp-organ-icons-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: transform 0.2s ease;
}

.hp-organ-icons-strip span:hover {
  transform: scale(1.25);
}
.hp-ribbon {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #BA0013;
  color: #FFFFFF;
  padding: 3px 10px;
  border-radius: 9999px;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 11px;
}
.hp-ribbon i {
  font-size: 9px;
}
.hp-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.hp-card-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hp-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 9px;
  border-radius: 4px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hp-tag-gold {
  background: #E5DFD0;
  color: #666356;
}
.hp-tag-gray {
  background: #E1E3E4;
  color: #5D3F3C;
}
.hp-card-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  color: #191C1D;
  margin: 0;
}
.hp-card-desc {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 12.5px;
  line-height: 1.45;
  color: #5D3F3C;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Includes grid */
.hp-includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(225, 227, 228, 0.6);
}
.hp-include-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #191C1D;
}
.hp-include-item i {
  color: #BA0013;
  font-size: 12px;
  flex-shrink: 0;
}
.hp-include-more {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #5D3F3C;
  grid-column: 2 / 3;
}
/* Pricing & actions */
.hp-pricing {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 2px;
}
.hp-price-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
}
.hp-price-group {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.hp-price {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.3px;
  color: #281718;
}
.hp-mrp {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #5C3F40;
  text-decoration: line-through;
}
.hp-discount {
  background: #55AE36;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 2px;
  white-space: nowrap;
}
.hp-premium-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #5C3F40;
}
.hp-premium-note i {
  color: #BD1922;
  font-size: 11px;
}
.hp-actions {
  display: flex;
  flex-direction: row;
  gap: 8px;
}
.hp-btn-outline {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  background: #FFFFFF;
  border: 1px solid #BD1922;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #BD1922;
  text-decoration: none;
  transition: background 0.15s ease;
}
.hp-btn-outline:hover {
  background: #FDF2F2;
  color: #BD1922;
}
.hp-btn-solid {
  flex: 1;
  text-align: center;
  padding: 9px 0;
  background: linear-gradient(90deg, #BD1922 0%, #FC1E27 100%);
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
  border-radius: 9px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #FFFFFF;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.hp-btn-solid:hover {
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .hp-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .hp-header-right {
    align-items: flex-start;
    width: 100%;
  }
  .hp-controls {
    width: 100%;
    justify-content: space-between;
  }
  .hp-heading {
    font-size: 26px;
  }
}

/* ============================================================
   MOBILE (≤ 767.98px) — matches the 402px Figma mobile spec
   and screenshot exactly: compact header stack, right-aligned
   "View all" link, scrollable pill tabs + arrows row, and a
   tightened single-card-per-view carousel.
   ============================================================ */
@media (max-width: 767.98px) {
  .hp-section {
    padding: 28px 0 24px;
    margin: 24px 0;
  }

  .hp-inner {
    padding: 0 20px;
  }

  /* ---- Header ---- */
  .hp-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
  }

  .hp-header-left {
    max-width: 100%;
  }

  .hp-eyebrow {
    font-size: 11px;
    letter-spacing: 1.2px;
    gap: 6px;
    margin-bottom: 6px;
  }

  .hp-eyebrow i {
    font-size: 11px;
  }

  .hp-heading {
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.3px;
    margin: 0 0 6px;
  }

  .hp-desc {
    font-size: 12px;
    line-height: 1.45;
    max-width: 100%;
  }

  .hp-header-right {
    align-items: flex-start;
    width: 100%;
    gap: 10px;
  }

  .hp-view-all {
    font-size: 12px;
    margin-bottom: 2px;
  }

  .hp-view-all i {
    font-size: 11px;
  }

  .hp-controls {
    width: 100%;
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* ---- Tabs: scrollable pill row with increased width ---- */
  .hp-tabs {
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .hp-tab {
    padding: 8px 18px;
    font-size: 11px;
    line-height: 16px;
    flex: 0 0 auto;
    min-width: max-content;
  }

  /* Arrows already sized to 31px in the base rules — matches Figma exactly */
  .hp-carousel-arrows {
    gap: 8px;
  }

  /* ---- Card track: single card per view, scrollable ---- */
  .hp-track {
    gap: 16px;
    padding: 8px 20px 16px 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    scroll-padding: 0;
  }

  .hp-track::-webkit-scrollbar {
    display: none;
    height: 0;
  }

  .hp-card {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    padding: 20px 18px;
    gap: 20px;
    border-radius: 16px;
    margin: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    flex-shrink: 0;
  }

  .hp-ribbon {
    right: 14px;
    top: 14px;
    font-size: 11px;
    padding: 4px 10px;
  }

  .hp-ribbon i {
    font-size: 9px;
  }

  /* Organ Match Beacon spacing fix for ribbon collision */
  .hp-match-beacon {
    max-width: calc(100% - 90px);
    box-sizing: border-box;
    font-size: 10px;
    padding: 3px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ---- Concept 5 3D Orbit Dial Hub Mobile Fixes ---- */
  .hp-orbit-stage {
    gap: 10px;
    margin-bottom: 20px;
  }

  .hp-orbit-dial-wrap {
    height: auto;
    min-height: unset;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    gap: 12px;
    border-radius: 18px;
  }

  .hp-orbit-ring-outer {
    width: 320px;
    height: 320px;
    top: -120px;
  }

  .hp-orbit-ring-inner {
    width: 220px;
    height: 220px;
    top: -70px;
  }

  .hp-orbit-center {
    padding: 6px 14px;
  }

  .hp-orbit-core-title {
    font-size: 10px;
  }

  .hp-orbit-nodes {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 4px 2px 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .hp-orbit-nodes::-webkit-scrollbar {
    display: none;
  }

  .hp-orbit-node {
    padding: 6px 12px;
    font-size: 11px;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .hp-orbit-status-tag {
    font-size: 10px;
    padding: 6px 12px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }

  .hp-card-body {
    gap: 18px;
  }

  .hp-card-top {
    gap: 10px;
  }

  .hp-tag {
    font-size: 10px;
    padding: 4px 10px;
  }

  .hp-card-title {
    font-size: 17px;
    line-height: 1.3;
  }

  .hp-card-desc {
    font-size: 13px;
    line-height: 1.5;
  }

  .hp-includes {
    gap: 10px 8px;
    padding-top: 16px;
  }

  .hp-include-item {
    font-size: 12px;
    gap: 6px;
  }

  .hp-include-item i {
    font-size: 12px;
  }

  .hp-include-more {
    font-size: 10px;
  }

  .hp-pricing {
    gap: 12px;
    padding-top: 2px;
  }

  .hp-price {
    font-size: 20px;
  }

  .hp-mrp {
    font-size: 12px;
  }

  .hp-discount {
    font-size: 10px;
    padding: 3px 7px;
  }

  .hp-premium-note {
    font-size: 11px;
  }

  .hp-actions {
    gap: 8px;
  }

  .hp-btn-outline,
  .hp-btn-solid {
    font-size: 13px;
    padding: 9px 0;
  }
}

@media (max-width: 575.98px) {
  .hp-section {
    padding: 20px 0 18px;
  }
  .hp-inner {
    padding: 0 16px;
  }
  .hp-heading {
    font-size: 15px;
    line-height: 19px;
  }
  .hp-track {
    gap: 16px;
    padding: 8px 16px 16px 16px;
  }
  .hp-card {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    margin: 0;
  }
}

/* ===== Booking Steps Section ===== */
.bks-section {
  display: flex;
  align-items: flex-start;
  padding: 24px 0;
  width: 100%;
  background: #F8F0F0;
  box-sizing: border-box;
}
.bks-container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 420px;
  background: #F8F0F0;
  border-radius: 20px;
  overflow: hidden;
}

/* ===== Left Content ===== */
.bks-left {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex: 1 1 580px;
  max-width: 580px;
  padding: 0 32px;
  isolation: isolate;
  overflow: hidden;
}
.bks-left-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.bks-left-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #F8F0F0 0%,
    rgba(248, 240, 240, 0.8) 50%,
    rgba(242, 244, 246, 0) 100%
  );
  z-index: 1;
}
.bks-left-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}
.bks-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #B1002C;
}
.bks-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  height: 28px;
  background: linear-gradient(90deg, #DD1C25 0%, #7E141D 49.99%, #FC1E27 100%);
  border: 1px solid rgba(177, 0, 44, 0.1);
  box-shadow: 0px 8px 32px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(12px);
  border-radius: 8px;
}
.bks-badge-dot {
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-radius: 12px;
  flex-shrink: 0;
}
.bks-badge span:last-child {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 11.5px;
  line-height: 18px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #FFFFFF;
  white-space: nowrap;
}
.bks-heading {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -0.5px;
  color: #191C1E;
  margin: 6px 0 0;
  width: 100%;
}
.bks-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13.5px;
  line-height: 20px;
  color: #5C3F3F;
  margin: 4px 0 0;
  max-width: 440px;
}

/* ===== Right Content: Glass Grid ===== */
.bks-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex: 1 1 680px;
  padding: 0 28px;
  background: #F8F0F0;
  overflow: hidden;
}
.bks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}
.bks-card {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 16px;
  min-height: 165px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0px 6px 24px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
}
.bks-card-number {
  position: absolute;
  right: -6px;
  top: -6px;
  z-index: 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 84px;
  line-height: 84px;
  background: linear-gradient(180deg, rgba(220, 20, 60, 0.19) 0%, rgba(252, 30, 39, 0.19) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
  user-select: none;
}
.bks-card-top {
  position: relative;
  z-index: 1;
  padding-bottom: 10px;
}
.bks-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(180deg, #BD1922 0%, #FC1E27 100%);
  border-radius: 6px;
  color: #FFFFFF;
  font-size: 16px;
}
.bks-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.bks-card-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 22px;
  color: #191C1E;
  margin: 0;
}
.bks-card-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12.5px;
  line-height: 18px;
  color: #5C3F3F;
  margin: 0;
}

/* ===== Responsive: Desktop shrink (1024–1199px) ===== */
@media (max-width: 1199.98px) {
  .bks-heading {
    font-size: 38px;
    line-height: 44px;
  }
  .bks-card-title {
    font-size: 20px;
    line-height: 26px;
  }
  .bks-card-number {
    font-size: 90px;
    line-height: 90px;
  }
}

/* ===== Display toggle: desktop section vs. mobile/tablet section =====
   Desktop markup (.bks-desktop-only) and the mobile/tablet markup
   (.bksm-section) are two completely independent DOM trees. Only one
   is ever visible, so there is no shared-class breakpoint interference
   between them (this is what caused the undimmed/oversized background
   bug at tablet widths previously). */
.bksm-section {
  display: none;
}

@media (max-width: 1023.98px) {
  .bks-desktop-only {
    display: none;
  }
  .bksm-section {
    display: block;
  }
}

/* ============================================================
   MOBILE / TABLET (≤ 1023.98px) — independent "bksm-" namespace
   Rounded 24px shared background behind text + cards, single
   dim overlay wash, cards as a one-at-a-time horizontal scroll.
   ============================================================ */
.bksm-section {
  width: 100%;
  padding: 0 25px 0 26px;
  background: #F8F0F0;
  box-sizing: border-box;
}

.bksm-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  background-color: #F8F0F0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-sizing: border-box;
}

.bksm-overlay {
  position: absolute;
  inset: 0;
  background: rgba(248, 240, 240, 0.86);
  z-index: 0;
}

.bksm-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 20px 0;
}

.bksm-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 12px;
  line-height: 17px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #B1002C;
}

.bksm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 34px;
  max-width: 100%;
  background: linear-gradient(90deg, #DD1C25 0%, #7E141D 49.99%, #FC1E27 100%);
  border: 1px solid rgba(177, 0, 44, 0.1);
  box-shadow: 0px 8px 32px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(12px);
  border-radius: 9px;
  box-sizing: border-box;
}

.bksm-badge-dot {
  width: 8px;
  height: 8px;
  background: #FFFFFF;
  border-radius: 12px;
  flex-shrink: 0;
}

.bksm-badge span:last-child {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #FFFFFF;
  white-space: nowrap;
}

.bksm-heading {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: -0.4px;
  color: #191C1E;
  margin: 0;
  width: 100%;
}

.bksm-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #5C3F3F;
  margin: 2px 0 0;
  max-width: 100%;
}

/* ---- Grid: horizontal scroll, ONE card visible at a time ---- */
.bksm-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  gap: 16px;
  width: 100%;
  padding: 12px 20px 16px;
  box-sizing: border-box;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.bksm-grid::-webkit-scrollbar {
  display: none;
  height: 0;
}

.bksm-card {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  flex: 0 0 100%;
  width: 100%;
  min-height: 190px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0px 8px 32px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(12px);
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.bksm-card-number {
  position: absolute;
  right: -9px;
  top: -9px;
  z-index: 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 120px;
  line-height: 120px;
  background: linear-gradient(180deg, rgba(220, 20, 60, 0.19) 0%, rgba(252, 30, 39, 0.19) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
  user-select: none;
}

.bksm-card-top {
  position: relative;
  z-index: 1;
  padding-bottom: 16px;
}

.bksm-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(180deg, #BD1922 0%, #FC1E27 100%);
  border-radius: 4px;
  color: #FFFFFF;
  font-size: 20px;
}

.bksm-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.bksm-card-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 31px;
  color: #191C1E;
  margin: 0;
}

.bksm-card-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #5C3F3F;
  margin: 0;
}

@media (max-width: 375.98px) {
  .bksm-section {
    padding: 0 16px;
  }
}

/* ===== Patient Stories Section (Desktop, ≥ 1024px) ===== */
.ps-section {
  background: #FFFFFF;
  padding: 24px 0;
}

.ps-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.ps-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.ps-header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 800px;
}

.ps-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: linear-gradient(90deg, #BD1922 0%, #FC1E27 100%);
  border-radius: 9999px;
}

.ps-badge i {
  color: #FFFFFF;
  font-size: 11px;
}

.ps-badge span {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: 11.5px;
  line-height: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #FFFFFF;
}

.ps-heading {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -0.5px;
  color: #031636;
  margin: 0;
}

.ps-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: linear-gradient(180deg, #BD1922 0%, #FC1E27 100%);
  border: 1px solid rgba(3, 22, 54, 0.2);
  border-radius: 9999px;
  box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease;
}

.ps-cta:hover {
  color: #fff;
  transform: translateY(-2px);
}

.ps-cta i {
  font-size: 12px;
}

/* Carousel layout */
.ps-carousel {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.ps-slot {
  flex: 0 1 380px;
  max-width: 380px;
  display: flex;
  align-items: flex-start;
}

.ps-slot-left,
.ps-slot-right {
  transform: translateY(-10px);
}

.ps-slot-center {
  z-index: 1;
}

/* Card — compact & sleek */
.ps-card {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  background: #F8F0F0;
  border: 1px solid rgba(197, 198, 207, 0.2);
  border-radius: 16px;
  box-shadow: 0px 6px 24px -8px rgba(0, 0, 0, 0.04);
  isolation: isolate;
  transition: transform 0.3s ease;
}

.ps-card-elevated {
  box-shadow: 0px 14px 30px -12px rgba(0, 0, 0, 0.08);
}

.ps-quote-mark {
  position: absolute;
  left: 16px;
  top: -24px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  color: #BD1922;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.ps-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ps-quote {
  padding-left: 14px;
  border-left: 3px solid #BD1922;
  font-family: 'Hanken Grotesk', sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 13.5px;
  line-height: 20px;
  color: #44474E;
  margin: 0;
  min-height: auto;
}

.ps-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 14px;
}

.ps-avatar-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-block;
}

.ps-avatar {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 2px solid #F5F3F6;
  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.1);
  border-radius: 9999px;
  background: #E2E2E5;
  display: block;
  font-size: 0;
  line-height: 0;
  color: transparent;
  overflow: hidden;
}

.ps-verified-dot {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 15px;
  height: 15px;
  background: #BD1922;
  border: 2px solid #F8F0F0;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.ps-verified-dot i {
  color: #FFFFFF;
  font-size: 8px;
}

.ps-author-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.ps-author-name {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  line-height: 17px;
  color: #031636;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  padding: 0;
}

.ps-author-role {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 10.5px;
  line-height: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #75777F;
  white-space: nowrap;
}

/* Dots — compact */
.ps-dots {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.ps-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #C5C6CF;
  opacity: 0.5;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.ps-dots:not(.ps-dots-dark):not(.ps-dots-gradient) .ps-dot-active {
  background: #BD1922;
  opacity: 1;
}

.ps-dots-dark .ps-dot-active {
  background: #031636;
  opacity: 1;
}

.ps-dots-gradient .ps-dot-active {
  background: linear-gradient(90deg, #BD1922 0%, #FC1E27 100%);
  opacity: 1;
}

/* ===== Responsive: Desktop shrink (1024–1199px) ===== */
@media (max-width: 1199.98px) {
  .ps-slot-left,
  .ps-slot-right {
    transform: translateY(-8px);
  }
  .ps-heading {
    font-size: 34px;
  }
}

/* ===== Display toggle: desktop section vs. mobile/tablet section =====
   Two independent DOM trees (.ps-section vs .psm-section) — only one
   is ever visible, so there's no shared-class breakpoint interference. */
.psm-section {
  display: none;
}

@media (max-width: 1023.98px) {
  .ps-section {
    display: none;
  }
  .psm-section {
    display: block;
  }
}

/* ============================================================
   MOBILE / TABLET (≤ 1023.98px) — independent "psm-" namespace
   Card internals (.ps-card, .ps-quote, .ps-author, .ps-dots*) are
   reused as-is — they already match the Figma mobile spec exactly.
   Only the outer layout, header, CTA and quote-mark size/rotation
   are mobile-specific.
   ============================================================ */
.psm-section {
  background: #FFFFFF;
  padding: 33px 26px;
  box-sizing: border-box;
}

.psm-inner {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* Header: badge + heading stacked, CTA below, right-aligned */
.psm-header {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 64px;
}

.psm-header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.psm-heading {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 800;
  font-size: 26px;
  line-height: 30px;
  letter-spacing: 0;
  color: #031636;
  margin: 0;
  width: 100%;
}

.psm-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  height: 36px;
  background: linear-gradient(180deg, #BD1922 0%, #FC1E27 100%);
  border: 1px solid rgba(3, 22, 54, 0.2);
  border-radius: 9999px;
  box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  white-space: nowrap;
}

.psm-cta span {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: 10px;
  line-height: 20px;
  letter-spacing: 0.7px;
  color: #FFFFFF;
}

.psm-cta i {
  color: #FFFFFF;
  font-size: 10px;
}

/* Cards: stacked, centered, one per row */
.psm-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 58px;
  padding: 26px 0;
}

.psm-slot {
  width: 100%;
  max-width: 380px;
}

/* Quote-mark rescaled + rotated to match the Figma mobile spec
   (source spec uses a small rotated shape per card; this rescales
   the same glyph used on desktop rather than swap to an SVG) */
.psm-section .ps-quote-mark {
  font-size: 56px;
  left: 0;
  top: -22px;
}
.psm-quote-mark-1 { transform: rotate(-12deg); }
.psm-quote-mark-2 { transform: rotate(12deg); }
.psm-quote-mark-3 { transform: rotate(-6deg); }

@media (max-width: 375.98px) {
  .psm-section {
    padding: 28px 16px;
  }
}




/* ===== Membership Banner Section ===== */
.mb-section {
  background: #FFFFFF;
  padding: 0 54px 20px;
}

.mb-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.mb-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 14px;
  width: 100%;
}

/* ===== Left: Hero Panel ===== */
.mb-hero {
  position: relative;
  flex: 1 1 50%;
  box-sizing: border-box;
  min-height: 240px;
  background: #FFFFFF;
  border: 1px solid #F2E6E7;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 22px 24px;
}

.mb-hero-glow {
  position: absolute;
  left: -25%;
  bottom: -25%;
  width: 50%;
  height: 50%;
  background: #DCE2F3;
  opacity: 0.3;
  filter: blur(50px);
  border-radius: 9999px;
  pointer-events: none;
}

.mb-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 0;
}

.mb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #F9F9FF;
  border: 1px solid #E7BDB8;
  border-radius: 9999px;
}

.mb-eyebrow i {
  color: #BD1922;
  font-size: 11px;
}

.mb-eyebrow span {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #BD1922 0%, #FC1E27 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mb-heading {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 25px;
  line-height: 32px;
  letter-spacing: -0.4px;
  color: #151C27;
  margin: 0;
}

.mb-heading-red {
  color: #E11D26;
}

.mb-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13.5px;
  line-height: 20px;
  color: #55575C;
  margin: 0;
  max-width: 580px;
}

.mb-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: linear-gradient(180deg, #BD1922 0%, #FC1E27 100%);
  border-radius: 9999px;
  box-shadow: 0px 3px 5px -1px rgba(189, 25, 34, 0.25);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.mb-cta:hover {
  color: #fff;
  transform: translateY(-2px);
}

.mb-cta i {
  font-size: 13px;
}

.mb-stats {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 2px;
}

.mb-stat {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: #FFFFFF;
  border: 1px solid #E7BDB8;
  border-radius: 10px;
  flex: 1 1 170px;
  min-width: 170px;
}

.mb-stat-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  background: linear-gradient(180deg, #BD1922 0%, #FC1E27 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 14px;
}

.mb-stat-text {
  display: flex;
  flex-direction: column;
}

.mb-stat-text strong {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 16px;
  color: #151C27;
}

.mb-stat-text span {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 14px;
  color: #5D5E61;
}

/* ===== Right: Membership Card Panel ===== */
.mb-card-panel {
  position: relative;
  flex: 1 1 50%;
  box-sizing: border-box;
  min-height: 250px;
  background: #FFFFFF;
  border: none;
  border-radius: 12px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.mb-panel-glow {
  display: none;
}

/* Animated Ambient Pink Glow Aura behind the card */
.mb-card-ambient-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 210px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(255, 182, 193, 0.8) 0%, rgba(244, 114, 182, 0.5) 45%, rgba(225, 29, 38, 0.25) 75%, rgba(255, 255, 255, 0) 100%);
  filter: blur(35px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: pinkAuraPulse 4s ease-in-out infinite alternate;
}

@keyframes pinkAuraPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.88);
    opacity: 0.65;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.18);
    opacity: 0.95;
  }
}

/* Card Wrapper & Outer Perspective Container */
.mb-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* 3D Tilt Container */
.mb-card-tilt-wrap {
  perspective: 1000px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  transform: rotate(-4deg);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.4s ease;
  filter: drop-shadow(0px 16px 28px rgba(189, 25, 34, 0.28));
  position: relative;
}

.mb-card-tilt-wrap::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 8%;
  width: 84%;
  height: 22px;
  background: radial-gradient(ellipse at center, rgba(189, 25, 34, 0.45) 0%, rgba(244, 114, 182, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
  filter: blur(14px);
  border-radius: 50%;
  z-index: -1;
  animation: cardShadowFloat 4s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes cardShadowFloat {
  0% {
    transform: scaleX(0.92) translateY(0);
    opacity: 0.5;
  }
  100% {
    transform: scaleX(1.08) translateY(5px);
    opacity: 0.85;
  }
}

.mb-card-wrapper:hover .mb-card-tilt-wrap {
  transform: rotate(-1deg) translateY(-4px) scale(1.02);
  filter: drop-shadow(0px 24px 38px rgba(189, 25, 34, 0.38));
}

/* Pallet Ross 3D Stack Ghost Cards */
.mb-card-ghost {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1.58 / 1;
  border-radius: 16px;
  box-sizing: border-box;
  padding: 14px 18px;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.5s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.mb-ghost-back {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #334155 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #94A3B8;
  transform: rotate(-6deg) translate3d(-14px, 8px, -30px);
  z-index: 1;
  opacity: 0.65;
}

.mb-ghost-middle {
  background: linear-gradient(135deg, #B45309 0%, #D97706 50%, #F59E0B 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FEF3C7;
  transform: rotate(5deg) translate3d(14px, -8px, -15px);
  z-index: 2;
  opacity: 0.75;
}

.ghost-top-line {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  opacity: 0.8;
}

.mb-card-wrapper:hover .mb-ghost-back {
  transform: rotate(-9deg) translate3d(-24px, 14px, -30px) scale(0.96);
  opacity: 0.85;
}

.mb-card-wrapper:hover .mb-ghost-middle {
  transform: rotate(8deg) translate3d(24px, -14px, -15px) scale(0.98);
  opacity: 0.9;
}

/* Realistic Credit Card - ALWAYS FRONT & CENTER */
.mb-credit-card {
  position: relative;
  z-index: 10 !important;
  width: 100%;
  aspect-ratio: 1.58 / 1;
  background: linear-gradient(135deg, #7B0B14 0%, #D92026 50%, #FF3B3B 100%);
  border-radius: 16px;
  overflow: hidden;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-sizing: border-box;
  color: #FFFFFF;
}

.mb-card-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
  z-index: 1;
}

.mb-card-spotlight {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: overlay;
  border-radius: 16px;
}

.mb-card-heartbeat {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 65px;
  pointer-events: none;
  opacity: 0.85;
  z-index: 1;
}

.mb-card-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.08) 55%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  animation: cardShine 5s infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes cardShine {
  0% { transform: translateY(-100%) rotate(30deg); }
  30%, 100% { transform: translateY(100%) rotate(30deg); }
}

.mb-card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 3;
}

.mb-card-plan-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mb-card-plan-name {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 17px;
  line-height: 22px;
  letter-spacing: 1.5px;
  color: #FFFFFF;
  margin: 0;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}

.mb-card-validity {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.9);
}

.mb-card-badge-seal {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2));
}

.mb-card-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 3;
}

.mb-card-chip {
  width: 32px;
  height: 23px;
  background: linear-gradient(135deg, #CFD8DC 0%, #90A4AE 50%, #B0BEC5 100%);
  border-radius: 4px;
  position: relative;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0,0,0,0.2);
  border: 1px solid #78909C;
  overflow: hidden;
}

.mb-card-chip::before {
  content: '';
  position: absolute;
  top: 0; left: 32%; bottom: 0; width: 1px;
  background-color: rgba(0, 0, 0, 0.25);
}

.mb-card-chip::after {
  content: '';
  position: absolute;
  top: 0; right: 32%; bottom: 0; width: 1px;
  background-color: rgba(0, 0, 0, 0.25);
}

.mb-card-chip .chip-line-1 {
  position: absolute;
  top: 33%; left: 0; right: 0; height: 1px;
  background-color: rgba(0, 0, 0, 0.25);
}

.mb-card-chip .chip-line-2 {
  position: absolute;
  bottom: 33%; left: 0; right: 0; height: 1px;
  background-color: rgba(0, 0, 0, 0.25);
}

.mb-card-holder {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #FFFFFF;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Floating Pills / Badges */
.mb-float-badge {
  position: absolute;
  background: #FFFFFF;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  border: 1px solid #F7EBEC;
  white-space: nowrap;
}

.mb-badge-top {
  top: -12px;
  left: -12px;
}

.mb-badge-bottom {
  bottom: -10px;
  right: -12px;
}

.mb-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.mb-icon-red {
  color: #BD1922;
  background: #FDF2F3;
}

.mb-icon-yellow {
  color: #E2A020;
  background: #FEF6E0;
  border: 1px solid #FDE68A;
}

.mb-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.mb-badge-title {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #1A202C;
}

.mb-badge-sub {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px;
  color: #718096;
  font-weight: 500;
}

/* Floating Animations */
.animate-float-slow {
  animation: mbFloatSlow 5s ease-in-out infinite;
}

.animate-float-fast {
  animation: mbFloatFast 4.5s ease-in-out infinite;
}

@keyframes mbFloatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes mbFloatFast {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ===== Responsive ===== */
@media (max-width: 1199.98px) {
  .mb-heading {
    font-size: 36px;
  }
  .mb-card-title {
    font-size: 24px;
  }
}

@media (max-width: 991.98px) {
  .mb-section {
    padding: 0 24px 32px;
  }
  .mb-row {
    flex-direction: column;
  }
  .mb-hero,
  .mb-card-panel {
    min-height: 360px;
    padding: 32px 0;
  }
  .mb-heading {
    font-size: 32px;
  }
  .mb-stats {
    flex-direction: column;
    align-items: stretch;
  }
}

/* =========================================================
   Mobile (<=575.98px) — matches Figma "Booking steps" mobile
   frame (401px width / 351px content column)
   ========================================================= */
@media (max-width: 575.98px) {

  .mb-section {
    padding: 0 24px 32px 26px;
  }

  .mb-row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  /* ----- Hero panel mobile upgrades ----- */
  .mb-hero {
    min-height: 0;
    padding: 24px 20px;
    align-items: flex-start;
    border-radius: 20px;
    background: #FFFFFF;
    border: 1px solid #F0E6E7;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  }

  .mb-hero-content {
    padding: 0;
    gap: 14px;
    width: 100%;
  }

  .mb-eyebrow {
    padding: 6px 14px;
    gap: 6px;
    border-radius: 9999px;
  }

  .mb-eyebrow i {
    font-size: 11px;
  }

  .mb-eyebrow span {
    font-size: 11px;
    line-height: 14px;
    letter-spacing: 1.2px;
  }

  .mb-heading {
    font-size: 20px;
    line-height: 26px;
    letter-spacing: -0.4px;
    font-weight: 800;
    padding-bottom: 0;
    margin: 0;
  }

  .mb-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #55575C;
    max-width: 100%;
    margin: 0;
  }

  .mb-cta {
    width: auto;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    gap: 10px;
    border-radius: 9999px;
    box-sizing: border-box;
    margin-top: 2px;
  }

  .mb-cta span {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
  }

  .mb-cta i {
    font-size: 14px;
    flex-shrink: 0;
  }

  /* Stat cards sit cleanly side-by-side with comfortable height */
  .mb-stats {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin-top: 4px;
  }

  .mb-stat {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 12px;
    gap: 10px;
    height: auto;
    min-height: 58px;
    border-radius: 12px;
    background: #FFF8F8;
    border: 1px solid #F6E5E6;
    display: flex;
    align-items: center;
  }

  .mb-stat-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 15px;
    border-radius: 50%;
  }

  .mb-stat:nth-child(1) .mb-stat-icon {
    width: 36px;
    height: 36px;
  }

  .mb-stat-text strong {
    font-size: 12px;
    line-height: 1.35;
    display: block;
  }

  .mb-stat-text span {
    font-size: 10.5px;
    line-height: 1.35;
    color: #666;
  }

  /* ----- Membership card panel & mobile layout fixes ----- */
  .mb-section {
    padding: 20px 16px;
    margin: 24px 0;
  }

  .mb-row {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .mb-hero {
    min-height: auto;
    padding: 20px 16px;
    align-items: flex-start;
    border-radius: 16px;
  }

  .mb-card-panel {
    min-height: 250px;
    padding: 32px 14px 28px;
    margin-top: 6px;
    border-radius: 16px;
    background: linear-gradient(135deg, #FFF8F8 0%, #FFFFFF 100%);
    border: 1px solid #F2E6E7;
    overflow: visible;
  }

  .mb-card-wrapper {
    margin: 12px auto;
    max-width: 310px;
  }

  .mb-card-tilt-wrap {
    transform: rotate(-2deg);
    max-width: 275px;
    margin: 0 auto;
  }

  .mb-float-badge {
    padding: 5px 10px;
    font-size: 10px;
    box-shadow: 0px 6px 18px rgba(189, 25, 34, 0.12);
  }

  .mb-badge-top {
    top: -22px;
    left: -2px;
  }

  .mb-badge-bottom {
    bottom: -18px;
    right: -2px;
  }

  .mb-card-title {
    font-size: 28px;
    line-height: 36px;
    letter-spacing: 0.8px;
  }

  .mb-card-divider {
    width: 64px;
  }

  .mb-card-footer {
    font-size: 10px;
    letter-spacing: 2px;
  }
}

/* ===== Latest Blogs Section ===== */
/* ===== Redesigned 3D Blog Section ===== */
.lb-section {
  background: #FFFFFF;
  padding: 40px 54px 50px;
}

.lb-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Header */
.lb-header {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #F0E6E7;
  flex-wrap: wrap;
}

.lb-header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 680px;
}

.lb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #FDF2F3;
  border: 1px solid #F8D7DA;
  border-radius: 9999px;
}

.lb-eyebrow i {
  color: #BD1922;
  font-size: 11px;
}

.lb-eyebrow span {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #BD1922;
}

.lb-heading {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.5px;
  color: #151C27;
  margin: 0;
}

.lb-heading-red {
  color: #E11D26;
}

.lb-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 22px;
  color: #55575C;
  margin: 0;
}

.lb-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Filter Switch Tabs */
.lb-filter-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #F4F4F6;
  border-radius: 9999px;
  border: 1px solid #E2E2E8;
}

.lb-tab {
  background: transparent;
  border: none;
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  color: #55575C;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lb-tab:hover {
  color: #BD1922;
}

.lb-tab-active {
  background: #FFFFFF;
  color: #BD1922;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
}

.lb-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: linear-gradient(180deg, #BD1922 0%, #FC1E27 100%);
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #FFFFFF;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0px 4px 10px rgba(189, 25, 34, 0.25);
  white-space: nowrap;
}

.lb-view-all:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0px 6px 16px rgba(189, 25, 34, 0.35);
}

.lb-view-all i {
  font-size: 12px;
}

/* ===== Taas ke Patte (Playing Card Deck Spread) Section ===== */
.lb-taas-deck-wrapper {
  position: relative;
  width: 100%;
  padding: 24px 0 16px;
  perspective: 1200px;
}

.lb-taas-deck {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  width: 100%;
  min-height: 420px;
  perspective: 1200px;
}

/* Individual Card in the Deck */
.lb-taas-card {
  position: relative;
  width: 100%;
  margin: 0;
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), z-index 0.3s ease, opacity 0.4s ease;
  cursor: pointer;
  opacity: 1 !important;
}

/* Default Fanned Hand Angles (Taas ke Patte Spread) */
.lb-taas-card[data-card-index="0"] {
  transform: rotate(-3.5deg) translateY(10px) translateZ(-15px);
  z-index: 1;
}

.lb-taas-card[data-card-index="1"] {
  transform: rotate(-1.2deg) translateY(2px) translateZ(0px);
  z-index: 2;
}

.lb-taas-card[data-card-index="2"] {
  transform: rotate(1.2deg) translateY(2px) translateZ(15px);
  z-index: 3;
}

.lb-taas-card[data-card-index="3"] {
  transform: rotate(3.5deg) translateY(10px) translateZ(30px);
  z-index: 4;
}

/* Hovering over DECK: Fan out slightly wider */
.lb-taas-deck:hover .lb-taas-card[data-card-index="0"] {
  transform: rotate(-4.5deg) translateY(6px) translateZ(-10px);
}

.lb-taas-deck:hover .lb-taas-card[data-card-index="1"] {
  transform: rotate(-1.5deg) translateY(0px) translateZ(10px);
}

.lb-taas-deck:hover .lb-taas-card[data-card-index="2"] {
  transform: rotate(1.5deg) translateY(0px) translateZ(25px);
}

.lb-taas-deck:hover .lb-taas-card[data-card-index="3"] {
  transform: rotate(4.5deg) translateY(6px) translateZ(40px);
}

/* Hovering over SPECIFIC CARD (Pull card out of taas deck hand) */
.lb-taas-card:hover {
  z-index: 100 !important;
  transform: rotate(0deg) translateY(-22px) translateZ(70px) scale(1.03) !important;
}

.lb-taas-card:hover .lb-card {
  border-color: #E11D26;
  box-shadow: 0px 22px 48px rgba(225, 29, 38, 0.20), 0px 8px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1199.98px) {
  .lb-taas-deck {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .lb-taas-card {
    transform: none !important;
  }
}

@media (max-width: 767.98px) {
  .lb-taas-deck {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .lb-taas-card {
    transform: none !important;
  }
}

/* Blog Card Design */
.lb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #EAEAEF;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  height: 100%;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
}

.lb-card:hover {
  border-color: #F0B7BB;
  box-shadow: 0px 16px 36px rgba(189, 25, 34, 0.15);
}

.lb-card-spotlight {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: overlay;
}

.lb-card-image {
  position: relative;
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  background-color: #F2F2F5;
  transition: transform 0.5s ease;
}

.lb-card-image-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.3) 100%);
  transition: opacity 0.3s ease;
}

.lb-card:hover .lb-card-image {
  transform: scale(1.05);
}

.lb-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: #BD1922;
  z-index: 2;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
}

.lb-card-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.lb-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11.5px;
  color: #75777F;
}

.lb-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lb-meta-item i {
  font-size: 11px;
  color: #BD1922;
}

.lb-meta-dot {
  color: #BDBDBD;
}

.lb-card-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 21px;
  color: #151C27;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.lb-card:hover .lb-card-title {
  color: #BD1922;
}

.lb-card-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12.5px;
  line-height: 18px;
  color: #55575C;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lb-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed #EAEAEF;
}

.lb-read-more {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #BD1922;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lb-read-more i {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.lb-card:hover .lb-read-more i {
  transform: translateX(3px);
}

.lb-arrow-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FDF2F3;
  color: #BD1922;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lb-card:hover .lb-arrow-circle {
  background: #BD1922;
  color: #FFFFFF;
  transform: translate(2px, -2px);
}
  border-color: transparent;
}

/* ===== Responsive — Tablet ===== */
@media (max-width: 991.98px) {
  .lb-section {
    padding: 28px 24px 32px;
  }
  .lb-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .lb-heading {
    font-size: 28px;
  }
  .lb-card {
    width: 300px;
    min-width: 300px;
  }
}

/* ===== Responsive — Latest Blogs Mobile (Clean 1-column Stack & Spacious Layout) ===== */
@media (max-width: 767.98px) {
  .lb-section {
    padding: 32px 0 28px;
    margin: 24px 0;
    background: #FFFFFF;
  }

  .lb-inner {
    padding: 0 20px;
    gap: 20px;
  }

  /* Header */
  .lb-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 0;
    border-bottom: none;
  }

  .lb-header-left {
    max-width: 100%;
    gap: 8px;
  }

  .lb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    height: auto;
    border-radius: 9999px;
  }

  .lb-eyebrow span {
    font-size: 11px;
    line-height: 14px;
    letter-spacing: 1.2px;
    color: #BD1922 !important;
    text-transform: uppercase;
    font-weight: 600;
    background: none;
    -webkit-text-fill-color: initial;
  }

  .lb-heading {
    font-size: 20px;
    line-height: 26px;
    letter-spacing: -0.4px;
    color: #151C27;
    font-weight: 800;
    margin: 0;
    max-width: 100%;
  }

  .lb-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #55575C;
    margin: 0;
    max-width: 100%;
  }

  .lb-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 12px;
  }

  /* Filter Switch Tabs: Scrollable pills on mobile */
  .lb-filter-tabs {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    background: #F4F4F6;
    border-radius: 9999px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    box-sizing: border-box;
  }

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

  .lb-tab {
    padding: 7px 16px;
    font-size: 12px;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .lb-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 20px;
    background: linear-gradient(180deg, #BD1922 0%, #FC1E27 100%);
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12.5px;
    color: #FFFFFF !important;
    text-decoration: none;
    box-shadow: 0px 4px 12px rgba(189, 25, 34, 0.22);
    margin-top: 2px;
  }

  /* Horizontal Touch Carousel (Left-Right Swipeable Cards) on Mobile */
  .lb-taas-deck-wrapper {
    padding: 8px 0 16px;
    perspective: none;
    width: 100%;
    overflow: hidden;
  }

  .lb-taas-deck {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
    width: 100%;
    min-height: auto;
    perspective: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 12px;
  }

  .lb-taas-deck::-webkit-scrollbar {
    display: none;
    height: 0;
  }

  .lb-taas-card {
    flex: 0 0 84%;
    width: 84%;
    max-width: 310px;
    min-width: 270px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transform: none !important;
    perspective: none;
    margin: 0;
  }

  .lb-card {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    border: 1px solid #EAEAEF;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.05);
    background: #FFFFFF;
    overflow: hidden;
    transform: none !important;
    display: flex;
    flex-direction: column;
  }

  .lb-card-image {
    width: 100%;
    height: 175px;
    border-radius: 16px 16px 0 0;
  }

  .lb-card-body {
    padding: 16px 16px;
    gap: 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .lb-card-meta {
    font-size: 11.5px;
    color: #75777F;
  }

  .lb-card-title {
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
    color: #151C27;
  }

  .lb-card-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #55575C;
  }
}

/* ============================================
   Diagnostic Tests by Cities Section
   Matches Figma design exactly
   ============================================ */

/* Main Section Container */
/* ===== Diagnostic Tests by Cities — Light Theme India Map & Live Laser Pinpoints ===== */
.tbc-section {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F8 50%, #FFF0F0 100%);
  padding: 60px 0 70px;
  overflow: hidden;
  color: #151C27;
}

.tbc-ambient-aura {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(225, 29, 38, 0.08) 0%, rgba(225, 29, 38, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.tbc-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* Header Section */
.tbc-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #EAE0E1;
  flex-wrap: wrap;
}

.tbc-header-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 650px;
}

.tbc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(225, 29, 38, 0.08);
  border: 1px solid rgba(225, 29, 38, 0.2);
  border-radius: 9999px;
  width: fit-content;
}

.tbc-badge i {
  font-size: 13px;
  color: #E11D26;
}

.tbc-badge span {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #E11D26;
}

.tbc-heading {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 34px;
  line-height: 44px;
  color: #151C27;
  margin: 0;
}

.tbc-heading-red {
  background: linear-gradient(90deg, #E11D26 0%, #FF3B44 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tbc-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #616571;
  margin: 0;
}

.tbc-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.tbc-search-wrap i {
  position: absolute;
  left: 16px;
  font-size: 14px;
  color: #9CA3AF;
  pointer-events: none;
}

.tbc-search-input {
  padding: 10px 18px 10px 42px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #1F2937;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  outline: none;
  width: 260px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.tbc-search-input:focus {
  border-color: #E11D26;
  box-shadow: 0 0 0 3px rgba(225, 29, 38, 0.12);
  width: 290px;
}

/* MAIN WORKSPACE SPLIT */
.tbc-radar-workspace {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 32px;
  width: 100%;
  min-height: 480px;
}

/* LEFT INDIA MAP CONTAINER (LEAFLET REAL MAP WITH GOLD DOTS) */
.tbc-map-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  background: #FFFFFF;
  border: 1px solid #EAEAEF;
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
}

.tbc-map-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px;
}

.tbc-map-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tbc-gold-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: linear-gradient(135deg, #FFF8E1 0%, #FFF3C4 100%);
  border: 1px solid rgba(255, 193, 7, 0.5);
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 10.5px;
  color: #B78103;
  letter-spacing: 0.6px;
}

.tbc-map-title span {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #374151;
}

.tbc-map-pulse-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: #6B7280;
}

.tbc-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E11D26;
  box-shadow: 0 0 8px #E11D26;
  animation: beaconPulse 1.5s ease-out infinite;
}

.tbc-leaflet-canvas {
  width: 100%;
  flex: 1;
  min-height: 450px;
  border-radius: 18px;
  border: 1px solid #E5E7EB;
  z-index: 2;
  overflow: hidden;
}

/* GOLD DOT LEAFLET MARKERS */
.tbc-gold-leaflet-pin {
  background: none !important;
  border: none !important;
}

.tbc-gold-pin-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.tbc-gold-dot-core {
  width: 14px;
  height: 14px;
  min-width: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFF099 0%, #FFC107 40%, #FF8F00 70%, #E11D26 100%);
  border: 2.5px solid #FFFFFF;
  box-shadow: 0 0 12px rgba(255, 193, 7, 0.9), 0 0 22px rgba(225, 29, 38, 0.7);
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tbc-gold-dot-pulse {
  position: absolute;
  left: -8px; top: -8px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.4);
  border: 1.5px solid rgba(255, 193, 7, 0.9);
  animation: goldPulse 2s ease-out infinite;
  z-index: 1;
}

@keyframes goldPulse {
  0% { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

.tbc-gold-dot-tag {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(225, 29, 38, 0.2);
  padding: 3px 8px;
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 11px;
  color: #1F2937;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
  z-index: 3;
}

.tbc-gold-pin-wrap:hover .tbc-gold-dot-core {
  transform: scale(1.4);
  background: radial-gradient(circle, #FFFFFF 0%, #FFD700 40%, #E11D26 100%);
  box-shadow: 0 0 18px rgba(255, 215, 0, 1), 0 0 30px rgba(225, 29, 38, 0.9);
}

.tbc-gold-pin-wrap:hover .tbc-gold-dot-tag {
  background: #FFF5F5;
  border-color: #F0B7BB;
  color: #E11D26;
}

/* LEAFLET POPUP STYLING */
.leaflet-popup-content-wrapper {
  background: #FFFFFF !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
  border: 1px solid rgba(225, 29, 38, 0.15) !important;
  padding: 4px 6px !important;
}

.leaflet-popup-tip {
  background: #FFFFFF !important;
}

.tbc-popup-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 4px 6px;
}

.tbc-popup-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #151C27;
}

.tbc-popup-sub {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #E11D26;
  font-weight: 600;
}

/* MAP CITY BEACON PINPOINTS */
.tbc-map-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 12;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tbc-beacon-pin {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #D1D5DB;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.tbc-beacon-pin i {
  font-size: 13px;
  color: #9CA3AF;
  transition: color 0.3s ease;
}

.tbc-beacon-pulse {
  position: absolute;
  left: -3px; top: -3px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(225, 29, 38, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tbc-beacon-label {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  padding: 4px 9px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.tbc-node-city {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 11px;
  color: #374151;
  white-space: nowrap;
}

.tbc-node-badge {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 9px;
  color: #8C919D;
}

/* ACTIVE MAP NODE */
.tbc-node-active .tbc-beacon-pin {
  background: linear-gradient(135deg, #E11D26 0%, #FF3B44 100%) !important;
  border-color: #E11D26 !important;
  transform: scale(1.2);
  box-shadow: 0 6px 18px rgba(225, 29, 38, 0.4) !important;
}

.tbc-node-active .tbc-beacon-pin i {
  color: #FFFFFF !important;
}

.tbc-node-active .tbc-beacon-pulse {
  opacity: 1;
  animation: beaconPulse 1.8s ease-out infinite;
}

@keyframes beaconPulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.tbc-node-active .tbc-beacon-label {
  background: #FFF5F5 !important;
  border-color: #F0B7BB !important;
  box-shadow: 0 6px 16px rgba(225, 29, 38, 0.15) !important;
}

.tbc-node-active .tbc-node-city {
  color: #E11D26 !important;
}

.tbc-node-active .tbc-node-badge {
  color: #E11D26 !important;
}

/* RIGHT CONTROLS CONTAINER */
.tbc-controls-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.tbc-dock-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  color: #717582;
  text-transform: uppercase;
}

.tbc-dock-header i {
  color: #E11D26;
  font-size: 13px;
}

/* DOCK PILLS */
.tbc-dock-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.tbc-dock-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  color: #374151;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tbc-dock-pill i {
  font-size: 14px;
  color: #6B7280;
  transition: color 0.2s ease;
}

.tbc-pill-count {
  padding: 2px 7px;
  background: #F3F4F6;
  border-radius: 9999px;
  font-size: 10.5px;
  color: #6B7280;
}

.tbc-dock-pill:hover {
  background: #FFF5F5;
  border-color: #F0B7BB;
  color: #E11D26;
}

.tbc-dock-pill:hover i {
  color: #E11D26;
}

.tbc-dock-pill-active {
  background: linear-gradient(90deg, #E11D26 0%, #FF3B44 100%) !important;
  border-color: transparent !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(225, 29, 38, 0.3) !important;
}

.tbc-dock-pill-active i {
  color: #FFFFFF !important;
}

.tbc-dock-pill-active .tbc-pill-count {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
}

/* CITY PANELS WRAP */
.tbc-city-panels-wrap {
  position: relative;
  flex: 1;
}

.tbc-city-panel {
  display: none;
  flex-direction: column;
  gap: 18px;
  animation: tbcFadeIn 0.35s ease forwards;
}

.tbc-city-panel-active {
  display: flex !important;
}

@keyframes tbcFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tbc-city-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #EAEAEF;
}

.tbc-panel-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tbc-radar-status {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.8px;
  color: #E11D26;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tbc-radar-status i {
  font-size: 6px;
  animation: beaconPulse 1.5s ease-out infinite;
}

.tbc-panel-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #151C27;
  margin: 0;
}

.tbc-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  color: #E11D26;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.tbc-panel-link:hover i {
  transform: translateX(3px);
}

/* CITY GRID CARDS */
.tbc-city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tbc-laser-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 16px 18px;
  min-height: 115px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
}

.tbc-laser-card-glow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tbc-laser-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.tbc-laser-icon {
  width: 36px; height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: #FFF0F0;
  border: 1px solid rgba(225, 29, 38, 0.15);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}

.tbc-laser-icon i {
  font-size: 16px;
  color: #E11D26;
}

.tbc-laser-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tbc-laser-text h5 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #1F2937;
  margin: 0;
  transition: color 0.2s ease;
}

.tbc-laser-text span {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: #717582;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.tbc-laser-card-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #EAEAEF;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11.5px;
  color: #E11D26;
  z-index: 2;
}

.tbc-laser-card-btn i {
  font-size: 11px;
  transition: transform 0.2s ease;
}

/* LASER CARD HOVER */
.tbc-laser-card:hover {
  background: #FFFFFF;
  border-color: #F0B7BB;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(225, 29, 38, 0.14);
}

.tbc-laser-card:hover .tbc-laser-icon {
  background: #E11D26;
  border-color: #E11D26;
  transform: scale(1.08) rotate(-4deg);
}

.tbc-laser-card:hover .tbc-laser-icon i {
  color: #FFFFFF;
}

.tbc-laser-card:hover .tbc-laser-text h5 {
  color: #E11D26;
}

.tbc-laser-card:hover .tbc-laser-card-btn i {
  transform: translate(2px, -2px);
}

/* FOOTER SECTION */
.tbc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #EAE0E1;
  flex-wrap: wrap;
  gap: 16px;
}

.tbc-footer-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #4B5563;
}

.tbc-footer-info i {
  font-size: 16px;
  color: #E11D26;
}

.tbc-view-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 24px;
  background: linear-gradient(90deg, #E11D26 0%, #FF3B44 100%);
  border-radius: 9999px;
  color: #FFFFFF;
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 8px 22px rgba(225, 29, 38, 0.28);
  transition: all 0.3s ease;
}

.tbc-view-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(225, 29, 38, 0.4);
  color: #FFFFFF;
}

.tbc-btn-circle {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease;
}

.tbc-view-more:hover .tbc-btn-circle {
  transform: translateX(3px);
}

.tbc-btn-circle i {
  font-size: 12px;
  color: #FFFFFF;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1199.98px) {
  .tbc-radar-workspace {
    grid-template-columns: 380px 1fr;
    gap: 24px;
  }
  .tbc-city-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991.98px) {
  .tbc-radar-workspace {
    grid-template-columns: 1fr;
  }
  .tbc-radar-container {
    min-height: 360px;
  }
  .tbc-city-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Responsive — Diagnostic Tests by Cities Mobile Upgrades ===== */
@media (max-width: 767.98px) {
  .tbc-section {
    padding: 32px 0 28px;
    margin: 24px 0;
  }

  .tbc-inner {
    padding: 0 20px;
    gap: 20px;
  }

  .tbc-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 16px;
  }

  .tbc-header-left {
    max-width: 100%;
    gap: 8px;
  }

  .tbc-heading {
    font-size: 20px;
    line-height: 26px;
    font-weight: 800;
    letter-spacing: -0.4px;
  }

  .tbc-desc {
    font-size: 13px;
    line-height: 1.5;
  }

  .tbc-search-wrap {
    width: 100%;
  }

  .tbc-search-input {
    width: 100%;
    box-sizing: border-box;
  }

  /* Main Workspace Split on Mobile */
  .tbc-radar-workspace {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    min-height: auto;
  }

  /* Leaflet Map Card on Mobile */
  .tbc-map-card {
    min-height: auto;
    padding: 14px;
    border-radius: 18px;
    gap: 10px;
  }

  .tbc-map-card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .tbc-map-title {
    flex-wrap: wrap;
    gap: 6px;
  }

  .tbc-gold-badge {
    font-size: 9.5px;
    padding: 3px 10px;
  }

  .tbc-map-title span {
    font-size: 12px;
  }

  .tbc-leaflet-canvas {
    height: 290px;
    min-height: 290px;
    border-radius: 14px;
  }

  /* Category Selector Pills Dock on Mobile: Horizontal Scrollable Pills */
  .tbc-dock-header {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .tbc-dock-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 8px;
    padding: 2px 2px 6px;
    width: 100%;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
  }

  .tbc-dock-pills::-webkit-scrollbar {
    display: none;
  }

  .tbc-dock-pill {
    white-space: nowrap;
    flex: 0 0 auto;
    padding: 8px 14px;
    font-size: 12px;
  }

  /* City Cards Grid on Mobile */
  .tbc-city-panel-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
  }

  .tbc-panel-name {
    font-size: 16px;
    line-height: 22px;
  }

  .tbc-city-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
  }

  .tbc-laser-card {
    padding: 14px 12px;
    border-radius: 14px;
    background: #FFFFFF;
    border: 1px solid #F0E6E7;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    min-height: auto;
    gap: 10px;
  }

  .tbc-laser-card-top {
    gap: 10px;
    align-items: center;
  }

  .tbc-laser-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 9px;
  }

  .tbc-laser-icon i {
    font-size: 14px;
  }

  .tbc-laser-text {
    gap: 2px;
  }

  .tbc-laser-text h5 {
    font-size: 13px;
    line-height: 17px;
    font-weight: 800;
    color: #1F2937;
    text-transform: capitalize;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .tbc-laser-text span {
    font-size: 10px;
    color: #717582;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .tbc-laser-card-btn {
    margin-top: 4px;
    padding-top: 8px;
    font-size: 11px;
    font-weight: 700;
  }

  /* Footer Action on Mobile */
  .tbc-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 16px;
    padding-top: 16px;
  }

  .tbc-view-more {
    width: 100%;
    justify-content: center;
    font-size: 12.5px;
    padding: 10px 18px;
    box-sizing: border-box;
  }
}
/* ============================================
   UTILITY CLASSES
   ============================================ */
@supports not (-webkit-background-clip: text) {
  .tbc-heading-red,
  .tbc-view-more span {
    color: #bd1922;
    background: none;
  }
  .tbc-view-more i {
    color: #bd1922;
    background: none;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #ffffff; font-family: 'Inter', sans-serif; }

/* ===== Footer outer wrapper ===== */
.footer {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 54px;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    height: auto;
    background: #FFFFFF;
    margin: 0 auto;
}

/* ===== Rounded luxury panel ===== */
.panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 44px 48px;
    gap: 10px;
    width: 100%;
    max-width: 1332px;
    height: auto;
    background: linear-gradient(145deg, #FFFFFF 0%, #FFF7F7 45%, #F8EAEA 100%);
    border: 1px solid rgba(194, 33, 39, 0.12);
    border-radius: 32px;
    box-shadow: 0 20px 60px -15px rgba(194, 33, 39, 0.08);
    position: relative;
    overflow: hidden;
}

.panel::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(194, 33, 39, 0.07) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    border-radius: 50%;
}

/* ===== Inner content stack ===== */
.content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

/* ===== Top row: logo / links / services / support ===== */
.top-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 28px;
    width: 100%;
    height: auto;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(194, 33, 39, 0.15);
}

/* --- Column 1: Brand --- */
.col-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 320px;
    max-width: 100%;
    height: auto;
    flex: 1 1 270px;
}
.col-brand .logo-wrapper {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.col-brand .logo-wrapper:hover {
    transform: scale(1.03) translateY(-2px);
}
.brand-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}
@media (max-width: 767.98px) {
    .brand-logo-img { height: 30px; }
}
.brand-title {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: #C22127;
    letter-spacing: -0.2px;
}
.brand-desc {
    width: 100%;
    max-width: 300px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13.5px;
    line-height: 1.55;
    color: #475569;
    margin: 0;
}
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(194, 33, 39, 0.06);
    border: 1px solid rgba(194, 33, 39, 0.15);
    color: #C22127;
    padding: 4px 10px;
    border-radius: 99px;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.trust-chip:hover {
    background: #C22127;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(194, 33, 39, 0.25);
}
.trust-chip i { font-size: 12px; }

/* --- Column Headings --- */
.col-heading {
    width: 100%;
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #0F172A;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
.heading-line {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #C22127 0%, #E11D48 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}
.col-links:hover .heading-line,
.col-services:hover .heading-line,
.col-support:hover .heading-line {
    width: 46px;
}

/* --- Column 2: Quick Links --- */
.col-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 130px;
    height: auto;
    flex: 1 1 130px;
}
.link-list, .support-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}
.link-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.link-item .chevron {
    width: 6px;
    height: 9px;
    color: #94A3B8;
    transition: all 0.25s ease;
    flex-shrink: 0;
}
.link-item a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13.5px;
    line-height: 20px;
    color: #475569;
    text-decoration: none;
    transition: color 0.25s ease, font-weight 0.25s ease;
}
.link-item:hover {
    transform: translateX(4px);
}
.link-item:hover a {
    color: #C22127;
    font-weight: 600;
}
.link-item:hover .chevron {
    color: #C22127;
    transform: translateX(2px);
}

/* --- Column 3: Our Services --- */
.col-services {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 540px;
    max-width: 100%;
    height: auto;
    flex: 2 1 440px;
}
.services-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 32px;
    width: 100%;
    height: auto;
}
.service-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 220px;
    max-width: 100%;
    flex: 1 1 200px;
}
.service-group.wide {
    width: 260px;
    flex: 1 1 240px;
}
.service-label {
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #C22127;
    display: flex;
    align-items: center;
    gap: 6px;
}
.service-label .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #C22127;
    display: inline-block;
    box-shadow: 0 0 6px rgba(194, 33, 39, 0.4);
}
.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 6px;
    column-gap: 12px;
    width: 100%;
}
.service-grid.wide {
    grid-template-columns: 1fr 1fr;
    width: 100%;
}
.service-grid a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 20px;
    color: #475569;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-block;
}
.service-grid a:hover {
    color: #C22127;
    transform: translateX(3px);
}
.service-grid a.view-all {
    font-weight: 700;
    color: #C22127 !important;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(194, 33, 39, 0.06);
    padding: 3px 9px !important;
    border-radius: 6px;
    margin-top: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-grid a.view-all:hover {
    background: #C22127;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(194, 33, 39, 0.2);
}

/* --- Column 4: Support & Contact --- */
.col-support {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 210px;
    max-width: 100%;
    height: auto;
    flex: 1 1 190px;
}

/* ===== Contact info bar ===== */
.contact-bar {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px 32px;
    gap: 20px;
    width: 100%;
    height: auto;
    background: linear-gradient(135deg, #C22127 0%, #E11D48 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 16px 36px -6px rgba(194, 33, 39, 0.35);
    overflow: hidden;
}

.contact-bar::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.contact-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex: 1 1 220px;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}
.contact-item.phone:hover,
.contact-item.email:hover {
    transform: translateY(-2px);
}
.contact-item.phone { width: 260px; }
.contact-item.email { width: 300px; }
.contact-item.address { width: 450px; }

.icon-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.contact-item:hover .icon-circle {
    transform: scale(1.1) rotate(-6deg);
    background: #FFFFFF;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.icon-circle svg { width: 20px; height: 20px; color: #C22127; }
.contact-text { min-width: 0; }
.contact-text .label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 11px;
    line-height: 14px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2px;
}
.contact-text .value {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    color: #FFFFFF;
    max-width: 380px;
    word-break: break-word;
}
.contact-item.address .value {
    font-size: 12.5px;
    line-height: 17px;
}
.contact-arrow {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    transition: all 0.3s ease;
    margin-left: auto;
}
.contact-item:hover .contact-arrow {
    color: #FFFFFF;
    transform: translateX(4px);
}
.v-divider {
    width: 1px;
    height: 54px;
    background: rgba(255,255,255,0.3);
    flex: none;
}

/* ===== Bottom bar ===== */
.bottom-bar {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: auto;
    border-top: 1px solid rgba(194, 33, 39, 0.15);
    padding-top: 20px;
    position: relative;
    z-index: 2;
}
.bottom-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
    height: auto;
}
.copyright {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13.5px;
    line-height: 20px;
    color: #64748B;
}
.copyright strong {
    color: #0F172A;
    font-weight: 600;
}
.social-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}
.social {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.follow-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    line-height: 20px;
    color: #475569;
}
.social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background: #FFFFFF;
    border: 1px solid rgba(194, 33, 39, 0.15);
    border-radius: 50%;
    color: #C22127;
    text-decoration: none;
    flex: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}
.social-btn svg { width: 17px; height: 17px; fill: currentColor; }
.social-btn i { font-size: 16px; color: inherit; }
.social-btn:hover {
    background: #C22127;
    color: #FFFFFF;
    border-color: #C22127;
    transform: translateY(-4px) scale(1.08) rotate(6deg);
    box-shadow: 0 8px 20px rgba(194, 33, 39, 0.35);
}
.back-to-top {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid rgba(194, 33, 39, 0.2);
    color: #C22127;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    margin-left: 8px;
}
.back-to-top:hover {
    background: #C22127;
    color: #FFFFFF;
    border-color: #C22127;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(194, 33, 39, 0.3);
}


/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* ---------- Large desktop / laptop (≤1400px): tighten outer padding ---------- */
@media (max-width: 1400px) {
  .footer {
    padding: 33px 32px;
  }
}

/* ---------- Small desktop / large tablet (≤1200px) ---------- */
@media (max-width: 1200px) {
  .panel {
    padding: 36px 32px;
  }
  .col-services {
    flex-basis: 100%;
    order: 4;
  }
  .col-brand   { order: 1; }
  .col-links   { order: 2; }
  .col-support { order: 3; }
  .top-row {
    row-gap: 32px;
  }
}

/* ---------- Tablet (≤1024px): 2-column grid for the four footer columns ---------- */
@media (max-width: 1024px) {
  .footer {
    padding: 30px 24px;
  }
  .panel {
    border-radius: 24px;
    padding: 32px 28px;
  }
  .top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    row-gap: 32px;
    border-bottom: 1px solid rgba(252, 30, 39, 0.28);
  }
  .col-brand   { grid-column: 1 / 2; order: initial; width: 100%; flex: none; }
  .col-links   { grid-column: 2 / 3; order: initial; width: 100%; flex: none; }
  .col-services{ grid-column: 1 / -1; order: initial; width: 100%; flex: none; }
  .col-support { grid-column: 1 / -1; order: initial; width: 100%; flex: none; padding-bottom: 0; }

  .services-row {
    gap: 32px;
  }

  .contact-bar {
    padding: 20px 24px;
    row-gap: 24px;
  }
  .contact-item.phone,
  .contact-item.email,
  .contact-item.address {
    width: auto;
    flex: 1 1 45%;
  }
  .v-divider {
    display: none; /* dividers get noisy in a wrapped grid; re-enabled distinctly below 767px */
  }
}

/* ---------- Small tablet / large phone (≤900px) ---------- */
@media (max-width: 900px) {
  .top-row {
    grid-template-columns: 1fr;
  }
  .col-brand,
  .col-links,
  .col-services,
  .col-support {
    grid-column: 1 / -1;
  }
  .col-links { padding-bottom: 0; }
  .brand-desc { max-width: 100%; }

  .contact-item.phone,
  .contact-item.email,
  .contact-item.address {
    flex: 1 1 100%;
  }
}

/* ---------- Mobile (≤767px): matches Figma mobile spec exactly ----------
   402px frame, padding 33px 28px 33px 26px, panel 351px equiv → 100%,
   border-radius 30px, everything stacked, red card vertical with
   horizontal dividers.
---------------------------------------------------------------------- */
@media (max-width: 767px) {

  .footer {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 33px 26px 33px 28px;
    width: 100%;
    height: auto;
  }

  .panel {
    width: 100%;
    height: auto;
    padding: 20px;
    border-radius: 30px;
    gap: 10px;
  }

  .content {
    width: 100%;
    height: auto;
    gap: 28px;
  }

  /* Top row: single column */
  .top-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 27px;
    width: 100%;
    height: auto;
    padding-bottom: 27px;
  }
  .col-brand,
  .col-links,
  .col-services,
  .col-support {
    grid-column: unset;
    width: 100%;
  }

  /* --- Brand --- */
  .col-brand { gap: 12px; }
  .brand-title { width: auto; }
  .brand-desc { width: 100%; max-width: 100%; height: auto; }

  /* --- Quick Links --- */
  .col-links {
    padding: 0;
    gap: 12px;
  }
  .link-list { gap: 12px; }

  /* --- Our Services --- */
  .col-services { gap: 24px; }
  .services-row {
    flex-direction: column;
    gap: 24px;
  }
  .service-group,
  .service-group.wide {
    width: 100%;
    flex: none;
  }
  .service-grid,
  .service-grid.wide {
    grid-template-columns: 1fr 1fr;
  }

  /* --- Support & Contact --- */
  .col-support {
    padding: 0;
    gap: 12px;
  }
  .support-list { gap: 12px; }

  /* ===== Contact info bar → vertical card ===== */
  .contact-bar {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: auto;
    padding: 20px 15px;
    gap: 20px;
    border-radius: 16px;
  }
  .contact-item.phone,
  .contact-item.email,
  .contact-item.address {
    width: 100%;
    flex: none;
    padding-left: 0;
  }
  .contact-text .value {
    max-width: 100%;
  }

  /* Horizontal rule between stacked contact items */
  .v-divider {
    display: block;
    width: 100%;
    height: 1px;
    background: #FFFFFF;
    opacity: 0.7;
  }

  /* ===== Bottom bar ===== */
  .bottom-bar { width: 100%; height: auto; }
  .bottom-row {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    height: auto;
    gap: 23px;
    padding: 24px 0 0;
  }
  .copyright { width: 100%; }
  .social { flex-wrap: wrap; gap: 16px; }
}

/* ---------- Small phones (≤480px) ---------- */
@media (max-width: 480px) {
  .footer {
    padding: 24px 16px;
  }
  .panel {
    padding: 16px;
    border-radius: 24px;
  }
  .content { gap: 22px; }

  .brand-title { font-size: 17px; }
  .col-heading { font-size: 18px; }
  .brand-desc,
  .link-item a,
  .service-grid a,
  .support-list a { font-size: 13px; }

  .service-grid,
  .service-grid.wide {
    grid-template-columns: 1fr 1fr;
    column-gap: 6px;
  }

  .contact-bar { padding: 16px 12px; gap: 16px; }
  .contact-text .value { font-size: 12.5px; line-height: 17px; }
  .icon-circle { width: 36px; height: 36px; }

  .social a { width: 36px; height: 36px; }
  .social a svg { width: 15px; height: 15px; }
}

/* ---------- Extra-small phones (≤360px) ---------- */
@media (max-width: 360px) {
  .footer { padding: 20px 12px; }
  .panel { padding: 14px; }
  .brand-title,
  .col-heading { font-size: 16px; }
  .service-grid,
  .service-grid.wide {
    grid-template-columns: 1fr; /* stack to single column on very narrow screens */
  }
}



/* ===== Hero Bento Section ===== */
.hb-section {
  background: #FFFFFF;
  padding: 90px 54px 40px;
}

@media (max-width: 991.98px) {
  .hb-section {
    padding-top: 40px;
  }
}

@media (max-width: 575.98px) {
  .hb-section {
    padding: 30px 0 24px;
  }
}

.hb-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.hb-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  min-height: 533px;
}

/* ===== Left: Hero Bento Box ===== */
.hb-hero {
  position: relative;
  box-sizing: border-box;
  flex: 1 1 70%;
  min-height: 533px;
  background: #F8F0F0;
  border: 1px solid rgba(195, 198, 210, 0.2);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hb-hero-image {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hb-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #F8F0F0 44.71%, rgba(248, 240, 240, 0.4) 75%, rgba(248, 240, 240, 0) 100%);
  z-index: 1;
}

.hb-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 48px;
  width: 100%;
}

.hb-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: #E5EEFF;
  border-radius: 9999px;
  margin-bottom: 24px;
}

.hb-badge i {
  color: #003874;
  font-size: 13px;
}

.hb-badge span {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.24px;
  color: #003874;
}

.hb-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.96px;
  color: #0B1C30;
  margin: 0 0 15px;
  max-width: 475px;
}

.hb-heading-line {
  display: block;
}

.hb-heading-accent {
  position: relative;
  display: inline-block;
  background: linear-gradient(180deg, #BD1922 0%, #7E141D 50%, #FC1E27 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hb-underline {
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 260px;
  height: 12px;
  max-width: 100%;
}

.hb-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #424751;
  margin: 0 0 32px;
  max-width: 512px;
}

.hb-trust-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hb-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hb-trust-item i {
  color: #006B5F;
  font-size: 13px;
  flex-shrink: 0;
}

.hb-trust-item span {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.24px;
  color: #424751;
  white-space: nowrap;
}

/* ===== Right: Quick Test Booking Card ===== */
.hb-booking {
  position: relative;
  box-sizing: border-box;
  flex: 1 1 30%;
  max-width: 389px;
  min-height: 533px;
  background: #F8F0F0;
  border: 1px solid rgba(195, 198, 210, 0.3);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  /* overflow was intentionally NOT set to hidden here anymore — see .hb-booking-mask.
     Clipping the whole card also clipped the Select Test dropdown, which needs to
     extend past the card's bottom edge when open. */
  isolation: isolate;
}

/* Clips ONLY the decorative glow to the card's rounded corners, so the rest of the
   card (and anything that needs to overflow it, like the test dropdown) stays visible. */
.hb-booking-mask {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 24px;
  z-index: 0;
  pointer-events: none;
}

.hb-booking-glow {
  position: absolute;
  right: -47px;
  top: -47px;
  width: 160px;
  height: 160px;
  background: rgba(189, 25, 34, 0.15);
  mix-blend-mode: multiply;
  opacity: 0.6;
  filter: blur(20px);
  border-radius: 9999px;
  pointer-events: none;
}

.hb-booking-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 21px;
  padding: 33px 32px;
  width: 100%;
  box-sizing: border-box;
}

.hb-booking-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.hb-booking-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  color: #0B1C30;
  margin: 0;
}

.hb-booking-title i {
  background: linear-gradient(180deg, #BD1922 0%, #7E141D 50%, #FC1E27 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 20px;
}

.hb-booking-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.24px;
  color: #424751;
  margin: 0;
}

/* ===== Form Styling ===== */
.hb-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding-bottom: 21px;
  border-bottom: 1px solid #BD1922;
  gap: 12px;
}

.hb-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.hb-label {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  color: #424751;
}

/* ===== Input Wrapper for Text Inputs ===== */
.hb-input-wrapper {
  position: relative;
  width: 100%;
}

.hb-input-icon-left {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #6B7280;
  font-size: 14px;
  z-index: 1;
  pointer-events: none;
}

/* ===== Test Input (changed from select to text input) ===== */
.hb-test-input,
.hb-location-input {
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  padding: 12px 16px 12px 40px;
  background: #FFFFFF;
  border: 1px solid rgba(195, 198, 210, 0.5);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14px;
  color: #0B1C30;
  transition: border-color 0.2s ease;
}

.hb-test-input::placeholder,
.hb-location-input::placeholder {
  color: #6B7280;
}

.hb-test-input:focus,
.hb-location-input:focus {
  outline: none;
  border-color: #BD1922;
}

/* ===== Datalist Styling ===== */
.hb-test-input {
  position: relative;
}

.hb-test-input::-webkit-calendar-picker-indicator {
  display: none;
}

/* ===== Submit Button ===== */
.hb-submit-wrapper {
  width: 100%;
  padding-top: 16px;
}

.hb-submit-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  background: linear-gradient(180deg, #BD1922 0%, #7E141D 50%, #FC1E27 100%);
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14px;
  color: #FFFFFF;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.hb-submit-btn:hover {
  transform: translateY(-1px);
}

.hb-submit-btn:active {
  transform: translateY(0);
}

.hb-submit-btn i {
  font-size: 13px;
}

/* ===== Secondary Section (Upload) ===== */
.hb-secondary {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
}

.hb-upload-hint {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.hb-upload-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #BD1922;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 18px;
}

.hb-upload-hint-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.hb-upload-hint-text strong {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.14px;
  color: #121C28;
  margin: 0;
}

.hb-upload-hint-text p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 12px;
  color: #5B403D;
  margin: 0;
}

.hb-upload-btn {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 46px;
  background: transparent;
  border: 1px dashed #BD1922;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14px;
  color: #BD1922;
  text-decoration: none;
  transition: background 0.15s ease;
  cursor: pointer;
}

.hb-upload-btn:hover {
  background: rgba(189, 25, 34, 0.05);
  color: #BD1922;
}

.hb-upload-btn i {
  font-size: 13px;
}

/* ===== Responsive Design ===== */

/* Tablet & Large Screens */
@media (max-width: 1199.98px) {
  .hb-heading {
    font-size: 38px;
    line-height: 46px;
  }

  .hb-hero-image {
    width: 38%;
  }
}

/* Medium Tablets (Stacked Layout) */
@media (max-width: 991.98px) {
  .hb-section {
    padding: 74px 24px 32px !important;
  }

  .hb-row {
    flex-direction: column;
    min-height: auto;
    gap: 24px;
  }

  .hb-hero,
  .hb-booking {
    flex: 1 1 100%;
    min-height: auto;
    max-width: 100%;
    width: 100%;
  }

  .hb-hero-image {
    position: relative;
    width: 100%;
    height: 280px !important;
    background-size: cover !important;
    background-position: top center !important;
    order: 1;
    border-radius: 0 0 24px 24px;
  }

  .hb-hero-gradient {
    display: none;
  }

  .hb-hero-content {
    padding: 32px 24px;
    order: -1;
  }

  .hb-heading {
    font-size: 32px;
    line-height: 40px;
    max-width: 100%;
  }

  .hb-desc {
    font-size: 16px;
    line-height: 24px;
    max-width: 100%;
  }

  .hb-booking-content {
    padding: 28px 24px;
  }
}

/* Mobile Phones (Match Screenshot Design) */
@media (max-width: 575.98px) {
  .hb-section {
    padding: 68px 16px 24px !important;
    background: #FFFFFF;
  }

  .hb-row {
    gap: 16px;
  }

  /* Hero Card */
  .hb-hero {
    border-radius: 24px;
    min-height: auto;
    flex-direction: column;
  }

  .hb-hero-image {
    width: 100%;
    height: 260px !important;
    background-size: cover !important;
    background-position: top center !important;
    order: 1;
    border-radius: 0 0 24px 24px;
  }

  .hb-hero-content {
    padding: 24px 20px;
    width: 100%;
    order: -1;
  }

  .hb-badge {
    margin-bottom: 16px;
  }

  .hb-heading {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 12px;
  }

  .hb-desc {
    font-size: 13px;
    line-height: 19px;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .hb-trust-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
  }

  /* Booking Card */
  .hb-booking {
    width: 100%;
    min-height: auto;
    border-radius: 24px;
    max-width: 100%;
  }

  .hb-booking-content {
    padding: 24px 20px;
    gap: 18px;
  }

  .hb-booking-title {
    font-size: 18px;
    line-height: 26px;
    gap: 6px;
  }

  .hb-booking-title i {
    font-size: 16px;
  }

  .hb-booking-sub {
    font-size: 11px;
    line-height: 14px;
  }

  /* Form Fields */
  .hb-form {
    padding-bottom: 18px;
    gap: 10px;
  }

  .hb-field {
    gap: 3px;
  }

  .hb-label {
    font-size: 10px;
    letter-spacing: 0.5px;
  }

  .hb-test-input,
  .hb-location-input {
    height: 44px;
    font-size: 13px;
    padding: 10px 14px 10px 36px;
  }

  .hb-input-icon-left {
    left: 12px;
    font-size: 13px;
  }

  /* Submit Button */
  .hb-submit-wrapper {
    padding-top: 12px;
  }

  .hb-submit-btn {
    height: 44px;
    font-size: 13px;
    gap: 6px;
  }

  .hb-submit-btn i {
    font-size: 12px;
  }

  .hb-submit-btn span {
    font-weight: 600;
  }

  /* Secondary Section */
  .hb-secondary {
    gap: 16px;
  }

  .hb-upload-hint {
    gap: 10px;
  }

  .hb-upload-icon {
    width: 44px;
    height: 44px;
    font-size: 16px;
    flex-shrink: 0;
  }

  .hb-upload-hint-text strong {
    font-size: 13px;
    line-height: 18px;
  }

  .hb-upload-hint-text p {
    font-size: 9px;
    line-height: 11px;
  }

  .hb-upload-btn {
    height: 44px;
    font-size: 13px;
    gap: 6px;
    border-radius: 3px;
  }

  .hb-upload-btn i {
    font-size: 12px;
  }
}

/* Extra Small Phones */
@media (max-width: 375px) {
  .hb-section {
    padding: 10px 12px 20px !important;
  }

  .hb-hero-content {
    padding: 20px 16px;
  }

  .hb-heading {
    font-size: 22px;
    line-height: 28px;
  }

  .hb-desc {
    font-size: 12px;
    line-height: 18px;
  }

  .hb-booking-content {
    padding: 20px 16px;
  }

  .hb-booking-title {
    font-size: 16px;
  }
}

/* ══════════════════════════════════════════════
   TEST SELECTOR DROPDOWN
   Attaches to the existing "Select Test" field
   (.hb-input-wrapper / .hb-test-input) — no other
   selectors above this point were touched.
   ══════════════════════════════════════════════ */

.hb-test-wrapper {
  position: relative;
}

.hb-test-input {
  padding-right: 36px;   /* room for the chevron */
  cursor: pointer;
}

.hb-test-chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #6B7280;
  font-size: 12px;
  transition: transform 0.2s ease, color 0.2s ease;
  pointer-events: none;
}

.hb-test-wrapper.hb-test-open .hb-test-chevron {
  transform: translateY(-50%) rotate(180deg);
  color: #BD1922;
}

.hb-test-wrapper.hb-test-open .hb-test-input {
  border-color: #BD1922;
}

/* Summary text ("3 tests selected") shown once closed, in place of typed text */
.hb-test-summary {
  position: absolute;
  left: 40px;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14px;
  color: #0B1C30;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  background: #FFFFFF;
}

.hb-test-summary.hb-test-summary-visible {
  display: block;
}

.hb-test-summary.hb-test-summary-visible + .hb-test-input,
.hb-test-summary.hb-test-summary-visible + .hb-test-input::placeholder {
  color: transparent;
}

.hb-test-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  width: 100%;
  max-height: 380px;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid rgba(194, 33, 39, 0.2);
  border-radius: 14px;
  box-shadow: 0px 14px 36px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  z-index: 99999 !important;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.hb-test-wrapper.hb-test-open .hb-test-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.hb-test-dropdown i {
  position: static !important;
  transform: none !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
}

.hb-test-category-chevron {
  position: static !important;
  font-size: 10px !important;
  color: #BD1922 !important;
}

/* Quick filters row - Single horizontal scrolling line (PERMANENTLY STICKY AT TOP) */
.hb-test-filters {
  box-sizing: border-box;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  padding: 8px 12px;
  gap: 8px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  background: #F8F0F0;
  border-bottom: 1px solid rgba(195, 198, 210, 0.4);
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hb-test-filters::-webkit-scrollbar {
  display: none;
}

.hb-test-filter-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  height: 30px;
  background: #FFFFFF;
  border: 1px solid #BD1922;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22px;
  color: #BD1922;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.hb-test-filter-btn i { font-size: 12px; }

.hb-test-filter-btn.hb-test-filter-active {
  background: #BD1922;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(189, 25, 34, 0.25);
}

.hb-test-filter-btn:hover:not(.hb-test-filter-active) {
  background: rgba(189, 25, 34, 0.08);
}

/* Scrollable results list */
.hb-test-results {
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(195, 198, 210, 0.6) transparent;
}

.hb-test-results::-webkit-scrollbar { width: 4px; }
.hb-test-results::-webkit-scrollbar-track { background: transparent; }
.hb-test-results::-webkit-scrollbar-thumb { background: rgba(195, 198, 210, 0.6); border-radius: 4px; }

/* Category (parent) row - STICKY INSIDE LIST */
.hb-test-category {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 10;
  background: #F8F0F0;
  border-top: 1px solid rgba(189, 25, 34, 0.3);
  cursor: pointer;
  user-select: none;
}

.hb-test-category:first-child { border-top: none; }

.hb-test-category-chevron {
  flex-shrink: 0;
  font-size: 10px;
  color: #BD1922;
  transition: transform 0.15s ease;
}

.hb-test-category.hb-test-category-collapsed .hb-test-category-chevron {
  transform: rotate(-90deg);
}

.hb-test-category-label {
  flex: 1;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  color: #0B1C30;
}

.hb-test-category-count {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: #BD1922;
  flex-shrink: 0;
}

/* Child tests, nested under their category */
.hb-test-children.hb-test-children-collapsed { display: none; }

.hb-test-item {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 22px !important;
  width: 100%;
  background: #FFFFFF;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  cursor: pointer;
  transition: background 0.12s ease;
}

.hb-test-item:first-child { border-top: none; }
.hb-test-item:hover { background: #F8FAFC; }
.hb-test-item.hb-test-item-selected { background: rgba(189, 25, 34, 0.05); }

.hb-test-check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 10px;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.hb-test-item.hb-test-item-selected .hb-test-check {
  background: #BD1922;
  border-color: #BD1922;
  color: #FFFFFF;
}

.hb-test-item-info {
  display: flex;
  flex-direction: flex-row;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.hb-test-item-name {
  font-family: 'Inter', sans-serif;
  font-weight: 600 !important;
  font-size: 12.5px !important;
  line-height: 1.3 !important;
  letter-spacing: 0.05px;
  color: #1E293B !important;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hb-test-item-tags {
  display: none !important;
}

.hb-selected-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  margin-bottom: 4px;
  position: relative;
  z-index: 2;
  width: 100%;
  clear: both;
}

.hb-selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFF1F2;
  border: 1px solid rgba(189, 25, 34, 0.3);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #BD1922;
  line-height: 1.2;
  word-break: break-word;
  max-width: 100%;
}

.hb-selected-chip .hb-chip-remove {
  cursor: pointer;
  font-size: 12px;
  opacity: 0.75;
  transition: opacity 0.15s ease;
}

.hb-selected-chip .hb-chip-remove:hover {
  opacity: 1;
  color: #8E1017;
}

.hb-test-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.hb-test-tag {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  background: #F1F2F5;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 10px;
  color: #6B7280;
  white-space: nowrap;
}

.hb-test-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 16px;
  text-align: center;
}

.hb-test-empty i { font-size: 22px; color: rgba(195, 198, 210, 0.8); }
.hb-test-empty p { font-family: 'Inter', sans-serif; font-size: 12px; color: #6B7280; margin: 0; }

/* Footer - PERMANENTLY STICKY AT BOTTOM */
.hb-test-footer {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  z-index: 100 !important;
  width: 100%;
  background: #FFFFFF !important;
  border-top: 1px solid #E2E8F0;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
  margin-top: auto;
}

.hb-test-count-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #1E293B !important;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hb-test-footer-actions { display: flex; align-items: center; gap: 14px; }

.hb-test-clear {
  background: none;
  border: none;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11.5px;
  color: #64748B;
  cursor: pointer;
  transition: color 0.15s ease;
}

.hb-test-clear:hover { color: #C22127; text-decoration: underline; }

.hb-test-done {
  background: linear-gradient(135deg, #C22127 0%, #BD1922 100%) !important;
  border: none;
  border-radius: 8px;
  padding: 7px 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3px;
  color: #FFFFFF !important;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(194, 33, 39, 0.25);
  transition: all 0.2s ease;
}

.hb-test-done:hover {
  background: #A8161B !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(194, 33, 39, 0.35);
}

@media (max-width: 575.98px) {
  .hb-test-dropdown {
    max-height: 60vh;
  }
}

/* ══════════════════════════════════════════════
   ADD THESE STYLES TO YOUR EXISTING CSS FILE
   They only ADD carousel styles, don't replace anything
   ══════════════════════════════════════════════ */

/* Hero Carousel Wrapper */
.hb-carousel-wrapper {
  position: relative;
  flex: 1 1 70%;
  overflow: hidden;
  border-radius: 24px;
}

.hb-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.hb-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
}

.hb-carousel-slide .hb-hero {
  width: 100%;
  margin: 0;
}

/* Carousel Navigation Dots */
.hb-carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.hb-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  padding: 0;
  flex-shrink: 0;
}

.hb-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.hb-carousel-dot-active {
  background: #FFFFFF;
  width: 12px;
  height: 12px;
}

/* Carousel Control Buttons */
.hb-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(189, 25, 34, 0.9);
  border: none;
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s ease, transform 0.2s ease;
  backdrop-filter: blur(4px);
}

.hb-carousel-btn:hover {
  background: rgba(189, 25, 34, 1);
  transform: translateY(-50%) scale(1.1);
}

.hb-carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.hb-carousel-btn-prev {
  left: 20px;
}

.hb-carousel-btn-next {
  right: 20px;
}

.hb-carousel-btn i {
  position: relative;
  left: 2px;
}

.hb-carousel-btn-prev i {
  left: -2px;
}

/* Responsive: Tablet */
@media (max-width: 1199.98px) {
  .hb-carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .hb-carousel-btn-prev {
    left: 12px;
  }

  .hb-carousel-btn-next {
    right: 12px;
  }

  .hb-carousel-dot {
    width: 8px;
    height: 8px;
  }

  .hb-carousel-dot-active {
    width: 10px;
    height: 10px;
  }
}

/* Responsive: Medium Tablets */
@media (max-width: 991.98px) {
  .hb-carousel-wrapper {
    flex: 1 1 100%;
  }
}

/* Responsive: Mobile */
@media (max-width: 575.98px) {
  .hb-carousel-wrapper {
    flex: 1 1 100%;
  }

  .hb-carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .hb-carousel-btn-prev {
    left: 8px;
  }

  .hb-carousel-btn-next {
    right: 8px;
  }

  .hb-carousel-dots {
    bottom: 12px;
    gap: 6px;
  }

  .hb-carousel-dot {
    width: 6px;
    height: 6px;
  }

  .hb-carousel-dot-active {
    width: 8px;
    height: 8px;
  }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
  .hb-carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .hb-carousel-btn-prev {
    left: 4px;
  }

  .hb-carousel-btn-next {
    right: 4px;
  }
}.hb-location-wrapper {
  position: relative;
}

.hb-location-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow-y: auto;
  background: #FFFFFF;
  border: 2px solid #BD1922;
  border-radius: 12px;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 40;

  /* Hide scrollbar visually, keep scroll behavior */
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* old Edge/IE */
}

.hb-location-dropdown::-webkit-scrollbar {
  display: none;               /* Chrome, Safari, new Edge */
}

.hb-location-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  border-top: 1px solid rgba(195, 198, 210, 0.35);
  transition: background 0.12s ease;
}

.hb-location-item:first-child {
  border-top: none;
}

.hb-location-item:hover {
  background: rgba(189, 25, 34, 0.08);
}

.hb-location-item-icon {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 13px;
  color: #9AA0AC;
}

.hb-location-item:hover .hb-location-item-icon {
  color: #BD1922;
}

.hb-location-item-text {
  flex: 1;
  min-width: 0;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 18px;
}

.hb-location-item-main {
  font-weight: 400;
  color: #0B1C30;
}

.hb-location-item-main b {
  font-weight: 700;
  color: #0B1C30;
}

.hb-location-item-secondary {
  font-weight: 400;
  color: #6B7280;
}

/* ===== Responsive ===== */

/* Tablet & Large Screens */
@media (max-width: 1199.98px) {
  .hb-location-item-text {
    font-size: 12.5px;
    line-height: 17px;
  }
}

/* Medium Tablets (stacked layout) */
@media (max-width: 991.98px) {
  .hb-location-dropdown {
    max-height: 320px;
    border-radius: 10px;
  }

  .hb-location-item {
    padding: 10px 12px;
  }
}

/* Mobile Phones */
@media (max-width: 575.98px) {
  .hb-location-dropdown {
    max-height: 60vh;
    border-width: 1.5px;
    border-radius: 10px;
  }

  .hb-location-item {
    padding: 9px 12px;
    gap: 8px;
  }

  .hb-location-item-icon {
    font-size: 12px;
  }

  .hb-location-item-text {
    font-size: 12.5px;
    line-height: 17px;
  }
}

/* Extra Small Phones */
@media (max-width: 375px) {
  .hb-location-dropdown {
    max-height: 50vh;
    border-width: 1.5px;
  }

  .hb-location-item {
    padding: 8px 10px;
    gap: 7px;
  }

  .hb-location-item-icon {
    font-size: 11px;
  }

  .hb-location-item-text {
    font-size: 12px;
    line-height: 16px;
  }
}

/* ══════════════════════════════════════════════
   LOCATION ACCESS MODAL
   ══════════════════════════════════════════════ */

.hb-loc-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 28, 48, 0.55);
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.hb-loc-overlay.hb-loc-overlay-open {
  display: flex;
}

.hb-loc-modal {
  box-sizing: border-box;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #FFFFFF;
  border: 1px solid #E5EEFF;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.1);
  border-radius: 18px;
  overflow: hidden;
}

.hb-loc-panel {
  display: flex;
  flex-direction: column;
}

.hb-loc-content {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.hb-loc-header {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-bottom: 12px;
}

.hb-loc-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(176, 0, 32, 0.1);
  border-radius: 9999px;
  flex-shrink: 0;
}

.hb-loc-icon-badge i {
  font-size: 12px;
  color: #B00020;
}

.hb-loc-icon-badge-confirmed {
  background: rgba(189, 25, 34, 0.12);
}

.hb-loc-icon-badge-confirmed i {
  color: #BD1922;
}

.hb-loc-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.6px;
  color: #B00020;
}

.hb-loc-title {
  font-family: 'Hanken Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: #0B1C30;
  margin: 0 0 8px;
}

.hb-loc-body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #5B403E;
  margin: 0 0 12px;
}

.hb-loc-context {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: #EFF4FF;
  border: 1px solid #E5EEFF;
  border-radius: 8px;
}

.hb-loc-context-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hb-loc-context-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #5B403E;
}

.hb-loc-context-value {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #B00020;
  text-align: right;
}

.hb-loc-breadcrumb {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.3px;
  color: rgba(91, 64, 62, 0.7);
}

.hb-loc-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 20px 20px;
}

.hb-loc-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  background: #B00020;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #FFFFFF;
  cursor: pointer;
  transition: background 0.15s ease;
}

.hb-loc-btn-primary:hover {
  background: #8f001a;
}

.hb-loc-btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  background: #FFFFFF;
  border: 1px solid #E4BDBB;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #840015;
  cursor: pointer;
  transition: background 0.15s ease;
}

.hb-loc-btn-outline:hover {
  background: rgba(228, 189, 187, 0.15);
}

.hb-loc-secondary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.hb-loc-link-red {
  background: none;
  border: none;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #840015;
  cursor: pointer;
}

.hb-loc-link-gray {
  background: none;
  border: none;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #685B5D;
  cursor: pointer;
}

.hb-loc-link-cancel {
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #685B5D;
  cursor: pointer;
}

/* Loading bars ("equalizer" animation) */
.hb-loc-loading-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 0;
}

.hb-loc-loading-bars span {
  width: 12px;
  border-radius: 28px;
  background: #F8F0F0;
  animation: hb-loc-bar-pulse 1s ease-in-out infinite;
}

.hb-loc-loading-bars span:nth-child(1) { height: 14px; animation-delay: 0s; }
.hb-loc-loading-bars span:nth-child(2) { height: 20px; animation-delay: 0.1s; }
.hb-loc-loading-bars span:nth-child(3) {
  height: 26px;
  background: linear-gradient(180deg, #BD1922 0%, #FC1E27 100%);
  animation-delay: 0.2s;
}

/* Base navbar styles handled by custom.css */

/* =============================================================
   Dygo Diagnostics — Mega Menu
   Figma: 1232px × 467px, sidebar 249px, right pane 983px
   ============================================================= */

/* ── Ensure navbar has position context ── */
.dygo-navbar {
    position: relative;
    z-index: 1000;
}

.dygo-navbar__inner {
    position: relative;
}

/* ── Nav item with mega ── */
.dygo-nav-item--mega {
    position: static;
}

/* ══════════════════════════════════════════════
   MEGA PANEL WRAPPER
   ══════════════════════════════════════════════ */
/* =================================================================
   DYGO MEGA MENU — Premium Redesign
   Sidebar: color-coded category pills
   Pane: gradient header + card-style group boxes
   ================================================================= */

/* ── Per-category accent tokens ── */
[data-panel="pathology"]  { --mm-accent: #C22127; --mm-accent2: #E03535; --mm-bg: #FFF4F4; --mm-icon-bg: linear-gradient(135deg,#FFDCDD,#FFB3B5); }
[data-panel="radiology"]  { --mm-accent: #2563EB; --mm-accent2: #3B82F6; --mm-bg: #F0F5FF; --mm-icon-bg: linear-gradient(135deg,#DBEAFE,#BFDBFE); }
[data-panel="cardiology"] { --mm-accent: #7C3AED; --mm-accent2: #8B5CF6; --mm-bg: #F5F3FF; --mm-icon-bg: linear-gradient(135deg,#EDE9FE,#DDD6FE); }
[data-panel="packages"]   { --mm-accent: #059669; --mm-accent2: #10B981; --mm-bg: #F0FDF4; --mm-icon-bg: linear-gradient(135deg,#D1FAE5,#A7F3D0); }

#pane-pathology  { --mm-accent: #C22127; --mm-accent2: #E03535; --mm-bg: #FFF4F4; }
#pane-radiology  { --mm-accent: #2563EB; --mm-accent2: #3B82F6; --mm-bg: #F0F5FF; }
#pane-cardiology { --mm-accent: #7C3AED; --mm-accent2: #8B5CF6; --mm-bg: #F5F3FF; }
#pane-packages   { --mm-accent: #059669; --mm-accent2: #10B981; --mm-bg: #F0FDF4; }

/* ── Mega container ── */
.dygo-mega {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 0;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: 1180px;
    max-width: calc(100vw - 32px);
    height: auto;
    max-height: 490px;
    background: #FFFFFF;
    border: 1px solid #E8EDF5;
    box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 16px 48px rgba(15,23,42,0.12);
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
    z-index: 999;
}

.dygo-nav-item--mega.is-mega-open .dygo-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}

/* ══════════════════════════════════════════════
   LEFT SIDEBAR — vertical tab pills
   ══════════════════════════════════════════════ */
.dygo-mega__sidebar {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 0 20px;
    width: 220px;
    min-width: 220px;
    max-height: 490px;
    overflow-y: auto;
    align-self: stretch;
    background: #FAFBFC;
    border-right: 1px solid #EEF2F8;
    flex-shrink: 0;
    gap: 4px;
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 transparent;
}
.dygo-mega__sidebar::-webkit-scrollbar { width: 3px; }
.dygo-mega__sidebar::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 4px; }

/* Sidebar section label */
.dygo-mega__sidebar-label {
    font-family: 'Inter', 'Manrope', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #94A3B8;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0 18px 6px;
}

/* Each category button */
.dygo-mega__cat {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px 10px 18px;
    margin: 0 10px;
    width: calc(100% - 20px);
    min-height: 52px;
    border: none;
    border-radius: 12px;
    border-left: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s, box-shadow 0.15s;
    position: relative;
}
.dygo-mega__cat:hover {
    background: #F1F5F9;
}
.dygo-mega__cat--active {
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(15,23,42,0.10);
}

.dygo-mega__cat-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 11px;
}

/* Category icon — colored bubble */
.dygo-mega__cat-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
    transition: transform 0.15s;
}
.dygo-mega__cat:hover .dygo-mega__cat-icon-wrap,
.dygo-mega__cat--active .dygo-mega__cat-icon-wrap { transform: scale(1.08); }

/* Per-category bubble colors */
.dygo-mega__cat[data-panel="pathology"]  .dygo-mega__cat-icon-wrap { background: #FFE8E9; color: #C22127; }
.dygo-mega__cat[data-panel="radiology"]  .dygo-mega__cat-icon-wrap { background: #DBEAFE; color: #2563EB; }
.dygo-mega__cat[data-panel="cardiology"] .dygo-mega__cat-icon-wrap { background: #EDE9FE; color: #7C3AED; }
.dygo-mega__cat[data-panel="packages"]   .dygo-mega__cat-icon-wrap { background: #D1FAE5; color: #059669; }

.dygo-mega__cat-icon {
    font-size: 15px;
    flex-shrink: 0;
}

.dygo-mega__cat-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.dygo-mega__cat-label {
    font-family: 'Inter', 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 18px;
    color: #334155;
    transition: color 0.12s ease;
    white-space: nowrap;
}
.dygo-mega__cat--active .dygo-mega__cat-label { color: #0F172A; }

.dygo-mega__cat-sublabel {
    font-family: 'Inter', 'Manrope', sans-serif;
    font-size: 10.5px;
    font-weight: 400;
    color: #94A3B8;
    line-height: 1.3;
    white-space: nowrap;
}

.dygo-mega__cat-arrow {
    font-size: 9px;
    color: #CBD5E1;
    flex-shrink: 0;
    transition: color 0.12s ease, transform 0.15s ease;
}
.dygo-mega__cat--active .dygo-mega__cat-arrow { color: #64748B; }

/* Active indicator — colored left stripe */
.dygo-mega__cat--active::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    border-radius: 0 3px 3px 0;
    background: var(--mm-accent, #C22127);
}
.dygo-mega__cat[data-panel="pathology"].dygo-mega__cat--active::before  { background: #C22127; }
.dygo-mega__cat[data-panel="radiology"].dygo-mega__cat--active::before  { background: #2563EB; }
.dygo-mega__cat[data-panel="cardiology"].dygo-mega__cat--active::before { background: #7C3AED; }
.dygo-mega__cat[data-panel="packages"].dygo-mega__cat--active::before   { background: #059669; }

/* ══════════════════════════════════════════════
   RIGHT PANE
   ══════════════════════════════════════════════ */
.dygo-mega__pane {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 0;
    flex: 1;
    min-width: 0;
    max-height: 490px;
    align-self: stretch;
    overflow: hidden;
    background: #FFFFFF;
}
.dygo-mega__pane--active { display: flex; }

/* Pane header — colored gradient strip */
.dygo-mega__pane-header {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px 16px;
    gap: 16px;
    width: 100%;
    flex-shrink: 0;
    border-bottom: 1px solid #F1F5F9;
    position: relative;
    overflow: hidden;
}

/* Subtle gradient background per pane */
#pane-pathology  .dygo-mega__pane-header { background: linear-gradient(135deg, #FFF4F4 0%, #FFFFFF 60%); }
#pane-radiology  .dygo-mega__pane-header { background: linear-gradient(135deg, #F0F5FF 0%, #FFFFFF 60%); }
#pane-cardiology .dygo-mega__pane-header { background: linear-gradient(135deg, #F5F3FF 0%, #FFFFFF 60%); }
#pane-packages   .dygo-mega__pane-header { background: linear-gradient(135deg, #F0FDF4 0%, #FFFFFF 60%); }

/* Decorative circle in header */
.dygo-mega__pane-header::after {
    content: '';
    position: absolute;
    right: -30px; top: -30px;
    width: 120px; height: 120px;
    border-radius: 50%;
    opacity: 0.07;
    pointer-events: none;
}
#pane-pathology  .dygo-mega__pane-header::after { background: #C22127; }
#pane-radiology  .dygo-mega__pane-header::after { background: #2563EB; }
#pane-cardiology .dygo-mega__pane-header::after { background: #7C3AED; }
#pane-packages   .dygo-mega__pane-header::after { background: #059669; }

.dygo-mega__pane-heading {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

/* Large category icon pill in pane header */
.dygo-mega__heading-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
#pane-pathology  .dygo-mega__heading-icon-wrap { background: #FFE8E9; }
#pane-radiology  .dygo-mega__heading-icon-wrap { background: #DBEAFE; }
#pane-cardiology .dygo-mega__heading-icon-wrap { background: #EDE9FE; }
#pane-packages   .dygo-mega__heading-icon-wrap { background: #D1FAE5; }

.dygo-mega__heading-icon {
    font-size: 18px;
    flex-shrink: 0;
}
#pane-pathology  .dygo-mega__heading-icon { color: #C22127; }
#pane-radiology  .dygo-mega__heading-icon { color: #2563EB; }
#pane-cardiology .dygo-mega__heading-icon { color: #7C3AED; }
#pane-packages   .dygo-mega__heading-icon { color: #059669; }

.dygo-mega__pane-heading-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dygo-mega__pane-heading span {
    font-family: 'Inter', 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.25;
    color: #0F172A;
}

.dygo-mega__pane-desc {
    font-family: 'Inter', 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
    color: #64748B;
    margin: 0;
}

/* Quick stat badges in header */
.dygo-mega__pane-badges {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}
.dygo-mega__pane-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-family: 'Inter', 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
#pane-pathology  .dygo-mega__pane-badge { background: #FFE8E9; color: #C22127; }
#pane-radiology  .dygo-mega__pane-badge { background: #DBEAFE; color: #2563EB; }
#pane-cardiology .dygo-mega__pane-badge { background: #EDE9FE; color: #7C3AED; }
#pane-packages   .dygo-mega__pane-badge { background: #D1FAE5; color: #059669; }

/* ── Group Grid ── */
.dygo-mega__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 14px;
    width: 100%;
    flex: 1;
    max-height: 340px;
    overflow-y: auto;
    align-content: start;
    padding: 16px 20px 12px 28px;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #E2E8F0 transparent;
}
.dygo-mega__grid::-webkit-scrollbar { width: 3px; }
.dygo-mega__grid::-webkit-scrollbar-thumb { background: #E2E8F0; border-radius: 4px; }

/* ── Group box — card style ── */
.dygo-mega__group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 14px;
    background: #FAFBFC;
    border: 1px solid #F1F5F9;
    border-radius: 12px;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    cursor: default;
}
.dygo-mega__group:hover {
    background: #FFFFFF;
    border-color: #E2E8F0;
    box-shadow: 0 2px 12px rgba(15,23,42,0.07);
}

.dygo-mega__group-heading {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    padding-bottom: 6px;
    width: 100%;
    border-bottom: 1px solid #F1F5F9;
}

.dygo-mega__group-icon {
    font-size: 13px;
    flex-shrink: 0;
    opacity: 0.85;
}
#pane-pathology  .dygo-mega__group-icon { color: #C22127; }
#pane-radiology  .dygo-mega__group-icon { color: #2563EB; }
#pane-cardiology .dygo-mega__group-icon { color: #7C3AED; }
#pane-packages   .dygo-mega__group-icon { color: #059669; }

.dygo-mega__group-heading span {
    font-family: 'Inter', 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 11.5px;
    line-height: 1.3;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #334155;
}

.dygo-mega__group-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.dygo-mega__group-links li {
    display: flex;
    align-items: center;
}

.dygo-mega__group-links a {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    padding: 3px 0;
    font-family: 'Inter', 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.45;
    color: #475569;
    text-decoration: none;
    transition: color 0.12s ease, padding-left 0.12s ease;
    border-radius: 5px;
}
.dygo-mega__group-links a::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #CBD5E1;
    flex-shrink: 0;
    transition: background 0.12s;
}
#pane-pathology  .dygo-mega__group-links a:hover { color: #C22127; }
#pane-pathology  .dygo-mega__group-links a:hover::before { background: #C22127; }
#pane-radiology  .dygo-mega__group-links a:hover { color: #2563EB; }
#pane-radiology  .dygo-mega__group-links a:hover::before { background: #2563EB; }
#pane-cardiology .dygo-mega__group-links a:hover { color: #7C3AED; }
#pane-cardiology .dygo-mega__group-links a:hover::before { background: #7C3AED; }
#pane-packages   .dygo-mega__group-links a:hover { color: #059669; }
#pane-packages   .dygo-mega__group-links a:hover::before { background: #059669; }

/* ── Footer ── */
.dygo-mega__footer {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 28px;
    width: 100%;
    border-top: 1px solid #F1F5F9;
    flex-shrink: 0;
    background: #FAFBFC;
    margin-top: auto;
}

.dygo-mega__view-all {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    transition: box-shadow 0.15s, transform 0.15s;
}
#pane-pathology  .dygo-mega__view-all { background: #FFE8E9; }
#pane-radiology  .dygo-mega__view-all { background: #DBEAFE; }
#pane-cardiology .dygo-mega__view-all { background: #EDE9FE; }
#pane-packages   .dygo-mega__view-all { background: #D1FAE5; }

.dygo-mega__view-all:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}

.dygo-mega__view-all span {
    font-family: 'Inter', 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 1;
    -webkit-text-fill-color: initial;
    background: none;
}
#pane-pathology  .dygo-mega__view-all span { color: #C22127; }
#pane-radiology  .dygo-mega__view-all span { color: #2563EB; }
#pane-cardiology .dygo-mega__view-all span { color: #7C3AED; }
#pane-packages   .dygo-mega__view-all span { color: #059669; }

.dygo-mega__view-all i {
    font-size: 12px;
    transition: transform 0.15s ease;
}
#pane-pathology  .dygo-mega__view-all i { color: #C22127; }
#pane-radiology  .dygo-mega__view-all i { color: #2563EB; }
#pane-cardiology .dygo-mega__view-all i { color: #7C3AED; }
#pane-packages   .dygo-mega__view-all i { color: #059669; }

.dygo-mega__view-all:hover i { transform: translateX(3px); }

.dygo-nav-item--mega.is-mega-open .dygo-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}

/* ══════════════════════════════════════════════
   LEFT SIDEBAR
   ══════════════════════════════════════════════ */
.dygo-mega__sidebar {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;

    width: 250px;
    min-width: 250px;
    max-height: 460px;
    overflow-y: auto;
    align-self: stretch;

    background: #F8F0F0;
    border-right: 1px solid rgba(230, 189, 185, 0.3);
    flex-shrink: 0;

    scrollbar-width: thin;
    scrollbar-color: rgba(184, 0, 29, 0.3) transparent;
}

.dygo-mega__sidebar::-webkit-scrollbar {
    width: 4px;
}
.dygo-mega__sidebar::-webkit-scrollbar-thumb {
    background: rgba(184, 0, 29, 0.3);
    border-radius: 4px;
}

.dygo-mega__cat {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;

    width: 100%;
    min-height: 48px;

    border: none;
    border-left: 4px solid transparent;
    background: transparent;
    cursor: pointer;
    text-align: left;

    transition: background 0.12s ease, border-color 0.12s ease;
}

.dygo-mega__cat:hover {
    background: rgba(184, 0, 29, 0.05);
}

.dygo-mega__cat--active {
    background: #F0F3FF;
    border-left-color: #B8001D;
}

.dygo-mega__cat-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.dygo-mega__cat-icon {
    font-size: 16px;
    flex-shrink: 0;
    color: #555F6F;
    transition: color 0.12s ease;
}

.dygo-mega__cat--active .dygo-mega__cat-icon {
    color: #B8001D;
}

.dygo-mega__cat-label {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 0.5px;
    color: #555F6F;
    transition: color 0.12s ease;
    white-space: nowrap;
}

.dygo-mega__cat--active .dygo-mega__cat-label {
    color: #B8001D;
}

.dygo-mega__cat-arrow {
    font-size: 9px;
    color: #555F6F;
    flex-shrink: 0;
    transition: color 0.12s ease, transform 0.15s ease;
}

.dygo-mega__cat--active .dygo-mega__cat-arrow {
    color: #B8001D;
}

/* ══════════════════════════════════════════════
   RIGHT PANE
   ══════════════════════════════════════════════ */
.dygo-mega__pane {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 32px 0;
    gap: 12px;

    flex: 1;
    min-width: 0;
    max-height: 460px;
    align-self: stretch;
    overflow: hidden;
}

.dygo-mega__pane--active {
    display: flex;
}

.dygo-mega__pane-header {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 12px;
    gap: 4px;

    width: 100%;
    border-bottom: 1px solid rgba(230, 189, 185, 0.3);
    flex-shrink: 0;
}

.dygo-mega__pane-heading {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.dygo-mega__heading-icon {
    font-size: 18px;
    color: #B8001D;
    flex-shrink: 0;
}

.dygo-mega__pane-heading span {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #151C27;
}

.dygo-mega__pane-desc {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: #555F6F;
    margin: 0;
    width: 100%;
}

/* ── Grid ── */
.dygo-mega__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 28px;
    width: 100%;
    flex: 1;
    max-height: 310px;
    overflow-y: auto;
    align-content: start;
    padding-bottom: 12px;
    padding-right: 4px;

    scrollbar-width: thin;
    scrollbar-color: rgba(184, 0, 29, 0.3) transparent;
}

.dygo-mega__grid::-webkit-scrollbar {
    width: 4px;
}
.dygo-mega__grid::-webkit-scrollbar-thumb {
    background: rgba(184, 0, 29, 0.3);
    border-radius: 4px;
}

.dygo-mega__group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.dygo-mega__group-heading {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding-bottom: 4px;
    width: 100%;
}

.dygo-mega__group-icon {
    font-size: 13px;
    color: rgba(184, 0, 29, 0.7);
    flex-shrink: 0;
}

.dygo-mega__group-heading span {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.7px;
    color: #151C27;
}

.dygo-mega__group-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.dygo-mega__group-links a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 20px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #555F6F;
    text-decoration: none;
    transition: color 0.12s ease;
}

.dygo-mega__group-links a:hover {
    color: #B8001D;
}

/* ── Footer ── */
.dygo-mega__footer {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 12px 0;

    width: 100%;
    border-top: 1px solid rgba(230, 189, 185, 0.3);
    flex-shrink: 0;
    margin-top: auto;
}

.dygo-mega__view-all {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 12px;
    text-decoration: none;
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.05));
    transition: filter 0.15s ease;
}

.dygo-mega__view-all:hover {
    filter: drop-shadow(0px 2px 6px rgba(189, 25, 34, 0.2));
}

.dygo-mega__view-all span {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.7px;
    background: linear-gradient(90deg, #BD1922 0%, #FC1E27 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dygo-mega__view-all i {
    font-size: 12px;
    color: #FC1E27;
    transition: transform 0.15s ease;
}

.dygo-mega__view-all:hover i {
    transform: translateX(3px);
}


/* =============================================================
   RESPONSIVE
   ============================================================= */

/* ── Large desktop ≤ 1279px: fit inside viewport ── */
@media (max-width: 1279px) {
    .dygo-mega {
        width: calc(100vw - 48px);
        left: 24px;
        right: 24px;
        transform: translateX(0) translateY(-6px);
    }

    .dygo-nav-item--mega.is-mega-open .dygo-mega {
        transform: translateX(0) translateY(0);
    }

    .dygo-mega__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 24px;
    }
}

/* ── Tablet ≤ 1024px: tighten sidebar ── */
@media (max-width: 1024px) {
    .dygo-mega__sidebar {
        width: 200px;
        min-width: 200px;
    }

    .dygo-mega__cat {
        padding: 14px 16px;
    }

    .dygo-mega__cat-inner {
        gap: 10px;
    }

    .dygo-mega__pane {
        padding: 20px 24px 0;
    }

    .dygo-mega__pane-heading span {
        font-size: 18px;
    }

    .dygo-mega__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 20px;
    }
}

/* ══════════════════════════════════════════════
   MOBILE NAV (≤ 991px)
   Mega becomes an in-page accordion section
   ══════════════════════════════════════════════ */
@media (max-width: 991.98px) {

    /* Panel: static, full-width, hidden until .is-mega-open */
    .dygo-mega {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: unset !important;
        height: auto !important;

        flex-direction: column;

        border-radius: 0;
        border: none;
        border-top: 2px solid rgba(230, 189, 185, 0.4);
        box-shadow: none;

        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        transition: none !important;

        /* collapsed state */
        display: none;
        z-index: auto;
    }

    .dygo-nav-item--mega.is-mega-open .dygo-mega {
        display: flex;
    }

    /* ── Sidebar becomes a horizontal scrollable tab row ── */
    .dygo-mega__sidebar {
        width: 100%;
        min-width: unset;

        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        padding: 12px 16px;
        gap: 8px;

        background: #F8F0F0;
        border-right: none;
        border-bottom: 1px solid rgba(230, 189, 185, 0.3);

        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .dygo-mega__sidebar::-webkit-scrollbar {
        display: none;
    }

    /* Pill-style tab buttons */
    .dygo-mega__cat {
        flex-shrink: 0;
        width: auto;
        height: 36px;
        padding: 8px 14px;

        border: 1.5px solid rgba(184, 0, 29, 0.25);
        border-left: 1.5px solid rgba(184, 0, 29, 0.25); /* override desktop left-border */
        border-radius: 9999px;

        background: transparent;
        transition: background 0.15s ease, border-color 0.15s ease;
    }

    .dygo-mega__cat:hover {
        background: rgba(184, 0, 29, 0.06);
    }

    .dygo-mega__cat--active {
        background: #B8001D;
        border-color: #B8001D;
        border-left-color: #B8001D;
    }

    .dygo-mega__cat--active .dygo-mega__cat-label,
    .dygo-mega__cat--active .dygo-mega__cat-icon {
        color: #FFFFFF;
    }

    .dygo-mega__cat-inner {
        gap: 8px;
    }

    .dygo-mega__cat-icon {
        font-size: 14px;
    }

    .dygo-mega__cat-label {
        font-size: 13px;
        letter-spacing: 0.4px;
    }

    /* Hide arrow chevron in pill mode */
    .dygo-mega__cat-arrow {
        display: none;
    }

    /* ── Active pane ── */
    .dygo-mega__pane {
        padding: 20px 20px 0;
        gap: 14px;
        overflow: visible;
    }

    .dygo-mega__pane-heading span {
        font-size: 18px;
    }

    .dygo-mega__grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px 20px;
        padding-bottom: 12px;
    }

    .dygo-mega__group-links a {
        font-size: 13px;
        min-height: 28px;
        padding: 4px 0;
    }

    .dygo-mega__footer {
        justify-content: flex-start;
        padding: 12px 0 16px;
    }
}

/* ══════════════════════════════════════════════
   MOBILE ≤ 575px: single column
   ══════════════════════════════════════════════ */
@media (max-width: 575.98px) {

    .dygo-mega__sidebar {
        padding: 10px 12px;
        gap: 6px;
    }

    .dygo-mega__cat {
        height: 32px;
        padding: 6px 12px;
    }

    .dygo-mega__cat-label {
        font-size: 12px;
    }

    .dygo-mega__cat-icon {
        font-size: 12px;
    }

    .dygo-mega__pane {
        padding: 16px 16px 0;
        gap: 12px;
    }

    .dygo-mega__pane-header {
        padding-bottom: 12px;
    }

    .dygo-mega__pane-heading span {
        font-size: 16px;
        line-height: 24px;
    }

    .dygo-mega__pane-desc {
        font-size: 11px;
    }

    .dygo-mega__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 8px;
    }

    .dygo-mega__group {
        /* Collapsible group on small mobile */
        gap: 6px;
    }

    .dygo-mega__group-heading span {
      /* ===================================================================
   SPECIAL OFFER POPUP MODAL (COMPACT & MODERN REDESIGN)
   ================================================================= */
.special-offer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9998;
}

.special-offer-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.special-offer-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%) scale(0.92);
  width: 90%;
  max-width: 380px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(189, 25, 34, 0.08);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.special-offer-popup.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* Close button */
.special-offer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  border: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.special-offer-close:hover {
  background: #bd1922;
  color: #ffffff;
  transform: rotate(90deg);
}

/* Inner Layout */
.special-offer-inner {
  padding: 24px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

/* Top Accent Badge */
.special-offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff1f2;
  color: #bd1922;
  border: 1px solid rgba(189, 25, 34, 0.15);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

/* Title */
.special-offer-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px 0;
  line-height: 1.25;
}

.special-offer-title .highlight {
  color: #bd1922;
  background: linear-gradient(135deg, #bd1922 0%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Coupon Box */
.special-offer-coupon-card {
  width: 100%;
  background: linear-gradient(135deg, #fff7f7 0%, #ffeaea 100%);
  border: 1px dashed rgba(189, 25, 34, 0.35);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.coupon-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.coupon-code-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #bd1922;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(189, 25, 34, 0.25);
}

.coupon-code-val {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 1px;
  font-family: monospace, sans-serif;
}

.coupon-copy-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease;
}

.coupon-copy-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.copy-tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.coupon-copy-btn.is-copied .copy-tooltip {
  opacity: 1;
}

.coupon-subnote {
  font-size: 0.74rem;
  color: #64748b;
  margin: 6px 0 0 0;
}

/* App Download Row */
.special-offer-app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  margin-bottom: 16px;
  background: #f8fafc;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.special-offer-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.qr-code-img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  padding: 4px;
  object-fit: contain;
}

.qr-hint {
  font-size: 0.65rem;
  font-weight: 600;
  color: #64748b;
}

.special-offer-store-buttons {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.store-head {
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
  text-align: left;
}

.store-badge-link {
  display: block;
  height: 32px;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.store-badge-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.store-badge-link:hover {
  transform: translateY(-1px);
}

/* CTA Button */
.special-offer-cta-btn {
  width: 100%;
  height: 44px;
  background: linear-gradient(135deg, #bd1922 0%, #dc2626 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(189, 25, 34, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 6px;
}

.special-offer-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(189, 25, 34, 0.38);
}

.special-offer-tnc-label {
  font-size: 0.68rem;
  color: #94a3b8;
}(max-width: 767px) {
  .special-offer-popup {
    position: fixed;
    width: 95vw;
    max-width: 380px;
    height: auto;
    min-height: 500px;
    right: 2.5vw;
    bottom: 20px;
    flex-direction: column;
  }

  .special-offer-sidebar {
    width: 100%;
    height: auto;
    flex-direction: row;
    border-left: none;
    border-bottom: 1px solid #E5EEFF;
    justify-content: center;
    gap: 12px;
    padding: 15px 12px;
    order: 2;
    margin: 0;
  }

  .special-offer-tc-text {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    transform: none;
    margin: 0;
    padding: 0;
  }

  .special-offer-app-badges {
    flex-direction: row;
    margin: 0;
    padding: 0;
    gap: 8px;
    flex: none;
  }

  .special-offer-app-badge {
    width: 100px;
    height: 40px;
  }

  .special-offer-content {
    order: 1;
    padding: 20px;
  }

  .special-offer-heading {
    font-size: 22px;
    line-height: 28px;
  }

  .special-offer-coupon-wrapper,
  .special-offer-button {
    width: 100%;
  }

  .special-offer-qr-container {
    width: 140px;
    height: 140px;
  }

  .special-offer-qr-code {
    width: 128px;
    height: 128px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .special-offer-popup {
    width: 90vw;
    height: auto;
    min-height: 480px;
  }

  .special-offer-heading {
    font-size: 20px;
    line-height: 26px;
  }

  .special-offer-coupon-code-text {
    font-size: 18px;
  }

  .special-offer-button {
    font-size: 14px;
  }

  .special-offer-qr-container {
    width: 120px;
    height: 120px;
  }

  .special-offer-qr-code {
    width: 110px;
    height: 110px;
  }

  .special-offer-app-badge {
    width: 90px;
    height: 35px;
  }
}

/* Extra small mobile */
@media (max-width: 360px) {
  .special-offer-popup {
    width: 92vw;
  }

  .special-offer-content {
    padding: 16px;
  }

  .special-offer-heading {
    font-size: 18px;
    line-height: 24px;
  }

  .special-offer-coupon-wrapper,
  .special-offer-button {
    width: 95%;
  }

  .special-offer-app-badge {
    width: 80px;
    height: 30px;
  }
}


/* =============================================================
   Tests Search Popup
   Figma specs: 768px × 502px popup, centered on overlay
   ============================================================= */

/* ── Google Fonts (add to <head> if not already present) ──
   <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap" rel="stylesheet">
   Bootstrap Icons CDN also required for <i class="bi bi-*">
   ============================================================= */


/* ── Overlay ── */
.tp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;         /* position popup in upper-center area */
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 24px;
  box-sizing: border-box;
  /* animation setup */
  opacity: 0;
  transition: opacity 0.18s ease;
}

.tp-overlay--open {
  display: flex;
  opacity: 1;
}

/* ── Popup container ── */
.tp-popup {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;

  width: 100%;
  max-width: 768px;       /* Figma: 768px max */
  height: 502px;          /* Figma: 502px */
  max-height: calc(100vh - 120px);

  background: #FFFFFF;
  border: 1px solid #E7EEFE;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;

  /* entrance animation */
  transform: translateY(-12px);
  transition: transform 0.2s ease;
}

.tp-overlay--open .tp-popup {
  transform: translateY(0);
}


/* ══════════════════════════════════════════════
   1. SEARCH HEADER
   Figma: 766px × 73px, padding 16px, bg #F9F9FF
   ══════════════════════════════════════════════ */
.tp-search-header {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 16px;
  gap: 0;

  width: 100%;
  height: 73px;
  flex-shrink: 0;

  background: #F9F9FF;
  border-bottom: 1px solid #E7EEFE;
}

/* Search icon */
.tp-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  flex-shrink: 0;
  color: #555F6F;
  font-size: 18px;
  line-height: 1;
}

/* Input */
.tp-search-input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 8px 12px;
  border: none;
  outline: none;
  background: transparent;

  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #151C27;
}

.tp-search-input::placeholder {
  color: #9AA3AF;
}

/* Close button */
.tp-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: transparent;
  cursor: pointer;
  color: #555F6F;
  font-size: 18px;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}

.tp-close-btn:hover {
  background: rgba(85, 95, 111, 0.1);
  color: #151C27;
}


/* ══════════════════════════════════════════════
   2. QUICK FILTERS / TRENDING BAR
   Figma: 766px × 51px, padding 8px 16px, gap 22px
          bg #F0F3FF, border-bottom #E7EEFE
   ══════════════════════════════════════════════ */
.tp-filters {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 16px;
  gap: 22px;

  width: 100%;
  height: 51px;
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;

  background: #F0F3FF;
  border-bottom: 1px solid #E7EEFE;
}

.tp-filters::-webkit-scrollbar {
  display: none;
}

/* Filter button — inactive */
.tp-filter-btn {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 12px;
  gap: 12px;
  flex-shrink: 0;

  height: 34px;

  background: #F8F0F0;
  border: 1px solid #BD1922;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.tp-filter-btn i {
  font-size: 12px;
  color: #BD1922;
  flex-shrink: 0;
}

.tp-filter-btn span {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  color: #BD1922;
  white-space: nowrap;
}

/* Filter button — active */
.tp-filter-btn.tp-filter-active {
  background: #BD1922;
  border-color: #BD1922;
  height: 32px;
}

.tp-filter-btn.tp-filter-active i,
.tp-filter-btn.tp-filter-active span {
  color: #FFFFFF;
}

.tp-filter-btn:hover:not(.tp-filter-active) {
  background: #f0dada;
}


/* ══════════════════════════════════════════════
   3. RESULTS AREA
   Figma: scrollable, flex-column
   ══════════════════════════════════════════════ */
.tp-results-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;

  width: 100%;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #E7EEFE transparent;
}

.tp-results-area::-webkit-scrollbar {
  width: 4px;
}

.tp-results-area::-webkit-scrollbar-track {
  background: transparent;
}

.tp-results-area::-webkit-scrollbar-thumb {
  background: #E7EEFE;
  border-radius: 4px;
}

/* Category section header */
.tp-category-header {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 16px;

  width: 100%;
  min-height: 37px;
  flex-shrink: 0;

  background: #F8F0F0;
  border-top: 1px solid #BD1922;
}

.tp-category-header span {
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.7px;
  color: #151C27;
  display: flex;
  align-items: center;
}


/* ══════════════════════════════════════════════
   4. TEST LIST
   ══════════════════════════════════════════════ */
.tp-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  width: 100%;
}

/* Individual item */
.tp-item {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  gap: 16px;

  width: 100%;
  min-height: 84px;

  background: #FFFFFF;
  border-top: 1px solid #E7EEFE;
  transition: background 0.12s ease;
}

.tp-item:first-child {
  border-top: none;
}

.tp-item:hover {
  background: #FAFBFF;
}

/* Item info (left side) */
.tp-item-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

/* Test name */
.tp-item-name {
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #151C27;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tags row */
.tp-item-tags {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

/* Tag chip */
.tp-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;

  background: #E2E8F8;
  border-radius: 4px;

  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  color: #555F6F;
  white-space: nowrap;
}

/* Search / action button (right side) */
.tp-item-action {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;

  width: auto;
  min-width: 83px;
  height: 36px;

  border-radius: 4px;
  border: none;
  background: transparent;
  text-decoration: none;

  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.7px;
  color: #B8001D;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.tp-item-action:hover {
  background: #FFF0F0;
  color: #8B0016;
  border-radius: 4px;
}


/* ══════════════════════════════════════════════
   5. EMPTY STATE
   ══════════════════════════════════════════════ */
.tp-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 40px 16px;
  text-align: center;
}

.tp-empty i {
  font-size: 32px;
  color: #CBD2E0;
}

.tp-empty p {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #555F6F;
  margin: 0;
}


/* =============================================================
   RESPONSIVE
   ============================================================= */

/* ── Tablet (≤ 991px) ── */
@media (max-width: 991.98px) {
  .tp-overlay {
    padding-top: 60px;
  }

  .tp-popup {
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 80px);
  }
}

/* ── Mobile (≤ 575px) ── */
@media (max-width: 575.98px) {
  .tp-overlay {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    align-items: flex-end;   /* sheet slides up from bottom on mobile */
  }

  .tp-popup {
    width: 100%;
    max-width: 100%;
    height: 92dvh;           /* near full-screen bottom sheet */
    max-height: 92dvh;
    border-radius: 16px 16px 0 0;
    transform: translateY(40px);
  }

  .tp-overlay--open .tp-popup {
    transform: translateY(0);
  }

  /* Drag handle indicator */
  .tp-popup::before {
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    background: #D0D5DD;
    border-radius: 2px;
    margin: 10px auto 0;
    flex-shrink: 0;
  }

  .tp-search-header {
    height: auto;
    padding: 12px 16px;
    gap: 0;
  }

  .tp-search-input {
    font-size: 15px;
    height: 36px;
    padding: 6px 10px;
  }

  .tp-filters {
    height: auto;
    min-height: 48px;
    padding: 8px 12px;
    gap: 10px;
  }

  .tp-filter-btn {
    gap: 6px;
    padding: 6px 10px;
    height: auto;
  }

  .tp-item {
    padding: 12px 16px;
    min-height: 72px;
    gap: 12px;
  }

  .tp-item-name {
    font-size: 15px;
    white-space: normal;       /* allow wrapping on very small screens */
    overflow: visible;
    text-overflow: unset;
  }

  .tp-item-action {
    font-size: 13px;
    padding: 6px 12px;
    min-width: 68px;
    height: 32px;
  }

  .tp-category-header {
    padding: 8px 16px;
    min-height: 34px;
  }
}

/* ── Very small screens (≤ 360px) ── */
@media (max-width: 360px) {
  .tp-search-input {
    font-size: 14px;
  }

  .tp-item-name {
    font-size: 14px;
  }

  .tp-tag {
    font-size: 11px;
    padding: 2px 6px;
  }
}

/* =============================================================
   ADVANCED 3D PERSPECTIVE SCROLL REVEAL ANIMATION SYSTEM
   (3D Perspective Flip, Parallax Stacking & Silky 1.35s Motion)
   ============================================================= */

/* 3D Perspective Parent Containers */
.hb-container,
.hdx-container,
.app-download-section,
.sql-row,
.tb-grid,
.hp-grid,
.ps-grid,
.lb-grid,
.bks-steps {
  perspective: 1200px !important;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
}

/* Universal 3D Transition Properties */
.hb-left,
.hdx-left,
.ad-left,
.tb-header .col-lg-6:first-child,
.hb-right,
.hdx-right,
.ad-right,
.tb-header .col-lg-6:last-child,
.sql-card,
.hp-card,
.ps-card,
.lb-card,
.bks-step,
.mb-card,
.tb-card,
.tbc-card {
  transition: opacity 1.35s cubic-bezier(0.2, 0.9, 0.3, 1), transform 1.35s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.35s ease !important;
  will-change: opacity, transform;
  transform-style: preserve-3d;
}

/* 1. LEFT 3D PERSPECTIVE FLIP (Slide & Rotate Y: -22deg, Rotate X: +10deg) */
.hb-left,
.hdx-left,
.ad-left,
.tb-header .col-lg-6:first-child,
.services-quicklinks .sql-card:nth-child(1),
.services-quicklinks .sql-card:nth-child(2),
.bks-step:nth-child(1),
.test-browser-section .tb-card:nth-child(5n+1),
.test-browser-section .tb-card:nth-child(5n+2),
.hp-section .hp-card:nth-child(4n+1),
.hp-section .hp-card:nth-child(4n+2),
.ps-section .ps-card:nth-child(4n+1),
.ps-section .ps-card:nth-child(4n+2),
.lb-section .lb-card:nth-child(4n+1),
.lb-section .lb-card:nth-child(4n+2) {
  opacity: 0;
  transform: perspective(1200px) rotateY(-22deg) rotateX(10deg) translateX(-75px) translateZ(-60px);
}

/* 2. RIGHT 3D PERSPECTIVE FLIP (Slide & Rotate Y: +22deg, Rotate X: +10deg) */
.hb-right,
.hdx-right,
.ad-right,
.tb-header .col-lg-6:last-child,
.services-quicklinks .sql-card:nth-child(4),
.services-quicklinks .sql-card:nth-child(5),
.bks-step:nth-child(3),
.test-browser-section .tb-card:nth-child(5n+4),
.test-browser-section .tb-card:nth-child(5n+5),
.hp-section .hp-card:nth-child(4n+3),
.hp-section .hp-card:nth-child(4n+4),
.ps-section .ps-card:nth-child(4n+3),
.ps-section .ps-card:nth-child(4n+4),
.lb-section .lb-card:nth-child(4n+3),
.lb-section .lb-card:nth-child(4n+4) {
  opacity: 0;
  transform: perspective(1200px) rotateY(22deg) rotateX(10deg) translateX(75px) translateZ(-60px);
}

/* 3. CENTER 3D POP (Emerge from 3D Z-Depth: -80px) */
.services-quicklinks .sql-card:nth-child(3),
.bks-step:nth-child(2),
.mb-section .mb-card,
.test-browser-section .tb-card:nth-child(5n+3) {
  opacity: 0;
  transform: perspective(1200px) translateY(55px) translateZ(-80px) scale(0.92);
}

/* Staggered Transition Delays */
.test-browser-section .tb-card:nth-child(5n+1),
.services-quicklinks .sql-card:nth-child(1) { transition-delay: 0.08s !important; }

.test-browser-section .tb-card:nth-child(5n+2),
.services-quicklinks .sql-card:nth-child(2) { transition-delay: 0.16s !important; }

.test-browser-section .tb-card:nth-child(5n+3),
.services-quicklinks .sql-card:nth-child(3) { transition-delay: 0.24s !important; }

.test-browser-section .tb-card:nth-child(5n+4),
.services-quicklinks .sql-card:nth-child(4) { transition-delay: 0.32s !important; }

.test-browser-section .tb-card:nth-child(5n+5),
.services-quicklinks .sql-card:nth-child(5) { transition-delay: 0.40s !important; }

/* REVEALED ACTIVE 3D STATE */
.hb-section.dg-revealed .hb-left,
.hdx-section.dg-revealed .hdx-left,
.app-download-section.dg-revealed .ad-left,
.test-browser-section.dg-revealed .tb-header .col-lg-6:first-child,
.hb-section.dg-revealed .hb-right,
.hdx-section.dg-revealed .hdx-right,
.app-download-section.dg-revealed .ad-right,
.test-browser-section.dg-revealed .tb-header .col-lg-6:last-child,
.services-quicklinks.dg-revealed .sql-card,
.hp-section.dg-revealed .hp-card,
.ps-section.dg-revealed .ps-card,
.lb-section.dg-revealed .lb-card,
.bks-section.dg-revealed .bks-step,
.mb-section.dg-revealed .mb-card,
.test-browser-section.dg-revealed .tb-card {
  opacity: 1 !important;
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translate(0, 0) translateZ(0px) scale(1) !important;
}

/* 3D Dynamic Card Hover Lift & Soft Drop Shadow Projection */
.sql-card:hover,
.tb-card:hover,
.hp-card:hover,
.ps-card:hover,
.lb-card:hover,
.bks-step:hover {
  transform: perspective(1000px) translateZ(16px) translateY(-4px) scale(1.015) !important;
  box-shadow: 0 20px 45px rgba(189, 25, 34, 0.16) !important;
}

/* 3D Inner Layer Depth Positioning */
.sql-icon,
.hdx-badge,
.tb-card-content h5 {
  transform: translateZ(24px);
}

/* ==========================================================================
   GLOBAL STANDARDIZED SECTION HEADER & TYPOGRAPHY DESIGN SYSTEM
   Unifies Eyebrow Badges, Headings, Subtitles, and Margins across ALL components.
   ========================================================================== */

/* 1. EYEBROW / BADGES STANDARDIZATION */
.hp-eyebrow,
.tb-eyebrow,
.mb-eyebrow,
.lb-eyebrow,
.tbc-badge,
.ps-badge,
.psm-badge,
.bks-badge,
.bksm-badge,
.ad-badge,
.hdx-badge,
.special-offer-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 4px 12px !important;
  background: rgba(225, 29, 38, 0.06) !important;
  border: 1px solid rgba(225, 29, 38, 0.18) !important;
  border-radius: 9999px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  letter-spacing: 1.1px !important;
  text-transform: uppercase !important;
  color: #E11D26 !important;
  margin-bottom: 10px !important;
  box-shadow: none !important;
  -webkit-text-fill-color: #E11D26 !important;
  width: fit-content !important;
}

.hp-eyebrow i,
.tb-eyebrow i,
.mb-eyebrow i,
.lb-eyebrow i,
.tbc-badge i,
.ps-badge i,
.psm-badge i,
.bks-badge i,
.bksm-badge i,
.ad-badge i,
.hdx-badge i,
.special-offer-eyebrow i,
.ad-badge-dot,
.bks-badge-dot,
.bksm-badge-dot {
  color: #E11D26 !important;
  font-size: 12px !important;
  -webkit-text-fill-color: #E11D26 !important;
}

.hp-eyebrow span,
.mb-eyebrow span,
.lb-eyebrow span,
.tbc-badge span,
.ps-badge span,
.psm-badge span,
.bks-badge span,
.bksm-badge span,
.ad-badge span,
.hdx-badge span {
  color: #E11D26 !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 1.1px !important;
  text-transform: uppercase !important;
  -webkit-text-fill-color: #E11D26 !important;
}

/* 2. SECTION MAIN HEADINGS STANDARDIZATION */
.hp-heading,
.tb-heading,
.mb-heading,
.lb-heading,
.tbc-heading,
.ps-heading,
.psm-heading,
.bks-heading,
.bksm-heading,
.ad-heading,
.hdx-heading,
.why-choose-title,
.reach-impact-perfect-title {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 800 !important;
  font-size: 28px !important;
  line-height: 1.25 !important;
  letter-spacing: -0.4px !important;
  color: #151C27 !important;
  margin: 0 0 8px 0 !important;
}

/* Red Accent Spans inside Headings */
.hp-heading-red,
.mb-heading-red,
.lb-heading-red,
.tbc-heading-red,
.ad-heading-red,
.hdx-heading-red,
.ps-heading-red {
  color: #E11D26 !important;
  font-weight: 800 !important;
  background: none !important;
  -webkit-text-fill-color: #E11D26 !important;
}

/* 3. SECTION SUBTITLES / DESCRIPTIONS STANDARDIZATION */
.hp-desc,
.tb-heading-desc,
.mb-desc,
.lb-desc,
.tbc-desc,
.ps-desc,
.bks-desc,
.bksm-desc,
.ad-desc,
.hdx-desc,
.why-choose-subtitle,
.reach-impact-perfect-subtitle {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: #55575C !important;
  margin: 0 !important;
}

/* 4. MOBILE SECTION HEADER & TYPOGRAPHY UNIFICATION (< 768px) */
@media (max-width: 767.98px) {
  .hp-eyebrow,
  .tb-eyebrow,
  .mb-eyebrow,
  .lb-eyebrow,
  .tbc-badge,
  .ps-badge,
  .psm-badge,
  .bks-badge,
  .bksm-badge,
  .ad-badge,
  .hdx-badge {
    font-size: 10.5px !important;
    padding: 3px 10px !important;
    gap: 5px !important;
    margin-bottom: 6px !important;
  }

  .hp-eyebrow span,
  .mb-eyebrow span,
  .lb-eyebrow span,
  .tbc-badge span,
  .ps-badge span,
  .psm-badge span,
  .bks-badge span,
  .bksm-badge span,
  .ad-badge span,
  .hdx-badge span {
    font-size: 10.5px !important;
  }

  .hp-heading,
  .tb-heading,
  .mb-heading,
  .lb-heading,
  .tbc-heading,
  .ps-heading,
  .psm-heading,
  .bks-heading,
  .bksm-heading,
  .ad-heading,
  .hdx-heading,
  .why-choose-title,
  .reach-impact-perfect-title {
    font-size: 21px !important;
    line-height: 1.3 !important;
    letter-spacing: -0.3px !important;
    margin: 0 0 6px 0 !important;
  }

  .hp-desc,
  .tb-heading-desc,
  .mb-desc,
  .lb-desc,
  .tbc-desc,
  .ps-desc,
  .bks-desc,
  .bksm-desc,
  .ad-desc,
  .hdx-desc,
  .why-choose-subtitle,
  .reach-impact-perfect-subtitle {
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #55575C !important;
  }
}

/* ==========================================================================
   GLOBAL INTER-COMPONENT VERTICAL SPACING HARMONIZATION
   Ensures EXACT EQUAL vertical gaps between EVERY adjacent section on the page.
   ========================================================================== */

/* 1. RESET ALL SECTION ROOT MARGINS TO ZERO TO PREVENT MARGIN COLLAPSE UNEQUAL GAPS */
.hb-section,
.services-quicklinks,
.test-browser-section,
.app-download-section,
.hdx-section,
.hp-section,
.bks-section,
.bksm-section,
.ps-section,
.psm-section,
.mb-section,
.lb-section,
.tbc-section,
.why-choose,
.reach-impact {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* 2. DESKTOP (≥ 992px) UNIFIED SECTION PADDING (48px Top + 48px Bottom = Exact 96px Gap Between Sections) */
@media (min-width: 992px) {
  .hb-section,
  .services-quicklinks,
  .test-browser-section,
  .app-download-section,
  .hdx-section,
  .hp-section,
  .bks-section,
  .bksm-section,
  .ps-section,
  .psm-section,
  .mb-section,
  .lb-section,
  .tbc-section,
  .why-choose,
  .reach-impact {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  .hdx-container,
  .hb-container,
  .hp-inner,
  .mb-inner,
  .lb-inner,
  .tbc-inner,
  .tb-inner,
  .ad-inner,
  .ps-inner,
  .bks-container,
  .services-quicklinks-inner {
    padding-left: 24px !important;
    padding-right: 24px !important;
    max-width: 1360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* 3. MOBILE (< 768px) UNIFIED SECTION PADDING (32px Top + 32px Bottom = Exact 64px Gap Between Sections) */
@media (max-width: 767.98px) {
  .hb-section,
  .services-quicklinks,
  .test-browser-section,
  .app-download-section,
  .hdx-section,
  .hp-section,
  .bks-section,
  .bksm-section,
  .ps-section,
  .psm-section,
  .mb-section,
  .lb-section,
  .tbc-section,
  .why-choose,
  .reach-impact {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }

  /* Inner Containers get 14px side padding on mobile */
  .hdx-container,
  .hb-container,
  .hp-inner,
  .mb-inner,
  .lb-inner,
  .tbc-inner,
  .tb-inner,
  .ad-inner,
  .services-quicklinks-inner {
    padding-left: 14px !important;
    padding-right: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Fix App Download banner internal padding on mobile */
  .ad-banner {
    padding: 20px 14px !important;
  }

  /* Fix Booking Steps mobile container padding */
  .bksm-section {
    padding: 24px 14px !important;
  }

  .bksm-content {
    padding: 16px 14px 0 !important;
  }

  /* Fix Patient Stories mobile container padding */
  .psm-section {
    padding: 24px 14px !important;
  }

  .psm-header {
    margin-bottom: 24px !important;
  }

  /* Fix quick test booking card inside Hero Diagnostics on mobile */
  .hdx-right {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hdx-card {
    padding: 18px 14px !important;
  }
}

/* ==========================================================================
   MODAL Z-INDEX STACKING FIX: Ensures Navbar never overlaps open modals
   ========================================================================== */
.dygo-navbar {
  z-index: 1030 !important;
}

body.modal-open .dygo-navbar,
body.modal-open .dygo-navbar__inner,
body.modal-open .dygo-navbar * {
  z-index: 1020 !important;
}

.modal-backdrop {
  z-index: 1050 !important;
}

.modal {
  z-index: 1060 !important;
}

.modal-dialog {
  z-index: 1065 !important;
}

/* ==========================================================================
   HERO SECTION / FIRST SECTION TOP MARGIN OFFSET (FIXES NAVBAR OVERLAP)
   Ensures the floating navbar sits in its own spacious header zone above the Hero cards.
   ========================================================================== */

/* Desktop (≥ 992px) */
@media (min-width: 992px) {
  .hb-section:first-of-type,
  .hdx-section:first-of-type,
  .hero-redesign:first-of-type,
  .hero-section-booking:first-of-type,
  .custom-bg:first-of-type,
  .main-wrapper > section:first-of-type,
  body > section:first-of-type,
  main > section:first-of-type {
    padding-top: 100px !important;
  }
}

/* Mobile & Tablet (< 992px) — Fixes Navbar Overlap */
@media (max-width: 991.98px) {
  .hb-section,
  .hdx-section,
  .hero-redesign,
  .hero-section-booking,
  .custom-bg,
  .hb-section:first-of-type,
  .hdx-section:first-of-type,
  .hero-redesign:first-of-type,
  .hero-section-booking:first-of-type,
  .custom-bg:first-of-type,
  .main-wrapper > section:first-of-type,
  body > section:first-of-type,
  main > section:first-of-type,
  .demo-home-page section:first-of-type {
    padding-top: 96px !important;
  }
}

/* ==========================================================================
   PURE SVG VECTOR SKELETON & ORGAN STYLES
   ========================================================================== */
.tb-hotspot-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.tb-organ-shape,
.tb-hotspot {
  pointer-events: auto;
}

/* ALL IDLE HOTSPOTS & ORGAN SHAPES ARE 100% INVISIBLE BEFORE TOUCH */
.tb-organ-shape,
.tb-hotspot,
.tb-variant-radiology .tb-hotspot,
.tb-variant-radiology .tb-organ-shape,
.demo-home-page .tb-hotspot,
.demo-home-page .tb-variant-radiology .tb-hotspot {
  fill: transparent !important;
  stroke: transparent !important;
  stroke-width: 0 !important;
  opacity: 0 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
}

/* ONLY ACTIVE OR HOVERED ORGAN / HOTSPOT IS VISIBLE & GLOWING */
.tb-organ-shape:hover,
.tb-organ-shape.is-active,
.tb-hotspot:hover,
.tb-hotspot.is-active,
.demo-home-page .tb-hotspot:hover,
.demo-home-page .tb-hotspot.is-active {
  opacity: 1 !important;
  fill: rgba(194, 33, 39, 0.35) !important;
  stroke: #BD1922 !important;
  stroke-width: 2.5px !important;
  filter: drop-shadow(0 0 14px rgba(194, 33, 39, 0.85)) !important;
}

/* RADIOLOGY VARIANT ACTIVE / HOVER STATE */
.tb-variant-radiology .tb-organ-shape:hover,
.tb-variant-radiology .tb-organ-shape.is-active,
.tb-variant-radiology .tb-hotspot:hover,
.tb-variant-radiology .tb-hotspot.is-active,
.tb-variant-radiology .tb-variant-radiology .tb-hotspot.is-active,
.demo-home-page .tb-variant-radiology .tb-hotspot:hover,
.demo-home-page .tb-variant-radiology .tb-hotspot.is-active {
  opacity: 1 !important;
  fill: rgba(15, 23, 42, 0.32) !important;
  stroke: #0F172A !important;
  stroke-width: 2.5px !important;
  filter: drop-shadow(0 0 12px rgba(15, 23, 42, 0.7)) !important;
}

/* ==========================================================================
   PATHOLOGY INTERACTIVE ORGAN & HEALTH SYSTEM HUB
   ========================================================================== */
.tb-organ-hub {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
  margin-top: 14px;
}

@media (max-width: 576px) {
  .tb-organ-hub {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.tb-organ-card {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  outline: none;
}

.tb-organ-card:hover {
  border-color: rgba(194, 33, 39, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(194, 33, 39, 0.12);
}

.tb-organ-card.is-active {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F5 100%);
  border-color: #C22127;
  box-shadow: 0 10px 28px rgba(194, 33, 39, 0.22);
}

.tb-organ-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.tb-organ-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(194, 33, 39, 0.08);
  color: #C22127;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.tb-organ-card.is-active .tb-organ-icon {
  background: #C22127;
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(194, 33, 39, 0.35);
}

.tb-organ-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748B;
  background: #F1F5F9;
  padding: 4px 10px;
  border-radius: 20px;
}

.tb-organ-card.is-active .tb-organ-count {
  background: rgba(194, 33, 39, 0.12);
  color: #C22127;
}

.tb-organ-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.tb-organ-markers {
  font-size: 0.78rem;
  font-weight: 600;
  color: #C22127;
  margin-bottom: 4px;
}

.tb-organ-tag {
  font-size: 0.74rem;
  color: #64748B;
  margin: 0;
  line-height: 1.3;
}

/* ==========================================================================
   UNIFIED DYGO ECOSYSTEM HUB (APP DOWNLOAD & VIP MEMBERSHIP)
   ========================================================================== */
.eh-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.eh-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.eh-header {
  max-width: 760px;
  margin: 0 auto 48px;
}

.eh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #C22127;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(194, 33, 39, 0.08);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.eh-heading {
  font-size: 2.25rem;
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.eh-subheading {
  font-size: 1.05rem;
  color: #64748B;
  margin: 0 0 28px;
}

/* SEGMENTED SWITCHER CONTROLLER */
.eh-switcher-wrap {
  display: flex;
  justify-content: center;
}

.eh-switcher {
  display: inline-flex;
  background: #E2E8F0;
  padding: 6px;
  border-radius: 40px;
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.06);
}

.eh-tab-btn {
  border: none;
  background: transparent;
  padding: 10px 24px;
  border-radius: 32px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.eh-tab-btn i {
  font-size: 1.1rem;
}

.eh-tab-btn.is-active {
  background: #FFFFFF;
  color: #0F172A;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
}

.eh-tab-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #C22127;
  background: rgba(194, 33, 39, 0.1);
  padding: 3px 10px;
  border-radius: 20px;
}

.eh-tab-badge.app-badge {
  color: #0284C7;
  background: rgba(2, 132, 199, 0.1);
}

/* CONTENT STAGE & PANELS */
.eh-content-stage {
  position: relative;
  min-height: 480px;
}

.eh-panel {
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.eh-panel.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* PANEL 1: VIP MEMBERSHIP CARDS */
.eh-vip-left-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
  position: relative;
  overflow: hidden;
}

.eh-vip-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.eh-vip-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.eh-vip-desc {
  font-size: 0.9rem;
  color: #94A3B8;
  margin-bottom: 24px;
}

.eh-vip-perks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.eh-perk-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.eh-perk-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(194, 33, 39, 0.2);
  color: #EF4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.eh-perk-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #F8FAFC;
}

.eh-perk-item p {
  font-size: 0.78rem;
  color: #94A3B8;
  margin: 2px 0 0;
}

.eh-vip-stats-strip {
  display: flex;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.eh-stat-val {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  color: #38BDF8;
}

.eh-stat-lbl {
  font-size: 0.72rem;
  color: #94A3B8;
}

.eh-plan-card {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 24px;
  padding: 32px 24px;
  transition: all 0.35s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eh-plan-card:hover,
.eh-plan-card.is-popular {
  border-color: #C22127;
  box-shadow: 0 16px 40px rgba(194, 33, 39, 0.15);
  transform: translateY(-4px);
}

.eh-popular-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, #C22127 0%, #EF4444 100%);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(194, 33, 39, 0.3);
}

.eh-plan-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748B;
  background: #F1F5F9;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.eh-plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.eh-plan-validity {
  font-size: 0.82rem;
  color: #64748B;
  margin-bottom: 16px;
}

.eh-plan-price-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
}

.eh-price-symbol {
  font-size: 1.2rem;
  font-weight: 800;
  color: #C22127;
}

.eh-price-main {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0F172A;
}

.eh-price-mrp {
  font-size: 0.95rem;
  color: #94A3B8;
  text-decoration: line-through;
}

.eh-price-discount {
  font-size: 0.75rem;
  font-weight: 800;
  color: #16A34A;
  background: rgba(22, 163, 74, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
}

.eh-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eh-plan-features li {
  font-size: 0.86rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.eh-plan-features li i {
  color: #16A34A;
  font-size: 1rem;
}

.eh-plan-cta {
  width: 100%;
  background: #C22127;
  color: #FFFFFF;
  font-weight: 800;
  padding: 12px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.eh-plan-cta:hover {
  background: #9F191E;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(194, 33, 39, 0.3);
}

/* PANEL 2: MOBILE APP SHOWCASE */
.eh-app-copy {
  padding-right: 20px;
}

.eh-app-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0284C7;
  background: rgba(2, 132, 199, 0.08);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.eh-app-title {
  font-size: 2rem;
  font-weight: 900;
  color: #0F172A;
  line-height: 1.25;
  margin-bottom: 14px;
}

.eh-app-title span {
  color: #C22127;
}

.eh-app-desc {
  font-size: 0.96rem;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 28px;
}

.eh-app-grid-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.eh-ag-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.eh-ag-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(194, 33, 39, 0.08);
  color: #C22127;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.eh-ag-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
}

.eh-ag-item p {
  font-size: 0.76rem;
  color: #64748B;
  margin: 2px 0 0;
}

.eh-app-download-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.eh-store-btn {
  background: #0F172A;
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.eh-store-btn:hover {
  background: #1E293B;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.eh-store-btn i {
  font-size: 1.6rem;
}

.eh-store-btn small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: #94A3B8;
}

.eh-store-btn strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
}

.eh-qr-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  padding: 8px 14px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.eh-qr-img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
}

.eh-qr-card strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0F172A;
}

.eh-qr-card small {
  display: block;
  font-size: 0.7rem;
  color: #64748B;
}

/* 3D FLOATING MOBILE SHOWCASE */
.eh-app-mockup-stage {
  display: flex;
  justify-content: center;
  align-items: center;
}

.eh-phone-wrap {
  position: relative;
  width: min(340px, 90%);
}

.eh-phone-base {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(15, 23, 42, 0.18));
}

.eh-float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 10px 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
}

.eh-float-badge i {
  font-size: 1.3rem;
}

.eh-float-badge strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  color: #0F172A;
}

.eh-float-badge small {
  display: block;
  font-size: 0.72rem;
  color: #64748B;
}

.eh-float-badge.badge-top {
  top: 10%;
  left: -20px;
  animation: eh-float-slow 4s ease-in-out infinite alternate;
}

.eh-float-badge.badge-bottom {
  bottom: 12%;
  right: -20px;
  animation: eh-float-slow 4s ease-in-out infinite alternate-reverse;
}

@keyframes eh-float-slow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

@media (max-width: 991px) {
  .eh-heading { font-size: 1.8rem; }
  .eh-app-copy { padding-right: 0; margin-bottom: 24px; }
  .eh-float-badge.badge-top { left: 0; }
  .eh-float-badge.badge-bottom { right: 0; }
  .eh-app-download-bar { flex-direction: column; align-items: flex-start; }
}
/* The brand column carries the social links now, so it no longer ends
   halfway up the footer with white space under the app buttons. */
.brand-social { margin-top: 20px; }
.brand-social .follow-label {
    display: block; margin-bottom: 8px; font-family: 'Manrope', system-ui, sans-serif;
    font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8;
}
.brand-social .social { display: flex; gap: 8px; }
.brand-social .social-btn {
    display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
    background: #fff; border: 1px solid #f1d6d6; color: #C22127; font-size: 15px; text-decoration: none;
    transition: background .2s, color .2s, transform .2s;
}
.brand-social .social-btn:hover { background: #C22127; color: #fff; transform: translateY(-2px); }
.bottom-row { justify-content: space-between; }
@media (max-width: 767.98px) {
    .brand-social { margin-top: 16px; }
    .brand-social .social-btn { width: 32px; height: 32px; font-size: 14px; }
}
