/* Colorado flag colors: Blue #003DA5, Red #C8102E, Gold #F5A800, White #FFFFFF */

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

/* ══════════════════════════════════════════
   MOTION
══════════════════════════════════════════ */

/* ── Hero stagger: each element builds in sequence on page load ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow          { opacity: 0; animation: heroFadeUp 0.6s ease forwards 0.15s; }
.hero-inner h1         { opacity: 0; animation: heroFadeUp 0.7s ease forwards 0.35s; }
.hero-inner > p        { opacity: 0; animation: heroFadeUp 0.6s ease forwards 0.55s; }
.hero-creds            { opacity: 0; animation: heroFadeUp 0.6s ease forwards 0.72s; }
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.75rem;
  opacity: 0;
  animation: heroFadeUp 0.5s ease forwards 0.88s;
}

/* ── Scroll fade-up: applied by animations.js ── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Divider draw: width animates from 0 when scrolled into view ── */
.divider {
  width: 0;
  transition: width 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.divider.visible { width: 60px; }

/* ── Stat pulse: fires after counter finishes ── */
@keyframes statPulse {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.14); }
  100% { transform: scale(1); }
}
.stat-pulse { animation: statPulse 0.42s ease; }

/* ── Button shimmer: light sweep on hover ── */
.btn-gold {
  position: relative;
  overflow: hidden;
}
.btn-gold::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 55%;
  height: 200%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn-gold:hover::after { left: 160%; }

/* ── Nav Contact button shimmer ── */
.btn-contact {
  position: relative;
  overflow: hidden;
}
.btn-contact::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 55%;
  height: 200%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn-contact:hover::after { left: 160%; }

/* respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up { opacity: 1; transform: none; }
  .divider { width: 60px; }
}

:root {
  --blue:   #003DA5;
  --red:    #C8102E;
  --gold:   #F5A800;
  --white:  #FFFFFF;
  --navy:   #001F5B;
  --light:  #F4F6FA;
  --gray:   #6B7280;
  --border: #DDE2EE;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--light);
  color: #1a1a2e;
  line-height: 1.6;
}

/* ── ANNOUNCEMENT BAR ── */
@keyframes announcePulse {
  0%, 100% { background: #C8102E; }
  50%       { background: #a00d24; }
}
@keyframes announceSlideIn {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes announceShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.announce-bar {
  background: #C8102E;
  color: #fff;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  animation: announceSlideIn 0.5s ease forwards, announcePulse 2.5s ease-in-out 0.5s infinite;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(200,16,46,0.45);
}

.announce-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: announceShimmer 2.2s linear 1s infinite;
  pointer-events: none;
}

/* ── NAV ── */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 80px;
}

/* ── NAV RIGHT GROUP ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-right: 0.5rem;
}

.nav-link {
  padding: 0.45rem 0.9rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 4px;
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}

.nav-link:hover { background: rgba(255,255,255,0.1); color: var(--white); }

.nav-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.15);
  margin: 0 0.25rem;
}

.btn-contact {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: opacity 0.18s;
}

.btn-contact:hover { opacity: 0.85; }

@media (max-width: 640px) {
  .nav-links { display: none; }
}

/* ── HAMBURGER BUTTON ── */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: background 0.18s;
  flex-shrink: 0;
}

.hamburger:hover { background: rgba(255,255,255,0.1); }

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── NAV PANEL ── */
.nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, box-shadow 0.35s ease;
}

.nav-panel.open {
  max-height: 500px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.nav-panel nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem 1.5rem;
}

.nav-panel ul { list-style: none; }

.nav-panel > nav > ul > li {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-panel > nav > ul > li:last-child { border-bottom: none; }

.nav-panel a,
.nav-item-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.85rem 0.5rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  letter-spacing: 0.02em;
  transition: color 0.18s;
}

.nav-panel a:hover,
.nav-item-btn:hover { color: var(--gold); }

.nav-panel a.active { color: var(--gold); font-weight: 700; }

.arrow {
  font-size: 0.75rem;
  transition: transform 0.25s;
  color: rgba(255,255,255,0.5);
}

.nav-item-btn.open .arrow { transform: rotate(180deg); }

/* ── TESTING SUBMENU ── */
.sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  background: rgba(0,0,0,0.2);
  border-radius: 4px;
  margin: 0 0.5rem 0.25rem;
}

.sub-menu.open { max-height: 200px; }

