/* =========================================================
   EraNovaX — Design System
   Brand colors derived from the EraNovaX brand identity
   ========================================================= */

:root {
  /* Brand palette */
  --navy-900: #050B24;
  --navy-800: #0A1247;
  --navy-700: #131C4D;
  --blue-600: #0050F4;
  --blue-500: #2E6BFF;
  --indigo-500: #3924FD;
  --purple-600: #6812C4;
  --purple-500: #8536D6;

  --brand-gradient: linear-gradient(135deg, var(--blue-600) 0%, var(--indigo-500) 55%, var(--purple-600) 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(0,80,244,0.12) 0%, rgba(104,18,196,0.12) 100%);

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #F6F8FC;
  --gray-100: #EEF1F8;
  --gray-200: #E2E7F3;
  --gray-300: #C9D0E3;
  --gray-500: #626B85;
  --gray-600: #4A5270;
  --gray-700: #333B54;
  --ink: #0B0F2B;

  /* Type */
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(10, 18, 71, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 18, 71, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 18, 71, 0.16);

  --transition: 220ms cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy-800);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--brand-gradient);
  display: inline-block;
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
p { color: var(--gray-500); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--gray-600); }

.grad-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-gradient);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(56, 40, 253, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(56, 40, 253, 0.36); }
.btn-secondary {
  background: var(--white);
  color: var(--navy-800);
  border: 1.5px solid var(--gray-200);
}
.btn-secondary:hover { border-color: var(--blue-600); color: var(--blue-600); transform: translateY(-2px); }
.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.28);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-100);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy-800);
}
.brand img { width: 38px; height: 38px; }
.brand .accent { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--gray-600);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--blue-600); background: var(--gray-50); }
.nav-links a[aria-current="page"] { color: var(--navy-800); background: var(--gray-100); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
  background: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 110px;
  background: var(--navy-900);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(600px circle at 15% 20%, rgba(0,80,244,0.35), transparent 60%),
    radial-gradient(700px circle at 85% 15%, rgba(104,18,196,0.35), transparent 60%),
    radial-gradient(900px circle at 50% 100%, rgba(57,36,253,0.25), transparent 60%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1, .hero-eyebrow { color: var(--white); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 16px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  margin-bottom: 22px;
}
.hero h1 { margin-bottom: 20px; }
.hero p.lede { color: rgba(255,255,255,0.72); margin-bottom: 34px; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--white); }
.hero-stats div span { font-size: 13px; color: rgba(255,255,255,0.56); }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art .glow-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(6px);
  width: 100%;
}
.hero-art img { border-radius: var(--radius-md); }

.pill-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; display: inline-block; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  padding: 72px 0 84px;
  background: var(--navy-900);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: -30% -10%;
  background:
    radial-gradient(560px circle at 10% 10%, rgba(0,80,244,0.32), transparent 60%),
    radial-gradient(560px circle at 90% 30%, rgba(104,18,196,0.32), transparent 60%);
  z-index: -1;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.7); max-width: 640px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Logo strip ---------- */
.logo-strip { padding: 44px 0; border-bottom: 1px solid var(--gray-100); }
.logo-strip p { text-align: center; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 28px; }
.logo-strip-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px;
}
.pillar-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: var(--radius-pill);
  background: var(--gray-50); border: 1px solid var(--gray-100);
  font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--navy-700);
}
.pillar-chip svg { width: 18px; height: 18px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 28px; min-width: 0; }
.grid > * { min-width: 0; }
.hero-grid > * { min-width: 0; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gray-200); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-gradient-soft);
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 14.5px; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 14px; color: var(--blue-600); }
.card .card-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.card:hover .card-link svg { transform: translateX(4px); }

.value-card { text-align: center; padding: 36px 24px; }
.value-card .card-icon { margin: 0 auto 20px; }

.section-dark {
  background: var(--navy-900);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute; inset: -20%;
  background: radial-gradient(700px circle at 20% 0%, rgba(0,80,244,0.22), transparent 60%),
              radial-gradient(700px circle at 90% 100%, rgba(104,18,196,0.22), transparent 60%);
  z-index: -1;
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.66); }
.section-dark .eyebrow { color: var(--blue-500); -webkit-text-fill-color: initial; background:none; }
.section-dark .card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
.section-dark .card:hover { border-color: rgba(255,255,255,0.24); }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 56px 0; text-align: center; }
.stats-grid strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }
.stats-grid span { font-size: 13.5px; color: var(--gray-500); font-weight: 500; }

/* ---------- Process / timeline ---------- */
.process-list { display: grid; gap: 20px; }
.process-item { display: flex; gap: 22px; padding: 26px; border-radius: var(--radius-md); border: 1px solid var(--gray-100); }
.process-num { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-gradient); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; }
.process-item h3 { margin-bottom: 6px; font-size: 1.1rem; }
.process-item p { font-size: 14.5px; }

