@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-400.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1e3c46;
  --ink-soft: #2c4f5b;
  --accent: #3f8fb1;
  --cta: #2a7297;
  --cta-dark: #1f5c79;
  --paper: #f3f7f8;
  --line: #d5e1e5;
  --text: #1f2d33;
  --muted: #4a5d65;
  --white: #ffffff;
  --radius: 12px;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 1rem/1.6 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cta); text-underline-offset: 3px; }
a:hover { color: var(--cta-dark); }
iframe { max-width: 100%; }

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

h1, h2, h3 {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(1.8rem, 4.4vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.45rem, 3vw, 2.05rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.section { padding: 56px 0; }
.section.compact { padding-bottom: 24px; }
.section.alt { background: var(--paper); }
.center { text-align: center; }
.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;
}
.hp {
  position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip {
  position: absolute; left: 12px; top: -48px; background: var(--ink); color: var(--white);
  padding: 10px 14px; border-radius: 8px; z-index: 100; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ----- buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 2px solid transparent;
  font: 600 1rem/1.1 "DM Sans", system-ui, sans-serif; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--cta); color: var(--white); }
.btn-primary:hover { background: var(--cta-dark); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-sm { min-height: 42px; padding: 9px 14px; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }

/* ----- header ----- */
.site-header {
  position: sticky; top: 0; z-index: 40; background: var(--white);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 12px; min-height: 72px; }
.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { height: 56px; width: auto; }
.nav { display: none; }
.header-cta { margin-left: auto; white-space: nowrap; font-size: 0.85rem; padding: 9px 10px; }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; border: 2px solid var(--line); border-radius: 8px;
  background: var(--white); cursor: pointer; padding: 0; align-items: center;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  content: ""; position: relative;
}
.nav-toggle .bars::before, .nav-toggle .bars::after { position: absolute; left: 0; }
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

.nav.open {
  display: block; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px rgba(30, 60, 70, 0.08);
}
.nav.open ul { list-style: none; margin: 0; padding: 8px 16px 16px; }
.nav.open li a {
  display: block; padding: 14px 4px; border-bottom: 1px solid var(--line);
  color: var(--ink); font-weight: 600; text-decoration: none;
}
.nav.open li a[aria-current="page"] { color: var(--cta); }

/* ----- hero ----- */
.hero { padding: 40px 0 32px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.eyebrow {
  color: var(--cta); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.85rem; margin: 0 0 10px;
}
.lede { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.hero-media img { border-radius: var(--radius); aspect-ratio: 1400 / 828; object-fit: cover; width: 100%; height: auto; }
.pill-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; font-size: 0.92rem; color: var(--ink-soft);
}
.section-lede { color: var(--muted); max-width: 70ch; margin-bottom: 28px; }

/* ----- cards ----- */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; text-decoration: none; color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { border-color: var(--accent); box-shadow: 0 8px 22px rgba(30, 60, 70, 0.08); }
.card h3 { color: var(--ink); margin-top: 12px; }
.card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 14px; }
.card-icon { color: var(--cta); display: inline-flex; }
.card-link { margin-top: auto; color: var(--cta); font-weight: 600; }

/* ----- two column + checks ----- */
.two-col { display: grid; gap: 28px; align-items: start; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li {
  background: var(--white); border-left: 4px solid var(--accent); border-radius: 8px;
  padding: 14px 16px; box-shadow: 0 1px 2px rgba(30, 60, 70, 0.06);
}
.checks li strong { color: var(--ink); display: block; }
.section.alt .checks li { background: var(--white); }

/* ----- FAQ ----- */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--ink); font-size: 1.05rem;
  list-style: none; position: relative; padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.4rem; color: var(--cta);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* ----- map ----- */
.map iframe { width: 100%; height: 360px; border: 0; border-radius: var(--radius); display: block; }

/* ----- areas ----- */
.area-list {
  list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.area-list li {
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px; color: var(--ink); font-weight: 600;
}

/* ----- contact form ----- */
.contact-grid { display: grid; gap: 32px; align-items: start; }
.form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: 0 8px 24px rgba(30, 60, 70, 0.06); position: relative;
}
.form-title { margin-bottom: 6px; }
.form-intro { color: var(--muted); font-size: 0.97rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 12px; font: inherit; color: var(--text);
  background: var(--white); border: 1px solid #8ea5ad; border-radius: 8px;
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.9rem; color: var(--muted); }
.contact-aside {
  background: var(--paper); border-radius: var(--radius); padding: 24px;
}
.contact-aside p { margin-bottom: 16px; }

/* ----- steps (thank you) ----- */
.steps { padding-left: 1.4em; display: grid; gap: 14px; margin: 24px 0; }

/* ----- prose ----- */
.prose h2 { margin-top: 1.4em; }

/* ----- CTA band ----- */
.cta-band { background: var(--ink); color: var(--white); padding: 52px 0; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #d7e6ec; }
.cta-band a:not(.btn) { color: var(--white); }
.cta-inner { display: grid; gap: 14px; justify-items: start; }

/* ----- footer ----- */
.site-footer { background: #17313a; color: #cfdfe5; padding: 44px 0 0; font-size: 0.97rem; }
.site-footer a { color: var(--white); }
.foot-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.foot-brand { font-family: "Poppins", sans-serif; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.foot-h { font-family: "Poppins", sans-serif; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 32px; padding: 18px 16px 28px; font-size: 0.88rem; }
.foot-legal p { margin: 0; }

/* ----- mobile sticky bar ----- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px;
  padding: 8px 10px; background: var(--white); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 16px rgba(30, 60, 70, 0.08);
}
.mobile-bar .btn { flex: 1 1 0; min-height: 46px; padding: 10px 8px; font-size: 0.95rem; }

/* ----- small screens: keep copy legible, no horizontal scroll ----- */
@media (max-width: 899px) {
  body { padding-bottom: 76px; }
}
@media (max-width: 380px) {
  .brand img { height: 48px; }
  .header-cta { font-size: 0.8rem; padding: 8px 8px; }
  .area-list { grid-template-columns: 1fr; }
}

/* ----- tablet and up ----- */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form { padding: 32px; }
}

/* ----- desktop ----- */
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav { display: block; margin-left: auto; }
  .nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
  .nav a { color: var(--ink); font-weight: 600; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--cta); border-bottom-color: var(--cta); }
  .header-cta { font-size: 0.95rem; padding: 9px 14px; margin-left: 8px; }
  .nav.open { display: block; position: static; box-shadow: none; border: 0; }
  .hero { padding: 64px 0 56px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; }
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .two-col { grid-template-columns: 1fr 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1.4fr 1fr; }
  .section { padding: 72px 0; }
  .section.compact { padding-bottom: 28px; }
  .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
