/* =========================================================
   JUSTPATH — Design System
   ========================================================= */

:root {
  --navy: #0B2348;
  --navy-2: #123166;
  --green: #397A61;
  --green-dark: #2C6350;
  --light-green: #EAF4EF;
  --bg: #F7F9FC;
  --white: #FFFFFF;
  --text: #172033;
  --text-secondary: #667085;
  --border: #E6EAF0;
  --amber: #C98A2E;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 35, 72, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 35, 72, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 35, 72, 0.14);

  --container: 1240px;
  --header-h: 96px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

/* Focus states */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  z-index: 9999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* =========================================================
   Typography helpers
   ========================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
}
.eyebrow.on-dark { color: #9FD8BE; }
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--green);
  display: inline-block;
}

h1, .h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
}
h2, .h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--navy);
}
h3, .h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}
.lede {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 54ch;
}
.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2 { margin-top: 10px; }
.section-head p { margin-top: 14px; }

.text-green { color: var(--green); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
  min-height: 44px;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(57, 122, 97, 0.28);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(57,122,97,.34); }
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-navy {
  background: transparent;
  border-color: var(--border);
  color: var(--navy);
}
.btn-outline-navy:hover { border-color: var(--navy); background: var(--bg); }
.btn-ghost {
  background: transparent;
  color: var(--green-dark);
  padding: 10px 6px;
}
.btn-ghost:hover { color: var(--navy); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; min-height: 38px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img {
  height: 72px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
/* Wordmark is included in the logo artwork */
.brand-word { display: none; }
.brand-tag { display: none; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav a {
  position: relative;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  border-radius: var(--radius-full);
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--green-dark); background: var(--light-green); }
.main-nav a.active { color: var(--navy); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 3px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}
.header-phone svg { color: var(--green); flex-shrink: 0; }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  align-items: center;
  justify-content: center;
}
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--navy);
  position: relative;
  transition: all 0.25s var(--ease);
}
.hamburger span::before { position: absolute; top: -6px; }
.hamburger span::after { position: absolute; top: 6px; }
.hamburger[aria-expanded="true"] span { background: transparent; }
.hamburger[aria-expanded="true"] span::before { transform: rotate(45deg); top: 0; }
.hamburger[aria-expanded="true"] span::after { transform: rotate(-45deg); top: 0; }

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 900;
  visibility: hidden;
}
.mobile-drawer .backdrop {
  position: absolute; inset: 0;
  background: rgba(11,35,72,0.5);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.mobile-drawer .panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 86vw);
  background: #fff;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.open { visibility: visible; }
.mobile-drawer.open .backdrop { opacity: 1; }
.mobile-drawer.open .panel { transform: translateX(0); }
.drawer-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.drawer-close {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.mobile-drawer nav a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}
.drawer-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: 56px 0 72px;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(57,122,97,0.08), transparent 60%),
    var(--white);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-top: 14px; }
.hero .lede { margin-top: 18px; max-width: 46ch; }

.trust-benefits {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
.trust-benefits li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.92rem; font-weight: 600; color: var(--text);
}
.trust-benefits svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }

.hero-search {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 8px;
  align-items: stretch;
}
.hero-lead-form .search-field {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
}
.hero-lead-form .search-field + .search-field { border-left: 1px solid var(--border); }
.hero-lead-form .btn { white-space: nowrap; min-height: 48px; }
.search-field {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
}
.search-field svg { color: var(--text-secondary); flex-shrink: 0; }
.search-field input {
  border: none; outline: none; width: 100%;
  font-family: inherit; font-size: 0.95rem; color: var(--text);
  background: transparent;
}
.search-field + .search-field { border-left: 1px solid var(--border); }

.hero-metrics {
  display: flex; flex-wrap: wrap; gap: 22px;
  margin-top: 20px;
}
.hero-metrics span {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.86rem; font-weight: 700; color: var(--text-secondary);
}
.hero-metrics svg { color: var(--green); }

.hero-visual {
  position: relative;
}
.hero-visual-frame {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 4/4.6;
  box-shadow: var(--shadow-lg);
}
.hero-float-card {
  position: absolute;
  left: 24px; bottom: 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  max-width: 260px;
}
.hero-float-card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--light-green);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-dark); flex-shrink: 0;
}
.hero-float-card strong { display: block; color: var(--navy); font-size: 0.95rem; }
.hero-float-card span { font-size: 0.8rem; color: var(--text-secondary); }

/* =========================================================
   Trust strip (dark)
   ========================================================= */
