:root {
  --green: #17603f;
  --green-dark: #0f4a30;
  --green-tint: #e7f3ec;
  --sky: #0a6aa8;
  --sky-bright: #7cc4ef;
  --sky-tint: #e8f4fc;
  --ink: #16241d;
  --muted: #4a5a52;
  --line: #dde5e1;
  --bg: #ffffff;
  --bg-soft: #f5f7f6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 40, 28, .06), 0 8px 24px rgba(16, 40, 28, .07);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-underline-offset: 3px; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green); background: var(--green-tint);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow.sky { color: var(--sky); background: var(--sky-tint); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 1rem;
  padding: 13px 22px; border-radius: 10px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green-tint); color: var(--green-dark); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(6px);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: auto; height: 46px; }
.primary-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-list a, .sub-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  font: inherit; font-weight: 600; font-size: .95rem; color: var(--ink);
  text-decoration: none; background: none; border: 0; cursor: pointer;
  padding: 8px 10px; border-radius: 8px;
}
.nav-list a:hover, .sub-toggle:hover { color: var(--green); background: var(--green-tint); }
.nav-list a[aria-current="page"], .sub-toggle.is-current { color: var(--green); box-shadow: inset 0 -3px 0 var(--green); border-radius: 8px 8px 2px 2px; }
.sub-toggle svg { width: 16px; height: 16px; transition: transform .2s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub-menu {
  display: none; list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
}
.sub-menu.open { display: block; }
.sub-menu a { display: flex; width: 100%; padding: 10px 12px; }
.sub-menu a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--green); border-radius: 4px 8px 8px 4px; background: var(--green-tint); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-contact { padding: 10px 16px; font-size: .95rem; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer; place-items: center; padding: 0;
}
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s;
}
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle .bars::before { top: -6px; }
.menu-toggle .bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { padding: 56px 0 72px; background: linear-gradient(180deg, var(--sky-tint) 0%, #fff 70%); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 48px; align-items: start;
  grid-template-areas: "copy form" "fig form";
}
.hero-copy { grid-area: copy; }
.hero .form-card { grid-area: form; }
.hero-figure { grid-area: fig; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 28px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: .92rem; font-weight: 600;
}
.chips svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.hero-figure { margin: 0; }
.hero-figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-figure figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }

