/* ==========================================================================
   Armstrong Electrical & Field Services, L.L.C.
   Main stylesheet — mobile-first, accessible, performant
   ========================================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }
img, picture, svg, video { max-width: 100%; display: block; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

/* ---------- Design tokens ---------- */
:root {
  --brand-blue: #0B3D91;
  --brand-blue-600: #134AB0;
  --brand-blue-700: #0A357E;
  --brand-blue-50: #E8EEF8;
  --accent: #F59E0B;
  --accent-600: #D97706;
  --steel-900: #0F172A;
  --steel-800: #1E293B;
  --steel-700: #334155;
  --steel-600: #475569;
  --steel-500: #64748B;
  --steel-400: #94A3B8;
  --steel-300: #CBD5E1;
  --steel-200: #E2E8F0;
  --steel-100: #F1F5F9;
  --steel-50: #F8FAFC;
  --white: #FFFFFF;
  --success: #16A34A;
  --danger: #DC2626;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  --shadow-sm: 0 1px 2px rgba(15,23,42,0.05);
  --shadow: 0 4px 12px rgba(15,23,42,0.08), 0 1px 3px rgba(15,23,42,0.04);
  --shadow-lg: 0 20px 40px rgba(11, 61, 145, 0.12), 0 4px 12px rgba(15,23,42,0.06);

  --container: 1200px;
  --container-narrow: 880px;

  --header-h: 64px;
}

@media (min-width: 768px) {
  :root { --header-h: 72px; }
}

html { font-family: var(--font-sans); color: var(--steel-800); line-height: 1.6; }
body {
  background: var(--white);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--steel-900); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.6rem, 4vw + 0.5rem, 3.5rem); }
h2 { font-size: clamp(1.35rem, 2.5vw + 0.6rem, 2.5rem); }
h3 { font-size: clamp(1.05rem, 0.8vw + 0.85rem, 1.5rem); }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--steel-700); font-size: 0.9rem; line-height: 1.65; }
.lead { font-size: 0.95rem; color: var(--steel-600); max-width: 60ch; line-height: 1.7; }
@media (min-width: 768px) {
  h4 { font-size: 1.0625rem; }
  p { font-size: 1rem; line-height: 1.6; }
  .lead { font-size: 1.125rem; }
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-4); }
@media (min-width: 768px) { .container { padding: 0 var(--space-5); } }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--space-4); }
@media (min-width: 768px) { .container-narrow { padding: 0 var(--space-5); } }
.section { padding: var(--space-6) 0; }
@media (min-width: 768px) { .section { padding: var(--space-9) 0; } }
.section-sm { padding: var(--space-5) 0; }
@media (min-width: 768px) { .section-sm { padding: var(--space-7) 0; } }
.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: var(--space-2);
}
@media (min-width: 768px) { .eyebrow { font-size: 0.8125rem; letter-spacing: 0.12em; margin-bottom: var(--space-3); } }
.grid { display: grid; gap: var(--space-4); }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid { gap: var(--space-5); } .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) {
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.8rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  text-align: center;
  white-space: nowrap;
  min-height: 46px;
  line-height: 1.2;
}
@media (min-width: 768px) { .btn { padding: 0.875rem 1.5rem; font-size: 1rem; min-height: 48px; } }
.btn-primary { background: var(--brand-blue); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand-blue-600); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--white); color: var(--brand-blue); border-color: var(--brand-blue); }
.btn-secondary:hover { background: var(--brand-blue-50); }
.btn-accent { background: var(--accent); color: var(--steel-900); font-weight: 700; }
.btn-accent:hover { background: var(--accent-600); color: #fff; }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.08); }
.btn-ghost:hover { background: rgba(255,255,255,0.18); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--steel-200);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: var(--steel-900);
  letter-spacing: -0.02em;
  font-size: 0.82rem;
  line-height: 1.1;
  flex: 1;
  min-width: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-700) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.brand-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-text small { display: block; font-weight: 500; font-size: 0.6rem; color: var(--steel-500); letter-spacing: 0.03em; text-transform: uppercase; }