.sub-menu li a {
  padding: 0.65rem 1.25rem;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  justify-content: flex-start;
  gap: 0.6rem;
}

.sub-menu li:last-child a { border-bottom: none; }

.sub-menu li a::before {
  content: '—';
  font-size: 0.75rem;
  color: var(--gold);
  flex-shrink: 0;
}

.sub-menu li a:hover { color: var(--gold); }

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-badge {
  height: 68px;
  width: auto;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.logo-text {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.logo-text span {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* Colorado flag accent stripe */
.flag-stripe {
  height: 5px;
  background: linear-gradient(90deg, var(--blue) 33%, var(--white) 33% 66%, var(--red) 66%);
}

/* ── HERO ── */
.hero {
  background:
    linear-gradient(135deg, rgba(0,31,91,0.82) 0%, rgba(0,61,165,0.72) 60%, rgba(0,31,91,0.88) 100%),
    url("image (9).png") center center / cover no-repeat;
  color: var(--white);
  padding: 6rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
}

.hero-inner { position: relative; max-width: 800px; margin: 0 auto; }

.hero-tagline {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: heroFadeUp 0.6s ease forwards 0.48s;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin: 0 auto 2.25rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.35rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: opacity 0.18s, transform 0.18s;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-gold  { background: var(--gold);  color: var(--navy); border: 2px solid transparent; }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }

/* ── HERO CREDENTIALS STRIP ── */
.hero-creds {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0.85rem 1.5rem;
  margin: 1.75rem auto 2rem;
  max-width: 680px;
  backdrop-filter: blur(4px);
}

.hero-cred-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.03em;
  padding: 0.15rem 0.5rem;
}

.hero-cred-icon { font-size: 1rem; }

.hero-cred-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.2);
  margin: 0 0.25rem;
}

@media (max-width: 600px) {
  .hero-cred-divider { display: none; }
  .hero-creds { gap: 0.5rem; }
  .hero-cred-item { font-size: 0.78rem; }
}

/* ── SECTIONS ── */
section { padding: 4rem 2rem; }
section.alt { background: var(--white); }

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-sub {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  transition: box-shadow 0.22s, transform 0.22s, border-top-color 0.22s;
}

.card:hover {
  box-shadow: 0 12px 32px rgba(0,61,165,0.13);
  transform: translateY(-4px);
  border-top-color: var(--gold);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.6rem;
  box-shadow: 0 4px 12px rgba(0,61,165,0.2);
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.card p { font-size: 0.92rem; color: var(--gray); line-height: 1.65; }

/* ── BOOK STRIP ── */
.book-strip {
  background: var(--gold);
  padding: 1.1rem 2rem;
}

.book-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.book-strip-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.book-strip-text strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
}

.book-strip-text span {
  font-size: 0.85rem;
  color: rgba(0,31,91,0.75);
}

.book-strip-btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  padding: 0.65rem 1.5rem;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: background 0.18s;
  flex-shrink: 0;
}

.book-strip-btn:hover { background: #000f33; }

@media (max-width: 640px) {
  .book-strip-inner { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
}

/* ── WHY THIS MATTERS ── */
.problem-block {
  background: var(--navy);
  padding: 5rem 2rem;
}

.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: center;
}

.problem-stat-col { text-align: center; }

.problem-num {
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.03em;
}

.problem-stat-label {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  margin: 0.75rem 0 0.5rem;
  font-weight: 500;
}

.problem-citation {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  margin-top: 0.5rem;
  line-height: 1.6;
}

.problem-body {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
  margin-bottom: 1rem;
}

@media (max-width: 760px) {
  .problem-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .problem-stat-col { order: -1; }
}

/* ── WHY US ── */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.cred-callout {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: 0 6px 6px 0;
  box-shadow: 0 2px 8px rgba(0,31,91,0.06);
}

.cred-num {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.cred-label {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.45;
  margin-top: 0.2rem;
}

.why-us-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--navy);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  margin-top: 0.5rem;
}

.why-us-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }
.why-us-highlight p { color: rgba(255,255,255,0.85); font-size: 0.95rem; line-height: 1.7; }
.why-us-highlight strong { color: var(--gold); }

/* ── SPACE PHOTO ── */
.space-photo-wrap {
  margin-top: 2rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.space-photo {
  width: 100%;
  height: auto;
  display: block;
}

/* ── WHAT WE TEST ── */
.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.test-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,31,91,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.test-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,31,91,0.1); }

