:root {
  --ink: #1f2a36;
  --ink-soft: #3a4756;
  --steel: #5f6b78;
  --concrete: #eef0ee;
  --paper: #ffffff;
  --line: #d3d8dc;
  --safety: #f2b705;
  --safety-deep: #d39e00;
  --alert: #b3261e;
  --radius: 4px;
  --wrap: 1240px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--concrete);
}

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

a { color: inherit; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--safety);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 10;
}
.skip:focus { left: 8px; }

/* ---------- Header ---------- */

.site-header {
  background: var(--ink);
  color: var(--paper);
  border-top: 6px solid var(--safety);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 0.8125rem;
  color: #b9c3cc;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  padding: 8px 10px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: #dde3e8;
}
.nav a:hover { color: var(--paper); background: rgba(255, 255, 255, 0.08); }
.nav a[aria-current="page"] { color: var(--paper); box-shadow: inset 0 -3px 0 var(--safety); border-radius: 0; }

.header-call {
  text-decoration: none;
  font-weight: 700;
  font-stretch: 112%;
  color: var(--safety);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}
.btn-primary { background: var(--safety); color: var(--ink); }
.btn-primary:hover { background: var(--safety-deep); }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Hero ---------- */

.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}
.hero h1 {
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(2.25rem, 5.2vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 16ch;
}
.hero .lede {
  font-size: 1.1875rem;
  color: #d5dce2;
  max-width: 54ch;
  margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.callbox {
  border-left: 6px solid var(--safety);
  padding: 4px 0 4px 24px;
}
.callbox p { margin: 0; color: #b9c3cc; font-size: 0.9375rem; }
.callbox .phone {
  display: block;
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  letter-spacing: -0.01em;
  color: var(--paper);
  text-decoration: none;
  margin: 4px 0 12px;
}

/* Page heads (inner pages) */
.page-head {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 48px;
}
.page-head h1 {
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 20ch;
}
.page-head p { color: #d5dce2; font-size: 1.1875rem; max-width: 60ch; margin: 0; }
.page-head .hero-actions { margin-top: 28px; }

/* ---------- Credentials strip ---------- */

.creds { background: var(--safety); color: var(--ink); }
.creds ul {
  list-style: none;
  margin: 0;
  padding: 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  font-weight: 700;
}

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section-white { background: var(--paper); }

.section h2 {
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  max-width: 24ch;
}
.section .intro { color: var(--ink-soft); max-width: 62ch; margin: 0 0 40px; }

/* Services: ruled rows, not cards */
.service-rows { border-top: 2px solid var(--ink); }
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 200px;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-row h3 {
  font-stretch: 112%;
  font-size: 1.375rem;
  line-height: 1.2;
  margin: 0;
}
.service-row p { margin: 0; color: var(--ink-soft); }
.service-row .row-link {
  font-weight: 700;
  white-space: nowrap;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: var(--safety);
}

/* Two-column text + list */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--safety-deep);
  border-bottom: 3px solid var(--safety-deep);
  transform: rotate(-45deg);
}

/* Process steps (a real sequence) */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.steps li {
  counter-increment: step;
  border-top: 4px solid var(--ink);
  padding-top: 16px;
}
.steps li::before {
  content: counter(step);
  display: block;
  font-stretch: 125%;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--safety-deep);
}
.steps h3 { margin: 0 0 6px; font-size: 1.125rem; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 0.9875rem; }

/* Testimonials */
.quotes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}
.quotes figure { margin: 0; border-left: 4px solid var(--safety); padding-left: 24px; }
.quotes blockquote { margin: 0 0 12px; font-size: 1.125rem; line-height: 1.55; }
.quotes figcaption { color: var(--steel); font-weight: 600; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--paper); padding: 56px 0; }
.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-stretch: 118%;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin: 0;
  max-width: 26ch;
  line-height: 1.15;
}

/* ---------- Forms ---------- */

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 56px;
  align-items: start;
}
.form-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 6px solid var(--safety);
  padding: 32px;
  border-radius: var(--radius);
}
.form-panel h2 { margin-top: 0; }