/* Tiny phones: hide subtitle */
@media (max-width: 359px) {
  .brand-text small { display: none; }
  .brand { font-size: 0.78rem; }
}

@media (min-width: 768px) {
  .brand { font-size: 1rem; gap: 0.65rem; }
  .brand-mark { width: 38px; height: 38px; font-size: 0.9rem; border-radius: 9px; }
  .brand-text small { font-size: 0.7rem; letter-spacing: 0.04em; }
}

.nav-menu {
  display: none;
  list-style: none;
  padding: 0;
  gap: var(--space-1);
  align-items: center;
}
.nav-menu a {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  color: var(--steel-700);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color .15s ease, background .15s ease;
}
.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--brand-blue);
  background: var(--brand-blue-50);
}
.nav-cta { display: none; }

/* Hamburger button — icons overlap via absolute positioning so they never stack */
.menu-toggle {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--brand-blue);
  flex-shrink: 0;
  box-shadow: var(--shadow);
  transition: background .15s ease, transform .15s ease;
  z-index: 102;
  padding: 0;
}
.menu-toggle:hover { background: var(--brand-blue-600); }
.menu-toggle:active { transform: scale(0.94); }
.menu-toggle svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  transition: opacity .2s ease;
  pointer-events: none;
}
.menu-toggle .icon-close { opacity: 0; }
.menu-toggle[aria-expanded="true"] .icon-open { opacity: 0; }
.menu-toggle[aria-expanded="true"] .icon-close { opacity: 1; }