.trust-strip {
  background: linear-gradient(135deg, var(--navy) 0%, #0E2C58 100%);
  color: #fff;
  padding: 56px 0;
}
.trust-strip .section-head h2 { color: #fff; }
.trust-strip .section-head p { color: rgba(255,255,255,0.72); }
.trust-strip .eyebrow { color: #9FD8BE; }
.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.trust-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  text-align: center;
}
.trust-badge .icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; color: #9FD8BE;
}
.trust-badge h3 { color: #fff; font-size: 1.02rem; }
.trust-badge p { color: rgba(255,255,255,0.68); font-size: 0.87rem; margin-top: 6px; }
.trust-strip-cta { text-align: center; margin-top: 34px; }

/* =========================================================
   Sections / generic
   ========================================================= */
.section { padding: 88px 0; }
.section-alt { background: var(--bg); }
.section-mint { background: var(--light-green); }

/* =========================================================
   Test cards
   ========================================================= */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.test-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color .28s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.test-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.test-card .icon {
  width: 50px; height: 50px; border-radius: 13px;
  background: var(--light-green); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
}
.test-card h3 { font-size: 1.08rem; }
.test-card p.desc { color: var(--text-secondary); font-size: 0.88rem; flex-grow: 1; }
.test-card .row {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.price { font-weight: 800; color: var(--navy); font-size: 1.2rem; }
.price small { font-weight: 600; font-size: 0.72rem; color: var(--text-secondary); }
.view-all-wrap { text-align: center; margin-top: 40px; }

/* =========================================================
   Package / feature card
   ========================================================= */
.package-card {
  background: linear-gradient(135deg, var(--navy), #0E2E5C);
  border-radius: 28px;
  padding: 52px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.package-card::after {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(57,122,97,0.35), transparent 70%);
}
.package-pill {
  display: inline-block; background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 14px; border-radius: var(--radius-full);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: #9FD8BE;
}
.package-card h3 { color: #fff; font-size: 1.9rem; margin-top: 14px; }
.package-card .sub { color: rgba(255,255,255,0.75); margin-top: 10px; max-width: 40ch; }
.package-highlights {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px;
  margin: 22px 0 0;
}
.package-highlights li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.86rem; font-weight: 600; color: rgba(255,255,255,0.9);
}
.package-highlights svg { color: #9FD8BE; flex-shrink: 0; }
.package-price-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
}
.package-price-box .was { text-decoration: line-through; color: rgba(255,255,255,0.5); font-size: 0.95rem; }
.package-price-box .now { font-size: 3rem; font-weight: 800; color: #fff; line-height: 1; margin-top: 6px;}
.package-price-box .now sup { font-size: 1.4rem; vertical-align: 6px; }
.package-price-box .now-label { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-top: 4px; }
.package-price-box .params { margin: 16px 0 20px; font-size: 0.85rem; color: #9FD8BE; font-weight: 700; }
.package-price-box .btn { width: 100%; margin-top: 8px; }

/* =========================================================
   How it works / steps
   ========================================================= */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative; margin-top: 20px;
}
.steps-6 {
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 12px;
}
.steps-6 .step-line {
  width: 70%;
  left: 60%;
}
@media (min-width: 1100px) {
  .steps-6 {
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
  }
  .steps-6 .step-line {
    width: 90%;
    left: 55%;
  }
}
.step { text-align: center; position: relative; padding: 0 16px; }
.step-num-icon {
  width: 74px; height: 74px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; color: var(--green-dark); position: relative; z-index: 2;
}
.step-badge {
  position: absolute; top: -6px; right: -2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--green); color: #fff;
  font-size: 0.72rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1rem; }
.step p { color: var(--text-secondary); font-size: 0.87rem; margin-top: 6px; }
.step-line {
  position: absolute; top: 37px; left: 55%; width: 90%;
  border-top: 2px dashed var(--border); z-index: 1;
}
.step:last-child .step-line { display: none; }

/* Partner brand logos (actual brand colours) */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 28px 0 8px;
}
.partner-logo-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 14px 22px;
  min-width: 200px;
  box-shadow: var(--shadow-sm);
}
.trust-strip .partner-logo-card {
  background: rgba(255,255,255,0.96);
  border-color: rgba(255,255,255,0.35);
}
.partner-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.healthians-word {
  color: #00A99D; /* Healthians teal */
  text-transform: lowercase;
}
.thyrocare-word {
  color: #E85D04; /* Thyrocare orange */
}

.labs-near-you {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--light-green), #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
}
.labs-near-you-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  color: var(--green-dark);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.labs-near-you h2 {
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0;
}
.labs-near-you p {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 70ch;
}

/* =========================================================
   Feature cards (why choose)
   ========================================================= */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.feature-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--light-green); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}