.wf-field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.wf-label, .wf-field legend {
  display: block;
  font-weight: 700;
  font-size: 0.9875rem;
  margin-bottom: 6px;
  padding: 0;
}
.wf-req { color: var(--alert); margin-left: 2px; }
.wf-input,
.wf-field select,
.wf-field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid #aeb7bf;
  border-radius: var(--radius);
  padding: 12px 14px;
}
.wf-field textarea { min-height: 132px; resize: vertical; }
.wf-input:focus, .wf-field select:focus, .wf-field textarea:focus {
  border-color: var(--ink);
  outline: 3px solid var(--safety);
  outline-offset: 0;
}
.wf-input[aria-invalid="true"], .wf-field select[aria-invalid="true"], .wf-field textarea[aria-invalid="true"] {
  border-color: var(--alert);
}
.wf-choice { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 1rem; }
.wf-choice input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.wf-choices-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.wf-help { color: var(--steel); font-size: 0.875rem; margin: 4px 0 0; }
.wf-error { color: var(--alert); font-size: 0.9rem; font-weight: 600; margin: 6px 0 0; min-height: 0; }
.wf-error:empty { display: none; }
.wf-form-error {
  background: #fbeceb;
  border-left: 4px solid var(--alert);
  padding: 12px 14px;
  margin: 0 0 16px;
  font-weight: 600;
}
.wf-form-error:empty { display: none; }
.wf-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
.wf-skeleton { height: 320px; background: linear-gradient(90deg, #f1f3f4, #e6e9eb, #f1f3f4); border-radius: var(--radius); }
.wf-success {
  border-left: 6px solid #2e7d32;
  background: #eef6ee;
  padding: 20px 22px;
}
.wf-success h3 { margin: 0 0 6px; font-size: 1.25rem; }
.wf-success p { margin: 0 0 8px; }

/* Contact details block */
.contact-lines { list-style: none; margin: 0; padding: 0; }
.contact-lines li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-lines strong { display: block; font-size: 0.875rem; color: var(--steel); font-weight: 600; }
.contact-lines a, .contact-lines span { font-size: 1.25rem; font-weight: 700; text-decoration: none; }

/* ---------- Footer ---------- */

.site-footer { background: #17202a; color: #b9c3cc; padding: 48px 0 32px; font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h2 { color: var(--paper); font-size: 1rem; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: #dde3e8; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-note { border-top: 1px solid #2c3845; margin-top: 32px; padding-top: 20px; font-size: 0.875rem; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid, .split, .form-layout, .quotes { grid-template-columns: 1fr; gap: 36px; }
  .service-row { grid-template-columns: 1fr; gap: 10px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero { padding: 44px 0 52px; }
  .section { padding: 52px 0; }
  .steps, .wf-row, .wf-choices-grid { grid-template-columns: 1fr; }
  .form-panel { padding: 22px 18px; }
  .nav { width: 100%; }
  .header-call { display: none; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ---------- Services page ---------- */

.jump { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.jump .wrap { display: flex; gap: 4px 20px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.jump a { font-weight: 600; font-size: 0.9375rem; text-decoration: none; padding: 4px 0; }
.jump a:hover { box-shadow: inset 0 -2px 0 var(--safety); }
.split .row-link {
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: var(--safety);
}
section[id] { scroll-margin-top: 64px; }
/* ---------- Seven-item nav ---------- */

.service-row .row-link { white-space: normal; }
@media (max-width: 1250px) {
  .header-call { display: none; }
}
@media (max-width: 560px) {
  .nav { gap: 0; }
  .nav a { padding: 6px 8px; font-size: 0.875rem; }
}

/* ---------- Logo ---------- */

.brand-logo {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 6px 10px;
  line-height: 0;
}
.brand-logo img { height: 64px; width: auto; display: block; }
@media (max-width: 560px) {
  .brand-logo img { height: 48px; }
}

/* ---------- Homeowner band ---------- */

.home-band { padding: 0 0 72px; }
.home-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 48px;
  align-items: center;
  background: var(--paper);
  border-left: 8px solid var(--safety);
  border-radius: var(--radius);
  padding: 40px;
}
.home-band h2 {
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.15;
  margin: 0 0 10px;
}
.home-band p { color: var(--ink-soft); margin: 0 0 24px; max-width: 46ch; }
.home-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
@media (max-width: 900px) {
  .home-band-inner { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; }
}
@media (max-width: 560px) {
  .home-band { padding-bottom: 52px; }
  .home-list { grid-template-columns: 1fr; }
}
/* ---------- Footer service area ---------- */

.footer-area { margin: 28px 0 0; }
