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

:root {
  --navy: #102d4f;
  --blue: #1679c4;
  --blue-deep: #0c4d86;
  --ice: #a4dbf5;
  --mist: #f2f8fc;
  --line: #d5e5f2;
  --white: #ffffff;
  --ink: #18232f;
  --muted: #3e5164;
  --danger: #8d1d1d;
  --ok: #0d5a34;
  --shadow: 0 10px 30px rgba(16, 45, 79, 0.06);
  --wrap: 1120px;
  --header: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
  font-family: Manrope, Inter, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.15rem, 4.4vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
li + li { margin-top: 0.35rem; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--white);
  color: var(--navy);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip-link:focus { top: 12px; }

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}
.nav-toggle:focus-visible ~ .site-header .nav-burger {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(46rem, calc(100% - 2rem)); }
.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 0.92rem;
}
.topbar .wrap {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topbar a { color: var(--white); font-weight: 600; text-decoration: none; }
.topbar a:hover { color: var(--ice); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.header-row {
  min-height: var(--header);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
  margin-right: auto;
}
.logo-mark {
  width: 42px;
  height: 42px;
  flex: none;
  background: var(--navy);
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.logo strong { display: block; font-family: Manrope, Inter, sans-serif; font-size: 1.02rem; letter-spacing: -0.03em; }
.logo small { display: block; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.02em; }
.nav-burger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  border-radius: 6px;
  min-height: 44px;
  padding: 0 0.8rem;
  font: 600 0.95rem/1 Inter, sans-serif;
  cursor: pointer;
}
.burger-lines, .burger-lines::before, .burger-lines::after {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--navy);
  content: "";
  position: relative;
}
.burger-lines::before { position: absolute; top: -5px; }
.burger-lines::after { position: absolute; top: 5px; }
.site-nav { display: none; flex-basis: 100%; order: 5; padding: 0 0 1rem; }
.nav-toggle:checked ~ .site-header .site-nav { display: block; }
.site-nav a, .site-nav summary {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}
.site-nav > a, .nav-sub > summary, .header-phone, .header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-nav > a, .nav-sub { margin-right: 0.2rem; }
.nav-sub > summary { list-style: none; cursor: pointer; }
.nav-sub > summary::-webkit-details-marker { display: none; }
.nav-sub > summary::after { content: ""; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); width: 0.4rem; height: 0.4rem; transform: rotate(45deg); margin-left: 0.4rem; margin-top: -0.2rem; }
.service-menu { display: grid; gap: 0.15rem; padding: 0.4rem 0 0.6rem 0.8rem; }
.service-menu a { padding: 0.35rem 0; font-weight: 500; }
.header-phone { color: var(--navy); font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  border-radius: 6px;
  border: 2px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}
