/* ==========================================================================
   Spectrum Careers' GovCon Practice: Global Styles
   Brand system aligned with spectrumcareers.com and govconleaderscircle.com:
   light body, deep-navy accent bands, navy/blue accent (no orange),
   Montserrat throughout, and a visible inline nav (not overlay-only).
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f3f7fb;
  --bg-dark: #031e48;
  --bg-dark-alt: #0b2c5c;

  --ink: #0b2440;
  --ink-body: #4a5a70;
  --ink-muted: #7d8ba0;

  --on-dark: #f4f7fb;
  --on-dark-body: rgba(244, 247, 251, 0.78);
  --on-dark-muted: rgba(244, 247, 251, 0.52);

  --border: rgba(11, 36, 64, 0.12);
  --border-soft: rgba(11, 36, 64, 0.07);
  --border-dark: rgba(244, 247, 251, 0.16);
  --border-dark-soft: rgba(244, 247, 251, 0.09);

  --primary: #005587;
  --primary-dark: #00436c;
  --accent-blue: #407ec9;

  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1160px;
  --shadow-md: 0 20px 50px rgba(3, 30, 72, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

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

h1, h2, h3, h4 {
  font-weight: 200;
  line-height: 1.18;
  margin: 0 0 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: 0; }

h1 strong, h2 strong {
  color: var(--primary);
  font-weight: 500;
  font-style: normal;
}

p { margin: 0 0 16px; color: var(--ink-body); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  font-family: var(--font-sans);
}
.eyebrow::before {
  content: "/";
  color: var(--accent-blue);
  font-weight: 700;
}

.lede {
  font-size: 1.1rem;
  color: var(--ink-body);
  font-weight: 400;
}

/* ---- Dark sections (hero, page banners, footer, CTA) ---- */
.hero, .page-header, .cta-band, .site-footer {
  background: var(--bg-dark);
  color: var(--on-dark-body);
}
.hero h1, .hero h2, .hero h3,
.page-header h1, .page-header h2,
.cta-band h2,
.site-footer h2 {
  color: var(--on-dark);
}
.hero .eyebrow, .page-header .eyebrow { color: var(--accent-blue); }
.hero h1 strong, .page-header h1 strong { color: #7fb2ec; }
.hero p, .page-header p, .cta-band p { color: var(--on-dark-body); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-primary .arrow { transition: transform 0.2s ease; }
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-outline {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(244,247,251,0.35);
}
.btn-outline:hover { border-color: var(--on-dark); background: rgba(244,247,251,0.08); }

/* "Give Us a Call": label and number share one grid cell so the button
   keeps the width of the longer text; hover/focus cross-fades to the number. */
.btn-call { display: inline-grid; place-items: center; }
.btn-call > span { grid-area: 1 / 1; transition: opacity 0.2s ease, transform 0.2s ease; }
.btn-call .call-number { opacity: 0; transform: translateY(6px); letter-spacing: 0.06em; }
.btn-call:hover .call-label,
.btn-call:focus-visible .call-label { opacity: 0; transform: translateY(-6px); }
.btn-call:hover .call-number,
.btn-call:focus-visible .call-number { opacity: 1; transform: translateY(0); }

.btn-dark-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-dark-outline:hover { background: var(--primary); color: #fff; }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: 0;
}

.brand-logo {
  height: 38px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: 28px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-body);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  border-bottom-color: var(--primary);
}

.nav-cta { display: flex; align-items: center; gap: 20px; }

.mobile-only-cta { display: none; }

.nav-cta .btn-primary { padding: 10px 20px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---- Hero ---- */
.hero {
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--bg-dark-alt), var(--bg-dark) 65%);
}

