:root {
  --ink: #17201d;
  --muted: #5f6f6a;
  --paper: #f4f1e9;
  --panel: #ffffff;
  --line: #d9dfd7;
  --forest: #25584e;
  --forest-dark: #163b34;
  --moss: #73856d;
  --clay: #b76540;
  --cream: #fffaf0;
  --smoke: #eef1ed;
  --brand-surface: #eeece4;
  --brand-surface-soft: #e7e9e1;
  --shadow: 0 24px 70px rgba(23, 32, 29, 0.16);
  --hover-shadow: 0 18px 44px rgba(23, 32, 29, 0.12);
  --container: 1280px;
  --container-wide: 1280px;
  --gutter: clamp(18px, 5vw, 72px);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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;
}

body.is-lightbox-open,
body.is-modal-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px var(--gutter);
  color: var(--ink);
  background: rgba(238, 236, 228, 0.96);
  box-shadow: 0 10px 32px rgba(13, 19, 18, 0.08);
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(238, 236, 228, 0.98);
  box-shadow: 0 10px 32px rgba(23, 32, 29, 0.1);
}

.brand {
  display: block;
  width: clamp(300px, 26vw, 390px);
  height: 88px;
  min-width: 0;
  overflow: hidden;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

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

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
  mix-blend-mode: multiply;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 14px;
  font-weight: 650;
}

.nav a {
  position: relative;
  opacity: 0.82;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.nav a:hover {
  opacity: 1;
}

.nav a:hover::after {
  opacity: 0.55;
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.header-cta {
  gap: 10px;
  padding: 0 16px;
  border: 1px solid currentColor;
  font-size: 14px;
  color: inherit;
  background: transparent;
}

.button {
  min-width: 0;
  padding: 0 20px;
  border: 0;
  font-size: 15px;
  text-align: center;
}

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

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

.button-primary {
  color: #fff;
  background: var(--forest);
}

.button-primary:hover {
  background: var(--forest-dark);
  box-shadow: 0 12px 28px rgba(22, 59, 52, 0.22);
}

.button-light {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.button[disabled] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: var(--brand-surface-soft);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(238, 236, 228, 0.2) 0%, rgba(238, 236, 228, 0.06) 34%, transparent 72%),
    linear-gradient(90deg, rgba(13, 19, 18, 0.9) 0%, rgba(13, 19, 18, 0.72) 48%, rgba(13, 19, 18, 0.34) 100%),
    linear-gradient(0deg, rgba(13, 19, 18, 0.54) 0%, transparent 48%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
  width: min(var(--container-wide), calc(100% - 36px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 154px 0 54px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1b58f;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: 66px;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: 0;
}

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

.hero-lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
}

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

.hero-points {
  display: grid;
  gap: 10px;
  max-width: 620px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 26px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 650;
}

.hero-points li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f1b58f;
  content: "";
}

.hero-points li::after {
  position: absolute;
  top: 6px;
  left: 4px;
  width: 8px;
  height: 5px;
  border-bottom: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  content: "";
  transform: rotate(-45deg);
}

.calculator {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.calculator-head h2 {
  font-size: 32px;
}

.calculator-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  padding: 0 12px;
}

.field input,
.field select {
  height: 48px;
}

.field textarea {
  min-height: 112px;
  padding-top: 12px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--forest);
  outline: 3px solid rgba(37, 88, 78, 0.14);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.calculator-column {
  display: grid;
  gap: 12px;
}

.option-title {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.option-list {
  display: grid;
  gap: 9px;
}

.option-list label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 9px;
  align-items: start;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.option-list input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--forest);
}

.duration-box {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-radius: 8px;
  color: var(--ink);
  background: #f1dccd;
}

.duration-box span {
  color: rgba(23, 32, 29, 0.72);
  font-size: 13px;
  font-weight: 750;
}

.duration-box strong {
  font-size: 18px;
  line-height: 1.1;
}

.area-control {
  display: grid;
  gap: 9px;
}

.area-control label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.area-control input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  appearance: none;
  background: linear-gradient(90deg, var(--forest), var(--clay));
  cursor: pointer;
}

