/* ==========================================================================
   Bimal Pathology & Diagnostic Center — Production Design System
   Modern, Lightweight, Accessible, High-Performance Native CSS
   ========================================================================== */

/* ===== 1. CSS VARIABLES & DESIGN TOKENS ===== */
:root {
  --primary: #0a5c9e;
  --primary-dark: #063a6b;
  --primary-hover: #084c82;
  --primary-light: #e8f0fe;
  --primary-subtle: #f1f7fd;
  --accent: #c62828;
  --accent-light: #fef2f2;
  --accent-hover: #a51d24;
  --text-main: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-accent-subtle: #faf5ff;
  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;
  --success: #16a34a;
  --success-light: #dcfce7;
  --warning: #d97706;
  --warning-light: #fef3c7;
  --danger: #dc2626;
  --danger-light: #fee2e2;

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -4px rgba(10, 92, 158, 0.08), 0 4px 10px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 35px -8px rgba(10, 92, 158, 0.12);
  --shadow-hover: 0 14px 30px -6px rgba(10, 92, 158, 0.16);

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1240px;
}

/* ===== 2. RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: transparent;
}

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

/* ===== 3. LAYOUT & CONTAINERS ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
}

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

.site-promo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem 1.25rem;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 1rem auto 1.5rem;
  padding: 1rem 3.5rem 1rem 1.25rem;
  border: 1px solid rgba(10, 92, 158, 0.2);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-lg);
  background: linear-gradient(115deg, #ffffff 0%, #f1f7fd 62%, #e8f0fe 100%);
  box-shadow: var(--shadow-sm);
  animation: site-promo-enter 280ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.site-promo[hidden] {
  display: none !important;
}

.site-promo-main {
  min-width: 0;
}

.site-promo-offer {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.045em;
}

.site-promo-offer-message {
  margin: 0;
  color: var(--primary-dark);
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.45;
}

.site-promo-terms {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.site-promo-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.site-promo-cta {
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.84rem;
  white-space: nowrap;
}

.site-promo-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  background: #ffffff;
  color: var(--text-secondary);
  font-size: 1.35rem;
  line-height: 1;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.site-promo-close:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.site-promo-close:focus-visible,
.site-promo-cta:focus-visible,
.site-promo-referral summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.site-promo-referral {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(10, 92, 158, 0.14);
  padding-top: 0.6rem;
}

.site-promo-referral summary {
  width: fit-content;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.site-promo-referral summary:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-promo-referral-content {
  margin-top: 0.5rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-secondary);
}

.site-promo-cancer-intro {
  margin: 0 0 0.45rem;
  color: var(--text-main);
  font-size: 0.88rem;
  line-height: 1.55;
}

.site-promo-details {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.8rem;
  line-height: 1.55;
}

.site-promo-details li + li {
  margin-top: 0.2rem;
}

@keyframes site-promo-enter {
  from { opacity: 0; transform: translateY(-0.75rem) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .site-promo,
  .site-promo-close,
  .site-promo-cta {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 760px) {
  .site-promo {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
    width: calc(100% - 1.25rem);
    margin: 0.75rem auto 1.1rem;
    padding: 0.85rem 2.9rem 0.85rem 0.9rem;
  }

  .site-promo-offer-message {
    font-size: 0.98rem;
  }

  .site-promo-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 0.45rem;
  }

  .site-promo-cta {
    min-width: 0;
    min-height: 2.75rem;
    padding: 0.55rem 0.35rem;
    white-space: normal;
    font-size: 0.77rem;
  }

  .site-promo-referral {
    grid-column: auto;
    padding-top: 0.55rem;
  }

  .site-promo-referral-content {
    padding: 0.65rem;
  }

  .site-promo-cancer-intro,
  .site-promo-details {
    font-size: 0.76rem;
  }
}

@media (max-width: 420px) {
  .site-promo-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.875rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-divider {
  width: 3.5rem;
  height: 4px;
  background: var(--accent);
  margin: 1rem auto;
  border-radius: var(--radius-full);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-top: 0.875rem;
}

/* ===== 4. TOP UTILITY BAR ===== */
.topbar {
  background: var(--primary-dark);
  color: #ffffff;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.topbar-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  color: rgba(255, 255, 255, 0.92);
  transition: color var(--transition-fast);
}

