:root {
  --ink: #172624;
  --muted: #65736d;
  --green: #13733d;
  --green-deep: #0d5530;
  --leaf: #41a843;
  --gold: #b06f11;
  --soil: #6b4a2d;
  --cream: #f8f5ee;
  --cream-strong: #efe7d8;
  --paper: #ffffff;
  --line: rgba(23, 38, 36, 0.12);
  --shadow: 0 24px 70px rgba(22, 35, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

section[id] {
  scroll-margin-top: 86px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(248, 245, 238, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand img {
  width: 54px;
  height: 54px;
  border: 2px solid rgba(176, 111, 17, 0.4);
  border-radius: 50%;
  object-fit: cover;
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: #2c3936;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav .nav-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  background: var(--green-deep);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(13, 85, 48, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-nav .nav-call:hover {
  background: var(--green);
  box-shadow: 0 16px 30px rgba(19, 115, 61, 0.24);
  transform: translateY(-1px);
}

.site-nav .nav-call span {
  font-size: 0.78rem;
  opacity: 0.82;
}

.site-nav .nav-call strong {
  font-size: 0.92rem;
}

.site-nav .nav-call::after {
  display: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 340px);
  align-items: end;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 64px);
  min-height: calc(100vh - 78px);
  padding: clamp(90px, 12vw, 150px) clamp(18px, 5vw, 72px) clamp(34px, 7vw, 72px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 22, 18, 0.88) 0%, rgba(10, 22, 18, 0.68) 43%, rgba(10, 22, 18, 0.16) 100%),
    linear-gradient(0deg, rgba(10, 22, 18, 0.68), rgba(10, 22, 18, 0.05)),
    url("assets/hero-curb-appeal.jpg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 72%, rgba(12, 24, 20, 0.3));
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 9.8ch;
  margin: 0;
  font-size: clamp(3.25rem, 7.4vw, 7.35rem);
  line-height: 0.9;
  font-weight: 800;
  word-break: normal;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
}

.hero-text {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 8px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
}

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

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

.button.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 16px 34px rgba(19, 115, 61, 0.24);
}

.call-button {
  gap: 8px;
}

.call-button span {
  opacity: 0.88;
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 340px;
  padding: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(18, 31, 28, 0.22);
  backdrop-filter: blur(14px);
}

.hero-card img {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card div {
  min-width: 0;
}

.hero-card strong {
  font-size: 0.98rem;
}

.hero-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
}

.quick-call {
  display: inline-flex;
  width: fit-content;
  margin-top: 9px;
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.quick-call:hover {
  color: var(--gold);
}

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

.trust-strip span {
  min-height: 78px;
  padding: 24px;
  border-right: 1px solid var(--line);
  color: #2d3e39;
  font-weight: 800;
  text-align: center;
}

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

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(140px, 0.34fr) minmax(0, 0.66fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto 42px;
}

.section-heading > *,
.work-copy,
.contact-copy,
.why-main {
  min-width: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  min-height: 280px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(22, 35, 29, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(22, 35, 29, 0.11);
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  color: #fff;
  background: var(--green-deep);
  border-radius: 50%;
  font-weight: 800;
}

.service-card p,
.steps p,
.work-copy p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.work-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(229, 181, 107, 0.18), transparent 34%),
    linear-gradient(120deg, #142c27 0%, #23513c 56%, #5d3f24 100%);
}

.work-copy {
  max-width: 560px;
}

.work-copy .eyebrow {
  color: #e5b56b;
}

.work-copy p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.04rem;
}

.work-gallery {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) repeat(3, minmax(118px, 0.78fr));
  grid-template-rows: repeat(3, 154px);
  gap: 14px;
  min-height: 490px;
}

.work-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.2);
}

.work-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.work-card.wide {
  grid-column: span 2;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.work-card:nth-child(2) img,
.work-card:nth-child(6) img {
  object-position: 50% 55%;
}

.work-card:nth-child(3) img,
.work-card:nth-child(4) img,
.work-card:nth-child(7) img,
.work-card:nth-child(8) img {
  object-position: 50% 45%;
}

.work-card:nth-child(5) img {
  object-position: 52% 50%;
}

.work-card figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 24px);
  min-height: 34px;
  align-items: center;
  padding: 8px 12px;
  color: #fff;
  background: rgba(18, 31, 28, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.process {
  background: #fff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.steps div {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-weight: 800;
}

.why {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(26px, 6vw, 76px);
  padding: clamp(64px, 9vw, 116px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(24, 38, 34, 0.96), rgba(30, 58, 43, 0.96)),
    #182622;
}

.why-main {
  max-width: 620px;
}

.why-main .eyebrow {
  color: #e5b56b;
}

.why-main p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.why-list {
  display: grid;
  gap: 16px;
}

.why-list article {
  margin: 0;
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
}

.why-list span {
  display: block;
  margin-bottom: 22px;
  color: #e7d2b1;
  font-weight: 800;
}

.why-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 82px);
  padding: clamp(64px, 9vw, 116px) clamp(18px, 5vw, 72px);
  background: var(--cream);
}