.area-control input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  border: 3px solid var(--cream);
  border-radius: 50%;
  appearance: none;
  background: var(--clay);
  box-shadow: 0 4px 12px rgba(23, 32, 29, 0.24);
}

.area-control input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid var(--cream);
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 4px 12px rgba(23, 32, 29, 0.24);
}

.area-control output {
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
}

.calc-summary {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 8px;
  color: var(--ink);
  background: #eaf2eb;
}

.calc-summary span,
.calc-summary small {
  color: var(--muted);
  font-size: 13px;
}

.calc-summary strong {
  font-size: 16px;
  line-height: 1.05;
}

.lead-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.lead-panel {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.lead-panel[hidden] {
  display: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.calculator-submit {
  width: 100%;
}

.form-result {
  min-height: 60px;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--forest-dark);
  background: #eaf2eb;
  font-size: 14px;
}

.form-result.is-success {
  color: #fff;
  background: var(--forest);
}

.form-result.is-error {
  color: #6f2f1e;
  background: #f6dfd4;
}

.trust-strip {
  padding: 0 var(--gutter);
  background: var(--ink);
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(var(--container), 100%);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip-inner > div {
  min-height: 140px;
  padding: clamp(22px, 4vw, 40px);
  color: #fff;
  background: #20302c;
}

.trust-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 46px;
  line-height: 1;
}

.trust-strip span {
  display: block;
  max-width: 260px;
  color: rgba(255, 255, 255, 0.72);
}

.section,
.site-footer {
  padding: clamp(68px, 9vw, 124px) var(--gutter);
}

.section-light {
  background: #fff;
}

.section-inner {
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(320px, 1.28fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  width: min(var(--container), 100%);
  margin: 0 auto clamp(30px, 5vw, 58px);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.benefit-grid article,
.format-grid article,
.service-list article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.benefit-grid article,
.format-grid article {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-height: 260px;
  padding: 26px;
}

.card-index {
  display: inline-flex;
  width: max-content;
  margin-bottom: 30px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 850;
}

.benefit-grid p,
.format-grid p,
.service-list p,
.process-copy p,
.process-step p,
.timeline p,
.planning-copy p,
.faq-list p,
.final-cta p {
  color: var(--muted);
}

.service-layout,
.planning-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: stretch;
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.service-image,
.planning-image {
  overflow: hidden;
  border: 1px solid rgba(23, 32, 29, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 32, 29, 0.1);
  background: #d8d4c8;
}

.service-image img,
.planning-image img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-list article {
  display: grid;
  align-content: center;
  min-height: 160px;
  padding: 24px;
}

.service-list p,
.benefit-grid p,
.format-grid p,
.faq-list p {
  margin-bottom: 0;
}

.materials-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.96fr) minmax(320px, 1.04fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
}

.materials-image {
  overflow: hidden;
  border: 1px solid rgba(23, 32, 29, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 32, 29, 0.1);
  background: #d8d4c8;
}

.materials-image img {
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.materials-copy {
  max-width: 660px;
}

.materials-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.mini-grid article {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.mini-grid strong {
  font-size: 18px;
}

.mini-grid span {
  color: var(--muted);
  font-size: 14px;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.process-copy {
  max-width: 620px;
}

.process-copy p {
  margin-top: 18px;
  font-size: 18px;
}

.process-note {
  display: grid;
  gap: 4px;
  margin-top: 28px;
  padding: 18px;
  border-left: 4px solid var(--clay);
  border-radius: 8px;
  background: var(--paper);
}

.process-note strong {
  font-size: 18px;
}

.process-note span {
  color: var(--muted);
}

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

.process-step {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.process-step span {
  display: inline-flex;
  width: max-content;
  margin-bottom: 24px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 850;
}

.process-step h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.process-step p {
  margin-bottom: 0;
}

.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.timeline li:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline span {
  color: var(--clay);
  font-weight: 850;
}

.timeline strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.timeline p {
  margin-bottom: 0;
}

.planning-layout {
  align-items: center;
}

.planning-copy {
  max-width: 620px;
}

.planning-copy p {
  margin: 18px 0 0;
  font-size: 18px;
}

.estimate-breakdown {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.estimate-breakdown div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.estimate-breakdown div:last-child {
  border-bottom: 1px solid var(--line);
}

.estimate-breakdown strong {
  color: var(--ink);
}

.estimate-breakdown span {
  color: var(--muted);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.case-grid article {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.case-grid img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.case-grid div {
  padding: 24px;
}

.case-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 850;
}

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

.case-facts {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
}

.case-facts div {
  padding: 0;
}

.case-facts dt {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.case-facts dd {
  margin: 0;
  color: var(--muted);
}

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

.photo-mosaic {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 170px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.photo-tile {
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #d8d4c8;
  cursor: zoom-in;
}

.photo-tile:focus-visible {
  outline: 3px solid rgba(37, 88, 78, 0.34);
  outline-offset: 3px;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-wide {
  grid-column: span 2;
}

.photo-tall {
  grid-row: span 2;
}

.photo-lightbox {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.photo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(13, 19, 18, 0.82);
  cursor: zoom-out;
}

.photo-lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: min(1120px, 100%);
  max-height: min(82vh, 900px);
}

.photo-lightbox-panel img {
  max-width: 100%;
  max-height: min(82vh, 900px);
  border-radius: 8px;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.photo-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.guarantee-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
}

.guarantee-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

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

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink);
  font-weight: 650;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--forest);
  content: "✓";
  font-size: 12px;
  font-weight: 900;
}

.final-cta {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(23, 32, 29, 0.9), rgba(23, 32, 29, 0.76)),
    url("assets/hero-renovation-real.jpg") center / cover;
}

.final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.final-cta-inner > div {
  max-width: 820px;
}

.final-cta .eyebrow {
  color: #f1b58f;
}

.final-cta p {
  max-width: 620px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.faq-list {
  display: grid;
  gap: 12px;
  width: min(900px, 100%);
  margin: 0 auto;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 820;
}

.faq-list p {
  margin-top: 12px;
}

.site-footer {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(244, 241, 233, 0.9), rgba(231, 233, 225, 0.96)),
    var(--brand-surface-soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.site-footer p {
  margin: 0;
  color: rgba(23, 32, 29, 0.72);
}

.footer-link {
  color: var(--forest-dark);
  font-weight: 850;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
}

.footer-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.callback-modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.callback-modal[hidden] {
  display: none;
}

.callback-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(13, 19, 18, 0.62);
  cursor: pointer;
}

.callback-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(22px, 4vw, 44px);
  width: min(880px, 100%);
  max-height: min(720px, calc(100svh - 48px));
  overflow: auto;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.callback-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.callback-copy h2 {
  margin: 0 0 22px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.04;
}

.callback-copy p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.callback-form {
  display: grid;
  gap: 14px;
  align-content: start;
}

.benefit-grid article,
.format-grid article,
.service-list article,
.mini-grid article,
.process-step,
.case-grid article,
.guarantee-grid article,
.faq-list details,
.calculator {
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.service-image img,
.materials-image img,
.planning-image img,
.photo-tile img,
.case-grid img {
  transition: transform 600ms ease;
}

.photo-tile {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    opacity 220ms ease;
}

.field input,
.field select,
.field textarea,
.option-list label,
.area-control input[type="range"] {
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .calculator:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 80px rgba(23, 32, 29, 0.2);
  }

  .benefit-grid article:hover,
  .format-grid article:hover,
  .service-list article:hover,
  .mini-grid article:hover,
  .process-step:hover,
  .case-grid article:hover,
  .faq-list details:hover {
    border-color: rgba(37, 88, 78, 0.24);
    box-shadow: var(--hover-shadow);
    transform: translateY(-4px);
  }

  .photo-tile:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-4px);
  }

  .guarantee-grid article:hover {
    border-color: rgba(241, 181, 143, 0.44);
    background: #20302c;
    box-shadow: 0 18px 44px rgba(23, 32, 29, 0.18);
    transform: translateY(-4px);
  }

  .service-image:hover img,
  .materials-image:hover img,
  .planning-image:hover img,
  .photo-tile:hover img,
  .case-grid article:hover img {
    transform: scale(1.035);
  }

  .option-list label:hover,
  .faq-list details:hover summary {
    color: var(--forest-dark);
  }

  .footer-link:hover,
  .footer-button:hover {
    color: var(--forest);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: heroIntro 700ms ease both;
  }

  .calculator {
    animation: heroIntro 780ms ease 90ms both;
  }

  .lead-panel:not([hidden]) {
    animation: panelReveal 220ms ease both;
  }

  .reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 620ms ease,
      transform 620ms ease;
    transition-delay: var(--reveal-delay, 0ms);
  }

  .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  @keyframes heroIntro {
    from {
      opacity: 0;
      transform: translateY(18px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes panelReveal {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 1180px) {
  .hero-layout {
    gap: 28px;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 40px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .calculator {
    padding: 20px;
  }

  .calculator-head h2 {
    font-size: 28px;
  }

  .calc-summary strong {
    font-size: 16px;
  }

  .photo-mosaic {
    grid-auto-rows: 150px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero-layout {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 170px;
  }

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

  .calculator {
    max-width: 720px;
  }

  .service-layout,
  .materials-layout,
  .planning-layout,
  .process-layout,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .service-image img,
  .materials-image img,
  .planning-image img {
    min-height: 360px;
  }

  .callback-dialog {
    grid-template-columns: 1fr;
  }
}

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

  .nav {
    display: none;
  }
}

@media (max-width: 820px) {
  .trust-strip-inner,
  .benefit-grid,
  .format-grid,
  .case-grid,
  .guarantee-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .photo-mosaic {
    grid-auto-rows: 150px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip-inner > div {
    min-height: auto;
  }

  .benefit-grid article {
    min-height: 220px;
  }

  .format-grid article,
  .guarantee-grid article {
    min-height: auto;
  }

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

  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .final-cta-actions {
    justify-content: flex-start;
  }

  .final-cta .button {
    width: min(360px, 100%);
  }

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

  .photo-wide {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
    padding: 12px 14px;
  }

  .brand {
    width: min(248px, calc(100vw - 88px));
    height: 64px;
  }

  .header-cta span:first-child {
    display: none;
  }

  .header-cta {
    width: 44px;
    padding: 0;
  }

  .hero-image {
    object-position: 58% 50%;
  }

  .hero-layout {
    width: calc(100% - 28px);
    padding: 136px 0 28px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-points {
    display: none;
  }

  .calculator-head h2 {
    font-size: 30px;
  }

  .trust-strip strong {
    font-size: 34px;
  }

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

  .calculator {
    padding: 18px;
  }

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

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

  .callback-modal {
    padding: 14px;
  }

  .callback-dialog {
    max-height: calc(100svh - 28px);
    padding: 22px 18px;
  }

  .callback-copy h2 {
    padding-right: 44px;
  }

  .footer-actions {
    justify-content: flex-start;
  }

  .calc-summary strong {
    font-size: 16px;
  }

  .section,
  .site-footer {
    padding: 58px 14px;
  }

  .trust-strip {
    padding: 30px 14px 34px;
  }

  .trust-strip-inner > div {
    padding: 30px 24px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .benefit-grid article,
  .service-list article {
    min-height: auto;
    padding: 20px;
  }

  .card-index {
    margin-bottom: 18px;
  }

  .service-image img,
  .materials-image img,
  .planning-image img {
    min-height: 300px;
  }

  .photo-mosaic {
    gap: 10px;
    grid-auto-rows: 128px;
  }

  .photo-lightbox {
    padding: 14px;
  }

  .photo-lightbox-close {
    top: 14px;
    right: 14px;
  }

  .estimate-breakdown div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .timeline li {
    grid-template-columns: 46px 1fr;
    gap: 12px;
  }
}