/* =========================================================
   Health education
   ========================================================= */
.edu-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
}
.edu-card-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.edu-tile {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 18px; display: flex; gap: 12px; align-items: flex-start;
}
.edu-tile .icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: var(--light-green); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
}
.edu-tile h4 { font-size: 0.92rem; color: var(--navy); }
.edu-tile p { font-size: 0.8rem; color: var(--text-secondary); margin-top: 3px; }
.edu-visual {
  background: var(--light-green);
  border-radius: 28px;
  padding: 36px;
}
.edu-visual .article-tag {
  display: inline-block; background: #fff; color: var(--green-dark);
  font-size: 0.75rem; font-weight: 700; padding: 6px 12px; border-radius: var(--radius-full);
}
.edu-visual h3 { margin-top: 14px; font-size: 1.5rem; line-height: 1.3; }
.edu-visual p { margin-top: 10px; color: var(--text-secondary); font-size: 0.92rem; }
.disclaimer-note {
  font-size: 0.78rem; color: var(--text-secondary); margin-top: 18px;
  padding-top: 14px; border-top: 1px dashed var(--border);
}

/* =========================================================
   CTA dark band
   ========================================================= */
.cta-band {
  background: linear-gradient(135deg, var(--navy), #0E2E5C);
  border-radius: 28px;
  padding: 46px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
  color: #fff;
}
.cta-band h2 { color: #fff; font-size: 1.7rem; }
.cta-band p { color: rgba(255,255,255,0.75); margin-top: 8px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: 64px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.9rem; max-width: 32ch; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { color: var(--text-secondary); font-size: 0.9rem; transition: color .2s; }
.footer-col a:hover { color: var(--green-dark); }
.footer-social { display: flex; gap: 10px; margin-top: 6px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.footer-social a:hover { background: var(--green); color: #fff; border-color: var(--green); }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.83rem; color: var(--text-secondary); flex-wrap: wrap; gap: 10px;
}
.footer-bottom-links { display: flex; gap: 18px; }

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.page-hero {
  padding: 56px 0 60px;
  background: linear-gradient(180deg, var(--light-green) 0%, var(--white) 100%);
  text-align: center;
}
.page-hero h1 { margin-top: 12px; }
.page-hero .lede { margin: 16px auto 0; text-align: center; }
.breadcrumb {
  display: flex; justify-content: center; gap: 8px; font-size: 0.85rem;
  color: var(--text-secondary); margin-bottom: 4px;
}
.breadcrumb a { color: var(--green-dark); font-weight: 600; }

/* =========================================================
   Filter / search bar
   ========================================================= */
.filter-bar {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 18px; margin-top: -18px; margin-bottom: 44px;
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}
.filter-bar .search-field { flex: 1 1 260px; background: var(--bg); border-radius: var(--radius-md); }
.chip-group { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 9px 16px; border-radius: var(--radius-full); border: 1px solid var(--border);
  background: #fff; font-size: 0.85rem; font-weight: 700; color: var(--text-secondary);
  transition: all .2s;
}
.chip:hover { border-color: var(--green); color: var(--green-dark); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.results-count { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 18px; }
.no-results { text-align: center; padding: 60px 20px; color: var(--text-secondary); display: none; }
.no-results.show { display: block; }

/* =========================================================
   Category accordion (tests page)
   ========================================================= */
.category-block {
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; background: #fff;
}
.category-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: #fff; border: none; text-align: left;
}
.category-head h3 { font-size: 1.02rem; }
.category-head .count { font-size: 0.8rem; color: var(--text-secondary); font-weight: 600; margin-left: 10px; }
.category-head .chevron { transition: transform .25s var(--ease); color: var(--green-dark); flex-shrink: 0; }
.category-head[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.category-body {
  max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
  background: var(--bg);
}
.category-body-inner { padding: 6px 24px 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.param-pill {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-full);
  padding: 7px 14px; font-size: 0.82rem; color: var(--text);
}

/* =========================================================
   Package builder table (tests page)
   ========================================================= */
.pkg-detail-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
}

/* =========================================================
   Labs page
   ========================================================= */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.process-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px;
  position: relative;
}
.process-card .n { font-size: 0.78rem; font-weight: 800; color: var(--green-dark); letter-spacing: .06em; }
.process-card h3 { font-size: 1rem; margin-top: 10px; }
.process-card p { font-size: 0.86rem; color: var(--text-secondary); margin-top: 6px; }

.accred-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.accred-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px;
}
.accred-card .badge-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.accred-card .badge-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--light-green);
  display: flex; align-items: center; justify-content: center; color: var(--green-dark);
}
.accred-card p { color: var(--text-secondary); font-size: 0.92rem; }

