:root {
  --charcoal: #151515;
  --graphite: #2b2c2e;
  --linen: #f6f1e8;
  --chalk: #fffcf6;
  --taupe: #d8c9b6;
  --walnut: #7b5538;
  --sage: #637264;
  --clay: #b16d4a;
  --ink: #171a1d;
  --muted: #696a67;
  --line: rgba(23, 26, 29, 0.13);
  --white: #ffffff;
  --shadow: 0 26px 84px rgba(21, 21, 21, 0.18);
  --radius: 8px;
  --header-h: 82px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--linen);
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--linen);
  line-height: 1.56;
}

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

a {
  color: inherit;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--white);
  background: var(--charcoal);
}

.skip:focus {
  transform: translateY(0);
}

.site {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  padding: 18px clamp(18px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid rgba(23, 26, 29, 0.1);
  background: rgba(246, 241, 232, 0.93);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 1.08rem;
  font-weight: 850;
  text-decoration: none;
}

.primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.primary a {
  min-height: 42px;
  padding: 11px 13px;
  border-radius: 6px;
  color: var(--graphite);
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
}

.primary a:hover,
.primary a[aria-current="page"] {
  background: rgba(123, 85, 56, 0.13);
}

.menu-toggle {
  display: none;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--chalk);
  font: inherit;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid var(--charcoal);
  border-radius: 6px;
  color: var(--white);
  background: var(--charcoal);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.btn.light {
  color: var(--charcoal);
  border-color: var(--chalk);
  background: var(--chalk);
}

.btn.ghost {
  color: var(--charcoal);
  background: transparent;
}

.remodel-hero .btn.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.remodel-hero {
  min-height: calc(100svh - var(--header-h));
  padding: clamp(26px, 5vw, 66px) clamp(18px, 5vw, 64px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(125deg, rgba(21, 21, 21, 0.88), rgba(43, 44, 46, 0.82)),
    url("../Assets/terra-full-home-remodel-realistic-1200.jpg") center / cover;
  color: var(--white);
}

.hero-gallery {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.meta {
  margin: 0 0 14px;
  color: var(--taupe);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 6vw, 6rem);
  line-height: 0.97;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.18;
}

.hero-copy > p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 2vw, 1.23rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.finish-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 620px;
}

.finish-strip span {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  font-weight: 750;
}

.hero-stack {
  position: relative;
  display: grid;
  grid-template-columns: 0.86fr 0.7fr;
  gap: 14px;
  align-items: end;
}

.hero-stack img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-stack img:first-child {
  aspect-ratio: 4 / 5;
}

.hero-stack img:nth-child(2) {
  aspect-ratio: 4 / 3;
  margin-bottom: 42px;
}

.scope-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(246, 241, 232, 0.92);
  color: var(--ink);
  box-shadow: 0 22px 70px rgba(21, 21, 21, 0.22);
}

.scope-card strong {
  display: block;
  margin-bottom: 8px;
}

.scope-card p {
  margin: 0;
  color: var(--graphite);
  font-size: 0.92rem;
}

.section {
  padding: clamp(54px, 8vw, 112px) clamp(18px, 5vw, 64px);
}

.band {
  background: var(--chalk);
}

.dark {
  color: var(--white);
  background: linear-gradient(135deg, #151515, #2b2c2e 72%, #637264);
}

.container,
.narrow {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.narrow {
  width: min(860px, 100%);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.44fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.editorial-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.center {
  text-align: center;
}

.center .section-sub {
  margin-inline: auto;
}

.section-sub {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.dark .section-sub,
.dark .prose p {
  color: rgba(255, 255, 255, 0.78);
}

.prose p {
  color: var(--graphite);
  font-size: 1.02rem;
}

.panel,
.card,
.stat,
.service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.82);
}

.panel {
  padding: 24px;
  box-shadow: 0 18px 60px rgba(21, 21, 21, 0.08);
}

.panel ul {
  margin: 0;
  padding-left: 18px;
}

.panel li + li {
  margin-top: 10px;
}

.stats-grid,
.card-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

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

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

.stat,
.card {
  padding: 22px;
  min-height: 160px;
  text-decoration: none;
}

.stat strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
}

.stat span,
.card p {
  color: var(--muted);
}

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

.service-card {
  overflow: hidden;
  color: inherit;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 18px 60px rgba(21, 21, 21, 0.08);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card .pad {
  padding: 20px;
}

.timeline {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--chalk);
}

.step b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--white);
  background: var(--walnut);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.chip {
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--chalk);
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.final-cta {
  color: var(--white);
  background:
    linear-gradient(rgba(21, 21, 21, 0.78), rgba(21, 21, 21, 0.78)),
    url("../Assets/terra-full-home-remodel-realistic-1200.jpg") center / cover;
}

.final-cta .section-sub {
  color: rgba(255, 255, 255, 0.82);
}

.footer {
  padding: 54px clamp(18px, 5vw, 64px) 34px;
  color: var(--white);
  background: var(--charcoal);
}

.footer-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}

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

.footer-links {
  display: grid;
  gap: 8px;
}

.copyright {
  width: min(1180px, 100%);
  margin: 32px auto 0;
  color: rgba(255, 255, 255, 0.62);
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 6px;
  color: var(--white);
  background: var(--charcoal);
  font-weight: 850;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(21, 21, 21, 0.74);
}

.modal.is-open {
  display: flex;
}

.sheet {
  position: relative;
  width: min(720px, 100%);
  max-height: min(90svh, 820px);
  overflow: auto;
  padding: 28px;
  border-radius: 8px;
  background: var(--linen);
  box-shadow: var(--shadow);
}

.close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--chalk);
  font-size: 1.5rem;
  cursor: pointer;
}

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

.field {
  display: grid;
  gap: 6px;
  color: var(--graphite);
  font-weight: 750;
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: var(--chalk);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

.consent {
  display: flex;
  gap: 10px;
  margin: 16px 0;
  font-size: 0.93rem;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.form-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 980px) {
  .primary {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 10px 18px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--linen);
  }

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

  .primary a {
    width: 100%;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
  }

  .hero-gallery,
  .split,
  .editorial,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .remodel-hero {
    min-height: auto;
  }
}

@media (max-width: 780px) {
  .site {
    min-height: 66px;
    padding: 12px 14px;
  }

  .remodel-hero {
    padding: 26px 14px 34px;
  }

  h1 {
    font-size: clamp(2.4rem, 12vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.95rem, 9vw, 3rem);
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .finish-strip {
    grid-template-columns: 1fr;
  }

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

  .hero-stack img:first-child,
  .hero-stack img:nth-child(2) {
    aspect-ratio: 4 / 3;
    margin: 0;
    min-height: 280px;
  }

  .scope-card {
    position: static;
  }

  .section {
    padding: 48px 14px;
  }

  .swipe-wrap {
    margin-inline: -14px;
    padding-inline: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .swipe-wrap::-webkit-scrollbar {
    display: none;
  }

  .stats-grid,
  .card-grid,
  .faq-grid,
  .service-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(252px, 82vw);
    grid-template-columns: none;
    gap: 12px;
  }

  .stat,
  .card,
  .service-card {
    scroll-snap-align: start;
  }

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

  .sheet {
    max-height: 86svh;
    padding: 24px 18px;
  }

  .sticky-cta {
    left: 14px;
    right: 14px;
    bottom: 14px;
    text-align: center;
  }
}
