/* =========================================================
   Apex Talent Solutions — Stylesheet
   Design tokens, base, components, layout, responsive
   ========================================================= */

:root {
  /* Brand palette */
  --navy: #10243E;
  --navy-2: #14304F;
  --blue: #246BFD;
  --blue-2: #4683FE;
  --teal: #20B8A6;
  --teal-2: #2DD4BF;
  --offwhite: #F6F8FC;
  --white: #FFFFFF;
  --dark: #1E293B;
  --muted: #64748B;
  --muted-2: #94A3B8;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;

  /* Type */
  --font-display: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow: 0 4px 24px rgba(16, 36, 62, .08);
  --shadow-lg: 0 20px 60px rgba(16, 36, 62, .12);

  /* Transitions */
  --t-fast: 160ms cubic-bezier(.2,.7,.3,1);
  --t: 240ms cubic-bezier(.2,.7,.3,1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--navy); }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 .6em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.375rem); }
h4 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--dark); }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: .35rem; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
small { color: var(--muted); }

/* Skip link for accessibility */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: var(--white);
  padding: 12px 16px; z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Containers & layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section-tight { padding: clamp(2.25rem, 4vw, 3.5rem) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; display: inline-block;
  width: 14px; height: 12px;
  background: var(--teal);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.eyebrow.on-dark { color: var(--teal-2); }

.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.0625rem; }
.section-head.left { margin-left: 0; text-align: left; }

.lead { font-size: 1.125rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  padding: .9rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  letter-spacing: .005em;
  white-space: nowrap;
  text-align: center;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); background: var(--offwhite); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: #1A9C8E; color: var(--white); }
.btn .arrow { transition: transform var(--t-fast); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem 0; min-height: 72px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 40px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: .25rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: .55rem .85rem;
  color: var(--dark);
  font-weight: 500;
  font-size: .95rem;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover { background: var(--offwhite); color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: .5rem; }
.nav-cta .btn { padding: .65rem 1.1rem; font-size: .9rem; }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border);
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  cursor: pointer; align-items: center; justify-content: center;
  color: var(--navy);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 80% -10%, rgba(36, 107, 253, .22), transparent 55%),
    radial-gradient(ellipse at 0% 110%, rgba(32, 184, 166, .18), transparent 50%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(4rem, 9vw, 6.5rem);
  overflow: hidden;
}
.hero::before {
  /* Subtle peak silhouette as background signature */
  content: "";
  position: absolute; inset: auto 0 0 0; height: 60%;
  background-image:
    linear-gradient(135deg, transparent 49%, rgba(255,255,255,.018) 50%, transparent 51%),
    linear-gradient(45deg, transparent 49%, rgba(255,255,255,.018) 50%, transparent 51%);
  background-size: 60px 60px;
  background-position: center bottom;
  pointer-events: none;
  mask-image: linear-gradient(to top, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero .accent { color: var(--teal-2); }
.hero-lead {
  font-size: 1.1875rem; line-height: 1.6;
  color: rgba(246, 248, 252, .85);
  max-width: 580px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-meta {
  display: flex; gap: 2rem; flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-meta-item { display: flex; align-items: center; gap: .6rem; color: rgba(246,248,252,.78); font-size: .95rem; }
.hero-meta-item svg { width: 18px; height: 18px; color: var(--teal-2); flex-shrink: 0; }

/* Hero visual — abstract peaks card */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  max-width: 480px; margin-left: auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
  padding: 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.hv-peaks {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0;
  opacity: .5;
}
.hv-peaks svg { width: 100%; height: 100%; }
.hv-card {
  position: relative; z-index: 1;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hv-card-label { font-size: .75rem; color: var(--teal-2); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .35rem; }
.hv-card-title { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 1rem; }
.hv-card-sub { font-size: .85rem; color: rgba(255,255,255,.7); margin-top: .15rem; }
.hv-card.bottom { margin-top: auto; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  position: relative;
}
.card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); margin-bottom: 0; }

.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(36, 107, 253, .12), rgba(32, 184, 166, .12));
  color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 24px; height: 24px; }

/* Service card variant */
.service-card { display: flex; flex-direction: column; }
.service-card .features {
  list-style: none; padding: 0; margin: 1rem 0 0;
  display: flex; flex-direction: column; gap: .35rem;
}
.service-card .features li {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .9rem; color: var(--dark); margin: 0;
}
.service-card .features li::before {
  content: ""; flex-shrink: 0; margin-top: .55rem;
  width: 8px; height: 6px;
  background: var(--teal);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

/* Category pill cards */
.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  transition: border-color var(--t), background var(--t);
}
.category-card:hover { border-color: var(--teal); background: var(--offwhite); }
.category-card .pip {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--offwhite);
  color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.category-card .pip svg { width: 18px; height: 18px; }
.category-card h4 { margin: 0 0 .1rem; font-size: 1rem; }
.category-card p { margin: 0; font-size: .85rem; color: var(--muted); }

/* ---------- Process / steps ---------- */
.process { background: var(--offwhite); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .15em;
  color: var(--blue);
  margin-bottom: .85rem;
  display: flex; align-items: center; gap: .5rem;
}
.step-num::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
}
.step h3 { font-size: 1.125rem; margin-bottom: .35rem; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Why choose / feature split ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.feature-list li {
  display: flex; gap: 1rem; margin: 0;
}
.feature-list .fi {
  flex-shrink: 0; width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(36, 107, 253, .14), rgba(32, 184, 166, .14));
  color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.feature-list .fi svg { width: 20px; height: 20px; }
.feature-list h4 { margin: 0 0 .25rem; font-size: 1.0625rem; color: var(--navy); }
.feature-list p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Dual CTA / dark band ---------- */
.cta-band {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse at 90% 0%, rgba(32, 184, 166, .22), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(36, 107, 253, .25), transparent 55%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
}
.cta-band h2 { color: var(--white); margin-bottom: .75rem; }
.cta-band p { color: rgba(246, 248, 252, .8); margin: 0; font-size: 1.0625rem; }
.cta-band-actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: flex-end; }