.topbar-item span {
  overflow-wrap: anywhere;
}

.topbar-item:hover {
  color: #ffffff;
}

.topbar-item i {
  color: #93c5fd;
}

.topbar-hours {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.88);
}

.topbar-hours i {
  color: #93c5fd;
}

@media (max-width: 768px) {
  .topbar {
    padding: 0.35rem 0;
  }
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .topbar-hours {
    font-size: 0.75rem;
  }
}

/* ===== 5. STICKY NAVBAR & BRANDING ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 52px;
  max-height: 56px;
  width: auto;
  max-width: 105px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
}

.brand-logo-text {
  display: inline-block;
}

.brand-logo span.accent {
  color: var(--accent);
}

@media (max-width: 768px) {
  .brand-logo-img {
    height: 44px;
    max-height: 48px;
    max-width: 90px;
  }
  .brand-logo-text {
    font-size: 1.15rem;
  }
}

.nav-links-desktop {
  display: none;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .nav-links-desktop {
    display: flex;
  }
}

@media (min-width: 1280px) {
  .nav-links-desktop {
    gap: 1.5rem;
  }
}

.nav-link {
  position: relative;
  padding: 0.5rem 0;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 360px) {
  /* The mobile drawer already contains the report link; keep the compact header usable. */
  .nav-actions > .btn {
    display: none;
  }
}

.mobile-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 1.35rem;
  background: var(--bg-subtle);
  transition: background var(--transition-fast);
}

.mobile-toggle-btn:hover {
  background: var(--border-light);
}

@media (min-width: 1024px) {
  .mobile-toggle-btn {
    display: none;
  }
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  display: none;
  flex-direction: column;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
}

.mobile-nav-drawer.open, .mobile-nav-drawer.active {
  display: flex;
}

.mobile-nav-link {
  padding: 0.875rem 0.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--primary);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* ===== 6. BUTTONS & CTAs ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-align: center;
  transition: all var(--transition-base);
  cursor: pointer;
  user-select: none;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.875rem 1.875rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(10, 92, 158, 0.22);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 18px rgba(10, 92, 158, 0.32);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--border-light);
}