.contact-copy {
  max-width: 650px;
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: var(--green-deep);
  font-weight: 800;
}

.contact-lines a {
  width: fit-content;
}

.contact-lines a:hover {
  color: var(--gold);
}

.contact-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  color: #fff;
  background: var(--green-deep);
  border-radius: 8px;
}

.contact-lines .contact-call:hover {
  color: #fff;
  background: var(--green);
}

.estimate-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(22, 35, 29, 0.1);
}

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

.form-heading {
  display: grid;
  gap: 5px;
  padding-bottom: 8px;
}

.form-heading strong {
  font-size: 1.12rem;
}

.form-heading span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.form-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 2px;
}

.form-assurance span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 7px 10px;
  color: var(--green-deep);
  background: rgba(19, 115, 61, 0.08);
  border: 1px solid rgba(19, 115, 61, 0.15);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

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

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(19, 115, 61, 0.5);
  box-shadow: 0 0 0 4px rgba(19, 115, 61, 0.1);
  outline: none;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.form-note a {
  color: var(--green-deep);
  font-weight: 800;
}

.form-submit {
  width: 100%;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: #fff;
}

.site-footer img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.site-footer span {
  margin-right: auto;
  font-weight: 800;
}

.site-footer a {
  color: #e9c990;
  font-weight: 800;
}

.mobile-cta {
  display: none;
}

.success-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(120deg, rgba(248, 245, 238, 0.92), rgba(233, 239, 228, 0.92)),
    url("assets/hero-curb-appeal.jpg") center / cover no-repeat;
}

.success-panel {
  width: min(100%, 720px);
  padding: clamp(28px, 6vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.success-panel img {
  width: 74px;
  height: 74px;
  margin-bottom: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.success-panel h1 {
  max-width: 11ch;
}

.success-panel p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.success-panel .button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

@media (max-width: 980px) {
  .hero,
  .work-band,
  .why,
  .contact,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: end;
    min-height: 760px;
    background-position: 58% center;
  }

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

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

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
  }

  body {
    padding-bottom: 86px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand span {
    max-width: 170px;
    white-space: normal;
    line-height: 1.05;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 14px;
    left: 14px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(20, 35, 31, 0.16);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 92px;
    background-position: 58% center;
    overflow: hidden;
  }

  .hero-copy,
  .section-heading,
  .work-copy,
  .contact-copy,
  .why-main,
  .hero-card {
    width: 100%;
    max-width: calc(100vw - 48px);
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(1.95rem, 8.8vw, 2.3rem);
    line-height: 0.95;
  }

  h2 {
    font-size: clamp(1.45rem, 5.8vw, 1.8rem);
    line-height: 1.12;
  }

  .hero-text {
    max-width: 31ch;
    font-size: 1.02rem;
    line-height: 1.55;
  }

  .section-heading h2 {
    max-width: 19ch;
  }

  .hero-actions,
  .service-grid,
  .trust-strip,
  .steps {
    grid-template-columns: 1fr;
  }

  .site-nav .nav-call {
    justify-content: center;
    margin-top: 4px;
    width: 100%;
    min-height: 48px;
  }

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

  .work-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 260px repeat(7, 190px);
    min-height: auto;
  }

  .work-card.featured,
  .work-card.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-card {
    max-width: none;
  }

  .site-footer {
    flex-wrap: wrap;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .mobile-cta {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 10px;
    padding: 10px;
    background: rgba(248, 245, 238, 0.92);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(20, 35, 31, 0.2);
    backdrop-filter: blur(14px);
  }

  .mobile-cta a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 800;
  }

  .mobile-cta-call {
    color: #fff;
    background: var(--green);
  }

  .mobile-cta-estimate {
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: clamp(1.95rem, 8.8vw, 2.16rem);
  }

  h2 {
    font-size: 1.42rem;
    line-height: 1.12;
  }

  .hero {
    min-height: 720px;
  }

  .hero-card {
    align-items: flex-start;
  }
}