/* Background video sits under a navy overlay so the text stays readable.
   If the video file is missing or fails to load, the gradient above shows instead. */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(3,30,72,0.88) 0%, rgba(3,30,72,0.68) 55%, rgba(3,30,72,0.5) 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(244,247,251,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,247,251,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.hero .lede { max-width: 52ch; }

/* Hero CTAs: a tall primary button beside a stack of the two secondary ones */
.hero .hero-actions {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 12px;
}
.hero .hero-actions .btn { padding: 15px 22px; letter-spacing: 0.06em; }
.hero .hero-actions .btn-primary {
  grid-row: span 2;
  padding: 15px 34px;
  font-size: 0.9rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-panel {
  background: rgba(244,247,251,0.05);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  padding: 32px;
}

.hero-panel h3 { color: var(--on-dark); font-family: var(--font-sans); font-size: 0.95rem; margin-bottom: 20px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

.hero-panel ul li {
  border-bottom: 1px solid var(--border-dark-soft);
  font-size: 0.92rem;
  font-weight: 400;
}
.hero-panel ul li:last-child { border-bottom: none; }
.hero-panel ul li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 10px;
  margin: 0 -10px;
  border-radius: 4px;
  color: var(--on-dark-body);
  transition: background 0.15s ease, color 0.15s ease;
}
.hero-panel ul li a:hover,
.hero-panel ul li a:focus-visible {
  background: rgba(244,247,251,0.08);
  color: var(--on-dark);
}
.hero-panel ul li a:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 2px; }
.hero-panel ul li .go {
  margin-left: auto;
  color: var(--accent-blue);
  opacity: 0.75;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.hero-panel ul li a:hover .go,
.hero-panel ul li a:focus-visible .go { opacity: 1; transform: translateX(3px); }
.hero-panel ul li a:hover .check,
.hero-panel ul li a:focus-visible .check { background: var(--accent-blue); color: #fff; }
.hero-panel ul li .check {
  transition: background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid var(--accent-blue);
  color: var(--accent-blue);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Stat grid (numbers, used on the dark hero) ---- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-dark);
  border-left: 1px solid var(--border-dark);
  margin-top: 56px;
}
.stat-cell {
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 24px 22px;
}
.stat-cell .stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 10px;
}
.stat-cell strong {
  display: block;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  color: var(--on-dark);
  font-weight: 200;
  margin-bottom: 4px;
}
.stat-cell p { font-size: 0.82rem; margin: 0; color: var(--on-dark-muted); }

/* ---- Sections ---- */
.section { padding: 100px 0; background: var(--bg); }
.section-alt { background: var(--bg-alt); }
.section-header { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-header.left { margin: 0 0 56px; text-align: left; }

/* ---- Two-column text + panel layout ---- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.list-panel {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px 32px;
  background: var(--bg-alt);
}
.list-panel h3 { font-weight: 700; margin-bottom: 18px; color: var(--ink); }
.list-panel ul li {
  padding: 11px 0 11px 20px;
  position: relative;
  color: var(--ink-body);
  font-weight: 400;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-soft);
}
.list-panel ul li:last-child { border-bottom: none; }
.list-panel ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

/* ---- Divider grid (numbered service/feature grid) ---- */
.divide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.divide-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.divide-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.divide-item {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 34px;
  transition: background 0.2s ease;
}
.divide-item:hover { background: var(--bg-alt); }

.divide-num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.divide-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 22px;
  font-size: 1rem;
}

/* Whole-card links (home page specialties) */
.divide-link { display: flex; flex-direction: column; color: var(--ink-body); }
.divide-link h3 { transition: color 0.15s ease; }
.divide-link:hover h3 { color: var(--primary); }
.divide-link .more {
  margin-top: auto;
  padding-top: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}
.divide-link .arrow { display: inline-block; transition: transform 0.2s ease; }
.divide-link:hover .arrow { transform: translateX(3px); }

.section-footer { text-align: center; margin-top: 48px; }
.text-link {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}
.text-link .arrow { display: inline-block; transition: transform 0.2s ease; }
.text-link:hover { color: var(--primary-dark); }
.text-link:hover .arrow { transform: translateX(3px); }

.divide-item ul { margin-top: 16px; }
.divide-item ul li {
  font-size: 0.88rem;
  color: var(--ink-body);
  padding: 6px 0 6px 18px;
  position: relative;
  font-weight: 400;
}
.divide-item ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

/* ---- Specialty link cards (services page + specialty pages) ---- */
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.specialty-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink-body);
  transition: background 0.2s ease;
}
.section-alt .specialty-card { background: transparent; }
.specialty-card h3 { font-size: 1.02rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; transition: color 0.15s ease; }
.specialty-card p { font-size: 0.88rem; margin-bottom: 20px; }
.specialty-card .divide-num { margin-bottom: 14px; }
.specialty-card .more {
  margin-top: auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}
.specialty-card .arrow { display: inline-block; transition: transform 0.2s ease; }
.specialty-card:hover { background: var(--bg-alt); }
.section-alt .specialty-card:hover { background: var(--bg); }
.specialty-card:hover h3 { color: var(--primary); }
.specialty-card:hover .arrow { transform: translateX(3px); }