.dual-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.dual-cta .card {
  padding: 2rem;
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.dual-cta .card.dark {
  background: var(--navy);
  color: var(--white);
  border-color: transparent;
  background-image: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}
.dual-cta .card.dark h3 { color: var(--white); }
.dual-cta .card.dark p { color: rgba(246, 248, 252, .8); }
.dual-cta .card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem; font-weight: 400; color: var(--blue);
  transition: transform var(--t-fast);
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer { padding: 0 0 1.4rem; color: var(--muted); }
.faq-item .answer p { margin: 0; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .85rem;
  color: var(--navy);
}
.field label .req { color: var(--blue); margin-left: 2px; }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: .975rem;
  color: var(--dark);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: .75rem .9rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36, 107, 253, .18);
}
.field .hint { font-size: .8rem; color: var(--muted); }
.field input[type="file"] {
  padding: .55rem;
  background: var(--offwhite);
  cursor: pointer;
}
.field-error {
  color: #b91c1c; font-size: .85rem; display: none;
}
.field.has-error .field-error { display: block; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #dc2626; }

.form-actions {
  margin-top: 1.5rem;
  display: flex; gap: 1rem; align-items: center;
  flex-wrap: wrap;
}
.form-actions .privacy-note { font-size: .825rem; color: var(--muted); }

.form-message {
  display: none;
  padding: 1.1rem 1.25rem; border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: .95rem;
}
.form-message.show { display: block; }
.form-message.success {
  background: rgba(32, 184, 166, .1);
  color: #0F766E;
  border: 1px solid rgba(32, 184, 166, .35);
}
.form-message.error {
  background: rgba(220, 38, 38, .08);
  color: #991B1B;
  border: 1px solid rgba(220, 38, 38, .3);
}

/* Honeypot — hidden from humans */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ---------- Contact info panel ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; align-items: start; }
.contact-info {
  background: var(--navy);
  background-image: radial-gradient(ellipse at 0% 0%, rgba(32, 184, 166, .2), transparent 60%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.contact-info h3 { color: var(--white); }
.contact-info p { color: rgba(246, 248, 252, .8); }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-list li { display: flex; gap: .9rem; margin: 0; align-items: flex-start; }
.contact-list .ci-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  color: var(--teal-2);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-list .ci-icon svg { width: 18px; height: 18px; }
.contact-list .ci-label { font-size: .8rem; color: rgba(246, 248, 252, .65); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .15rem; font-family: var(--font-display); font-weight: 700; }
.contact-list .ci-value { color: var(--white); font-weight: 500; margin: 0; }
.contact-list a { color: var(--white); }
.contact-list a:hover { color: var(--teal-2); }

/* ---------- Page headers (non-hero pages) ---------- */
.page-head {
  background: var(--offwhite);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border);
}
.page-head .container { text-align: center; max-width: 820px; }
.page-head h1 { margin-bottom: .85rem; }
.page-head p { color: var(--muted); font-size: 1.125rem; margin-bottom: 0; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--navy); }

/* ---------- Article / long-form ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { margin-top: 2.5rem; font-size: 1.5rem; }
.prose h3 { margin-top: 1.75rem; font-size: 1.2rem; }
.prose p, .prose li { color: var(--dark); }
.prose ul { margin-bottom: 1.25rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(246, 248, 252, .75);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand img { height: 44px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-brand p { color: rgba(246, 248, 252, .65); max-width: 320px; font-size: .95rem; }
.footer-col h4 {
  color: var(--white);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a {
  color: rgba(246, 248, 252, .7);
  font-size: .925rem;
}
.footer-col a:hover { color: var(--teal-2); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: .85rem;
  color: rgba(246, 248, 252, .55);
}
.footer-bottom a { color: rgba(246, 248, 252, .7); }
.footer-bottom a:hover { color: var(--teal-2); }

/* ---------- 404 ---------- */
.not-found {
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--offwhite);
  padding: 4rem 1.25rem;
}
.not-found-inner { text-align: center; max-width: 540px; }
.not-found .big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 14vw, 8rem);
  color: var(--navy);
  line-height: 1;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0 !important; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; text-align: center; }
  .cta-band-actions { justify-content: center; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 100%; aspect-ratio: 16 / 10; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem;
    gap: 0;
  }
  .nav-open .nav-links a {
    padding: .85rem .25rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-open .nav-links a:last-child { border-bottom: 0; }
  .nav-open .nav-cta {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 0 1.25rem 1.25rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(99%);
  }
  .nav-open .nav-cta .btn { width: 100%; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .dual-cta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-meta { gap: 1rem; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .form-actions .btn { width: 100%; }
}

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

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

@media print {
  .site-header, .site-footer, .nav-toggle { display: none; }
  body { color: #000; background: #fff; }
}
