/* KBK Landscape & Beyond — site styles
   Palette: deep green, stone grey, warm cream. Serif display, humanist sans body. */
:root {
  --green: #1f3d2b;
  --green-2: #2e5a3d;
  --leaf: #6cc04a;
  --cream: #f5f0e6;
  --cream-2: #ebe4d6;
  --stone: #6e6a5f;
  --ink: #1d1c1a;
  --ink-2: #4a4842;
  --white: #fffdf9;
  --line: #ddd5c6;
  --gold: #c8a24a;
  --shadow: 0 10px 30px rgba(29, 28, 26, .12);
  --radius: 14px;
  --max: 1180px;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 400 17px/1.6 var(--sans); color: var(--ink); background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-2); }
h1, h2, h3, .display { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.eyebrow { font: 600 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--leaf); margin-bottom: 1rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
section { padding: clamp(56px, 9vw, 110px) 0; }
.muted { color: var(--ink-2); }
.center { text-align: center; }
.lede { font-size: 1.2rem; max-width: 62ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; padding: .9em 1.5em; border-radius: 999px;
  font: 600 1rem var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: .18s;
}
.btn-primary { background: var(--leaf); color: var(--green); }
.btn-primary:hover { background: #7fd35c; transform: translateY(-1px); }
.btn-dark { background: var(--green); color: var(--cream); }
.btn-dark:hover { background: var(--green-2); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Header */
.topbar { background: var(--green); color: var(--cream); font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
header.site { position: sticky; top: 0; z-index: 50; background: rgba(245,240,230,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 46px; height: 46px; }
.brand b { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; letter-spacing: .02em; display: block; line-height: 1; }
.brand small { font: 600 .68rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--green-2); }
nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
nav.main a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 8px; font-weight: 600; }
nav.main a:hover, nav.main a[aria-current] { background: var(--cream-2); color: var(--green); }
nav.main .btn { margin-left: 10px; padding: .7em 1.2em; }
.lang { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; color: var(--stone); padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; }
.lang:hover { color: var(--green); border-color: var(--green); }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; }
@media (max-width: 900px) {
  .burger { display: block; }
  nav.main { position: absolute; left: 0; right: 0; top: 74px; background: var(--cream); border-bottom: 1px solid var(--line); display: none; padding: 12px; box-shadow: var(--shadow); }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; align-items: stretch; }
  nav.main a { display: block; }
  nav.main .btn { margin: 8px 0 0; justify-content: center; }
  .topbar .hours { display: none; }
}

/* Hero */
.hero { position: relative; min-height: min(88vh, 760px); display: grid; align-items: end; color: var(--cream); padding: 0; isolation: isolate; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31,61,43,.2) 0%, rgba(31,61,43,.55) 55%, rgba(20,38,27,.94) 100%), linear-gradient(90deg, rgba(20,38,27,.55) 0%, rgba(20,38,27,0) 60%); }
.hero .wrap { padding-top: 120px; padding-bottom: 56px; }
.hero h1 { max-width: 14ch; text-wrap: balance; }
.hero .lede { color: rgba(245,240,230,.88); }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.proof { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(245,240,230,.25); }
.proof div b { display: block; font: 600 1.6rem var(--serif); }
.proof div span { font-size: .9rem; color: rgba(245,240,230,.8); }
.stars { color: var(--gold); letter-spacing: .1em; }

/* Service cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card .body { padding: 22px 24px 26px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-2); margin: 0; }
.card .more { margin-top: 14px; font-weight: 700; color: var(--green-2); }

/* Split / about blocks */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { padding-left: 34px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--leaf); color: var(--green); font-weight: 800; display: grid; place-items: center; font-size: .85rem; }

