@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b2a5b;
  --navy-dark: #081f44;
  --emerald: #12915e;
  --ink: #243140;
  --muted: #5c6570;
  --line: #e2e6ea;
  --paper: #ffffff;
  --band: #f4f6f8;
  --soft: #f4f7f6;
  --radius: 14px;
  --header-h: 76px;
  --shadow: 0 12px 32px rgba(11, 42, 91, 0.08);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.05rem, 4.8vw, 3.35rem);
  text-wrap: balance;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
}

h3 {
  margin: 0;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 12px;
}

a {
  color: var(--navy);
}

a:hover {
  color: var(--navy-dark);
}

:focus-visible {
  outline: 3px solid var(--emerald);
  outline-offset: 3px;
}

::selection {
  background: #d7efe4;
  color: var(--navy);
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.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;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 2px;
  background: var(--emerald);
  vertical-align: -1px;
}

.lede,
.section-intro {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.125rem;
}

section[id] {
  scroll-margin-top: 92px;
}

.section {
  padding: 56px 0;
}

.band {
  background: var(--band);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-top: 4px solid var(--emerald);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--header-h);
}

.logo {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  display: block;
  width: auto;
  height: 46px;
  max-width: 100%;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.nav-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.bars span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: var(--navy);
  transform-origin: center;
}

.nav-toggle:focus-visible + .nav-toggle-btn {
  outline: 3px solid var(--emerald);
  outline-offset: 3px;
}

.nav-toggle:checked + .nav-toggle-btn .bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-btn .bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked + .nav-toggle-btn .bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-toggle:checked + .nav-toggle-btn .open-label,
.nav-toggle:not(:checked) + .nav-toggle-btn .close-label {
  display: none;
}

.site-nav {
  display: none;
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  flex-direction: column;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.nav-toggle:checked ~ .site-nav {
  display: flex;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid var(--navy);
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: #fff;
}

.header-quote {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 8px 12px;
}

.header-quote .long {
  display: none;
}

.hero {
  padding: 28px 0 48px;
}

.hero-grid,
.about-grid,
.quote-grid,
.steps,
.footer-inner {
  display: grid;
  gap: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 22px;
}

.mail-link {
  font-weight: 600;
  text-underline-offset: 3px;
}

.price-panel {
  padding: 22px 22px 12px;
  border-top: 4px solid var(--emerald);
  border-radius: var(--radius);
  background: var(--soft);
}

.price-panel h2 {
  margin: 0 0 4px;
  font-size: 1.25rem;
}

.price-list {
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-weight: 600;
}

.price-list li span:last-child {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.panel-note,
.fine {
  color: var(--muted);
  font-size: 0.9375rem;
}

.service-list,
.brand-list,
.city-list,
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.service-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.service-list p {
  margin: 4px 0 0;
  color: var(--muted);
}

.price {
  margin: 0;
  color: var(--navy);
}

.price span {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price strong {
  font-size: 1.35rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.brand-list,
.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.brand-list li,
.city-list li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.98rem;
}

.local-note {
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--navy);
}

.local-note h3 {
  margin-bottom: 8px;
  color: #fff;
}

.local-note p {
  max-width: 42rem;
  margin: 0;
  color: #e4eaf2;
}

.step-num {
  display: block;
  margin-bottom: 8px;
  color: var(--emerald);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.steps h3 {
  margin-bottom: 8px;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.about-grid p,
.page-narrow p,
.page-narrow li {
  color: var(--muted);
}

.scope-card {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--soft);
  border-top: 4px solid var(--emerald);
}

.scope-card h3 {
  margin-bottom: 8px;
}

.scope-card p:last-child {
  margin-bottom: 0;
}

.quote-copy p {
  color: var(--muted);
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

.page-actions {
  margin-top: 20px;
}

.form {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.fields,
.checks {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label,
.checks-legend {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.98rem;
}

.field input:not([type="checkbox"]),
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c9d0d7;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
}

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

.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--navy);
  outline: 3px solid var(--emerald);
  outline-offset: 1px;
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #8d2b2b;
}

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 3px;
  accent-color: var(--navy);
}

.check span {
  color: var(--navy);
}

.honeypot {
  display: none;
}

.form-submit {
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer {
  padding: 36px 0 44px;
  background: var(--navy);
  color: #e4eaf2;
}

.footer-name {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
}

.site-footer a {
  color: #fff;
  text-underline-offset: 3px;
}

.site-footer .fine,
.site-footer .fine a {
  color: #d5dde8;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

.page {
  padding: 36px 0 64px;
}

.page-narrow {
  max-width: 42rem;
}

.page-narrow h1 {
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.page-narrow h2 {
  margin-top: 28px;
  font-size: 1.35rem;
}

.confirm {
  padding: 22px;
  border-top: 4px solid var(--emerald);
  border-radius: var(--radius);
  background: var(--soft);
}

@media (min-width: 700px) {
  .fields {
    grid-template-columns: 1fr 1fr;
  }

  .field-city,
  .field-message {
    grid-column: 1 / -1;
  }

  .checks {
    grid-template-columns: 1fr 1fr;
  }

  .service-list li {
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
  }

  .price {
    min-width: 9rem;
    text-align: right;
  }

  .form-submit {
    width: auto;
    justify-self: start;
  }
}

@media (min-width: 860px) {
  .container {
    width: min(1120px, calc(100% - 48px));
  }

  .logo img {
    height: 64px;
  }

  .site-nav {
    order: 1;
  }

  .header-quote {
    order: 2;
  }

  .nav-toggle-btn {
    display: none;
  }

  .header-quote {
    padding: 10px 16px;
  }

  .header-quote .short {
    display: none;
  }

  .header-quote .long {
    display: inline;
  }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 2px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero {
    padding: 56px 0 80px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 48px;
    align-items: center;
  }

  .section {
    padding: 80px 0;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .about-grid,
  .quote-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 40px;
    align-items: start;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer-meta {
    text-align: right;
  }
}

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

  .bars span {
    transition: none;
  }
}

@media print {
  .site-header {
    position: static;
  }

  .nav-toggle-btn,
  .header-quote,
  .btn {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    box-shadow: none;
  }
}