/* Mobile drawer — clean professional slide-in panel */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--white);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(0.32, 0.72, 0, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 101;
  display: flex;
  flex-direction: column;
  visibility: hidden;
}
.mobile-drawer[data-open="true"] {
  transform: translateX(0);
  visibility: visible;
}
/* Spacer matching the sticky header — holds the close button */
.drawer-spacer {
  position: relative;
  height: var(--header-h);
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-700) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 var(--space-4);
}
.drawer-close {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.18);
  color: #fff;
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
  padding: 0;
}
.drawer-close:hover { background: rgba(255,255,255,0.3); }
.drawer-close:active { transform: scale(0.94); }
.drawer-close svg { width: 22px; height: 22px; }
/* Primary nav links */
.drawer-nav {
  padding: var(--space-4) var(--space-4) var(--space-3);
}
.drawer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.drawer-nav a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--steel-800);
  min-height: 54px;
  letter-spacing: -0.01em;
  transition: background .15s ease, color .15s ease;
}
.drawer-nav a:hover,
.drawer-nav a:focus-visible,
.drawer-nav a[aria-current="page"] {
  background: var(--brand-blue-50);
  color: var(--brand-blue);
}
/* Footer — single CTA button */
.drawer-footer {
  margin-top: auto;
  padding: var(--space-5) var(--space-4) calc(var(--space-5) + env(safe-area-inset-bottom));
  background: var(--steel-50);
  border-top: 1px solid var(--steel-200);
}
.drawer-footer .btn,
.drawer-footer .btn-primary {
  width: 100%;
  color: #ffffff;
  background: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.drawer-footer .btn:hover,
.drawer-footer .btn-primary:hover {
  background: var(--brand-blue-600);
  color: #ffffff;
}

@media (min-width: 980px) {
  .nav-menu { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-drawer { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: var(--space-6) 0 var(--space-6);
  overflow: hidden;
  background: linear-gradient(135deg, #061E55 0%, var(--brand-blue) 60%, var(--brand-blue-600) 100%);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(245,158,11,0.12), transparent 50%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: center;
}
@media (min-width: 980px) {
  .hero { padding: var(--space-10) 0; }
  .hero-grid { grid-template-columns: 1.2fr 1fr; gap: var(--space-9); }
}
.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,0.88); font-size: 0.9rem; max-width: 56ch; margin-top: var(--space-2); line-height: 1.7; }
@media (min-width: 768px) { .hero p { font-size: 1.15rem; margin-top: var(--space-4); } }
.hero .eyebrow { color: var(--accent); margin-bottom: var(--space-1); }
.hero-cta {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.hero-cta .btn { flex: 1 1 auto; min-width: 0; }
@media (min-width: 480px) {
  .hero-cta { gap: var(--space-3); }
  .hero-cta .btn { flex: 0 1 auto; }
}
.hero-trust {
  margin-top: var(--space-4);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-1);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.8);
}
@media (min-width: 480px) {
  .hero-trust { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-6); font-size: 0.9rem; }
}
.hero-trust span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-trust svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }
@media (min-width: 768px) {
  .hero-trust svg { width: 16px; height: 16px; }
}
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: 0 16px 32px rgba(0,0,0,0.25);
  margin-top: var(--space-2);
}
@media (min-width: 600px) {
  .hero-visual { aspect-ratio: 16/10; }
}
@media (min-width: 980px) {
  .hero-visual { aspect-ratio: 4/5; transform: rotate(-1.5deg); border-radius: var(--radius-xl); box-shadow: 0 30px 60px rgba(0,0,0,0.35); margin-top: 0; }
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--accent);
  color: var(--steel-900);
  font-weight: 700;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 0.75rem;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .hero-badge { bottom: 12px; left: 12px; padding: 0.5rem 0.8rem; font-size: 0.82rem; }
}
@media (min-width: 980px) {
  .hero-badge { bottom: -12px; left: -12px; padding: 0.6rem 0.9rem; font-size: 0.9rem; transform: rotate(2deg); }
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--brand-blue-700) 0%, var(--brand-blue) 100%);
  color: #fff;
  padding: var(--space-5) 0;
}
@media (min-width: 768px) { .page-header { padding: var(--space-8) 0 var(--space-7); } }
.page-header h1 { color: #fff; font-size: clamp(1.4rem, 3.5vw + 0.5rem, 3rem); }
.page-header p { color: rgba(255,255,255,0.88); margin-top: var(--space-2); max-width: 60ch; font-size: 0.875rem; }
@media (min-width: 768px) { .page-header p { font-size: 1rem; margin-top: var(--space-3); } }
.breadcrumb {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-2);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
@media (min-width: 768px) { .breadcrumb { font-size: 0.8rem; margin-bottom: var(--space-3); } }
.breadcrumb a { color: rgba(255,255,255,0.9); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--accent); }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-4) var(--space-4) var(--space-5);
  border-left: 3px solid var(--brand-blue);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
