:root {
  color-scheme: light;
  --paper:#f5f3e9; --white:#fffdf6; --ink:#20291b; --muted:#515b49;
  --forest:#202e20; --deep:#192619; --gold:#e3bd4b; --line:#d8dacc;
  font-family: system-ui, sans-serif;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth}
body {margin:0;background:var(--paper);color:var(--ink);font-size:16px;line-height:1.55}
.wrap {width:min(1240px, calc(100% - 64px));margin-inline:auto}
header .wrap, footer .wrap {display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:76px}
header {border-bottom:1px solid var(--line)}
.brand {display:inline-flex;align-items:center;min-height:44px;}
.brand .brand-logo {display:block;height:36px;width:auto;}
.brand span {color:#78601e}
a {color:inherit;text-underline-offset:4px}
:focus-visible {outline:2px solid #9b7520;outline-offset:4px}
h1,h2,h3,p {margin:0}
h1,h2,h3 {font-weight:650;letter-spacing:-.045em;line-height:1.06}
h1 {font-size:clamp(3rem,6.7vw,6.75rem)}
h2 {font-size:clamp(2rem,4.25vw,4.1rem)}
h3 {font-size:clamp(1.25rem,2vw,1.75rem)}
.label {font-size:.75rem;letter-spacing:.13em;font-weight:750;text-transform:uppercase}
.lead {color:var(--muted);max-width:58ch;font-size:clamp(1rem,1.55vw,1.13rem)}
.hero {display:grid;grid-template-columns:1.14fr .86fr;gap:clamp(20px,4vw,64px);align-items:center;padding-block:clamp(40px,7vw,100px)}
.hero-copy > * + * {margin-top:22px}
.hero-copy h1 em {font-style:normal;color:#4d603f}
.actions {display:flex;gap:14px 20px;align-items:center;flex-wrap:wrap}
.button {display:inline-flex;align-items:center;justify-content:center;gap:12px;border:1px solid transparent;border-radius:100px;padding:12px 20px;background:var(--forest);color:var(--white);font-weight:670;text-decoration:none;transition:transform .17s ease,background .17s ease}
.button:hover {background:#354b31;transform:translateY(-2px)}
.button.gold {background:var(--gold);color:var(--deep)}
.button.gold:hover {background:#f2d17d}
.hero-visual {min-height:450px;margin:0;display:flex;align-items:flex-end;padding:clamp(14px,2.5vw,34px);border-radius:32px;background:linear-gradient(160deg,#18251922,#182519ba),url('forest-960.webp') center/cover}
.chat {width:min(100%,400px);margin-inline:auto;border-radius:21px;background:var(--white);padding:18px;box-shadow:0 14px 36px #0b170d55;color:var(--ink)}
.chat figcaption {display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:.82rem;font-weight:700;margin-bottom:14px}
.chat figcaption small {color:var(--muted);text-align:right}
.chat p {width:fit-content;max-width:90%;border-radius:13px 13px 13px 4px;background:#eceee2;padding:8px 12px;font-size:.86rem;margin-bottom:8px}
.chat p:nth-of-type(even) {margin-left:auto;background:#dde7d5;border-radius:13px 13px 4px 13px}
.chat p:last-child {margin-bottom:0}
.section {padding-block:clamp(45px,7vw,96px);border-top:1px solid var(--line)}
.section-heading {display:grid;grid-template-columns:1.2fr .8fr;align-items:end;gap:18px 36px;margin-bottom:30px}
.section-heading .label {margin-bottom:10px;color:#65531e}
.services {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.card {border:1px solid var(--line);border-radius:23px;padding:clamp(19px,2.8vw,34px);background:var(--white)}
.card .label {display:block;margin-bottom:22px;color:#65531e}
.card h3 {margin-bottom:12px}
.card p {color:var(--muted)}
.calculator {display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:clamp(14px,3vw,35px);border:1px solid var(--line);border-radius:26px;background:var(--white);padding:clamp(15px,3vw,32px)}
.fields {display:grid;gap:13px;align-content:center}
label {display:block;font-size:.89rem;font-weight:650}
input {display:block;width:100%;margin-top:5px;border:1px solid #b9bfb1;border-radius:10px;background:#f7f7ef;color:var(--ink);font:inherit;padding:10px 12px}
.result-panel {min-width:0;background:var(--forest);color:var(--white);padding:clamp(16px,3vw,32px);border-radius:18px;align-self:stretch}
.results {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0}
.results > div:first-child {grid-column:1/-1;padding-bottom:15px;border-bottom:1px solid #627560}
dt {font-size:.87rem;color:#e7e9dd}
dd {margin:0;color:#fffaf0;font-size:clamp(1.3rem,3vw,2.2rem);font-weight:700;line-height:1.2;overflow-wrap:anywhere}
.results > div:first-child dd {font-size:clamp(2.1rem,6vw,4.7rem);color:var(--gold);letter-spacing:-.045em}
.note {font-size:.85rem;color:#e0e6d7;margin-top:16px}
.contact {border-radius:28px;background:var(--deep);color:var(--white);padding:clamp(28px,6vw,72px);margin-bottom:50px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:24px}
.contact p {color:#e0e6d7;margin-top:12px}
footer {border-top:1px solid var(--line);color:var(--muted)}
[hidden] {display:none!important}
@media(max-width:840px) {
  .wrap {width:calc(100% - 36px)}
  .hero,.section-heading {grid-template-columns:1fr}
  .hero-visual {min-height:330px}
  .services {grid-template-columns:1fr}
  .card .label {margin-bottom:12px}
}
@media(max-width:620px) {
  .calculator,.contact {grid-template-columns:1fr}
  .contact .button {justify-self:start}
}
@media(prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto}
  .button {transition:none}
  .button:hover {transform:none}
}

@media (max-width: 620px) {
  header .wrap, footer .wrap {min-height:58px;}
  footer a {display:inline-flex;align-items:center;min-height:44px;}
  .hero {padding-block:34px 40px;gap:22px;}
  .hero h1 {font-size:clamp(2.25rem,9vw,3.4rem);}
  .hero-copy > * + * {margin-top:16px;}
  .hero-copy .actions {display:grid;grid-template-columns:1fr;gap:6px;}
  .actions > a, .contact .button {min-height:48px;}
  .actions > a:not(.button) {display:flex;align-items:center;justify-content:center;text-align:center;}
  .hero-visual {min-height:0;padding:12px;border-radius:22px;}
  .chat {padding:14px;}
  .chat p {max-width:94%;}
  .section {padding-block:36px;}
  .section-heading {margin-bottom:18px;}
  .calculator {padding:14px;}
  .fields {gap:12px;}
  input {min-height:46px;font-size:16px;}
  .result-panel {padding:16px;}
  .contact {margin-bottom:32px;}
  .contact .button {width:100%;}
}

.example-label {color:var(--muted);font-size:.85rem;font-weight:650;}

@media (max-width: 700px) {
  .hero-copy, .section-heading, .contact {text-align: center;}
  .hero-copy .lead, .section-heading .lead {margin-inline: auto;}
  .hero-copy .actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  .actions > a {min-height: 48px;}
  .hero-visual {width: min(100%, 520px); justify-self: center;}
  .section-heading h2 {text-wrap: balance;}
  .contact .button {width: fit-content; justify-self: center;}
}
