/* Kairos Landscapes: Merriweather + Open Sans, Evergreen lead, Kairos Orange accent */
:root {
  --evergreen: #2F3D33;
  --charcoal: #2B2E2C;
  --sage: #8A9A7E;
  --orange: #C8642C;
  --orange-dark: #A9511F;
  --stone: #E6E9E2;
  --stone-light: #F4F5F1;
  --white: #FFFFFF;
  --text: #2B2E2C;
  --muted: #5A615C;
  --line: #D5DAD1;
  --max: 1160px;
  --radius: 10px;
  --serif: "Merriweather", Georgia, serif;
  --sans: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.25; color: var(--evergreen); margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-dark); margin: 0 0 .7em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 1rem; text-decoration: none; padding: 14px 24px; border-radius: 6px; border: 2px solid transparent; transition: background .15s, color .15s; text-align: center; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { border-color: currentColor; color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--evergreen); color: var(--evergreen); }
.btn-outline:hover { background: var(--evergreen); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.topbar { background: var(--evergreen); color: var(--stone); font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: 52px; }
.brand span { font-family: var(--serif); font-weight: 900; font-size: 1.05rem; letter-spacing: .1em; color: var(--evergreen); line-height: 1.15; }
.brand small { display: block; font-family: var(--sans); font-weight: 600; font-size: .66rem; letter-spacing: .16em; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a { display: block; padding: 10px 12px; color: var(--charcoal); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 6px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange-dark); }
.nav .sub { display: none; position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,.1); list-style: none; margin: 0; padding: 8px; min-width: 260px; }
.nav li:hover > .sub, .nav li:focus-within > .sub { display: block; }
.nav .btn { margin-left: 8px; padding: 11px 18px; }
.nav .btn-primary, .nav .btn-primary:hover { color: var(--white); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--evergreen); margin: 5px 0; }

@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 20px 20px; max-height: calc(100vh - 80px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; }
  .nav .sub { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
  .nav .btn { margin: 10px 0 0; }
  .topbar .hide-sm { display: none; }
}

/* Hero */
.hero { position: relative; color: var(--white); background: var(--charcoal); }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,41,34,.88) 0%, rgba(31,41,34,.6) 55%, rgba(31,41,34,.25) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(64px, 11vw, 140px); padding-bottom: clamp(64px, 11vw, 140px); }
.hero h1 { color: var(--white); max-width: 18ch; }
.hero p { font-size: 1.18rem; max-width: 40rem; color: #EEF0EC; }
.hero .eyebrow { color: #F0B08A; }
.hero-sm .wrap { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(48px, 8vw, 96px); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: .92rem; font-weight: 600; color: #EEF0EC; }
.trust span::before { content: "\2713"; color: #F0B08A; margin-right: 7px; }

/* Sections */
section { padding: clamp(52px, 8vw, 96px) 0; }
.bg-stone { background: var(--stone-light); }
.bg-green { background: var(--evergreen); color: #E9ECE6; }
.bg-green h2, .bg-green h3 { color: var(--white); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .97rem; }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; }
.card .more::after { content: " \2192"; }
a.card { text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
a.card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.1); transform: translateY(-2px); }

/* Feature list */
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--orange); box-shadow: inset 0 0 0 4px #F7D9C7; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--evergreen); color: var(--white); font-family: var(--serif); font-weight: 700; margin-bottom: 14px; }
.bg-green .step { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.bg-green .step::before { background: var(--orange); }
.bg-green .step p { color: #D7DCD3; }

/* Reviews */
.stars { color: #E0A21B; letter-spacing: 2px; font-size: 1.05rem; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 0; display: flex; flex-direction: column; }
.review blockquote { margin: 10px 0 16px; font-size: 1.02rem; }
.review figcaption { margin-top: auto; font-weight: 700; color: var(--evergreen); font-size: .95rem; }
.review figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.rating-line { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }

/* Warranty band */
.promise { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.badge15 { width: 128px; height: 128px; border-radius: 50%; background: var(--orange); color: var(--white); display: grid; place-items: center; text-align: center; font-family: var(--serif); font-weight: 900; line-height: 1; box-shadow: 0 0 0 6px rgba(200,100,44,.25); }
.badge15 b { font-size: 2.6rem; display: block; }
.badge15 small { font-family: var(--sans); font-size: .68rem; letter-spacing: .14em; font-weight: 700; }
@media (max-width: 760px) { .promise { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 1em; }
.areas li a, .areas li span { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--evergreen); font-weight: 600; text-decoration: none; }
.areas li a:hover { border-color: var(--orange); color: var(--orange-dark); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-family: var(--serif); font-weight: 700; color: var(--evergreen); cursor: pointer; font-size: 1.08rem; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.5rem; color: var(--orange); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* CTA band */
.cta { background: var(--evergreen) url("img/patio-lighting-dusk.jpg") center / cover; position: relative; color: var(--white); }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(31,41,34,.86); }
.cta .wrap { position: relative; text-align: center; }
.cta h2 { color: var(--white); }
.cta p { color: #E1E5DE; max-width: 38rem; margin: 0 auto 1.4em; }
.cta .btn-row { justify-content: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-grid .form-card { order: -1; } }
.info-card { background: var(--stone-light); border-radius: var(--radius); padding: 28px; }
.info-card a { font-weight: 700; color: var(--evergreen); text-decoration: none; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; min-height: 400px; }

/* Footer */
.site-footer { background: var(--charcoal); color: #C9CEC6; font-size: .93rem; padding: 56px 0 100px; }
.site-footer a { color: #E9ECE6; text-decoration: none; }
.site-footer a:hover { color: #F0B08A; }
.site-footer h4 { color: var(--white); font-size: 1rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 6px; }
.foot .brand span { color: var(--white); }
.foot .brand small { color: #AEB4AB; }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: #9DA39A; font-size: .85rem; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
  .callbar a { padding: 15px 10px; text-align: center; font-weight: 700; text-decoration: none; color: var(--white); background: var(--evergreen); }
  .callbar a + a { background: var(--orange); }
  body { font-size: 16px; }
}

.crumbs { font-size: .85rem; color: var(--muted); padding: 14px 0 0; }
.crumbs a { color: var(--muted); }
.note { font-size: .88rem; color: var(--muted); }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.4em; }