/* ---- Process steps ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  counter-reset: step;
}
.step {
  position: relative;
  padding: 36px 30px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 2.2rem;
  font-weight: 200;
  color: var(--border);
  display: block;
  margin-bottom: 14px;
}
.step h3 { font-size: 1rem; margin-bottom: 8px; font-weight: 700; color: var(--ink); }
.step p { font-size: 0.88rem; margin: 0; color: var(--ink-body); }

/* ---- Logos strip ---- */
.logos-strip {
  padding: 44px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.logos-strip p {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 24px;
  font-weight: 700;
}
.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 52px;
  flex-wrap: wrap;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.logos-row a {
  color: inherit;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.logos-row a:hover,
.logos-row a:focus-visible {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ---- CTA band (dark navy panel) ---- */
.cta-band {
  padding: 72px 0;
  text-align: center;
  border-radius: 6px;
}
.cta-band p { max-width: 52ch; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; margin-top: 28px; }

/* ---- Page header (inner pages) ---- */
.page-header {
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244,247,251,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,247,251,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.page-header .container { position: relative; }
.page-header h1 { margin-bottom: 12px; }
.page-header .lede { max-width: 62ch; }
.page-header .stat-grid { margin-top: 40px; }
.breadcrumb {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--on-dark-muted);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.breadcrumb a:hover { color: var(--accent-blue); }

/* ---- About page ---- */
.value-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  margin-top: 16px;
}
.value-item {
  display: flex;
  gap: 16px;
  padding: 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.value-item .num {
  font-weight: 200;
  color: var(--primary);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.value-item h3 { color: var(--ink); }

/* ---- Team (about page) ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card:hover,
.team-card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-photo {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--border-soft);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  transition: transform 0.5s ease;
}
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.team-body h3 { font-size: 1.25rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; letter-spacing: -0.01em; }
.team-title { font-size: 0.92rem; color: var(--ink-body); margin-bottom: 0; }
.team-body p:not(.team-title) { font-size: 0.9rem; margin: 14px 0 0; }
.team-link {
  margin-top: 28px;
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
/* Stretch the link over the whole card so any click opens LinkedIn */
.team-link::after { content: ""; position: absolute; inset: 0; }
.team-link:focus-visible { outline: none; }
.team-card:focus-within { outline: 2px solid var(--primary); outline-offset: 3px; }
.team-link .arrow { display: inline-block; margin-left: 4px; transition: transform 0.2s ease; }
.team-card:hover .team-link { color: var(--primary); }
.team-card:hover .team-link .arrow { transform: translateX(3px); }

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  border: 1px solid var(--border);
}

.contact-info-card {
  background: var(--bg-dark);
  color: var(--on-dark-body);
  padding: 44px 38px;
}
.contact-info-card h3 { color: var(--on-dark); font-weight: 700; }
.contact-info-card .lede { color: var(--on-dark-body); font-size: 1rem; }

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--border-dark-soft);
}
.contact-detail:first-of-type { border-top: none; }
.contact-detail strong { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 700; margin-bottom: 2px; }
.contact-detail span, .contact-detail a { font-size: 0.98rem; font-weight: 400; }

.form-card {
  background: var(--bg);
  padding: 44px 38px;
}
.form-card h3 { font-weight: 700; color: var(--ink); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 2px;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink);
  background: transparent;
  transition: border-color 0.15s ease;
}
.field select option { color: var(--ink); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.field textarea { resize: vertical; min-height: 110px; }

.form-note { font-size: 0.8rem; color: var(--ink-muted); margin-top: 4px; }

.form-status {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 4px;
  border-left: 3px solid;
  font-size: 0.9rem;
}
.form-status.success { background: #eaf5ee; border-color: #2e8b57; color: #1d5c39; }
.form-status.error { background: #fdeeee; border-color: #c0392b; color: #8a2a20; }

/* Honeypot spam trap: off-screen for people, still in the DOM for bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* ---- Footer ---- */
.site-footer {
  padding: 88px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-dark-soft);
}

.footer-top h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.footer-top p { max-width: 42ch; color: var(--on-dark-body); }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-dark-soft);
}

.footer-grid h4 {
  color: var(--on-dark-muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 700;
  font-family: var(--font-sans);
}

.footer-grid ul li { margin-bottom: 12px; }
.footer-grid ul li a { font-size: 0.95rem; color: var(--on-dark-body); font-weight: 400; transition: color 0.15s ease; }
.footer-grid ul li a:hover { color: var(--accent-blue); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.78rem;
  color: var(--on-dark-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .divide-grid, .divide-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .specialty-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .value-list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .mobile-only-cta { display: none; }
  .nav.open .mobile-only-cta {
    display: block;
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
  }
  .nav.open .mobile-only-cta .btn { width: 100%; }
  /* Keep the menu's CTA styled as a button, not as a gray nav link */
  .nav-links .mobile-only-cta a.btn,
  .nav-links .mobile-only-cta a.btn:hover {
    color: #fff;
    padding: 15px 30px;
    border-bottom: 1px solid transparent;
  }

  .hero { padding: 72px 0 80px; }
  .divide-grid, .divide-grid.cols-2, .divide-grid.cols-4, .specialty-grid, .steps, .stat-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .section { padding: 72px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .contact-info-card, .form-card { padding: 32px 24px; }
}

/* Too narrow for the side-by-side hero CTAs: stack all three full width */
@media (max-width: 560px) {
  .hero .hero-actions { grid-template-columns: 1fr; }
  .hero .hero-actions .btn-primary { grid-row: auto; padding: 22px 24px; }
}
