:root {
  --ink: #18222a;
  --muted: #5f6b73;
  --line: #d8e0e5;
  --panel: #f7f9fa;
  --white: #ffffff;
  --red: #d66a1f;
  --red-dark: #a94714;
  --teal: #0e5d64;
  --steel: #22313c;
  --gold: #c28c2c;
  --shadow: 0 18px 50px rgba(8, 21, 32, 0.18);
  --content-max: 1180px;
  --page-gutter: clamp(24px, 5vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 156px;
  text-decoration: none;
}

.brand-wordmark {
  display: block;
  flex: 0 0 auto;
}

.brand-wordmark {
  width: 156px;
  height: 42px;
}

.brand-wordmark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 24px;
  color: #31404a;
  font-size: 14px;
}

.nav a,
.header-cta {
  text-decoration: none;
}

.header-cta {
  padding: 11px 16px;
  color: var(--white);
  background: var(--red);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(10, 24, 34, 0.90) 0%, rgba(10, 24, 34, 0.76) 39%, rgba(10, 24, 34, 0.18) 100%);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) 430px;
  gap: clamp(48px, 6vw, 84px);
  align-items: start;
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  min-height: 760px;
  margin: 0 auto;
  padding: clamp(58px, 8vh, 88px) 0 64px;
}

.hero-copy {
  max-width: 620px;
  align-self: center;
  color: var(--white);
}