/* =========================================================
   FAQ accordion
   ========================================================= */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 4px; font-weight: 700; font-size: 1rem; color: var(--navy);
}
.faq-q .chevron { transition: transform .25s var(--ease); color: var(--green-dark); flex-shrink: 0; margin-left: 16px;}
.faq-q[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
}
.faq-a-inner { padding: 0 4px 20px; color: var(--text-secondary); font-size: 0.92rem; max-width: 68ch; }

/* =========================================================
   Blog
   ========================================================= */
.blog-featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: var(--light-green); border-radius: 28px; padding: 40px; margin-bottom: 52px;
}
.blog-featured .art { background: var(--white); border-radius: 22px; padding: 34px; }
.category-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-thumb {
  height: 168px; background: linear-gradient(135deg, var(--light-green), #dcefe6);
  display: flex; align-items: center; justify-content: center; color: var(--green-dark);
}
.blog-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.blog-cat-tag { font-size: 0.72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--green-dark); }
.blog-body h3 { font-size: 1.05rem; line-height: 1.35; }
.blog-body p { font-size: 0.87rem; color: var(--text-secondary); flex-grow: 1; }
.blog-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.78rem; color: var(--text-secondary); margin-top: 6px; }
.blog-read { font-weight: 700; color: var(--green-dark); display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }

.newsletter-box {
  background: var(--navy); border-radius: 28px; padding: 44px; color: #fff;
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; margin-top: 60px;
}
.newsletter-box h3 { color: #fff; font-size: 1.4rem; }
.newsletter-box p { color: rgba(255,255,255,0.72); margin-top: 8px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  padding: 13px 16px; border-radius: var(--radius-full); border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.08); color: #fff; min-width: 220px; font-family: inherit;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.55); }

/* =========================================================
   About page
   ========================================================= */
.value-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.value-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; }
.timeline-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.split-media {
  display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center;
}
.split-media.reverse .media { order: 2; }
.media-panel {
  border-radius: 26px; background: linear-gradient(150deg, var(--light-green), #fff);
  border: 1px solid var(--border); padding: 40px; min-height: 320px;
  display: flex; align-items: center; justify-content: center;
}

/* =========================================================
   Founder letter (About page)
   ========================================================= */
.founder-letter {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: 48px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.founder-portrait {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.founder-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 940 / 1024;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  display: block;
  background: var(--light-green);
}

.founder-meta {
  margin-top: 16px;
  text-align: center;
}

.founder-meta strong {
  display: block;
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 800;
}

.founder-meta span {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.founder-meta em {
  display: block;
  margin-top: 10px;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--green-dark);
  font-weight: 600;
}

.founder-letter-body h2 {
  margin-top: 10px;
  color: var(--navy);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.25;
}

.founder-letter-body .salutation {
  margin-top: 22px;
  font-weight: 700;
  color: var(--navy);
}

.founder-letter-body p {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 62ch;
}

.founder-letter-body p strong {
  color: var(--navy);
}

.founder-signoff {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.founder-signoff p {
  margin-top: 4px;
}

.founder-signoff .founder-name {
  margin-top: 12px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}

.founder-signoff .founder-role {
  font-weight: 600;
  color: var(--text);
}

.founder-signoff .founder-tagline {
  margin-top: 10px;
  font-style: italic;
  color: var(--green-dark);
  font-weight: 600;
}

/* =========================================================
   Contact page
   ========================================================= */
.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: flex-start;
}
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px; display: flex; gap: 14px; align-items: flex-start;
}
.contact-card .icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--light-green); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-card h4 { font-size: 0.95rem; }
.contact-card p, .contact-card a { font-size: 0.88rem; color: var(--text-secondary); }
.whatsapp-cta {
  margin-top: 6px; background: #25D366; color: #fff;
}
.whatsapp-cta:hover { background: #1fb959; }

.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-sm);
}

/* =========================================================
   Forms (shared: contact + booking)
   ========================================================= */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.86rem; font-weight: 700; color: var(--navy); }
.form-field label .req { color: var(--green-dark); }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  font-family: inherit; font-size: 0.94rem; color: var(--text); background: #fff;
  transition: border-color .2s;
  min-height: 44px;
}
.form-field textarea { min-height: 100px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(57,122,97,0.14);
}
.form-field input[aria-invalid="true"], .form-field select[aria-invalid="true"], .form-field textarea[aria-invalid="true"] {
  border-color: #C4453D;
}
.field-error {
  font-size: 0.78rem; color: #C4453D; min-height: 16px; display: none;
}
.field-error.show { display: block; }
.form-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.form-note { font-size: 0.78rem; color: var(--text-secondary); margin-top: 14px; }

