:root {
  --ink: #161616;
  --muted: #5f5f58;
  --paper: #f8f7ef;
  --white: #ffffff;
  --line: #dcd8c4;
  --field: #f3f1e5;
  --yellow: #f3d503;
  --yellow-dark: #d9bd00;
  --charcoal: #222222;
  --green: #161616;
  --green-dark: #161616;
  --amber: #f3d503;
  --amber-soft: #fff1a3;
  --blue: #245d7f;
  --shadow: 0 18px 45px rgba(22, 22, 22, 0.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;
  line-height: 1.5;
  letter-spacing: 0;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(22, 22, 22, 0.9);
  border-bottom: 2px solid rgba(243, 213, 3, 0.82);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.18));
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
}

.nav-links a,
.site-footer a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--yellow);
}

.header-cta:hover {
  background: var(--white);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(243, 213, 3, 0.24);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 86svh;
  padding: 118px clamp(18px, 5vw, 72px) 56px;
  color: var(--white);
  background-image: url("../assets/hero-local-service.png");
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: rgba(14, 22, 18, 0.25);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(16, 16, 16, 0.94) 0%, rgba(16, 16, 16, 0.68) 45%, rgba(16, 16, 16, 0.16) 82%),
    linear-gradient(0deg, rgba(16, 16, 16, 0.36), rgba(16, 16, 16, 0));
}

.hero-content {
  width: min(720px, 100%);
}

.hero-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px 8px 8px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.22);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.hero-brand-lockup img {
  width: 68px;
  height: 68px;
}

.eyebrow,
.section-kicker {
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow {
  margin-top: 18px;
}

.hero h1 {
  margin-top: 14px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  width: min(620px, 100%);
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.04rem, 2vw, 1.3rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  text-align: center;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(243, 213, 3, 0.75);
  outline-offset: 3px;
}

.button-primary {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 12px 24px rgba(243, 213, 3, 0.26);
}

.button-primary:hover {
  color: var(--yellow);
  background: var(--ink);
  border-color: var(--yellow);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(620px, 100%);
  margin: 34px 0 0;
}

.hero-metrics article {
  padding: 14px;
  background: rgba(22, 22, 22, 0.56);
  border: 1px solid rgba(243, 213, 3, 0.42);
  border-radius: 8px;
}

.hero-metrics strong {
  display: block;
  color: var(--yellow);
  font-size: 1.2rem;
  font-weight: 900;
}

.hero-metrics span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-band {
  padding: 34px 0;
  color: var(--ink);
  background: var(--yellow);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.45fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.intro-grid h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.04;
}

.intro-grid p:last-child {
  color: rgba(22, 22, 22, 0.74);
}

.intro-band .section-kicker,
.package-section .section-kicker {
  color: var(--yellow);
  background: var(--ink);
}

.section {
  padding: clamp(64px, 10vw, 112px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.5fr 1.2fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
}

.section-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 4px 8px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 6px;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section h3 {
  font-size: 1.08rem;
}

.section-copy {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.service-card {
  min-height: 168px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--ink);
  border-top: 6px solid var(--yellow);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 32, 27, 0.05);
}

.service-card p {
  margin-top: 12px;
  color: var(--muted);
}

.system-section {
  color: var(--white);
  background: var(--ink);
}

.system-layout,
.estimate-layout,
.package-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

.system-section .section-copy {
  color: rgba(255, 255, 255, 0.74);
}

.system-section .section-kicker {
  color: var(--ink);
  background: var(--yellow);
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(243, 213, 3, 0.28);
  border-radius: 8px;
}

.process-list span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 8px;
  font-weight: 900;
}

.process-list p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.74);
}

.estimate-section {
  background: var(--white);
}

.estimator,
.package-panel,
.lead-form {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.estimator {
  display: grid;
  gap: 20px;
}

.estimator label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  align-items: center;
  color: var(--muted);
  font-weight: 750;
}

.estimator input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--yellow);
}

.estimator output {
  min-width: 86px;
  color: var(--ink);
  text-align: right;
  font-weight: 900;
}

.estimate-results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.estimate-results div {
  min-height: 110px;
  padding: 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

.estimate-results span {
  display: block;
  color: var(--yellow);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 950;
}

.estimate-results p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
}

.package-section {
  background: var(--yellow);
}

.package-panel {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.package-panel .button-primary:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.price {
  color: var(--yellow);
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1;
  font-weight: 950;
}

.price span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.25rem;
  font-weight: 800;
}

.price-note {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.package-panel ul {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.package-panel li {
  position: relative;
  padding-left: 26px;
}

.package-panel li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--yellow);
  border-radius: 50%;
}

.contact-section {
  background: var(--paper);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  background: var(--white);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 750;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lead-form textarea {
  min-height: 120px;
  resize: vertical;
}

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

.checkbox-field {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.checkbox-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  margin-top: 3px;
  accent-color: var(--green);
  border-radius: 4px;
}

.lead-form button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.full-field,
.lead-form .button,
.form-note {
  grid-column: 1 / -1;
}

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

.form-note-secondary {
  margin-top: -6px;
  font-size: 0.88rem;
}

.site-footer {
  padding: 28px 0;
  color: var(--white);
  background: var(--ink);
  border-top: 5px solid var(--yellow);
}

.footer-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer .brand {
  color: var(--white);
}

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

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 84svh;
    background-position: 63% center;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(16, 16, 16, 0.92) 0%, rgba(16, 16, 16, 0.76) 56%, rgba(16, 16, 16, 0.28) 100%),
      linear-gradient(0deg, rgba(16, 16, 16, 0.36), rgba(16, 16, 16, 0));
  }

  .intro-grid,
  .section-heading,
  .system-layout,
  .estimate-layout,
  .package-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .estimate-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    padding: 12px 16px;
  }

  .brand {
    font-size: 0.96rem;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 82svh;
    padding: 104px 18px 36px;
    background-position: 70% center;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 14vw, 4.8rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-brand-lockup {
    gap: 10px;
    padding: 7px 12px 7px 7px;
    font-size: 1.04rem;
  }

  .hero-brand-lockup img {
    width: 48px;
    height: 48px;
  }

  .button {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .section-inner {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 58px 0;
  }

  .service-grid,
  .lead-form,
  .estimate-results {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .process-list li {
    grid-template-columns: 1fr;
  }
}