@media (min-width: 768px) {
  .card {
    padding: var(--space-5);
    border-left: 1px solid var(--steel-200);
  }
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand-blue-50); }
@media (min-width: 768px) {
  .card:hover { border-left-color: var(--brand-blue-50); }
}
.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--brand-blue-50);
  color: var(--brand-blue);
  border-radius: 10px;
  margin-bottom: var(--space-2);
}
@media (min-width: 768px) {
  .card-icon { width: 48px; height: 48px; margin-bottom: var(--space-3); }
}
.card-icon svg { width: 22px; height: 22px; }
@media (min-width: 768px) { .card-icon svg { width: 24px; height: 24px; } }
.card h3 { margin-bottom: var(--space-1); font-size: 1rem; }
@media (min-width: 768px) { .card h3 { margin-bottom: var(--space-2); font-size: clamp(1.05rem, 0.8vw + 0.85rem, 1.5rem); } }
.card p { font-size: 0.875rem; line-height: 1.6; }
@media (min-width: 768px) { .card p { font-size: 0.95rem; } }
.card-link {
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: var(--space-2);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
@media (min-width: 768px) { .card-link { font-size: 0.95rem; margin-top: var(--space-3); } }
.card-link::after { content: "→"; transition: transform .15s ease; }
.card-link:hover::after { transform: translateX(3px); }

/* ---------- Feature row ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 980px) {
  .feature-row { grid-template-columns: 1fr 1fr; gap: var(--space-9); }
  .feature-row.reverse > div:first-child { order: 2; }
}
.feature-image { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/10; box-shadow: var(--shadow-lg); }
@media (min-width: 768px) { .feature-image { aspect-ratio: 4/3; border-radius: var(--radius-xl); } }
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-list { list-style: none; padding: 0; margin-top: var(--space-3); display: grid; gap: var(--space-2); }
@media (min-width: 768px) { .feature-list { margin-top: var(--space-4); gap: var(--space-3); } }
.feature-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--steel-700);
  font-size: 0.875rem;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .feature-list li { padding-left: 1.85rem; font-size: 0.95rem; }
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 1rem;
  height: 1rem;
  background-color: var(--brand-blue);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M16.7 5.3a1 1 0 010 1.4l-7.5 7.5a1 1 0 01-1.4 0L3.3 9.7a1 1 0 011.4-1.4L8.5 12l6.8-6.7a1 1 0 011.4 0z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M16.7 5.3a1 1 0 010 1.4l-7.5 7.5a1 1 0 01-1.4 0L3.3 9.7a1 1 0 011.4-1.4L8.5 12l6.8-6.7a1 1 0 011.4 0z'/></svg>") center/contain no-repeat;
}
@media (min-width: 768px) {
  .feature-list li::before { width: 1.2rem; height: 1.2rem; top: 0.35rem; }
}

/* ---------- Stats ---------- */
.stats {
  background: var(--steel-50);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  text-align: center;
}
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); padding: var(--space-7); gap: var(--space-4); border-radius: var(--radius-xl); } }
.stat-num { font-size: clamp(1.3rem, 2vw + 0.8rem, 2.5rem); font-weight: 800; color: var(--brand-blue); letter-spacing: -0.02em; line-height: 1.1; }
.stat-label { font-size: 0.72rem; color: var(--steel-600); margin-top: 0.15rem; line-height: 1.3; }
@media (min-width: 768px) { .stat-label { font-size: 0.875rem; margin-top: 0.25rem; } }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); } }
@media (min-width: 980px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: var(--space-4); } }
.gallery a {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--steel-100);
}
@media (min-width: 768px) { .gallery a { border-radius: var(--radius-lg); } }
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.gallery a:hover img { transform: scale(1.07); }