.test-card-header {
  padding: 1.5rem 1.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.test-icon { font-size: 1.4rem; }

.test-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

.test-list {
  list-style: none;
  padding: 1.25rem 1.75rem 0.75rem;
}

.test-list li {
  font-size: 0.88rem;
  color: #333;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.test-list li:last-child { border-bottom: none; }

.test-list li::before {
  content: '→';
  color: var(--blue);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.test-note {
  padding: 0.75rem 1.75rem 1.25rem;
  font-size: 0.78rem;
  color: var(--gray);
  font-style: italic;
  line-height: 1.5;
  border-top: 1px solid var(--border);
}

.test-footer-note {
  background: var(--light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: 0 6px 6px 0;
  padding: 1.1rem 1.5rem;
  font-size: 0.92rem;
  color: #333;
  line-height: 1.65;
}

/* ── HOW IT SAVES LIVES ── */
.cases-block {
  background: var(--navy);
  padding: 5rem 2rem;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

.case-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 4px solid var(--red);
  border-radius: 0 8px 8px 0;
  padding: 1.75rem;
  transition: background 0.2s;
}

.case-card:hover { background: rgba(255,255,255,0.07); }

.case-outcome {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.case-body {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
}

/* ── VIDEO PLACEHOLDER ── */
.video-placeholder {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  border: 2px dashed rgba(255,255,255,0.1);
  letter-spacing: 0.05em;
}

.video-play-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
}

/* ── CFHCBT NOTICE ── */
.cfhcbt-notice {
  background: var(--navy);
  padding: 1rem 2rem;
}
.cfhcbt-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.cfhcbt-icon { color: var(--gold); font-size: 1.1rem; flex-shrink: 0; margin-top: 0.15rem; }
.cfhcbt-inner p { font-size: 0.85rem; color: rgba(255,255,255,0.82); line-height: 1.6; }
.cfhcbt-inner strong { color: var(--gold); }

/* ── FULL-WIDTH PACKAGE CARDS ── */
.pkg-list { display: flex; flex-direction: column; gap: 1.75rem; }

.pkg-full-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,31,91,0.06);
}

.pkg-full-card.featured {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(0,31,91,0.12);
}

.pkg-full-header {
  background: var(--navy);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.pkg-full-card.featured .pkg-full-header { background: linear-gradient(135deg, var(--blue), var(--navy)); }

.pkg-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.pkg-full-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.pkg-full-sub { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

.pkg-full-body {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
  padding: 0;
}

.pkg-col {
  padding: 1.5rem 1.75rem;
  border-right: 1px solid var(--border);
}
.pkg-col:last-child { border-right: none; }

.pkg-col-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 1rem 0 0.5rem;
}
.pkg-col:first-child .pkg-col-label:first-child { margin-top: 0; }

.pkg-detail-list { list-style: none; }
.pkg-detail-list li {
  font-size: 0.85rem;
  color: #333;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}
.pkg-detail-list li:last-child { border-bottom: none; }
.pkg-detail-list li::before { content: '✓'; color: var(--blue); font-size: 0.75rem; flex-shrink: 0; margin-top: 0.1rem; }

.pkg-full-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border);
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.pkg-followup-note {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.6;
  max-width: 680px;
  font-style: italic;
}

@media (max-width: 640px) {
  .pkg-full-body { grid-template-columns: 1fr; }
  .pkg-col { border-right: none; border-bottom: 1px solid var(--border); padding: 1.25rem; }
  .pkg-col:last-child { border-bottom: none; }
  .pkg-full-header { flex-direction: column; gap: 0.75rem; }
  .pkg-full-footer { flex-direction: column; align-items: flex-start; }
}

/* ── COMPARISON TABLE ── */
.comparison-wrap {
  overflow-x: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,31,91,0.1);
  margin-bottom: 1.5rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  background: var(--white);
  font-size: 0.85rem;
}

/* Column headers */
.comparison-table thead th {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 0.75rem;
  text-align: center;
  font-weight: 700;
  vertical-align: top;
  line-height: 1.35;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.comparison-table thead th:last-child { border-right: none; }

.comparison-table thead th.svc-col {
  text-align: left;
  width: 240px;
  min-width: 200px;
  background: #0d1a3a;
}

.pkg-col-num {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.pkg-col-name {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.pkg-col-trust {
  display: block;
  font-size: 0.65rem;
  color: var(--gold);
  margin-top: 0.3rem;
  letter-spacing: 0.05em;
}

/* Body rows */
.comparison-table tbody tr:nth-child(even) { background: #f8f9fc; }
.comparison-table tbody tr:hover { background: #eef1f8; }

.comparison-table tbody td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  color: #444;
  vertical-align: middle;
}

.comparison-table tbody td:first-child {
  text-align: left;
  color: var(--navy);
  font-weight: 500;
  padding-left: 1rem;
  background: var(--white);
}

.comparison-table tbody tr:nth-child(even) td:first-child { background: #f8f9fc; }
.comparison-table tbody tr:hover td:first-child { background: #eef1f8; }

/* Category header rows */
.cat-row td {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1rem !important;
  text-align: left !important;
  color: var(--white) !important;
  background: var(--blue) !important;
  border-bottom: none !important;
}

.cat-health  td { background: var(--navy)   !important; }
.cat-cardio  td { background: var(--red)    !important; }
.cat-lab     td { background: #1A6FAD       !important; }
.cat-strength td { background: #2D7A3A      !important; }
.cat-body    td { background: #5B3A8A       !important; }
.cat-results td { background: #8A5C1A       !important; }

/* Cell states */
.y { color: #1A7A2D; font-weight: 800; font-size: 1rem; }
.n { color: #ccc; font-size: 0.9rem; }
.p { color: var(--blue); font-weight: 700; font-size: 0.75rem; }
.c { color: var(--gray); font-size: 0.9rem; }

/* Book row */
.book-row td {
  background: var(--light) !important;
  padding: 0.85rem 0.5rem !important;
  border-top: 2px solid var(--border);
}

.tbl-btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.18s;
}
.tbl-btn:hover { background: var(--blue); }

/* Legend */
.tbl-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--gray);
}

.legend-item { display: flex; align-items: center; gap: 0.4rem; }
.leg-y  { color: #1A7A2D; font-weight: 900; font-size: 1rem; }
.leg-n  { color: #ccc; }
.leg-p  { color: var(--blue); font-weight: 700; font-size: 0.72rem; }
.leg-c  { color: var(--gray); }
.leg-trust { color: var(--gold); }

/* Notes */
.tbl-notes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.6;
}
.tbl-notes strong { color: var(--navy); }

/* ── SERVICES PAGE ── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,31,91,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,31,91,0.12);
}

.svc-card-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.svc-icon { font-size: 1.4rem; }

.svc-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
}

.svc-list {
  list-style: none;
  padding: 1.1rem 1.5rem 1.25rem;
}

.svc-list li {
  font-size: 0.87rem;
  color: #333;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}

.svc-list li:last-child { border-bottom: none; }

.svc-list li::before {
  content: '→';
  color: var(--blue);
  font-size: 0.72rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* ── PACKAGES PAGE ── */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.pkg-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.pkg-card:hover { box-shadow: 0 10px 30px rgba(0,61,165,0.12); transform: translateY(-4px); }

.pkg-card.featured { border-color: var(--gold); }

.pkg-header {
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem 1.75rem;
  position: relative;
}

.pkg-card.featured .pkg-header { background: linear-gradient(135deg, var(--blue), var(--navy)); }

.pkg-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.pkg-header h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.25rem; }
.pkg-header p  { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

.pkg-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pkg-price {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pkg-features {
  list-style: none;
  flex: 1;
  margin-bottom: 1.5rem;
}

.pkg-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: #333;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
}

.pkg-features li:last-child { border-bottom: none; }

.pkg-features li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ── INSTRUCTIONS PAGE ── */
.instructions-list { display: flex; flex-direction: column; gap: 1.5rem; }

.instr-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--blue);
  border-radius: 6px;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.instr-num {
  width: 40px;
  height: 40px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.instr-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.instr-content p  { font-size: 0.92rem; color: var(--gray); }

.download-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: box-shadow 0.2s;
}

.download-card:hover { box-shadow: 0 4px 16px rgba(0,61,165,0.1); }

.download-info { display: flex; align-items: center; gap: 1rem; }

.download-icon {
  width: 44px;
  height: 44px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.download-meta h4 { font-size: 0.98rem; font-weight: 700; color: var(--navy); }
.download-meta p  { font-size: 0.8rem; color: var(--gray); }

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue);
  color: var(--white);
  padding: 0.55rem 1.25rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s;
}
.btn-download:hover { background: var(--navy); }

.downloads-grid { display: flex; flex-direction: column; gap: 1rem; }

/* ── DIVIDER ── */
.divider { width: 60px; height: 4px; background: var(--gold); border-radius: 2px; margin: 0.75rem 0 1.5rem; }

/* ── WHY US STATS ── */
.stats-bar {
  background: var(--red);
  color: var(--white);
  padding: 2.5rem 2rem;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem 4rem;
  text-align: center;
}

.stats-inner > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-num  {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  margin-top: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 3rem 2rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}

.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-top: 0.75rem; }

footer h4 { color: var(--white); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.5rem; }
footer a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.88rem; transition: color 0.18s; }
footer a:hover { color: var(--gold); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { font-size: 0.8rem; }

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .section-inner { padding: 0 1.25rem; }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .test-grid  { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .case-grid  { grid-template-columns: 1fr; }
  .cred-grid  { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 640px)
══════════════════════════════════════════ */
@media (max-width: 640px) {

  /* ── Nav ── */
  .nav-inner    { padding: 0 1rem; height: 60px; }
  .logo-text    { font-size: 0.78rem; }
  .logo-badge   { height: 38px; }
  .nav-links    { display: none; }
  .btn-contact  { font-size: 0.78rem; padding: 0.4rem 0.75rem; }
  .nav-panel nav { padding: 0.75rem 1.25rem 1.25rem; }

  /* ── Hero ── */
  .hero         { padding: 3.5rem 1.25rem 3rem; }
  .hero-inner h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .hero-inner > p { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .hero-actions .btn { text-align: center; width: 100%; padding: 0.85rem 1rem; }

  /* ── Stats bar ── */
  .stats-inner  {
    gap: 1.5rem 2.5rem;
    padding: 0 1rem;
  }
  .stat-num     { font-size: 2.1rem; }
  .stat-label   { font-size: 0.72rem; }

  /* ── Sections ── */
  section         { padding: 3rem 1.25rem; }
  .section-title  { font-size: clamp(1.35rem, 5.5vw, 1.9rem); }
  .section-sub    { font-size: 0.92rem; margin-bottom: 1.75rem; }

  /* ── Problem block ── */
  .problem-block  { padding: 3.5rem 1.25rem; }
  .problem-inner  { grid-template-columns: 1fr; gap: 2rem; }
  .problem-stat-col { order: -1; }
  .problem-num    { font-size: clamp(3.5rem, 16vw, 5rem); }
  .problem-body   { font-size: 0.9rem; }

  /* ── Cards ── */
  .card-grid      { grid-template-columns: 1fr; }
  .card           { padding: 1.5rem 1.25rem; }

  /* ── Why Us ── */
  .cred-grid      { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
  .cred-num       { font-size: 1.5rem; }
  .why-us-highlight { flex-direction: column; gap: 0.6rem; padding: 1.25rem; }

  /* ── Test cards ── */
  .test-grid      { grid-template-columns: 1fr; }
  .test-footer-note { font-size: 0.85rem; }

  /* ── Cases ── */
  .cases-block    { padding: 3.5rem 1.25rem; }
  .case-grid      { grid-template-columns: 1fr; }
  .case-outcome   { font-size: 0.98rem; }
  .case-body      { font-size: 0.85rem; }

  /* ── Packages ── */
  .packages-grid  { grid-template-columns: 1fr; }

  /* ── Instructions ── */
  .instr-item     { flex-direction: column; gap: 0.75rem; padding: 1.25rem; }
  .download-card  { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .download-info  { flex-direction: column; align-items: flex-start; }

  /* ── Footer ── */
  .footer-top     { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .footer-inner   { padding: 2rem 1.25rem 1.25rem; }

  /* ── Contact page ── */
  .contact-card-header { flex-direction: column; align-items: flex-start; gap: 0.85rem; padding: 1.5rem; }
  .contact-body        { padding: 1.25rem; }
  .credentials-bar     { padding: 0.65rem 1.25rem; flex-direction: column; gap: 0.35rem; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤ 380px)
══════════════════════════════════════════ */
@media (max-width: 380px) {
  .logo-text          { display: none; }
  .stats-inner        { gap: 1.25rem; }
  .cred-grid          { grid-template-columns: 1fr; }
  .hero-inner h1      { font-size: 1.6rem; }
}
