@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --blue-900: #071f3f;
  --blue-800: #0b3a75;
  --blue-700: #0f4c97;
  --blue-600: #1663c7;
  --blue-100: #e7f0fb;
  --blue-50: #f3f7fd;
  --ink: #0f1b2d;
  --muted: #55627a;
  --line: #dbe3ee;
  --white: #fff;
  --ok-bg: #e8f6ee; --ok-ink: #16613a;
  --err-bg: #fdecec; --err-ink: #9b1c1c;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(7, 31, 63, 0.08), 0 1px 3px rgba(7, 31, 63, 0.06);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Manrope", var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: var(--blue-600); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 24px;
  border: 0; border-radius: 10px;
  background: var(--blue-600); color: var(--white);
  font: 600 16px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--blue-700); }
.btn:active { transform: translateY(1px); }
.btn--light { background: rgba(255, 255, 255, 0.12); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.btn--light:hover { background: rgba(255, 255, 255, 0.2); }
.btn--ghost { background: transparent; color: var(--blue-800); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--blue-50); }
.btn--small { min-height: 42px; padding: 8px 16px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--blue-800); text-decoration: none; margin-right: auto; }
.brand__mark { width: 38px; height: 38px; flex: none; color: var(--blue-600); }
.brand__text { font: 800 18px/1.1 var(--display); color: var(--blue-900); letter-spacing: -0.01em; }
.brand__text span { display: block; font: 600 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--blue-600); }

/* ---------- Hero ---------- */
.hero {
  color: var(--white);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(22, 99, 199, 0.55) 0%, transparent 60%),
    linear-gradient(160deg, var(--blue-800) 0%, var(--blue-900) 100%);
  position: relative; overflow: hidden;
}
.hero::after {
  /* faint ledger lines */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 44px);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.hero-inner { position: relative; z-index: 1; padding-top: clamp(64px, 11vw, 128px); padding-bottom: clamp(64px, 11vw, 128px); max-width: 1120px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; max-width: 15ch; }
.hero .lead { margin-top: 20px; max-width: 58ch; font-size: clamp(17px, 2vw, 19px); color: rgba(255, 255, 255, 0.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.eyebrow { font: 600 13px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #9cc4f2; margin-bottom: 14px; }
.eyebrow--dark { color: var(--blue-600); margin-bottom: 8px; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section--tint { background: var(--blue-50); }
.section h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; color: var(--blue-900); }

.services {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr); /* six services: two even rows */
}
@media (max-width: 860px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }
.service {
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.service:hover { border-color: #bcd2ee; box-shadow: var(--shadow); transform: translateY(-2px); }
.service svg {
  width: 44px; height: 44px; padding: 10px; border-radius: 10px;
  background: var(--blue-100); stroke: var(--blue-600); fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.service h3 { margin-top: 16px; font-size: 19px; font-weight: 700; color: var(--blue-900); }
.service p { margin-top: 6px; font-size: 15px; color: var(--muted); }

.steps {
  list-style: none; counter-reset: step; margin: 40px 0 0; padding: 0;
  display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.steps li { counter-increment: step; padding: 28px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue-600); color: var(--white); font: 800 18px var(--display);
}
.steps h3 { margin-top: 18px; font-size: 20px; font-weight: 700; color: var(--blue-900); }
.steps p { margin-top: 6px; color: var(--muted); font-size: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; }
.contact-info > p { margin-top: 14px; color: var(--muted); }
.info { margin: 32px 0 0; display: grid; gap: 22px; }
.info div { padding-left: 16px; border-left: 3px solid var(--blue-100); }
.info dt { font: 600 13px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.info dd { margin: 4px 0 0; font-size: 17px; }
.info dd a { font-weight: 600; }

.form { padding: clamp(24px, 4vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); }
.field-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 15px; }
.field label span { color: var(--blue-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  font: 16px/1.4 var(--sans); color: var(--ink);
  border: 1px solid #c6d2e1; border-radius: 10px; background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(22, 99, 199, 0.15); }
.field.has-error input, .field.has-error textarea { border-color: var(--err-ink); }
.field-error { margin-top: 6px; font-size: 14px; color: var(--err-ink); }
.form__privacy { margin: 4px 0 20px; padding: 12px 14px; font-size: 14px; color: var(--muted); background: var(--blue-50); border-radius: 10px; }
.form__status:empty { display: none; }
.form__status { margin-top: 16px; padding: 12px 14px; border-radius: 10px; font-size: 15px; }
.form__status.is-ok { background: var(--ok-bg); color: var(--ok-ink); }
.form__status.is-error { background: var(--err-bg); color: var(--err-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: rgba(255, 255, 255, 0.75); font-size: 15px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 32px; padding-bottom: 32px; }
.site-footer strong { color: var(--white); }
.site-footer a { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .header-call span { display: none; }
  .header-call { min-width: 44px; padding: 8px 12px; }
  .brand__text { font-size: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Area served ---------- */
.area-inner { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; }
.area-lead { margin-top: 14px; color: var(--muted); max-width: 46ch; }
.towns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.towns li {
  padding: 8px 14px; border-radius: 999px;
  background: var(--blue-50); border: 1px solid var(--line);
  font-size: 15px; font-weight: 500; color: var(--blue-800);
}
.towns li:last-child { background: transparent; border-style: dashed; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq { margin-top: 32px; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font: 700 18px/1.3 var(--display); color: var(--blue-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--blue-600); border-bottom: 2px solid var(--blue-600);
  margin-top: -6px; transform: rotate(45deg); transition: transform .2s ease, margin .2s ease;
}
.faq details[open] summary::after { margin-top: 6px; transform: rotate(-135deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

@media (max-width: 860px) { .area-inner { grid-template-columns: 1fr; } }

.turnstile:not(:empty) { margin: 0 0 16px; }
