:root {
  --ink: #171a12;
  --olive: #50522c;
  --olive-2: #777a43;
  --olive-3: #b5b778;
  --cream: #f3efe2;
  --paper: #fbfaf6;
  --red: #b32025;
  --line: rgba(23, 26, 18, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(251, 250, 246, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; letter-spacing: .08em; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span { font-size: 1.15rem; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { text-decoration: none; font-weight: 700; font-size: .92rem; }
nav a:hover { color: var(--olive-2); }
.nav-call { padding: 11px 16px; color: white; background: var(--ink); border-radius: 999px; }
.nav-call:hover { color: white; background: var(--olive); }
.menu-button { display: none; }

.hero {
  min-height: 670px;
  padding: 78px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 72px;
  overflow: hidden;
  background:
    linear-gradient(rgba(23,26,18,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,26,18,.035) 1px, transparent 1px),
    var(--cream);
  background-size: 38px 38px;
}
.eyebrow, .section-number {
  margin: 0 0 12px;
  color: var(--olive-2);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 7vw, 6.4rem);
  line-height: .94;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
h1 span { display: block; color: var(--olive-2); }
.hero-intro { max-width: 610px; margin-bottom: 26px; color: #51554b; font-size: 1.25rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.hero-badges span { padding: 8px 12px; border: 1px solid var(--olive-3); border-radius: 999px; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; justify-content: center; padding: 14px 21px; border: 2px solid var(--ink); border-radius: 6px; text-decoration: none; font-weight: 900; }
.button.primary { color: white; background: var(--ink); }
.button.primary:hover { background: var(--olive); border-color: var(--olive); }
.button.secondary:hover { color: white; background: var(--ink); }
.hero-mark { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-mark::before { content: ""; position: absolute; inset: 5% -12% 18%; z-index: 0; background: var(--olive); border-radius: 42% 58% 44% 56% / 55% 38% 62% 45%; transform: rotate(-6deg); }
.logo-frame { position: relative; z-index: 1; width: min(450px, 100%); padding: 18px; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(23,26,18,.22); transform: rotate(2deg); }
.hero-mark p { position: relative; z-index: 2; margin: -6px 0 0; padding: 12px 22px; color: white; background: var(--ink); border-radius: 999px; font-size: .85rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }

.emergency {
  padding: 34px max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  color: white;
  background: var(--red);
}
.emergency h2 { margin-bottom: 5px; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1; text-transform: uppercase; }
.emergency p { margin-bottom: 0; }
.emergency .section-number { color: white; opacity: .72; }
.emergency-call { min-width: 255px; padding: 14px 20px; color: var(--ink); background: white; border-radius: 6px; text-decoration: none; }
.emergency-call small, .emergency-call strong { display: block; }
.emergency-call small { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.emergency-call strong { font-size: 1.35rem; }

.section { padding: 104px max(24px, calc((100vw - 1180px) / 2)); }
.section-heading { display: grid; grid-template-columns: 1fr 1.1fr; column-gap: 60px; margin-bottom: 50px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section h2 { margin-bottom: 18px; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.02; letter-spacing: -.045em; text-transform: uppercase; }
.section-heading > p:last-child { max-width: 570px; color: #60645a; font-size: 1.08rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { min-height: 460px; padding: 34px; background: var(--cream); border: 1px solid var(--line); }
.service-card.feature { color: white; background: var(--olive); transform: translateY(-18px); }
.card-number { display: block; margin-bottom: 48px; color: var(--olive-2); font-weight: 900; letter-spacing: .12em; }
.feature .card-number { color: var(--olive-3); }
.service-card h3 { font-size: 1.45rem; line-height: 1.15; text-transform: uppercase; }
.service-card ul { margin: 22px 0 0; padding-left: 19px; }
.service-card li { margin-bottom: 10px; }

.about {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 90px;
  background: var(--ink);
  color: white;
}
.about-copy > p:not(.eyebrow) { max-width: 640px; color: #d7d8cc; font-size: 1.1rem; }
.audience { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.audience span { padding: 8px 11px; border: 1px solid #696c49; border-radius: 4px; color: #e3e4d7; font-size: .86rem; }
.process { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.process li { position: relative; padding: 24px 0 24px 66px; border-bottom: 1px solid #4f5339; }
.process li::before { counter-increment: steps; content: "0" counter(steps); position: absolute; left: 0; top: 19px; color: var(--olive-3); font-size: 1.4rem; font-weight: 900; }
.process strong, .process span { display: block; }
.process strong { margin-bottom: 3px; font-size: 1.1rem; text-transform: uppercase; }
.process span { color: #cfd1c3; }

.quote {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 72px;
  align-items: start;
  background: #e8e2d1;
}
.quote-intro { position: sticky; top: 108px; }
.quote-intro > p:not(.eyebrow) { color: #55594f; font-size: 1.08rem; }
.quote-help { margin-top: 28px; padding: 18px 20px; color: white; background: var(--ink); border-left: 5px solid var(--red); }
.quote-help strong, .quote-help span { display: block; }
.quote-help span { margin-top: 4px; color: #dfe0d4; }
.quote-help a { color: white; font-weight: 900; }
.quote-panel { padding: 30px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 22px 50px rgba(23, 26, 18, .1); }
.quote-success { margin-bottom: 24px; padding: 16px 18px; color: white; background: var(--olive); border-radius: 5px; }
.quote-success strong, .quote-success span { display: block; }
.quote-steps { margin: 0 0 34px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; }
.quote-steps li { color: #777a70; font-size: .74rem; font-weight: 800; line-height: 1.2; }
.quote-steps li::before { content: ""; display: block; height: 4px; margin-bottom: 10px; background: #d7d5cb; }
.quote-steps li.active { color: var(--ink); }
.quote-steps li.active::before { background: var(--olive); }
.quote-steps span { display: none; }
.form-step { margin: 0; padding: 0; border: 0; }
.form-step legend { padding: 0; font-size: clamp(1.65rem, 3vw, 2.25rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; text-transform: uppercase; }
.step-note { margin: 8px 0 24px; color: #666a60; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.wide { grid-column: 1 / -1; }
.field > span { font-size: .86rem; font-weight: 850; }
.field em, .consent em { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: white;
  border: 1px solid #bbbcae;
  border-radius: 4px;
  font: inherit;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .photo-upload:focus-within { outline: 3px solid rgba(119, 122, 67, .25); border-color: var(--olive); }
.form-actions { margin-top: 28px; display: flex; justify-content: flex-end; gap: 10px; }
.form-actions button { padding: 13px 18px; border: 2px solid var(--ink); border-radius: 5px; font: inherit; font-weight: 900; cursor: pointer; }
.step-back { background: transparent; }
.step-next, .submit-quote { color: white; background: var(--ink); }
.step-next:hover, .submit-quote:hover { background: var(--olive); border-color: var(--olive); }
.photo-upload { display: grid; gap: 3px; padding: 24px; text-align: center; background: var(--cream); border: 2px dashed var(--olive-3); border-radius: 6px; cursor: pointer; }
.photo-upload strong { font-size: 1.1rem; text-transform: uppercase; }
.photo-upload span { color: #64685e; font-size: .88rem; }
.photo-upload input { margin: 13px auto 0; max-width: 100%; }
.file-status { margin: 8px 0 24px; color: #666a60; font-size: .84rem; }
.file-status.error { color: var(--red); font-weight: 800; }
.review-box { padding: 20px; background: white; border: 1px solid var(--line); }
.review-box h3 { margin-bottom: 14px; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; }
.review-box dl { margin: 0; display: grid; grid-template-columns: 130px 1fr; gap: 9px 14px; }
.review-box dt { color: #6a6d64; font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.review-box dd { margin: 0; overflow-wrap: anywhere; }
.consent { margin-top: 20px; display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: .88rem; }
.consent input { margin-top: 4px; }
.form-error { margin: 18px 0 0; padding: 12px 14px; color: #7f1519; background: #f7dfe0; border-left: 4px solid var(--red); font-weight: 800; }
.submission-note { margin: 10px 0 0; color: #6c7066; font-size: .78rem; text-align: right; }
.form-trap { position: absolute; left: -9999px; }

.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; background: var(--cream); }
.contact-details { display: grid; gap: 12px; }
.contact-details a { padding: 18px 20px; color: white; background: var(--ink); border-radius: 6px; text-decoration: none; overflow-wrap: anywhere; }
.contact-details a:hover { background: var(--olive); }
.contact-details small, .contact-details strong { display: block; }
.contact-details small { color: var(--olive-3); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-details strong { font-size: 1.18rem; }
.contact-details p { margin: 8px 0 0; font-weight: 800; }

footer {
  padding: 28px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 54px; height: 54px; object-fit: contain; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand span { color: #65695f; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
footer > p { margin: 0; color: #65695f; font-size: .9rem; }
.servicem8 { justify-self: end; display: flex; align-items: center; gap: 10px; color: #65695f; font-size: .75rem; text-transform: uppercase; }
.servicem8 img { width: 112px; }
.mobile-call { display: none; }

@media (max-width: 850px) {
  body { padding-bottom: 62px; }
  .site-header { height: 66px; }
  .brand img { width: 42px; height: 42px; }
  .menu-button { display: block; padding: 9px 12px; color: white; border: 1px solid var(--ink); background: var(--ink); border-radius: 5px; font: inherit; font-weight: 800; }
  nav { position: absolute; top: 65px; left: 0; right: 0; display: none; padding: 20px 24px 24px; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
  nav.open { display: flex; }
  nav a { padding: 11px 0; }
  .nav-call { margin-top: 8px; padding: 12px 14px; text-align: center; }
  .hero { min-height: auto; padding-top: 56px; grid-template-columns: 1fr; gap: 46px; }
  h1 { font-size: clamp(3.25rem, 15vw, 5.3rem); }
  .hero-mark { width: min(410px, 92%); justify-self: center; }
  .emergency { align-items: stretch; flex-direction: column; }
  .emergency-call { min-width: 0; }
  .section { padding-top: 76px; padding-bottom: 76px; }
  .section-heading, .about, .quote, .contact { grid-template-columns: 1fr; gap: 42px; }
  .quote-intro { position: static; }
  .quote-panel { padding: 22px; }
  .quote-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .quote-steps li { font-size: 0; }
  .quote-steps span { display: block; font-size: .76rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card.feature { transform: none; }
  footer { grid-template-columns: 1fr; justify-items: start; }
  .servicem8 { justify-self: start; }
  .mobile-call { position: fixed; left: 12px; right: 12px; bottom: 9px; z-index: 30; display: block; padding: 12px 16px; color: white; background: var(--red); border-radius: 6px; text-align: center; text-decoration: none; font-weight: 900; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
}

@media (max-width: 560px) {
  .field-grid { grid-template-columns: 1fr; }
  .field.wide { grid-column: auto; }
  .review-box dl { grid-template-columns: 1fr; gap: 3px; }
  .review-box dd { margin-bottom: 9px; }
  .form-actions { flex-wrap: wrap; }
  .form-actions button { flex: 1 1 auto; }
}

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