/* ---------- Testimonial / quote ---------- */
.quote-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}
.quote-card p.quote-text { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy-800); line-height: 1.5; margin-bottom: 24px; }
.quote-person { display: flex; align-items: center; gap: 14px; }
.quote-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-gradient); flex: none; }
.quote-person strong { display: block; font-family: var(--font-display); color: var(--navy-800); font-size: 14.5px; }
.quote-person span { font-size: 13px; color: var(--gray-500); }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg);
  background: var(--brand-gradient);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.82); }
.cta-band .btn-secondary { border-color: transparent; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--navy-700); }
.field input, .field select, .field textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(0,80,244,0.12);
  outline: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--gray-500); margin-top: 10px; }
.form-success {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #047857;
  font-size: 14px;
  font-weight: 600;
}
.form-success.visible { display: block; }

.contact-info-card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.contact-info-card::before {
  content: "";
  position: absolute; inset: -20%;
  background: radial-gradient(500px circle at 90% 0%, rgba(104,18,196,0.4), transparent 60%);
  z-index: -1;
}
.contact-info-card h3 { color: var(--white); margin-bottom: 8px; }
.contact-info-card p { color: rgba(255,255,255,0.68); margin-bottom: 28px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.12); }
.contact-row:first-of-type { border-top: none; }
.contact-row .icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-row strong { display: block; font-size: 14px; color: var(--white); }
.contact-row span { font-size: 13.5px; color: rgba(255,255,255,0.6); overflow-wrap: anywhere; }
.contact-row { min-width: 0; }
.contact-row > div { min-width: 0; }
.social-row { display: flex; gap: 10px; margin-top: 28px; }
.social-row a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.social-row a:hover { background: rgba(255,255,255,0.18); }
.social-row svg { width: 16px; height: 16px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 22px 4px; text-align: left; font-family: var(--font-display); font-weight: 600; color: var(--navy-800); font-size: 15.5px;
}
.faq-q .plus { flex: none; width: 22px; height: 22px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--blue-600); border-radius: 2px; transition: transform var(--transition); }
.faq-q .plus::before { width: 14px; height: 2px; top: 10px; left: 4px; }
.faq-q .plus::after { width: 2px; height: 14px; top: 4px; left: 10px; }
.faq-item.open .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq-a p { padding: 0 4px 22px; font-size: 14.5px; }
.faq-item.open .faq-a { max-height: 300px; }

/* ---------- Careers list ---------- */
.job-item {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 28px; border: 1px solid var(--gray-100); border-radius: var(--radius-md);
  flex-wrap: wrap;
}
.job-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.job-tags span { font-size: 12px; font-weight: 600; color: var(--gray-600); background: var(--gray-50); border: 1px solid var(--gray-100); padding: 5px 12px; border-radius: var(--radius-pill); }

.perk-card { text-align: left; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.66); position: relative; overflow: hidden; isolation: isolate; }
.site-footer::before {
  content: "";
  position: absolute; inset: -20%;
  background: radial-gradient(600px circle at 10% 0%, rgba(0,80,244,0.18), transparent 60%);
  z-index: -1;
}
.footer-top { padding: 72px 0 48px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { color: var(--white); margin-bottom: 16px; }
.footer-brand p { max-width: 300px; font-size: 14px; margin-bottom: 22px; }
.footer-col h4 { color: var(--white); font-family: var(--font-display); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13.5px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom a:hover { color: var(--white); }
.footer-legal { display: flex; gap: 20px; }

/* ---------- Misc pages (privacy) ---------- */
.prose { max-width: 800px; }
.prose h2 { margin-top: 40px; margin-bottom: 14px; font-size: 1.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--gray-600); margin-bottom: 14px; font-size: 15px; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--navy-800); }
.updated-badge { display: inline-block; font-size: 13px; color: var(--gray-500); background: var(--gray-50); border: 1px solid var(--gray-100); padding: 6px 14px; border-radius: var(--radius-pill); margin-bottom: 20px; }

/* ---------- 404 ---------- */
.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.error-code { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 1; transform: none; transition: opacity 700ms ease, transform 700ms ease; }
.js-reveal [data-reveal] { opacity: 0; transform: translateY(18px); }
.js-reveal [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 520px; margin: 0 auto 20px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-col.col-careers { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 48px; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-secondary { display: none; }
  body.nav-open .mobile-panel { max-height: 640px; padding-bottom: 20px; }
  .mobile-panel {
    max-height: 0; overflow: hidden; transition: max-height var(--transition);
    background: var(--white); border-bottom: 1px solid var(--gray-100);
  }
  .mobile-panel-inner { display: flex; flex-direction: column; padding: 8px 24px 0; gap: 4px; }
  .mobile-panel a { padding: 14px 4px; font-weight: 600; color: var(--navy-700); border-bottom: 1px solid var(--gray-100); }
  .mobile-panel .btn { margin-top: 14px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; justify-content: center; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .page-hero { padding: 56px 0 64px; }
  .hero-stats { gap: 24px; }
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; padding: 56px 0 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-band { padding: 36px 24px; }
  .job-item { flex-direction: column; align-items: flex-start; }
  .job-item .btn { width: 100%; }
  .quote-card { padding: 28px; }
  .contact-info-card { padding: 28px; }
}

@media (max-width: 420px) {
  .grid-4, .grid-5 { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}