/* ---------- CTA section ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--steel-900) 0%, var(--brand-blue-700) 100%);
  color: #fff;
  padding: var(--space-5) var(--space-4);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .cta-banner { padding: var(--space-7); border-radius: var(--radius-xl); } }
.cta-banner::after {
  content: "";
  position: absolute;
  right: -50px; top: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(245,158,11,0.25), transparent 70%);
  border-radius: 50%;
}
.cta-banner h2 { color: #fff; max-width: 28ch; margin: 0 auto var(--space-2); position: relative; font-size: clamp(1.2rem, 2vw + 0.5rem, 2rem); }
@media (min-width: 768px) { .cta-banner h2 { margin: 0 auto var(--space-3); } }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 50ch; margin: 0 auto var(--space-4); position: relative; font-size: 0.875rem; }
@media (min-width: 768px) { .cta-banner p { margin: 0 auto var(--space-5); font-size: 1rem; } }
.cta-banner .btn { margin: 0.25rem; position: relative; }
.cta-banner-actions { display: flex; flex-direction: column; gap: var(--space-2); }
@media (min-width: 480px) { .cta-banner-actions { flex-direction: row; justify-content: center; flex-wrap: wrap; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--space-3); }
@media (min-width: 768px) { .form { gap: var(--space-4); } }
.form-row { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; gap: var(--space-4); } }
.field { display: grid; gap: 0.3rem; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--steel-800); }
@media (min-width: 768px) { .field label { font-size: 0.9rem; } }
.field label .req { color: var(--danger); margin-left: 0.15rem; }
.field input, .field select, .field textarea {
  background: #fff;
  border: 1px solid var(--steel-300);
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  font-size: 16px; /* Prevents iOS zoom on focus */
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
  min-height: 46px;
}
@media (min-width: 768px) {
  .field input, .field select, .field textarea { padding: 0.85rem 1rem; min-height: 48px; }
}
.field textarea { min-height: 120px; resize: vertical; }
@media (min-width: 768px) { .field textarea { min-height: 140px; } }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(11, 61, 145, 0.1);
}
.field .hint { font-size: 0.75rem; color: var(--steel-500); }
@media (min-width: 768px) { .field .hint { font-size: 0.8rem; } }
.form-note {
  background: var(--brand-blue-50);
  border-left: 3px solid var(--brand-blue);
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  font-size: 0.8rem;
  color: var(--steel-700);
  line-height: 1.5;
}
@media (min-width: 768px) { .form-note { padding: 0.9rem 1rem; font-size: 0.875rem; } }
.form-status {
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  display: none;
}
@media (min-width: 768px) { .form-status { padding: 0.85rem 1rem; font-size: 0.95rem; } }
.form-status.success { background: #DCFCE7; color: #166534; border: 1px solid #BBF7D0; display: block; }
.form-status.error { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; display: block; }

/* ---------- Contact info cards ---------- */
.contact-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1.2fr 1fr; gap: var(--space-9); } }
.info-card {
  background: var(--steel-50);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: grid;
  gap: var(--space-3);
}
@media (min-width: 768px) { .info-card { padding: var(--space-5); } }
.info-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: var(--space-2);
  align-items: start;
}
@media (min-width: 768px) { .info-row { grid-template-columns: 40px 1fr; gap: var(--space-3); } }
.info-row .icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--brand-blue);
  color: #fff;
  display: grid;
  place-items: center;
}
@media (min-width: 768px) { .info-row .icon { width: 40px; height: 40px; border-radius: 10px; } }
.info-row .icon svg { width: 18px; height: 18px; }
@media (min-width: 768px) { .info-row .icon svg { width: 20px; height: 20px; } }
.info-row strong { color: var(--steel-900); font-weight: 600; display: block; margin-bottom: 0.1rem; font-size: 0.85rem; }
@media (min-width: 768px) { .info-row strong { font-size: 1rem; } }
.info-row a { color: var(--brand-blue); font-weight: 500; word-break: break-word; font-size: 0.875rem; }
@media (min-width: 768px) { .info-row a { font-size: 1rem; } }
.info-row a:hover { text-decoration: underline; }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 600px) { .steps { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); } }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--steel-200);
  counter-increment: step;
}
@media (min-width: 768px) { .step { padding: var(--space-5); } }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -12px;
  left: var(--space-4);
  background: var(--brand-blue);
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  letter-spacing: 0.06em;
}
@media (min-width: 768px) {
  .step::before { top: -14px; left: var(--space-5); font-size: 0.8rem; padding: 0.3rem 0.55rem; }
}
.step h4 { margin-bottom: var(--space-1); margin-top: var(--space-1); font-size: 0.95rem; }
@media (min-width: 768px) { .step h4 { margin-bottom: var(--space-2); margin-top: var(--space-2); font-size: 1.0625rem; } }
.step p { font-size: 0.85rem; line-height: 1.55; }
@media (min-width: 768px) { .step p { font-size: 0.9rem; } }