.success-panel {
  display: none; text-align: center; padding: 30px 10px;
}
.success-panel.show { display: block; }
.success-panel .icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--light-green); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.success-panel h3 { font-size: 1.2rem; }
.success-panel p { color: var(--text-secondary); margin-top: 8px; max-width: 42ch; margin-left: auto; margin-right: auto; }
.success-panel .actions { display: flex; gap: 10px; justify-content: center; margin-top: 20px; flex-wrap: wrap;}

/* =========================================================
   Booking modal
   ========================================================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(11,35,72,0.55);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 4vh 16px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: #fff; border-radius: 24px; max-width: 640px; width: 100%;
  padding: 34px; position: relative; box-shadow: var(--shadow-lg);
  transform: translateY(18px); transition: transform .3s var(--ease);
  margin: auto;
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.modal-box h3 { font-size: 1.35rem; padding-right: 40px; }
.modal-box .lede { font-size: 0.9rem; margin-top: 6px; }

/* =========================================================
   Badges / misc
   ========================================================= */
.badge-row-inline { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.mini-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--light-green); color: var(--green-dark);
  font-size: 0.78rem; font-weight: 700; padding: 7px 12px; border-radius: var(--radius-full);
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .test-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid .footer-col:nth-child(4) { grid-column: 1; }
  .footer-grid .footer-col:nth-child(5) { grid-column: 2; }
}

@media (max-width: 920px) {
  .main-nav, .header-phone { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual-frame { aspect-ratio: 16/10; }
  .package-card { grid-template-columns: 1fr; padding: 34px; }
  .edu-layout { grid-template-columns: 1fr; }
  .edu-visual { order: -1; }
  .steps { grid-template-columns: 1fr 1fr; gap: 30px; }
  .step-line { display: none; }
  .trust-badges { grid-template-columns: 1fr; }
  .accred-split { grid-template-columns: 1fr; }
  .split-media { grid-template-columns: 1fr; }
  .split-media.reverse .media { order: 0; }
  .founder-letter { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .founder-portrait { position: static; max-width: 320px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; padding: 28px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-box { grid-template-columns: 1fr; text-align: center; }
  .newsletter-form { justify-content: center; }
  .value-grid { grid-template-columns: 1fr; }
  .timeline-flow { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  :root { --header-h: 80px; }
  .section { padding: 60px 0; }
  .brand img { height: 56px; max-width: 120px; }
  .hero { padding: 32px 0 48px; }
  .hero-search { grid-template-columns: 1fr; }
  .search-field + .search-field { border-left: none; border-top: 1px solid var(--border); }
  .hero-lead-form .search-field + .search-field { border-left: 1px solid var(--border); border-top: none; }
  .labs-near-you { flex-direction: column; padding: 22px; }
  .trust-benefits { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .package-highlights { grid-template-columns: 1fr; }
  .package-price-box .now { font-size: 2.4rem; }
  .cta-band { flex-direction: column; text-align: center; padding: 34px 24px; }
  .cta-band .actions { justify-content: center; width: 100%; }
  .cta-band .actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid .footer-col:nth-child(4), .footer-grid .footer-col:nth-child(5) { grid-column: auto; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-featured .art { padding: 24px; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .modal-box { padding: 26px 20px; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-form input { min-width: 0; width: 100%; }
  .page-hero { padding: 40px 0 44px; }
}

/* =========================================================
   Floating booking (Call / WhatsApp) — right corner
   ========================================================= */
.float-booking {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.float-booking a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 12px;
  border-radius: 14px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px rgba(11, 35, 72, 0.22);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.float-booking a:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(11, 35, 72, 0.28);
}

.float-booking a:active {
  transform: translateY(0);
}

.float-booking .float-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-booking .float-call {
  background: var(--navy);
}

.float-booking .float-call:hover {
  background: var(--navy-2);
}

.float-booking .float-wa {
  background: #25D366;
}

.float-booking .float-wa:hover {
  background: #1fb959;
}

@media (max-width: 680px) {
  .float-booking {
    right: 14px;
    bottom: 16px;
    gap: 10px;
  }

  .float-booking a {
    padding: 10px;
    border-radius: 12px;
  }

  .float-booking .float-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .float-booking .float-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: transparent;
  }
}
