:root {
  --ink: #0f2640;
  --muted: #5f6c76;
  --white: #ffffff;
  --line: rgba(15, 38, 64, 0.12);
  --paper: #f7f9fb;
  --brand-blue: #0f5f9c;
  --brand-blue-dark: #0b3f66;
  --brand-orange: #ef6f4d;
  --brand-orange-soft: #ffd9c9;
  --brand-gold: #d7a74a;
  --brand-sand: #f4efe4;
  --brand-navy: #0f1b2d;
  --shadow: 0 18px 42px rgba(15, 27, 45, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.has-modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
ul {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.32rem;
}

.utility-bar {
  border-bottom: 1px solid #d9dde3;
  background: #fbfbfc;
  color: #52606a;
  font-size: 0.74rem;
}

.utility-shell {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: min(1260px, calc(100% - 32px));
  margin: 0 auto;
  padding: 6px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1260px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  background: rgba(255, 255, 255, 0.96);
}

.site-header.is-scrolled,
.site-header.is-open {
  box-shadow: 0 10px 28px rgba(15, 27, 45, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(180px, 20vw, 240px);
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.header-badge {
  justify-self: end;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 0.84rem;
  font-weight: 900;
}

.nav-toggle {
  display: none;
}

.hero,
.about-section,
.coverage-section,
.quote-section,
.service-grid,
.contact-section,
.site-footer {
  width: min(1260px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 42px 0 64px;
  text-align: center;
}

.hero-copy {
  max-width: 860px;
  margin: 0 auto 24px;
}

.hero-copy h1 {
  color: var(--ink);
  text-transform: uppercase;
}

.hero-copy p {
  margin: 0 auto 22px;
  color: #334a5b;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--brand-orange), #ff916c);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(239, 111, 77, 0.22);
}

.hero-slider {
  position: relative;
  overflow: hidden;
  margin-top: 34px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-slide {
  display: none;
}

.hero-slide.is-active {
  display: block;
}

.hero-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--brand-orange);
}

.section-head,
.section-title {
  text-align: center;
}

.about-section,
.coverage-section,
.quote-section,
.claim-section,
.service-grid,
.contact-section {
  padding-bottom: 72px;
}

.section-head h2,
.section-title h2 {
  margin-bottom: 10px;
  color: var(--ink);
  text-transform: uppercase;
}

.section-head p,
.section-title p {
  max-width: 820px;
  margin: 0 auto;
  color: var(--muted);
}

.about-summary {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 8px;
  background: #fafbfd;
  color: #2f4351;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.mission-grid article {
  min-height: 100%;
  padding: 26px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--brand-blue), var(--brand-blue-dark));
  color: var(--white);
}

.mission-grid ul {
  margin: 0;
  padding-left: 18px;
}

.mission-grid li,
.mission-grid p {
  color: rgba(255, 255, 255, 0.92);
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.coverage-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.coverage-card {
  grid-column: span 4;
}

.coverage-card-wide {
  grid-column: span 8;
}

.coverage-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.coverage-card-wide img {
  height: 280px;
}

.coverage-card div {
  padding: 22px;
}

.coverage-card p {
  color: var(--muted);
}

.quote-panel {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.quote-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.quote-kicker {
  display: block;
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-progress {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.quote-progress span {
  width: 34px;
  height: 5px;
  border-radius: 8px;
  background: rgba(15, 38, 64, 0.12);
}

.quote-progress span.is-active {
  background: var(--brand-orange);
}

.quote-step {
  display: none;
  min-height: 174px;
  margin: 0;
  padding: 0;
  border: 0;
}

.quote-step.is-active {
  display: block;
}

.quote-step legend {
  margin-bottom: 10px;
  font-weight: 850;
  font-size: 1rem;
}

.quote-step label {
  display: grid;
  gap: 7px;
}

.quote-step label span {
  color: #42505a;
  font-size: 0.83rem;
  font-weight: 800;
}

.quote-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.7fr) minmax(160px, 0.75fr);
  gap: 10px;
}

.quote-row > * {
  min-width: 0;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.quote-grid .wide {
  grid-column: 1 / -1;
}

select,
input,
button,
textarea {
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  font: inherit;
}

select,
input,
textarea {
  width: 100%;
  padding: 0 16px;
  border: 1px solid rgba(15, 38, 64, 0.12);
  background: var(--white);
  color: var(--ink);
}

textarea {
  min-height: 104px;
  padding-top: 14px;
  resize: vertical;
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background: linear-gradient(135deg, var(--brand-orange), #ff916c);
  color: var(--white);
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(239, 111, 77, 0.18);
}

.ghost-button {
  border: 1px solid rgba(15, 38, 64, 0.14);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.quote-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.quote-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.quote-summary div {
  min-height: 66px;
  padding: 12px;
  border: 1px solid rgba(15, 38, 64, 0.1);
  border-radius: 8px;
  background: #f8fbfd;
}

.quote-summary span {
  display: block;
  color: #5c6973;
  font-size: 0.76rem;
  font-weight: 800;
}

.quote-summary strong {
  display: block;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.quote-note {
  margin: 12px 0 0;
  color: #5c6973;
  font-size: 0.92rem;
}

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

.form-banner {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 700;
}

.form-banner-success {
  background: #edf9f1;
  color: #1b6b3d;
  border: 1px solid rgba(27, 107, 61, 0.18);
}

.form-banner-error {
  background: #fff4ef;
  color: #8b3f28;
  border: 1px solid rgba(239, 111, 77, 0.18);
}

.claim-panel {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.claim-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.claim-grid .wide {
  grid-column: 1 / -1;
}

.claim-grid label {
  display: grid;
  gap: 7px;
}

.claim-grid label span {
  color: #42505a;
  font-size: 0.83rem;
  font-weight: 800;
}

.claim-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.claim-note {
  margin: 12px 0 0;
  color: #5c6973;
  font-size: 0.92rem;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.service-cards article {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafbfd;
}

.service-cards span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--brand-blue);
  font-size: 2rem;
  font-weight: 900;
}

.service-cards p {
  color: var(--muted);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.contact-cards article {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafbfd;
}

.contact-cards p,
.contact-cards a {
  color: var(--muted);
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  margin-bottom: 32px;
  padding: clamp(34px, 7vw, 72px);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue));
  color: var(--white);
}

.contact-band p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-actions {
  display: grid;
  gap: 12px;
  min-width: min(420px, 100%);
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 28px 0 42px;
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.86);
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-shell[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 22, 36, 0.68);
}

.payment-modal {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(90vh, 920px);
  overflow: auto;
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 54px rgba(15, 27, 45, 0.24);
}

.modal-close {
  min-height: 42px;
  margin-left: auto;
  padding: 0 16px;
  border: 1px solid rgba(15, 38, 64, 0.14);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.payment-modal-head {
  margin-top: 12px;
}

.payment-modal-kicker {
  margin-bottom: 8px;
  color: var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-modal-head h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
}

.payment-modal-alert {
  margin-bottom: 10px;
  padding: 14px 16px;
  border-left: 4px solid var(--brand-orange);
  border-radius: 8px;
  background: #fff4ef;
  color: #8b3f28;
  font-weight: 700;
}

.payment-modal-copy {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.payment-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.footer-block {
  padding: 0 4px;
}

.footer-block h4 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 0.98rem;
}

.footer-block a,
.footer-block p {
  display: block;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1080px) {
  .mission-grid,
  .contact-cards,
  .service-cards,
  .site-footer,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .coverage-card,
  .coverage-card-wide {
    grid-column: span 6;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: grid;
    gap: 5px;
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 12px;
    border: 1px solid currentColor;
    background: transparent;
    color: currentColor;
    box-shadow: none;
  }

  .nav-toggle span {
    width: 100%;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    justify-content: start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 4px 4px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-badge {
    display: none;
  }

  .quote-row,
  .quote-grid,
  .claim-grid,
  .quote-summary {
    grid-template-columns: 1fr;
  }

  .coverage-card,
  .coverage-card-wide {
    grid-column: span 12;
  }

  .payment-modal {
    padding: 22px;
  }
}

@media (max-width: 620px) {
  .utility-shell {
    gap: 8px;
    padding: 8px 0;
  }

  .brand {
    width: 170px;
  }

  .hero {
    padding: 156px 0 60px;
  }

  .hero-slide img {
    height: 320px;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 3.4rem);
  }

  h2 {
    font-size: clamp(1.8rem, 10vw, 2.6rem);
  }

  .quote-panel {
    padding: 16px;
  }

  .quote-topline {
    display: grid;
  }

  .quote-progress {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(34px, 1fr));
  }

  .quote-progress span {
    width: auto;
  }

  .quote-actions {
    display: grid;
  }
}