.btn-white {
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

.btn-outline-white {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

/* Floating Action Button */
.float-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.35rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 90;
  transition: all var(--transition-base);
}

.float-call {
  background: #16a34a;
}

.float-call:hover {
  background: #15803d;
  transform: scale(1.08);
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  top: 5.5rem;
  right: 2rem;
  background: var(--text-main);
  color: #ffffff;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  max-width: 400px;
}

.toast-msg.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.toast-msg.error {
  background: var(--danger);
}

.toast-msg.success {
  background: var(--success);
}

/* ===== 7. HERO BANNER & BREADCRUMBS ===== */
.page-banner {
  background: linear-gradient(135deg, rgba(232, 240, 254, 0.85) 0%, #ffffff 60%, rgba(241, 247, 253, 0.65) 100%);
  padding: 2.25rem 0 2.5rem;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.breadcrumb-nav {
  margin-bottom: 0.875rem;
}

.breadcrumb-list {
  list-style: none !important;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--text-light);
  font-weight: 400;
}

.breadcrumb-item a {
  color: var(--primary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--text-secondary);
  font-weight: 600;
}

.page-banner-content {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.page-banner-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.page-banner-title-en {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.page-banner-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .page-banner {
    padding: 1.75rem 0 2rem;
  }
  .page-banner-title {
    font-size: 1.75rem;
  }
  .page-banner-title-en {
    font-size: 1rem;
  }
  .page-banner-subtitle {
    font-size: 0.9375rem;
  }
}

/* Category Sub-Navigation Bar */
.category-subnav-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 0;
  position: sticky;
  top: 4.5rem;
  z-index: 90;
  box-shadow: var(--shadow-xs);
}

.category-subnav-links {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.category-subnav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.category-subnav-pill:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.category-subnav-pill-highlight {
  background: var(--primary-light);
  border-color: rgba(10, 92, 158, 0.3);
  color: var(--primary);
  font-weight: 700;
}

/* ===== 8. RATES PAGE & SEARCH ENGINE ===== */
.rate-search-section {
  padding-top: 2rem;
  padding-bottom: 4.5rem;
  background-color: var(--bg-page);
}

.rate-search-hero-box {
  max-width: 840px;
  width: 100%;
  margin: 0 auto 2.25rem;
  background: var(--bg-surface);
  padding: 1.75rem 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

@media (max-width: 768px) {
  .rate-search-hero-box {
    padding: 1.25rem 1rem;
    margin-bottom: 1.5rem;
  }
}

.rate-search-input-group {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.rate-search-main-icon {
  position: absolute;
  left: 1.25rem;
  font-size: 1.35rem;
  color: var(--primary);
  pointer-events: none;
  z-index: 2;
}

.rate-search-main-input {
  width: 100%;
  height: 56px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 0 3.25rem 0 3.5rem;
  font-size: 1.0625rem;
  color: var(--text-main);
  background: var(--bg-surface);
  transition: all var(--transition-fast);
  outline: none;
}

.rate-search-main-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(10, 92, 158, 0.12);
}

.rate-search-main-input::placeholder {
  color: var(--text-light);
  font-size: 0.95rem;
}

.rate-search-clear-btn {
  position: absolute;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  z-index: 2;
}

.rate-search-clear-btn:hover {
  background: var(--danger-light);
  color: var(--danger);
}

.rate-shortcuts-bar {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.rate-shortcuts-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.rate-shortcut-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 1;
}

.rate-shortcut-chip {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.rate-shortcut-chip:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.rate-results-wrapper {
  max-width: 1040px;
  margin: 0 auto;
}

/* Rate Initial Helper Prompt */
.rate-initial-prompt {
  background: var(--bg-surface);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
  max-width: 840px;
  margin: 0 auto;
}

.rate-prompt-icon-wrapper {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.rate-prompt-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.rate-prompt-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto 1.5rem;
}

.rate-prompt-hints {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rate-hint-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius-full);
}

/* Rate Results Meta Bar */
.rate-results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.rate-results-count-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.rate-results-count-text strong {
  color: var(--primary);
}

/* Rate Results Grid & Cards */
.rate-results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .rate-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.rate-result-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rate-result-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.rate-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.rate-card-title-group {
  flex: 1;
}

.rate-card-code {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.35rem;
}

.rate-card-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
}

.rate-card-nepali {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.rate-card-price-badge {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius-md);
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}

.rate-price-value {
  font-size: 1.2rem;
  font-weight: 800;
}

.rate-card-category-row {
  margin-bottom: 0.75rem;
}

.rate-card-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.rate-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.875rem;
}

.rate-package-includes {
  background: var(--primary-subtle);
  border: 1px solid rgba(10, 92, 158, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  font-size: 0.8125rem;
  margin-bottom: 0.875rem;
}

.rate-package-includes strong {
  display: block;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.rate-package-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.rate-package-tag-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  font-size: 0.75rem;
  color: var(--text-main);
}

.rate-card-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.625rem;
  margin-top: auto;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border-subtle);
}

.rate-meta-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rate-meta-cell i {
  font-size: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.rate-meta-label {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.rate-meta-val {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Rate Show More Container */
.rate-show-more-container {
  text-align: center;
  margin-top: 2.25rem;
}

/* Rate Empty State */
.rate-empty-state {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
  max-width: 680px;
  margin: 0 auto;
}

.rate-empty-icon {
  font-size: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.rate-empty-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.rate-empty-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.rate-empty-action {
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  font-size: 0.875rem;
}

.rate-empty-action p {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.rate-disclaimer-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 1040px;
  margin: 2.5rem auto 0;
}

/* ===== 9. SPECIALIZED & REFERRAL TESTING COLLABORATION ===== */
.referral-collab-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.referral-collab-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #3b82f6 50%, var(--accent) 100%);
}

.referral-collab-header {
  margin-bottom: 1.25rem;
}

.referral-collab-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.referral-collab-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.referral-collab-lead {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.referral-partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.referral-partner-box {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.referral-partner-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.referral-partner-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.referral-partner-country {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.referral-partner-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.referral-logo-section {
  margin: 2rem 0 1.5rem;
}

.referral-logo-heading {
  margin: 0 0 1rem;
  color: var(--text-main);
  font-size: 1.15rem;
  font-weight: 750;
}

.referral-logo-heading span {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
}

.referral-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.referral-logo-item {
  min-width: 0;
  min-height: 142px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: #fff;
  text-align: center;
}

.referral-logo-item img {
  display: block;
  width: 100%;
  height: 64px;
  object-fit: contain;
}

.referral-logo-item span {
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}

@media (max-width: 760px) {
  .referral-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .referral-logo-item {
    min-height: 128px;
    padding: 0.75rem;
  }
}

.referral-flow-box {
  background: var(--primary-subtle);
  border: 1px solid rgba(10, 92, 158, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.referral-flow-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.referral-flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.referral-flow-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-main);
}

.flow-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
  flex-shrink: 0;
}

.referral-collab-note {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  border-left: 3px solid var(--primary);
}

/* ===== 10. COMMON TESTS PILLS ===== */
.common-tests-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 980px;
  margin: 0 auto;
}

.common-test-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.common-test-pill:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ===== 11. PATIENT EDUCATION HIGHLIGHTS ===== */
.edu-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.edu-highlight-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
}

.edu-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.edu-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.edu-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.edu-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

.edu-disclaimer-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 0.875rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
}

/* ===== 12. UNDERSTAND THE TEST SECTION ===== */
.understand-tests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.understand-test-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.understand-test-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.understand-test-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.understand-test-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.understand-test-actions {
  margin-top: auto;
}

/* ===== 13. EXPLORE MORE / THAP JANKARI ===== */
.explore-more-section {
  background: #f1f5f9;
  border-top: 1px solid var(--border-light);
  padding: 3.5rem 0;
}

.explore-more-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.explore-more-main-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.explore-more-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.explore-more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.explore-more-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.2s ease;
}

.explore-more-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.explore-more-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.explore-more-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.explore-more-title-en {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.explore-more-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.explore-more-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
}

/* FAQ Inline Link */
.faq-inline-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

.faq-inline-link:hover {
  text-decoration: underline;
}

/* Timeline Tags & Links */
.timeline-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 0.5rem;
}

.timeline-inline-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

/* Sample Workflow Badges */
.workflow-step-badge {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius-full);
}