/* Form card */
.form-card {
  background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--green);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px;
  scroll-margin-top: 90px;
}
.form-card h2 { font-size: 1.5rem; margin-bottom: .3em; }
.form-card > p { color: var(--muted); font-size: .98rem; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg-soft); border: 1.5px solid #c6d2cc; border-radius: 10px; padding: 11px 13px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(10, 106, 168, .2); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-card .btn { width: 100%; margin-top: 4px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.form-status { margin-top: 14px; font-size: .95rem; font-weight: 600; border-radius: 10px; padding: 0; }
.form-status:not(:empty) { padding: 12px 14px; }
.form-status.ok { background: var(--green-tint); color: var(--green-dark); }
.form-status.err { background: #fdecec; color: #8a1c1c; }
.form-status.info { background: var(--sky-tint); color: #084e7c; }

/* Cards / services */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 1px 2px rgba(16, 40, 28, .04);
}
.card p { color: var(--muted); margin: 0; }
.card.featured { grid-column: span 2; background: var(--green); color: #fff; border-color: var(--green); display: grid; grid-template-columns: auto 1fr; gap: 0 20px; }
.card.featured p, .card.featured li { color: #e3f1e9; }
.card.featured ul { margin: 14px 0 0; padding-left: 1.1em; }
.card.featured .tag { display: inline-block; background: var(--sky-bright); color: #06324f; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.icon-chip {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-tint); color: var(--green); margin-bottom: 16px;
}
.icon-chip.sky { background: var(--sky-tint); color: var(--sky); }
.card.featured .icon-chip { background: rgba(255, 255, 255, .14); color: #fff; }
.icon-chip svg { width: 24px; height: 24px; }

/* Composite guide */
.guide-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.point-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.point-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.point-list .icon-chip { width: 44px; height: 44px; margin: 0; }
.point-list strong { display: block; font-weight: 700; }
.point-list span { color: var(--muted); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .97rem; }
.compare caption { text-align: left; font-weight: 800; font-size: 1.2rem; padding-bottom: 12px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--bg-soft); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.compare thead th.col-comp { color: var(--green); }
.compare thead th.col-wood { color: var(--sky); }
.compare tbody th { font-weight: 700; width: 26%; }
.compare td { color: var(--muted); }
.table-note { font-size: .88rem; color: var(--muted); margin-top: 12px; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; position: relative; counter-reset: step; }
.timeline::before { content: ""; position: absolute; top: 23px; left: 10%; right: 10%; height: 3px; background: linear-gradient(90deg, var(--green), var(--sky-bright)); border-radius: 3px; }
.timeline li { position: relative; text-align: center; counter-increment: step; }
.timeline li::before {
  content: counter(step); display: grid; place-items: center; margin: 0 auto 16px;
  width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 3px solid var(--green);
  font-weight: 800; font-size: 1.1rem; color: var(--green); position: relative;
}
.timeline li:nth-child(n+4)::before { border-color: var(--sky); color: var(--sky); }
.timeline h3 { font-size: 1.05rem; margin-bottom: .4em; }
.timeline p { color: var(--muted); font-size: .95rem; margin: 0; }
.process-extra { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 56px; }
.process-extra img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.checklist svg { width: 22px; height: 22px; color: var(--green); margin-top: 2px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 14px 16px 16px; font-size: .95rem; color: var(--muted); }
.gallery figcaption strong { display: block; color: var(--ink); font-weight: 700; }

/* Before you build */
.know-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

/* Area */
.area-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.area-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; }
.area-list li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-size: .93rem; font-weight: 600; }
.area-list.sky li { background: var(--sky-tint); border-color: #cfe6f6; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg-soft); }
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--green-tint); color: var(--green); font-weight: 800; }
.faq details[open] summary::after { content: "\2013"; background: var(--sky-tint); color: var(--sky); }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* CTA band */
.cta-band { background: var(--green); color: #fff; border-radius: 20px; padding: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin: 0 0 .25em; }
.cta-band p { margin: 0; color: #e3f1e9; }
.cta-band .btn-outline { border-color: #fff; }
.cta-band .btn-light { background: #fff; color: var(--green); }
.cta-band .btn-light:hover { background: var(--sky-tint); color: var(--green-dark); }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* Footer */
.site-footer { background: #0f2219; color: #cfdcd5; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--sky-bright); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font-size: 1rem; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.site-footer address { font-style: normal; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; color: #9fb3a8; }
.footer-bottom a { color: #cfdcd5; }

/* Mobile bar */
.mobile-bar { display: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.estimate-form { position: relative; }
@media (max-width: 360px) {
  .header-contact span { display: none; }
}

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; background: linear-gradient(180deg, var(--sky-tint), #fff); }
.notfound .code { font-size: clamp(4rem, 14vw, 7rem); font-weight: 800; color: var(--green); line-height: 1; margin-bottom: 10px; }
.notfound .hero-ctas { justify-content: center; }

@media (max-width: 1080px) {
  .know-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .hero-grid, .guide-grid, .area-grid, .process-extra { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-grid { grid-template-areas: "copy" "form" "fig"; gap: 8px; }
  .hero-figure { margin-top: 24px; }
  .timeline::before { bottom: 60px; }
  .timeline li:last-child { padding-bottom: 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .timeline::before { top: 10px; bottom: 10px; left: 23px; right: auto; width: 3px; height: auto; background: linear-gradient(180deg, var(--green), var(--sky-bright)); }
  .timeline li { text-align: left; display: grid; grid-template-columns: 48px 1fr; gap: 0 18px; padding-bottom: 26px; }
  .timeline li::before { margin: 0; grid-row: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { padding-bottom: 72px; font-size: 1rem; }
  .section { padding: 60px 0; }
  .hero { padding: 36px 0 56px; }
  .grid-3, .know-grid { grid-template-columns: minmax(0, 1fr); }
  .card.featured { grid-column: auto; grid-template-columns: 1fr; }
  .header-contact { padding: 9px 12px; font-size: .9rem; }
  .form-card { padding: 22px 18px; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-band { padding: 28px 22px; }
  .compare thead { display: none; }
  .compare caption { display: block; width: 100%; padding: 16px 16px 4px; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { border-bottom: 1px solid var(--line); padding: 6px 0; }
  .compare tbody th { width: 100%; border: 0; padding: 12px 16px 4px; }
  .compare td { border: 0; padding: 4px 16px 10px; }
  .compare td::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
  .compare td.c-comp::before { color: var(--green); }
  .compare td.c-wood::before { color: var(--sky); }
  .map-frame iframe { height: 300px; }
  .mobile-bar {
    display: grid; grid-template-columns: minmax(0, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(16, 40, 28, .08);
  }
  .mobile-bar .btn { padding: 12px 10px; }
}

@media (max-width: 400px) {
  .gallery { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Multi-page components ===== */
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
.footer-brand img { height: 50px; width: auto; margin-bottom: 16px; }
.footer-brand p { margin: 0 0 .5em; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; text-decoration: none; color: var(--green); }
.card-link:hover { text-decoration: underline; color: var(--green-dark); }
.card-link svg { width: 16px; height: 16px; }
.card.featured .card-link { color: #fff; }
.card.featured .card-link:hover { color: var(--sky-bright); }
.text-link { font-weight: 700; }
.more-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Page hero (inner pages) */
.page-hero { padding: 36px 0 56px; background: linear-gradient(180deg, var(--sky-tint) 0%, #fff 85%); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.page-hero.no-img .page-hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.page-hero .lead { font-size: 1.15rem; color: var(--muted); }
.page-hero figure { margin: 0; }
.page-hero figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-hero figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.breadcrumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #9aa9a1; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Split rows */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split + .split { margin-top: 64px; }
.split.reverse > :first-child { order: 2; }
.split figure { margin: 0; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.split p, .prose p, .prose li { color: var(--muted); }
.split h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card h3 { margin-top: 0; }
.card .card-meta { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--sky); margin-bottom: 6px; }
.card ul { margin: 12px 0 0; padding-left: 1.1em; color: var(--muted); }
.card ul li + li { margin-top: 4px; }

/* Callout */
.callout { background: var(--sky-tint); border: 1px solid #cfe6f6; border-left: 5px solid var(--sky); border-radius: 12px; padding: 20px 22px; margin: 28px 0; }
.callout p { color: #10405f; margin: 0; }
.callout strong { color: #073a5c; }
.callout.green { background: var(--green-tint); border-color: #cbe5d6; border-left-color: var(--green); }
.callout.green p { color: #164a31; }

/* Prose / guide layout */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.45rem, 2.6vw, 1.9rem); scroll-margin-top: 96px; }
.prose h2:first-child, .prose .eyebrow + h2 { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li + li { margin-top: 6px; }
.prose figure { margin: 28px 0; }
.prose figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.prose .compare { margin: 8px 0 6px; }
.guide-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 96px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.toc h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .93rem; }
.toc a { color: var(--ink); text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--green); text-decoration: underline; }
.choose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0 24px; }
.choose-grid .card { padding: 22px; }
.choose-grid .card.comp { border-top: 4px solid var(--green); }
.choose-grid .card.wood { border-top: 4px solid var(--sky); }
.choose-grid ul { margin-top: 8px; }

/* Related links */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.related a { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.related a:hover { border-color: var(--green); box-shadow: var(--shadow); color: var(--ink); }
.related strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.related span { color: var(--muted); font-size: .95rem; }

/* Steps (detailed process) */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 16px; }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps > li::before { content: counter(s); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; color: var(--green); border: 3px solid var(--green); }
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--muted); margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: start; }
.info-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.info-list .icon-chip { width: 44px; height: 44px; margin: 0; }
.info-list strong { display: block; }
.info-list span, .info-list address { color: var(--muted); font-style: normal; }
.mini-steps { list-style: none; margin: 0; padding: 0; counter-reset: m; display: grid; gap: 10px; }
.mini-steps li { counter-increment: m; display: grid; grid-template-columns: 30px 1fr; gap: 10px; color: var(--muted); }
.mini-steps li::before { content: counter(m); width: 28px; height: 28px; border-radius: 50%; background: var(--green-tint); color: var(--green); font-weight: 800; font-size: .9rem; display: grid; place-items: center; }
.edit-slot:empty { display: none; }

@media (max-width: 1180px) {
  .menu-toggle { display: grid; }
  .primary-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(16, 40, 28, .1);
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .primary-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 20px; max-width: var(--wrap); margin: 0 auto; }
  .nav-list a, .sub-toggle { width: 100%; justify-content: space-between; padding: 12px 12px; font-size: 1.02rem; }
  .sub-menu { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 2px 0 6px 12px; padding: 0 0 0 8px; min-width: 0; }
  .nav-list a[aria-current="page"], .sub-toggle.is-current { box-shadow: inset 3px 0 0 var(--green); border-radius: 4px 8px 8px 4px; background: var(--green-tint); }
}

@media (max-width: 960px) {
  .page-hero-grid, .split, .contact-grid, .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .split.reverse > :first-child { order: 0; }
  .split + .split { margin-top: 48px; }
  .related { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .grid-2, .choose-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero { padding: 24px 0 44px; }
  .brand img { height: 40px; }
  .steps > li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 400px) {
  .brand img { height: 34px; }
  .header-actions { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
