:root {
  --green: #7cc242;
  --green-strong: #5f9e2c;
  --green-soft: #eef7e4;
  --ink: #1f2328;
  --ink-2: #2b3036;
  --text: #2a2f35;
  --muted: #5d6670;
  --line: #e3e6e9;
  --bg: #ffffff;
  --tint: #f5f7f2;
  --before: #d9534f;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 24, 28, .08);
  --head: "Poppins", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

.eyebrow { font: 600 .8rem/1 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--green-strong); margin-bottom: .9rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .7em 1.2em; border-radius: 999px; font: 600 .95rem/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .95em 1.6em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green); color: #14200a; }
.btn-primary:hover { background: #8fd255; }
.btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--tint); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.25rem/1 var(--head); color: var(--ink); }
.brand b { color: var(--green-strong); font-weight: 800; }
.brand img { border-radius: 50%; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--ink); background: var(--tint); }
.header-cta { display: flex; gap: 8px; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #2f3b26 0%, transparent 60%), var(--ink); color: #e9ece6; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 72px 0 80px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -.02em; }
.hero h1 span { color: var(--green); }
.hero .eyebrow { color: var(--green); }
.lead { font-size: 1.15rem; color: #c9cfc4; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: #d6dbd1; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .25em; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314200a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/13px no-repeat; }

/* Before/after compare slider */
.compare { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: #111; box-shadow: 0 20px 50px rgba(0,0,0,.35); --pos: 50%; user-select: none; }
.compare > img, .compare-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; z-index: 2; pointer-events: none; }
.compare-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2328' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center/22px no-repeat; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.compare-range:focus-visible ~ .compare-handle::after { outline: 3px solid var(--green); outline-offset: 2px; }
.compare figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; font-size: .9rem; z-index: 1; }
.compare .tag { position: absolute; top: 14px; z-index: 2; }
.compare .tag-before { left: 14px; }
.compare .tag-after { right: 14px; }

.tag { display: inline-block; padding: 5px 11px; border-radius: 999px; font: 700 .72rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(20,24,28,.75); }
.tag-before { background: var(--before); }
.tag-mid { background: #e49b2f; }
.tag-after { background: var(--green-strong); }

/* Sections */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #d6dbd1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--green); }
.section-lead { color: #aab2a5; margin-top: -.2em; margin-bottom: 40px; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--green-soft); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg, .contact-list svg { width: 26px; height: 26px; fill: none; stroke: var(--green-strong); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Work */
.job { padding: 36px 0; border-top: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.job:first-of-type { border-top: 0; padding-top: 0; }
.job-text p { color: #aab2a5; }
.steps-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps-photos figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 4; background: #111; }
.steps-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.steps-photos figure:hover img { transform: scale(1.03); }
.steps-photos figcaption { position: absolute; top: 12px; left: 12px; }
.job-split .compare { max-width: 460px; aspect-ratio: 3 / 4; box-shadow: none; }

/* How it works */
.how { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.how li { padding: 28px; border-radius: var(--radius); background: var(--tint); }
.how p { color: var(--muted); margin: 0; }
.num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--green); font: 800 1.1rem/1 var(--head); margin-bottom: 16px; }

/* Quote */
.quote-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.quote-intro > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.quote-grid > * { min-width: 0; }
.contact-list svg { flex: none; }
.contact-list a { text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }

.quote-form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form > *, .field-row > *, .quote-form input, .quote-form textarea { min-width: 0; }
.quote-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.quote-form input:not([type="checkbox"]), .quote-form textarea { font: 400 1rem/1.4 var(--body); color: var(--text); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
.quote-form input:focus, .quote-form textarea:focus { outline: none; border-color: var(--green-strong); box-shadow: 0 0 0 3px rgba(124,194,66,.25); }
.quote-form textarea { resize: vertical; }
.quote-form .invalid { border-color: var(--before) !important; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 8px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; display: block !important; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500; font-size: .9rem; transition: all .15s; }
.chip input:checked + span { background: var(--green-soft); border-color: var(--green-strong); color: #2f5214; }
.chip input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 500; min-height: 1.4em; }
.form-status.ok { color: var(--green-strong); }
.form-status.err { color: var(--before); }

/* Footer */
.site-footer { background: var(--ink); color: #aab2a5; padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.footer-inner p { margin: 0; }
.footer-inner .small { margin-left: auto; font-size: .85rem; }
.brand-light { color: #fff; }

.mobile-call { display: none; }

/* Responsive */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .job { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .header-cta .btn-ghost { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 56px; }
  .hero-compare { max-width: 440px; width: 100%; justify-self: center; }
  .quote-grid { grid-template-columns: 1fr; gap: 32px; }
  .how { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .steps-photos { gap: 8px; }
  .quote-form { padding: 20px; }
  .brand span { font-size: 1.1rem; }
  .footer-inner .small { margin-left: 0; }
  .mobile-call:not([hidden]) { display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; justify-content: center; padding: 15px; border-radius: 999px; background: var(--green); color: #14200a; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
  body:has(.mobile-call:not([hidden])) .site-footer { padding-bottom: 96px; }
}
@media (max-width: 360px) {
  .header-inner { gap: 12px; }
  .brand span { display: none; }
  .header-cta .btn { padding: .65em 1em; }
  .hero-actions .btn { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
