/* ============================================================
   POPULUS DIGITAL — Design System
   Government ADA Compliance Website
   WCAG 2.1 AA Compliant
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Primary palette */
  --color-navy: #1a2744;
  --color-navy-light: #243352;
  --color-navy-dark: #111b30;
  --color-slate: #334155;
  --color-slate-light: #475569;

  /* Accent palette */
  --color-teal: #0ea5e9;
  --color-teal-dark: #0284c7;
  --color-teal-light: #38bdf8;
  --color-cyan: #06b6d4;
  --color-cyan-light: #22d3ee;

  /* Highlight */
  --color-gold: #f59e0b;
  --color-gold-dark: #d97706;
  --color-gold-light: #fbbf24;

  /* Semantic */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;

  /* Neutrals */
  --color-white: #ffffff;
  --color-offwhite: #f8fafc;
  --color-gray-50: #f1f5f9;
  --color-gray-100: #e2e8f0;
  --color-gray-200: #cbd5e1;
  --color-gray-300: #94a3b8;
  --color-gray-400: #64748b;
  --color-gray-500: #475569;
  --color-text: #1e293b;
  --color-text-light: #64748b;
  --color-text-inverse: #ffffff;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 1.875rem;
  --fs-3xl: 2.25rem;
  --fs-4xl: 3rem;
  --fs-5xl: 3.75rem;
  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.6;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.15);
  --shadow-glow-gold: 0 0 20px rgba(245, 158, 11, 0.2);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-skip: 500;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--color-teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-navy);
}

/* ── Focus Styles (Accessibility) ── */
:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* ── Skip to Content ── */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: var(--space-md);
  z-index: var(--z-skip);
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  font-size: var(--fs-sm);
}

.skip-to-content:focus {
  left: var(--space-md);
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: var(--lh-tight);
  font-weight: 700;
}

h1 {
  font-size: var(--fs-4xl);
  font-weight: 800;
}

h2 {
  font-size: var(--fs-3xl);
}

h3 {
  font-size: var(--fs-2xl);
}

h4 {
  font-size: var(--fs-xl);
}

h5 {
  font-size: var(--fs-lg);
}

p {
  margin-bottom: var(--space-md);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent {
  color: var(--color-teal-dark);
}

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

.text-center {
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-teal-dark);
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  width: 2rem;
  height: 2px;
  background: var(--color-teal);
  display: inline-block;
}

.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--color-text-light);
  max-width: 640px;
  line-height: var(--lh-normal);
}

.section-subtitle.centered {
  margin-left: auto;
  margin-right: auto;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-narrow {
  max-width: var(--container-narrow);
}

section {
  padding: var(--space-5xl) 0;
}

.section-dark {
  background: var(--color-navy);
  color: var(--color-text-inverse);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-white);
}

.section-dark .section-label {
  color: var(--color-teal-light);
}

.section-dark .section-subtitle {
  color: var(--color-gray-200);
}

.section-gray {
  background: var(--color-offwhite);
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.flex {
  display: flex;
  align-items: center;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

.gap-xl {
  gap: var(--space-xl);
}

/* ── Header / Navigation ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-gray-100);
  transition: box-shadow var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: var(--space-sm);
}

.logo img {
  height: 56px;
  width: auto;
  border-radius: var(--radius-sm);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--color-teal-dark);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-xs);
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-slate);
  font-weight: 500;
  font-size: var(--fs-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--color-navy);
  background: var(--color-gray-50);
}

.nav-links a.active {
  color: var(--color-teal-dark);
  background: rgba(14, 165, 233, 0.08);
}

.nav-links .nav-cta {
  background: var(--color-teal);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-weight: 600;
  margin-left: var(--space-sm);
}

.nav-links .nav-cta:hover {
  background: var(--color-teal-dark);
  color: var(--color-white);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  color: var(--color-navy);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
  line-height: 1.4;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-cyan) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.45);
  color: var(--color-white);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-gray-200);
}

.btn-secondary:hover {
  border-color: var(--color-teal);
  color: var(--color-teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-navy-dark);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  font-weight: 700;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
  color: var(--color-navy-dark);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: var(--fs-md);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-sm);
}

.btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

/* ── Cards ── */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-teal);
  stroke-width: 1.5;
  fill: none;
}

.card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-sm);
}

.card p {
  color: var(--color-text-light);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
}

.card-accent {
  border-top: 3px solid var(--color-teal);
}

.card-highlight {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-glow);
}

.card-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-teal) 0%, var(--color-cyan) 100%);
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-warning {
  background: rgba(245, 158, 11, 0.12);
  color: var(--color-gold-dark);
}

.badge-success {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.badge-info {
  background: rgba(14, 165, 233, 0.12);
  color: var(--color-teal-dark);
}

/* ── Countdown Timer ── */
.countdown {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.countdown-item {
  text-align: center;
  min-width: 80px;
}

.countdown-number {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 800;
  line-height: 1;
  color: var(--color-gold);
}

.countdown-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray-300);
  margin-top: var(--space-xs);
}

.countdown-separator {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--color-gray-300);
  align-self: flex-start;
  padding-top: 0.1em;
}

/* ── Hero Section ── */
.hero {
  position: relative;
  padding: calc(72px + var(--space-5xl)) 0 var(--space-5xl);
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 40%, var(--color-navy-light) 100%);
  color: var(--color-text-inverse);
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(14, 165, 233, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 720px;
}

