:root {
  --c-bg: #f6f8fb;
  --c-surface: #ffffff;
  --c-ink: #0e1a26;
  --c-muted: #55616e;
  --c-blue: #0b3a66;
  --c-blue-900: #082c4d;
  --c-blue-light: #e8f0f8;
  --c-accent: #f26d21;
  --c-accent-dark: #d95514;
  --c-accent-ink: #7a2f0a;
  --c-accent-light: #fff2e9;
  --c-line: #dce3ea;
  --c-ok: #1c7a4d;
  --c-danger: #b42318;

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-24: 6rem;

  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(14, 26, 38, 0.06);
  --shadow-md: 0 4px 16px rgba(14, 26, 38, 0.08);
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin: 0 0 var(--sp-4);
  color: var(--c-ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 650;
}

p {
  margin: 0 0 var(--sp-4);
  max-width: 70ch;
}

a {
  color: var(--c-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--c-blue-900);
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-blue);
  color: #fff;
  padding: var(--sp-3) var(--sp-4);
  z-index: 100;
}

.skip-link:focus {
  left: var(--sp-2);
  top: var(--sp-2);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--sp-6);
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: 64px;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--c-blue);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand__mark {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
  color: var(--c-ink);
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: block;
  position: absolute;
  inset: 100% 0 auto 0;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
  box-shadow: var(--shadow-md);
  padding: var(--sp-3) var(--sp-4) var(--sp-6);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.site-nav a {
  display: block;
  padding: var(--sp-3) var(--sp-2);
  text-decoration: none;
  color: var(--c-ink);
  font-weight: 550;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--c-blue-light);
  color: var(--c-blue);
}

.header-cta {
  display: none;
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    position: static;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
    margin-left: auto;
  }

  .site-nav ul {
    flex-direction: row;
    gap: var(--sp-1);
    align-items: center;
  }

  .site-nav a {
    padding: var(--sp-2) var(--sp-3);
    font-size: 0.95rem;
  }

  .header-cta {
    display: inline-flex;
    margin-left: var(--sp-3);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.8rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  min-height: 44px;
  white-space: nowrap;
}

.btn--call {
  background: var(--c-accent);
  color: #fff;
}

.btn--call:hover {
  background: var(--c-accent-dark);
  color: #fff;
}

.btn--primary {
  background: var(--c-blue);
  color: #fff;
}

.btn--primary:hover {
  background: var(--c-blue-900);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--c-blue);
  border-color: var(--c-blue);
}

.btn--ghost:hover {
  background: var(--c-blue);
  color: #fff;
}

.btn--block {
  width: 100%;
}

.btn__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

/* ---------- Hero ---------- */
.hero {
  padding-block: var(--sp-12) var(--sp-16);
  background: linear-gradient(180deg, #ffffff 0%, var(--c-bg) 100%);
}

.hero__grid {
  display: grid;
  gap: var(--sp-8);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--sp-12);
  }
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: var(--sp-4);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--c-blue-light);
  color: var(--c-blue);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.hero__lead {
  font-size: 1.15rem;
  color: var(--c-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.hero__actions .btn {
  flex: 1 1 220px;
}

@media (min-width: 600px) {
  .hero__actions .btn {
    flex: 0 0 auto;
  }
}

/* ---------- Urgent banner ---------- */
.urgent {
  background: var(--c-accent-light);
  border: 1px solid #f7cdb0;
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
}

.urgent__label {
  display: inline-block;
  margin-bottom: var(--sp-2);
  font-size: 0.8rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-accent-ink);
}

.urgent__phone {
  display: inline-block;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--c-accent-ink);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.urgent p {
  margin-bottom: 0;
  color: var(--c-accent-ink);
  font-size: 0.95rem;
}

/* ---------- Sections ---------- */
.section {
  padding-block: var(--sp-16);
}

.section--muted {
  background: var(--c-surface);
  border-block: 1px solid var(--c-line);
}

.section__head {
  max-width: 62ch;
  margin-bottom: var(--sp-8);
}

.section__head p {
  color: var(--c-muted);
  margin-bottom: 0;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  border-color: #b8cde0;
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 36px;
  height: 36px;
  color: var(--c-blue);
  margin-bottom: var(--sp-3);
}

.card h3 {
  margin-bottom: var(--sp-2);
}

.card p {
  color: var(--c-muted);
  font-size: 0.95rem;
  margin-bottom: var(--sp-4);
}

.card__link {
  margin-top: auto;
  font-weight: 650;
  text-decoration: none;
  color: var(--c-blue);
}

.card__link::after {
  content: " →";
}

/* ---------- Proof ---------- */
.proof-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .proof-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.proof {
  background: var(--c-surface);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-6);
}