.header-cta:hover, .btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--white); }
.btn-secondary { background: transparent; color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn[disabled] { opacity: 0.7; cursor: wait; }

.hero { background: var(--mist); padding: 2.5rem 0 0; }
.has-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(16, 45, 79, 0.9) 0%, rgba(16, 45, 79, 0.72) 46%, rgba(16, 45, 79, 0.42) 100%);
  z-index: 0;
}
.has-bg > .wrap,
.has-bg .hero-grid { position: relative; z-index: 1; }
.hero.has-bg { padding: 3.4rem 0; }
.page-hero.has-bg { padding: 3.2rem 0 2.6rem; }
.has-bg h1,
.has-bg .lede,
.has-bg .eyebrow,
.has-bg p,
.has-bg a,
.has-bg .crumbs,
.has-bg .crumbs a { color: #fff; }
.has-bg .btn { background: #fff; color: var(--navy); border-color: #fff; }
.has-bg .btn:hover { background: var(--ice); color: var(--navy); border-color: var(--ice); }
.has-bg .btn-secondary { background: transparent; color: #fff; border-color: #fff; }
.has-bg .btn-secondary:hover { background: #fff; color: var(--navy); }
.hero.has-bg .hero-figure img { border-radius: 8px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28); }
.hero-grid, .split, .two, .card-grid, .media-copy, .form-grid { display: grid; gap: 1.5rem; }
.hero-grid > *, .split > *, .two > *, .media-copy > *, .footer-grid > *, .card { min-width: 0; }
.hero-copy { padding-bottom: 2.5rem; }
.eyebrow {
  color: var(--blue-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.4rem 0; }
.hero-figure { margin: 0; }
.hero-figure img { width: 100%; object-fit: cover; max-height: 620px; }
.figure-note { font-size: 0.86rem; color: var(--muted); padding: 0.55rem 0 0; }
.request-form.is-complete .form-grid,
.request-form.is-complete .btn,
.request-form.is-complete .form-note,
.request-form.is-complete .hp { display: none; }
.request-form.is-complete .form-status { font-size: 1.35rem; line-height: 1.4; padding: 0.4rem 0 0.2rem; }

.section { padding: 4.5rem 0; }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3, .section-navy a { color: var(--white); }
.section-head { max-width: 40rem; margin-bottom: 1.8rem; }
.section-head p:last-child { color: var(--muted); }
.section-navy .section-head p:last-child { color: var(--ice); }

.card, .info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.15rem;
}
.card h3 { margin-top: 0.85rem; }
.card p:last-child, .info-card p:last-child { margin-bottom: 0; }
.card img { border-radius: 6px; width: 100%; }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--blue); }
.tag { display: inline-block; color: var(--blue-deep); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

.split-home, .split-office { padding: 1.4rem; border-radius: 8px; }
.split-home { background: var(--white); border: 1px solid var(--line); }
.split-office { background: var(--navy); color: var(--white); }
.split-office h2, .split-office h3, .split-office a { color: var(--white); }
.steps { counter-reset: step; display: grid; gap: 1rem; }
.step { background: var(--white); border-top: 3px solid var(--blue); padding: 1rem 1rem 0.4rem; }
.step h3::before { counter-increment: step; content: counter(step) "  "; color: var(--blue); }

.crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; color: var(--muted); font-size: 0.92rem; margin-bottom: 1rem; }
.crumbs a { color: var(--blue-deep); }
.page-hero { padding: 2.4rem 0 0.5rem; }
.page-hero .lede { margin-bottom: 0; }

.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.4rem; }
.related { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; list-style: none; }
.related a { display: inline-flex; align-items: center; min-height: 42px; padding: 0.35rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: var(--white); }

details.faq { border-bottom: 1px solid var(--line); padding: 0.85rem 0; }
details.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); font-family: Manrope, Inter, sans-serif; }
details.faq summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
details.faq p { margin: 0.7rem 0 0.2rem; }

.request-form { display: grid; gap: 0.95rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; color: var(--navy); }
.req { color: var(--danger); font-weight: 600; }
.opt { color: var(--muted); font-weight: 500; }
input, select, textarea {
  width: 100%;
  border: 1px solid #9bb0c3;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.8rem;
  min-height: 48px;
}
textarea { min-height: 140px; resize: vertical; }
.field-error { min-height: 1.2em; color: var(--danger); font-size: 0.92rem; }
.form-status { min-height: 1.4em; font-weight: 600; margin: 0; }
.form-status:focus { outline: none; }
.form-status.is-success { color: var(--ok); }
.form-status.is-error { color: var(--danger); }
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note { color: var(--muted); font-size: 0.95rem; }

.policy-toc { background: var(--mist); padding: 1rem 1.2rem; border-radius: 8px; }
.policy-toc ol { margin: 0.4rem 0 0; }

.site-footer { background: var(--navy); color: #e7f2fa; padding: 3rem 0 1.4rem; }
.footer-grid { display: grid; gap: 1.6rem; }
.site-footer h2 { color: var(--white); font-size: 1rem; letter-spacing: 0; }
.footer-essence { color: #fff; font-weight: 600; }
.site-footer a { color: var(--ice); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 0.4rem; }
.legal-line { border-top: 1px solid rgba(164, 219, 245, 0.25); margin-top: 1.8rem; padding-top: 1rem; color: var(--ice); font-size: 0.92rem; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.section-navy :focus-visible, .site-footer :focus-visible, .topbar :focus-visible { outline-color: var(--ice); }

@media (min-width: 700px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr 1fr; align-items: start; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .wide { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .hero-grid, .media-copy, .split { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
  .card-grid.three { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.15fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .nav-burger { display: none; }
  .header-row { flex-wrap: nowrap; gap: 0.8rem; }
  .nav-toggle:checked ~ .site-header .site-nav,
  .site-nav {
    display: flex;
    align-items: center;
    flex-basis: auto;
    order: 0;
    width: auto;
    padding: 0;
    gap: 0.85rem;
  }
  .service-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: min(520px, 70vw);
    grid-template-columns: 1fr 1fr;
    gap: 0.15rem 1rem;
    padding: 0.8rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .nav-sub { position: relative; }
  .header-cta { margin-left: 0.4rem; }
}
@media (min-width: 1440px) {
  :root { --wrap: 1180px; }
  .hero { padding-top: 3.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