/* ===== 14. HERO SECTION ===== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(232, 240, 254, 0.85) 0%, #ffffff 50%, rgba(241, 247, 253, 0.6) 100%);
  padding-top: 3.5rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    padding-top: 4.5rem;
    padding-bottom: 5.5rem;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-badge-container {
  margin-bottom: 1.25rem;
}

.badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.hero-heading {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .hero-heading {
    font-size: 3.25rem;
  }
}

.hero-heading-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-feature-item i {
  color: var(--success);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual-card {
  background: #ffffff;
  padding: 0.875rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  max-width: 520px;
  width: 100%;
}

.hero-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Trust Strip */
.trust-strip {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1.75rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.trust-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.trust-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Quick Action Cards */
.quick-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.quick-action-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.quick-action-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.quick-action-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.quick-action-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.quick-action-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.quick-action-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

/* Services Preview & Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
}

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

.service-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.service-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

/* Rate Banner Callout */
.rate-callout-section {
  padding: 4rem 0;
}

.rate-callout-card {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.rate-callout-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.rate-callout-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.rate-callout-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.rate-callout-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Equipment Preview */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.equipment-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.equipment-img-box {
  background: #ffffff;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
}

.equipment-img-box img {
  max-height: 200px;
  width: auto;
  object-fit: contain;
}

.equipment-body {
  padding: 1.5rem;
}

.equipment-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.equipment-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ===== 15. SERVICES DETAIL PAGE ===== */
.services-intro-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-xs);
}