/* Dark band */
.band { background: var(--green); color: var(--cream); }
.band .eyebrow { color: var(--leaf); }
.band .card { background: rgba(255,255,255,.06); color: var(--cream); box-shadow: none; }
.band .card p { color: rgba(245,240,230,.8); }
.warranty { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.warranty div { border: 1px solid rgba(245,240,230,.2); border-radius: var(--radius); padding: 28px; }
.warranty b { display: block; font: 600 2.6rem/1 var(--serif); color: var(--leaf); margin-bottom: 8px; }

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.steps div { counter-increment: s; background: var(--white); border-radius: var(--radius); padding: 28px 24px; }
.steps div::before { content: counter(s, decimal-leading-zero); font: 600 2rem var(--serif); color: var(--leaf); display: block; margin-bottom: 8px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
blockquote.review { margin: 0; background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
blockquote.review p { font-family: var(--serif); font-size: 1.1rem; margin: 0; flex: 1; }
blockquote.review footer { font-size: .9rem; color: var(--ink-2); }
blockquote.review footer b { color: var(--ink); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.filters button { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 16px; font: 600 .9rem var(--sans); cursor: pointer; color: var(--ink-2); }
.filters button[aria-pressed="true"] { background: var(--green); color: var(--cream); border-color: var(--green); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--white); cursor: zoom-in; }
.gallery img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .3s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 10px 14px 12px; font-size: .9rem; color: var(--ink-2); }
.gallery figcaption b { color: var(--ink); display: block; }
.gallery figure[hidden] { display: none; }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); }
dialog.lightbox::backdrop { background: rgba(20,38,27,.92); }
dialog.lightbox img { max-height: 84vh; width: auto; max-width: 96vw; border-radius: 10px; margin: 0 auto; }
dialog.lightbox p { color: var(--cream); text-align: center; margin: 12px 0 0; }
dialog.lightbox button { position: fixed; top: 14px; right: 14px; background: var(--cream); border: 0; border-radius: 50%; width: 42px; height: 42px; font-size: 1.3rem; cursor: pointer; }

/* Areas */
.areas { columns: 3; column-gap: 32px; list-style: none; padding: 0; margin: 0; }
.areas li { padding: 6px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
@media (max-width: 700px) { .areas { columns: 2; } }

/* Forms */
form.quote { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.quote .full { grid-column: 1 / -1; }
@media (max-width: 620px) { form.quote { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--leaf); outline-offset: 1px; border-color: var(--leaf); }
textarea { min-height: 130px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; font-weight: 600; }
.chips input { display: none; }
.chips span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); cursor: pointer; font-size: .9rem; }
.chips input:checked + span { background: var(--green); color: var(--cream); border-color: var(--green); }
.form-note { font-size: .9rem; color: var(--ink-2); }
.form-msg { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; display: none; }
.form-msg.ok { display: block; background: #e4f3dc; color: var(--green); }
.form-msg.err { display: block; background: #f8e3df; color: #8a2a1d; }
.hp { position: absolute; left: -9999px; }

/* Contact side */
.contact-side { background: var(--white); border-radius: var(--radius); padding: 30px; display: grid; gap: 18px; align-content: start; }
.contact-side a { text-decoration: none; font-weight: 600; }
.contact-side dt { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
.contact-side dd { margin: 4px 0 0; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: var(--cream-2); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Page hero (inner pages) */
.page-hero { background: var(--green); color: var(--cream); padding: clamp(48px, 8vw, 90px) 0; }
.page-hero .lede { color: rgba(245,240,230,.85); }

/* Service detail */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(40px, 6vw, 70px) 0; border-bottom: 1px solid var(--line); }
.service:nth-child(even) .media { order: 2; }
.service .media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.service ul { padding-left: 1.2em; color: var(--ink-2); }
@media (max-width: 820px) { .service { grid-template-columns: 1fr; } .service:nth-child(even) .media { order: 0; } }

/* CTA */
.cta-band { background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%); color: var(--cream); text-align: center; }
.cta-band h2 { max-width: 20ch; margin: 0 auto .5em; }
.cta-band .btn { margin: 8px 6px 0; }

/* Footer */
footer.site { background: #14261b; color: rgba(245,240,230,.8); padding: 56px 0 28px; font-size: .95rem; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer.site h4 { color: var(--cream); margin: 0 0 12px; font: 600 .85rem var(--sans); letter-spacing: .14em; text-transform: uppercase; }
footer.site a { color: inherit; text-decoration: none; }
footer.site a:hover { color: var(--leaf); }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer.site .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(245,240,230,.15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: rgba(245,240,230,.55); }
@media (max-width: 820px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { footer.site .cols { grid-template-columns: 1fr; } }

/* Sticky mobile call bar */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(31,61,43,.96); backdrop-filter: blur(8px); }
  .callbar .btn { justify-content: center; padding: .8em; }
  body { padding-bottom: 76px; }
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