.proof strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: var(--sp-1);
}

.proof span {
  color: var(--c-muted);
  font-size: 0.9rem;
}

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
}

thead th {
  background: var(--c-blue-light);
  color: var(--c-blue-900);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- Steps ---------- */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-4);
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: var(--sp-12);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding-block: var(--sp-4);
  padding-right: var(--sp-4);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: var(--sp-4);
  top: var(--sp-4);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

.steps strong {
  display: block;
  margin-bottom: var(--sp-1);
}

.steps span {
  color: var(--c-muted);
  font-size: 0.93rem;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: var(--sp-3);
  max-width: 80ch;
}

.faq details {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-6);
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--c-blue);
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details > p {
  margin: var(--sp-3) 0 0;
  color: var(--c-muted);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--c-blue);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}

@media (min-width: 800px) {
  .cta-band {
    grid-template-columns: 1fr auto;
    padding: var(--sp-12);
  }
}

.cta-band h2 {
  color: #fff;
  margin-bottom: var(--sp-2);
}

.cta-band p {
  color: #cfe0f0;
  margin-bottom: 0;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.cta-band .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.cta-band .btn--ghost:hover {
  background: #fff;
  color: var(--c-blue);
}

/* ---------- Form ---------- */
.form {
  display: grid;
  gap: var(--sp-4);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  max-width: 640px;
}

@media (min-width: 640px) {
  .form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
  }
}

.field {
  display: grid;
  gap: var(--sp-2);
}

.field label {
  font-weight: 650;
  font-size: 0.92rem;
}

.field .hint {
  font-size: 0.82rem;
  color: var(--c-muted);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--c-ink);
  background: #fff;
  border: 1px solid #c2ccd6;
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
  min-height: 44px;
  width: 100%;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--c-blue);
  outline: 2px solid var(--c-blue-light);
  outline-offset: 1px;
}

.field [aria-invalid="true"] {
  border-color: var(--c-danger);
}

.error-msg {
  color: var(--c-danger);
  font-size: 0.85rem;
  min-height: 1.2em;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.95rem;
  display: none;
}

.form-status.is-error {
  display: block;
  background: #fdecea;
  color: var(--c-danger);
}

.form-status.is-ok {
  display: block;
  background: #e7f5ec;
  color: var(--c-ok);
}

/* ---------- Contact block ---------- */
.contact-grid {
  display: grid;
  gap: var(--sp-8);
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--sp-12);
  }
}

.nap {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
}

.nap dl {
  margin: 0;
  display: grid;
  gap: var(--sp-4);
}

.nap dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-muted);
  font-weight: 700;
  margin-bottom: var(--sp-1);
}

.nap dd {
  margin: 0;
  font-weight: 550;
  font-size: 1.05rem;
}

.nap dd a {
  text-decoration: none;
  font-weight: 700;
}

/* ---------- Zones ---------- */
.zone-list {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .zone-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .zone-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.zone-list li {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--sp-4);
  font-weight: 600;
}

.zone-list small {
  display: block;
  color: var(--c-muted);
  font-weight: 400;
  font-size: 0.85rem;
  margin-top: var(--sp-1);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-ink);
  color: #c7d2dd;
  padding-block: var(--sp-12) var(--sp-8);
  margin-top: var(--sp-16);
}

.site-footer__grid {
  display: grid;
  gap: var(--sp-8);
  margin-bottom: var(--sp-8);
}

@media (min-width: 800px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h2 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-4);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-2);
}

.site-footer a {
  color: #c7d2dd;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer .brand {
  color: #fff;
  margin-bottom: var(--sp-3);
}

.site-footer address {
  font-style: normal;
  line-height: 1.7;
}

.site-footer__bottom {
  border-top: 1px solid #23384c;
  padding-top: var(--sp-6);
  font-size: 0.85rem;
  color: #8fa2b5;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  justify-content: space-between;
}

/* ---------- Prose (legal pages) ---------- */
.prose {
  max-width: 78ch;
}

.prose h2 {
  margin-top: var(--sp-8);
}

.prose ul {
  padding-left: var(--sp-6);
}

.prose li {
  margin-bottom: var(--sp-2);
}

.placeholder {
  background: #fff4d6;
  border-bottom: 1px dashed #c99a00;
  padding: 0 0.2em;
  font-weight: 600;
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 55vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: var(--sp-4);
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