.services-detail-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-detail-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition-fast);
}

.service-detail-block:hover {
  border-color: #cbd5e1;
}

.service-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.service-detail-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.service-detail-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.service-detail-tag {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
}

.service-detail-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-tests-box {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.service-tests-heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.service-tests-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.test-tag {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-main);
}

.service-detail-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.services-cta-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  text-align: center;
  margin-top: 3.5rem;
}

.services-cta-banner h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.services-cta-banner p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.services-cta-banner .btn-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== 16. PREPARATION PAGE ===== */
.prep-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.prep-guide-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-xs);
}

.prep-guide-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.prep-guide-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.prep-guide-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.prep-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.prep-checklist li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.prep-checklist li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

.prep-alert-box {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 4px solid var(--warning);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.prep-alert-icon {
  font-size: 1.5rem;
  color: var(--warning);
  flex-shrink: 0;
}

.prep-alert-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 0.35rem;
}

.prep-alert-text {
  font-size: 0.9rem;
  color: #78350f;
  line-height: 1.6;
}

/* ===== 17. JOURNEY TIMELINE ===== */
.journey-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 860px;
  margin: 0 auto;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.timeline-step-num {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(10, 92, 158, 0.25);
}

.timeline-step-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  flex: 1;
  box-shadow: var(--shadow-xs);
}

.timeline-step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.timeline-step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== 18. EQUIPMENT SHOWCASE ===== */
.equip-intro-text {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.equipment-showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.equipment-showcase-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .equipment-showcase-card {
    grid-template-columns: 360px 1fr;
  }
}

.equipment-showcase-img {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

@media (min-width: 768px) {
  .equipment-showcase-img {
    border-bottom: none;
    border-right: 1px solid var(--border-light);
  }
}

.equipment-showcase-img img {
  max-height: 240px;
  width: auto;
  object-fit: contain;
}

.equipment-showcase-info {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.equip-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.equipment-showcase-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.equipment-showcase-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.equip-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

.equip-highlights span i {
  color: var(--success);
  margin-right: 0.35rem;
}

/* ===== 19. ABOUT PAGE ===== */
.about-main-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.about-para {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
}

.pillar-icon {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.pillar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.pillar-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.quality-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.quality-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-xs);
}

.quality-card-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.quality-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.quality-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== 20. REPORT PORTAL ===== */
.report-portal-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1040px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .report-portal-wrapper {
    grid-template-columns: 1.25fr 1fr;
  }
}

.report-search-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
}

.report-card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.report-header-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.report-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.report-card-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.report-form .form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  height: 48px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0 1rem;
  font-size: 1rem;
  color: var(--text-main);
  background: var(--bg-surface);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(10, 92, 158, 0.12);
}

.report-info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.report-help-card, .report-contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
}