.hero h1 {
  color: var(--color-white);
  font-size: var(--fs-5xl);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero .hero-subtitle {
  font-size: var(--fs-lg);
  color: var(--color-gray-200);
  margin-bottom: var(--space-2xl);
  line-height: var(--lh-normal);
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.hero-stats {
  display: flex;
  gap: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--color-teal-light);
}

.hero-stat-label {
  font-size: var(--fs-sm);
  color: var(--color-gray-300);
}

/* ── Urgency / Deadline Section ── */
.urgency-section {
  background: linear-gradient(135deg, var(--color-navy) 0%, #1e3a5f 100%);
  padding: var(--space-3xl) 0;
  text-align: center;
  color: var(--color-white);
}

.urgency-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.urgency-section p {
  color: var(--color-gray-200);
  margin-bottom: var(--space-xl);
}

/* ── Process / Steps ── */
.step-card {
  position: relative;
  text-align: center;
  padding: var(--space-2xl);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-cyan) 100%);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.step-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.step-card p {
  color: var(--color-text-light);
  font-size: var(--fs-sm);
}

/* ── Partners / Logos ── */
.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
  padding: var(--space-xl) 0;
}

.partner-logo {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-gray-300);
  opacity: 0.7;
  transition: opacity var(--transition-normal);
  letter-spacing: -0.01em;
}

.partner-logo:hover {
  opacity: 1;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-cyan) 100%);
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-xl);
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* ── Service Detail Cards ── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid var(--color-gray-100);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse>* {
  direction: ltr;
}

.service-detail-content h3 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-md);
}

.service-detail-content p {
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: var(--fs-sm);
  color: var(--color-slate);
}

.feature-list li svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-success);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-visual {
  background: linear-gradient(135deg, var(--color-offwhite) 0%, var(--color-gray-50) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.service-visual-icon {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(6, 182, 212, 0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-visual-icon svg {
  width: 60px;
  height: 60px;
  stroke: var(--color-teal);
  stroke-width: 1.5;
  fill: none;
}

/* ── Forms ── */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.form-group .required {
  color: var(--color-danger);
  margin-left: 2px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--color-text);
  background: var(--color-white);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-gray-300);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: var(--color-danger);
  font-size: var(--fs-sm);
  margin-top: var(--space-xs);
  display: none;
}

.form-error[aria-live] {
  display: block;
}

.form-group.error .form-input,
.form-group.error .form-textarea {
  border-color: var(--color-danger);
}

.form-group.error .form-error {
  display: block;
}

.form-hint {
  font-size: var(--fs-xs);
  color: var(--color-text-light);
  margin-top: var(--space-xs);
}

/* ── Scan Form ── */
.scan-form-container {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-xl);
  max-width: 600px;
  margin: 0 auto;
}

.scan-input-group {
  display: flex;
  gap: var(--space-sm);
}

.scan-input-group .form-input {
  flex: 1;
}

/* ── Page Header ── */
.page-header {
  padding: calc(72px + var(--space-4xl)) 0 var(--space-3xl);
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  color: var(--color-text-inverse);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(14, 165, 233, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-header h1 {
  color: var(--color-white);
  font-size: var(--fs-4xl);
  margin-bottom: var(--space-md);
  position: relative;
}

.page-header p {
  color: var(--color-gray-200);
  font-size: var(--fs-lg);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* ── Values / Mission Grid ── */
.value-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--color-teal);
  stroke-width: 1.5;
  fill: none;
}

/* ── Contact Info ── */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--color-offwhite);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-cyan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-white);
  stroke-width: 2;
  fill: none;
}

.contact-info-text h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-xs);
}

.contact-info-text p {
  color: var(--color-text-light);
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

.contact-info-text a {
  font-size: var(--fs-sm);
}

/* ── Footer ── */
.site-footer {
  background: var(--color-navy-dark);
  color: var(--color-gray-300);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.site-footer .logo-text {
  color: var(--color-white);
}

.site-footer .logo-text span {
  color: var(--color-teal-light);
}

.footer-brand p {
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--color-gray-300);
  margin-top: var(--space-md);
}

.footer-column h4 {
  color: var(--color-white);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--color-gray-300);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-sm);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom a {
  color: var(--color-gray-300);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--color-white);
}

.accessibility-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-success);
  font-size: var(--fs-xs);
  font-weight: 600;
}

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Pulse dot ── */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-danger);
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.3);
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: var(--fs-4xl);
  }

  .hero {
    min-height: auto;
    padding-top: calc(72px + var(--space-4xl));
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .service-detail.reverse {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  :root {
    --fs-4xl: 2.25rem;
    --fs-5xl: 2.75rem;
    --fs-3xl: 1.75rem;
    --fs-2xl: 1.5rem;
  }

  section {
    padding: var(--space-3xl) 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-xs);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: var(--fs-md);
    padding: var(--space-md);
    width: 100%;
    text-align: center;
  }

  .nav-links .nav-cta {
    margin-left: 0;
    margin-top: var(--space-md);
  }

  .menu-toggle {
    display: block;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group .btn {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .countdown-number {
    font-size: var(--fs-3xl);
  }

  .countdown-item {
    min-width: 60px;
  }

  .scan-input-group {
    flex-direction: column;
  }

  .partner-logos {
    gap: var(--space-xl);
  }
}

@media (max-width: 480px) {
  :root {
    --fs-5xl: 2.25rem;
    --fs-4xl: 1.875rem;
  }

  .hero {
    padding-top: calc(72px + var(--space-2xl));
    padding-bottom: var(--space-3xl);
  }
}

/* ── Utility ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-xl {
  margin-top: var(--space-xl);
}

.mt-2xl {
  margin-top: var(--space-2xl);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.mb-2xl {
  margin-bottom: var(--space-2xl);
}