/* ---------- Legal / Long-form content ---------- */
.prose { max-width: var(--container-narrow); margin: 0 auto; }
.prose h2 { margin-top: var(--space-6); margin-bottom: var(--space-2); font-size: clamp(1.15rem, 1.5vw + 0.5rem, 1.75rem); }
@media (min-width: 768px) { .prose h2 { margin-top: var(--space-7); margin-bottom: var(--space-3); } }
.prose h3 { margin-top: var(--space-4); margin-bottom: var(--space-1); }
@media (min-width: 768px) { .prose h3 { margin-top: var(--space-5); margin-bottom: var(--space-2); } }
.prose p, .prose ul, .prose ol { margin-bottom: var(--space-3); font-size: 0.875rem; line-height: 1.7; }
@media (min-width: 768px) { .prose p, .prose ul, .prose ol { margin-bottom: var(--space-4); font-size: 1rem; } }
.prose ul, .prose ol { padding-left: 1.25rem; color: var(--steel-700); }
@media (min-width: 768px) { .prose ul, .prose ol { padding-left: 1.5rem; } }
.prose li { margin-bottom: var(--space-1); }
@media (min-width: 768px) { .prose li { margin-bottom: var(--space-2); } }
.prose strong { color: var(--steel-900); }
.prose a { color: var(--brand-blue); text-decoration: underline; }
.prose-meta { color: var(--steel-500); font-size: 0.82rem; margin-bottom: var(--space-4); }
@media (min-width: 768px) { .prose-meta { font-size: 0.9rem; margin-bottom: var(--space-5); } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--steel-900);
  color: var(--steel-300);
  padding: var(--space-6) 0 var(--space-4);
  margin-top: var(--space-6);
}
@media (min-width: 768px) { .site-footer { padding: var(--space-8) 0 var(--space-5); margin-top: var(--space-9); } }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4) var(--space-3);
}
@media (min-width: 600px) { .footer-grid { gap: var(--space-5); } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 980px) { .footer-grid > div:first-child { grid-column: auto; } }
.site-footer h4 { color: #fff; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--space-2); }
@media (min-width: 768px) { .site-footer h4 { font-size: 0.8rem; margin-bottom: var(--space-3); } }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: var(--space-1); }
@media (min-width: 768px) { .site-footer ul { gap: var(--space-2); } }
.site-footer a { color: var(--steel-300); font-size: 0.85rem; transition: color .15s ease; }
@media (min-width: 768px) { .site-footer a { font-size: 0.95rem; } }
.site-footer a:hover { color: var(--accent); }
.site-footer .brand { color: #fff; margin-bottom: var(--space-2); font-size: 0.85rem; }
@media (min-width: 768px) { .site-footer .brand { margin-bottom: var(--space-3); font-size: 1rem; } }
.site-footer .brand-text { white-space: normal; }
.site-footer .brand-text small { color: var(--steel-400); }
.footer-about { color: var(--steel-400); font-size: 0.82rem; max-width: 36ch; line-height: 1.6; }
@media (min-width: 768px) { .footer-about { font-size: 0.9rem; } }
.footer-bottom {
  border-top: 1px solid var(--steel-700);
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--steel-400);
  text-align: center;
}
@media (min-width: 600px) { .footer-bottom { flex-direction: row; text-align: left; font-size: 0.85rem; } }
.footer-bottom .links { display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center; }
@media (min-width: 768px) { .footer-bottom .links { gap: var(--space-4); } }

/* ---------- Utility / Accessibility ---------- */
.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;
}
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -3rem;
  background: var(--brand-blue);
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  z-index: 1000;
  transition: top .2s ease;
}
.skip-link:focus { top: var(--space-3); }

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

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.94);
  display: none;
  place-items: center;
  padding: var(--space-5);
  z-index: 200;
}
.lightbox[data-open="true"] { display: grid; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--radius-lg); }
.lightbox-close {
  position: absolute; top: var(--space-4); right: var(--space-4);
  background: rgba(255,255,255,0.15); color: #fff;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.5rem;
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }

/* Lock body scroll when drawer or lightbox open */
body.no-scroll { overflow: hidden; }

/* Print */
@media print {
  .site-header, .site-footer, .mobile-drawer, .hero-cta, .cta-banner { display: none !important; }
  body { color: #000; background: #fff; }
}