.report-help-title, .report-contact-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.report-help-steps {
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.report-phone-text, .report-email-text {
  font-size: 1rem;
  margin-top: 0.5rem;
}

.report-status-box {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  margin-top: 1.5rem;
}

.report-loading {
  background: var(--bg-subtle);
  color: var(--text-secondary);
}

.spinner {
  width: 2rem;
  height: 2rem;
  border: 3px solid rgba(10, 92, 158, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 0.75rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.report-error {
  background: var(--danger-light);
  color: var(--danger);
}

.report-table-wrapper {
  overflow-x: auto;
  margin-top: 1.25rem;
}

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

.report-table th, .report-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}

.report-table th {
  background: var(--bg-subtle);
  font-weight: 700;
  color: var(--text-main);
}

.status-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.status-normal { background: var(--success-light); color: var(--success); }
.status-elevated { background: var(--danger-light); color: var(--danger); }
.status-low { background: var(--warning-light); color: var(--warning); }

/* ===== 21. GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: all var(--transition-base);
}

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

.gallery-image-box {
  background: #ffffff;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
}

.gallery-image-box img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.gallery-caption {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #ffffff;
  font-size: 2.5rem;
  line-height: 1;
  background: transparent;
  cursor: pointer;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.lightbox-image {
  max-height: 75vh;
  margin: 0 auto 1rem;
  border-radius: var(--radius-md);
}

.lightbox-caption {
  color: #ffffff;
  font-size: 1rem;
}

/* ===== 22. FAQ ACCORDION ===== */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-group {
  margin-bottom: 2.5rem;
}

.faq-group-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition-fast);
}

.faq-question-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  background: transparent;
}

.faq-chevron {
  color: var(--primary);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-cta-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  text-align: center;
  margin-top: 3.5rem;
}

.faq-cta-banner h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.faq-cta-banner p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.faq-cta-banner .btn-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== 23. CONTACT PAGE ===== */
.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-page-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  }
}

.contact-cards-column,
.contact-map-column {
  min-width: 0;
}

.contact-cards-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-card-lg {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
}

.contact-card-icon-wrapper {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.contact-card-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.contact-card-val {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.contact-card-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.map-card-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
}

.map-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.map-responsive-container {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.contact-summary-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 900px) {
  .contact-summary-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.contact-summary-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.contact-summary-sub, .contact-summary-phone, .contact-summary-hours {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.contact-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 260px;
}

@media (max-width: 360px) {
  .contact-summary-card {
    padding: 1.5rem 1.25rem;
    gap: 1.25rem;
  }

  .contact-summary-actions {
    width: 100%;
    min-width: 0;
  }
}

/* ===== 24. FOOTER ===== */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  }
}

.footer-brand-name {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 48px;
  max-height: 52px;
  width: auto;
  max-width: 95px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.footer-about-text {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-address {
  font-size: 0.85rem;
  color: #cbd5e1;
}

.footer-col-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-links-list a i {
  font-size: 0.75rem;
  color: #64748b;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-contact-list a {
  color: #cbd5e1;
}

.footer-contact-list a:hover {
  color: #ffffff;
}

.contact-email-addresses,
.footer-email-addresses,
.contact-summary-emails,
.report-email-addresses {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  min-width: 0;
}

.contact-email-addresses p {
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-email-addresses a,
.contact-summary-emails a,
.report-email-addresses a,
.footer-email-addresses a {
  overflow-wrap: anywhere;
}

.footer-email-addresses {
  gap: 0.65rem;
}

.footer-email-addresses > span,
.contact-summary-emails > span,
.report-email-addresses > span {
  min-width: 0;
}

.report-email-addresses {
  gap: 0.35rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 0.75rem;
}

.footer-bottom-links a {
  color: #94a3b8;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

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

@media print {
  .no-print, .topbar, .navbar, .footer, .float-btn, .rate-shortcuts-bar, .rate-show-more-container, .rate-search-hero-box, .hero-cta-group, .category-subnav-bar, .explore-more-section {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .rate-result-card, .contact-summary-card, .quality-card, .understand-test-card {
    box-shadow: none !important;
    border: 1px solid #cccccc !important;
    page-break-inside: avoid;
  }
}
