:root {
  --ink: #172026;
  --muted: #5c6870;
  --line: #d8dedb;
  --panel: #f5f3ed;
  --panel-strong: #e8e3d7;
  --brand: #5b4636;
  --brand-dark: #3a2c22;
  --accent: #2f7a9e;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(23, 32, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background: #fbfaf7;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--brand-dark);
  border-radius: 6px;
  font-size: 13px;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--ink);
}

.nav-cta {
  padding: 10px 14px;
  color: var(--white) !important;
  background: var(--brand);
  border-radius: 6px;
}

.nav-phone {
  color: var(--ink) !important;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.nav-phone:hover,
.nav-phone:focus {
  color: var(--brand-dark) !important;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  padding: 10px 12px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 26, 31, 0.76), rgba(15, 26, 31, 0.28) 55%, rgba(15, 26, 31, 0.04));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 72px 0;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 22px);
}

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

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

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

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

.button.call {
  color: var(--white);
  background: var(--brand-dark);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin: 34px 0 0;
}

.hero-stats div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

.hero-stats dt {
  margin-bottom: 4px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

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

.intro-section,
.two-column,
.estimate-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.intro-section p,
.two-column p,
.estimate-copy p {
  margin-top: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.service-card {
  min-height: 260px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(23, 32, 38, 0.06);
}

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

.service-card a {
  color: var(--brand-dark);
  font-weight: 800;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--brand-dark);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.accent-card {
  color: var(--white);
  background: var(--brand-dark);
}

.accent-card p,
.accent-card a {
  color: rgba(255, 255, 255, 0.84);
}

.accent-card .service-icon {
  color: var(--brand-dark);
  background: var(--white);
}

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

.check-list li {
  padding: 16px 18px;
  background: var(--panel);
  border-left: 5px solid var(--brand);
  border-radius: 6px;
  font-weight: 700;
}

.process {
  width: 100%;
  max-width: none;
  padding: 78px clamp(18px, 5vw, 70px);
  background: var(--panel-strong);
}

.process > h2,
.process > .eyebrow {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  margin: 28px auto 0;
}

.process-grid div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: 8px;
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--accent);
  border-radius: 50%;
  font-weight: 800;
}

.process-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.estimate-section {
  align-items: stretch;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid #cdd5d1;
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.lead-form textarea {
  resize: vertical;
}

.form-button {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--brand-dark);
  font-weight: 800;
}

.phone-callout {
  margin: 0;
  font-weight: 700;
}

.phone-callout a {
  color: var(--brand-dark);
  text-decoration: none;
}

.phone-callout a:hover,
.phone-callout a:focus {
  text-decoration: underline;
}

.site-footer {
  display: grid;
  gap: 8px;
  padding: 34px clamp(18px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.82);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.footer-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-links {
  font-size: 13px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
}

.footer-links a:hover {
  color: var(--white);
}

.legal-hero {
  padding-top: 64px;
  padding-bottom: 0;
}

.legal-hero h1 {
  font-size: clamp(36px, 6vw, 58px);
}

.legal-hero .updated {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

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

.legal-content h2 {
  font-size: 22px;
  margin-top: 28px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.page-hero {
  padding: 86px clamp(18px, 6vw, 76px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 32, 38, 0.86), rgba(23, 32, 38, 0.62)),
    url("assets/hero-deck.jpg") center / cover;
}

.page-hero-inner {
  width: min(920px, 100%);
}

.page-hero h1 {
  font-size: clamp(40px, 6vw, 70px);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 28px;
}

.content-block {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.content-block + .content-block {
  margin-top: 18px;
}

.content-block p,
.content-block li {
  color: var(--muted);
}

.side-panel {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 24px;
  color: var(--white);
  background: var(--brand-dark);
  border-radius: 8px;
}

.side-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.map-embed {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  line-height: 0;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 360px;
}

.mobile-call-bar {
  display: none;
}

.side-panel .button {
  width: 100%;
  margin-top: 12px;
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .hero {
    min-height: 620px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(15, 26, 31, 0.82), rgba(15, 26, 31, 0.5));
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-stats,
  .intro-section,
  .two-column,
  .estimate-section,
  .content-grid {
    grid-template-columns: 1fr;
  }

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

  .side-panel {
    position: static;
  }

  body {
    padding-bottom: 62px;
  }

  .mobile-call-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    box-shadow: 0 -8px 24px rgba(23, 32, 38, 0.18);
  }

  .mobile-call-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 12px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
  }

  .mobile-call-bar .call {
    color: var(--white);
    background: var(--brand-dark);
  }

  .mobile-call-bar .estimate {
    color: var(--white);
    background: var(--accent);
  }
}

@media (max-width: 620px) {
  .brand span:last-child {
    max-width: 150px;
  }

  .hero {
    min-height: 540px;
  }

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

  .hero-stats,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .process {
    padding: 54px clamp(18px, 5vw, 70px);
  }
}