.hero-copy h1 {
  max-width: 620px;
  font-size: clamp(44px, 4.15vw, 64px);
  line-height: 1.04;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.hero-text {
  max-width: 560px;
  color: #e7eef2;
  font-size: 18px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--red);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary.dark {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.button.full {
  width: 100%;
  margin-top: 16px;
}

.quote-form {
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero .quote-form {
  align-self: start;
}

.quote-form.compact {
  width: 100%;
  max-width: 430px;
}

.form-head h2 {
  margin-bottom: 6px;
  font-size: 24px;
}

.form-head p,
.form-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

label {
  display: block;
  margin-top: 14px;
  color: #25323a;
  font-size: 13px;
  font-weight: 800;
}

fieldset {
  margin: 16px 0 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 8px;
  color: #25323a;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px;
  border: 1px solid #cfd8dd;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  background: #fbfcfd;
  border-radius: 0;
}

input[type="file"] {
  padding: 10px;
  cursor: pointer;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(14, 93, 100, 0.18);
  border-color: var(--teal);
  background: var(--white);
}

textarea {
  resize: vertical;
}

.checkbox-line {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin-bottom: 8px;
  color: #34424a;
  font-weight: 700;
  line-height: 1.45;
}

.file-upload {
  margin-top: 16px;
}

.file-upload span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.checkbox-stack {
  display: grid;
  gap: 8px;
}

.checkbox-stack label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  margin: 0;
  color: #34424a;
  font-weight: 700;
  line-height: 1.35;
}

.checkbox-stack input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
}

.checkbox-line input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-note {
  margin: 12px 0 0;
}

.lead-summary {
  display: none;
  margin-top: 14px;
  padding: 12px;
  color: #21313a;
  background: #edf7f4;
  border-left: 4px solid var(--teal);
  white-space: pre-wrap;
  font-size: 13px;
}

.lead-summary.active {
  display: block;
}

.lead-summary.error {
  color: #6f1515;
  background: #fff1f1;
  border-left-color: var(--red);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip span {
  padding: 18px 20px;
  text-align: center;
  font-weight: 800;
  color: #2c3b44;
  border-right: 1px solid var(--line);
}

.trust-strip span:last-child {
  border-right: 0;
}

.section {
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 84px 0;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 42px;
  align-items: start;
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 72px 0;
}

.page-hero.simple,
.page-hero.narrow {
  grid-template-columns: minmax(0, 1fr);
}

.page-hero.with-form {
  grid-template-columns: minmax(0, 1fr) 430px;
}

.page-hero > div:first-child {
  min-width: 0;
}

.page-hero h1 {
  max-width: 980px;
}

.page-hero p:not(.eyebrow) {
  max-width: 880px;
  color: var(--muted);
  line-height: 1.6;
}

.page-hero .quote-form {
  justify-self: end;
}

.section-title {
  max-width: 760px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-grid article,
.guide-grid article {
  min-height: 190px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.service-grid p,
.guide-grid p,
.split p,
.compliance p,
.partner-card p,
.property-list span {
  color: var(--muted);
  line-height: 1.6;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.guide-grid.large {
  grid-template-columns: repeat(2, 1fr);
}

.section-link {
  margin: 22px 0 0;
  font-weight: 800;
}

.section-link a {
  color: var(--red-dark);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.property-list {
  display: grid;
  gap: 12px;
}

.property-list div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 18px;
  border-left: 5px solid var(--red);
  background: #fbfcfd;
}

.coverage {
  width: 100%;
  padding: 84px max(var(--page-gutter), calc((100vw - var(--content-max)) / 2));
  background: #eff4f5;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.location-grid span {
  padding: 14px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 800;
  text-align: center;
}

.partner-band,
.support-band {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 36px;
  align-items: center;
}

.partner-card,
.support-card {
  padding: 28px;
  background: var(--steel);
  color: var(--white);
}

.partner-card p,
.support-card p,
.support-card li {
  color: #dfe8ec;
}

.support-card ul,
.emergency-card ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
}

.advantage {
  border-top: 1px solid var(--line);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.advantage-grid article {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.advantage-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
}

.advantage-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.emergency-band {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 36px;
  align-items: center;
  width: 100%;
  padding: 72px max(var(--page-gutter), calc((100vw - var(--content-max)) / 2));
  color: var(--white);
  background: var(--red-dark);
}

.emergency-band .eyebrow {
  color: #ffd37a;
}

.emergency-band p {
  color: #fff0e2;
  line-height: 1.6;
}

.emergency-band .emergency-disclaimer {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 4px solid #ffd37a;
  font-weight: 800;
}

.emergency-card {
  padding: 28px;
  color: var(--ink);
  background: var(--white);
}

.emergency-card strong {
  display: block;
  margin-bottom: 12px;
}

.emergency-card .button {
  width: 100%;
  margin-top: 18px;
}

.faq-section {
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq-list details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.legal-content {
  max-width: 920px;
}

.legal-content article {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.legal-content p {
  color: var(--muted);
  line-height: 1.7;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 54px;
  align-items: start;
}

.article-content {
  display: grid;
  gap: 34px;
}

.article-content section {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.article-content h2,
.article-aside h2 {
  font-size: 26px;
}

.article-content p,
.article-aside li {
  color: var(--muted);
  line-height: 1.7;
}

.article-aside {
  position: sticky;
  top: 96px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.article-aside ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.footer-small {
  margin-top: 10px;
  font-size: 13px;
}

.footer-small a {
  color: #dbe6ea;
}

.compliance {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  border-top: 1px solid var(--line);
}

.compliance a {
  color: var(--red-dark);
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 34px 32px;
  color: #dce6eb;
  background: #101a21;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  background: #ffffff;
  border-radius: 4px;
  color: #ffffff;
  text-decoration: none;
}

.footer-brand img {
  width: 156px;
  height: auto;
  object-fit: contain;
}

.footer p {
  margin: 8px 0 0;
  color: #aebbc3;
}

.domain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.domain-list span {
  padding: 7px 10px;
  color: #dbe6ea;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
  :root {
    --page-gutter: clamp(20px, 5vw, 42px);
  }

  .site-header {
    padding: 0 18px;
  }

  .nav {
    display: none;
  }

  .brand-wordmark {
    width: 138px;
    height: 38px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content,
  .page-hero,
  .page-hero.with-form,
  .split,
  .partner-band,
  .support-band,
  .emergency-band,
  .compliance {
    grid-template-columns: 1fr;
  }

  .hero-content {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 56px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-copy h1 {
    max-width: 760px;
  }

  .page-hero {
    gap: 28px;
    padding: 56px 0;
  }

  .page-hero .quote-form {
    justify-self: start;
  }

  .quote-form {
    max-width: 620px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-grid,
  .guide-grid.large,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .location-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  :root {
    --page-gutter: 18px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
    padding-bottom: 34px;
  }

  .hero-shade {
    background: rgba(10, 24, 34, 0.82);
  }

  h1 {
    font-size: 38px;
    line-height: 1.04;
  }

  .hero-text {
    font-size: 17px;
  }

  .page-hero {
    padding: 42px 0;
  }

  .page-hero .hero-actions {
    width: 100%;
  }

  .page-hero .button {
    width: 100%;
  }

  .quote-form {
    padding: 20px;
  }

  .field-grid,
  .service-grid,
  .guide-grid,
  .advantage-grid,
  .trust-strip,
  .location-grid,
  .property-list div {
    grid-template-columns: 1fr;
  }

  .section,
  .coverage {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .footer {
    flex-direction: column;
  }

  .domain-list {
    justify-content: flex-start;
  }
}
