/* Forte Landscapes — shared styles for every page. */
:root {
  --brown: #5d4037;
  --brown-dark: #2e1f12;
  --brown-light: #8d6e63;
  --green: #4caf50;      /* brand green (accents, icons) */
  --green-ink: #27692b;  /* readable green for buttons/text on light backgrounds */
  --cream: #faf7f2;
  --sand: #f1ebe1;
  --ink: #2e1f12;
  --muted: #6d5d52;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(46, 31, 18, .10);
  --shadow-lg: 0 18px 44px rgba(46, 31, 18, .18);
  --wrap: 1180px;
  --head: 'Montserrat', system-ui, sans-serif;
  --body: 'Open Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; overflow-x: clip; font-family: var(--body); color: var(--ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-ink); }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow { font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green-ink); margin-bottom: .6rem; display: block; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 640px; margin-bottom: 2.4rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.center { text-align: center; margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brown-dark); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .9em 1.5em; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: .98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; min-height: 48px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--green-ink); color: #fff; }
.btn-primary:hover { background: #256b29; }
.btn-dark { background: var(--brown-dark); color: #fff; }
.btn-light { background: #fff; color: var(--brown-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: transparent; color: var(--brown-dark); border-color: var(--brown-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 242, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(46,31,18,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { font-family: var(--head); font-weight: 800; font-size: 1.25rem; letter-spacing: .04em; color: var(--brown-dark); text-decoration: none; display: flex; align-items: center; gap: .5em; }
.logo i { color: var(--green); }
.logo span { font-weight: 300; }
.nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: .6em .85em; border-radius: 10px; color: var(--brown-dark); text-decoration: none; font-family: var(--head); font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sand); }
.nav .has-sub { position: relative; }
.nav .sub { position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { padding: .65em 1.15em; min-height: 44px; font-size: .92rem; }
.menu-btn { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--brown-dark); width: 48px; height: 48px; border-radius: 10px; cursor: pointer; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .header-actions .btn-call, .header-actions .btn-primary { display: none; }
  .site-header .wrap { min-height: 64px; }
  .nav { inset: 64px 0 auto 0; max-height: calc(100vh - 64px); }
  html { scroll-padding-top: 76px; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--cream); padding: 12px 16px 20px; border-bottom: 1px solid rgba(46,31,18,.1); box-shadow: var(--shadow); display: none; max-height: calc(100vh - 72px); overflow: auto; }
  .nav.open { display: flex; }
  .nav a { padding: .9em 1em; font-size: 1.05rem; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 14px; background: transparent; }
}

/* Mobile action bar */
.action-bar { display: none; }
@media (max-width: 900px) {
  .action-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--brown-dark); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 20px rgba(0,0,0,.18); }
  .action-bar a { color: #fff; text-decoration: none; text-align: center; padding: 10px 4px 9px; font-family: var(--head); font-weight: 700; font-size: .8rem; display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 56px; justify-content: center; }
  .action-bar a i { font-size: 1.15rem; }
  .action-bar a.primary { background: var(--green-ink); }
  body { padding-bottom: 64px; }
}

/* Hero */
.hero { position: relative; color: #fff; min-height: min(88vh, 760px); display: grid; align-items: end; overflow: hidden; background: var(--brown-dark); }
.hero picture, .hero > img { position: absolute; inset: 0; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,13,7,.15) 0%, rgba(20,13,7,.35) 45%, rgba(20,13,7,.85) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: 120px 0 clamp(48px, 8vw, 88px); }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -.02em; max-width: 14ch; }
.hero p { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 560px; color: rgba(255,255,255,.92); }
.hero .eyebrow { color: #a5d6a7; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 1.6rem; font-size: .92rem; color: rgba(255,255,255,.88); }
.hero-badges span { display: inline-flex; align-items: center; gap: .45em; }
.hero-badges i { color: #a5d6a7; }

/* Page hero (service pages) */
.page-hero { background: var(--brown-dark); color: #fff; padding: clamp(56px, 9vw, 104px) 0 clamp(44px, 7vw, 72px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 85% 0%, rgba(76,175,80,.28), transparent 55%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
.page-hero p { max-width: 620px; font-size: 1.12rem; color: rgba(255,255,255,.9); }
.page-hero .eyebrow { color: #a5d6a7; }
.crumbs { font-size: .88rem; margin-bottom: 1rem; color: rgba(255,255,255,.7); }
.crumbs a { color: rgba(255,255,255,.85); }

/* Before / after slider */
.ba { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 4; max-height: 82vh; background: var(--sand); --pos: 50%; user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba .ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.35); pointer-events: none; }
.ba .ba-knob { position: absolute; top: 50%; left: var(--pos); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; color: var(--brown-dark); display: grid; place-items: center; box-shadow: var(--shadow-lg); pointer-events: none; font-size: 1rem; }
.ba .ba-tag { position: absolute; top: 14px; padding: .3em .8em; border-radius: 999px; background: rgba(20,13,7,.7); color: #fff; font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.ba .ba-tag.l { left: 14px; }
.ba .ba-tag.r { right: 14px; }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba:has(input:focus-visible) .ba-knob { outline: 3px solid var(--green); outline-offset: 3px; }
.work-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.work-grid .ba { max-width: 520px; width: 100%; justify-self: center; }
.work-copy ul { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; }
.work-copy li { display: flex; gap: .7em; margin-bottom: .6em; }
.work-copy li i { color: var(--green-ink); margin-top: .3em; }
.work-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 1.6rem; max-width: 440px; }
@media (max-width: 860px) { .work-grid { grid-template-columns: 1fr; } }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: .97rem; flex: 1; }
.card-link { font-family: var(--head); font-weight: 700; color: var(--green-ink); font-size: .92rem; }
.card-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); color: var(--green-ink); font-size: 1.35rem; margin-bottom: 14px; }

/* Why / features */
.why { background: var(--sand); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.why-item { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.why-item p { color: var(--muted); margin: 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: .75em; align-items: flex-start; background: #fff; padding: 14px 16px; border-radius: 12px; box-shadow: 0 2px 10px rgba(46,31,18,.06); }
.checks li i { color: var(--green-ink); margin-top: .25em; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Contact / quote */
.quote-band { background: var(--brown-dark); color: #fff; }
.quote-band h2 { color: #fff; }
.quote-band .section-head p { color: rgba(255,255,255,.82); }
.quote-band .eyebrow { color: #a5d6a7; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 14px; }
.contact-list a, .contact-list span { color: #fff; text-decoration: none; display: flex; align-items: center; gap: .8em; font-size: 1.05rem; }
.contact-list i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #a5d6a7; flex: none; }
.contact-list small { display: block; color: rgba(255,255,255,.65); font-size: .82rem; }

.form { background: #fff; color: var(--ink); border-radius: 18px; padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow-lg); }
.form h3 { margin-bottom: 1rem; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field legend { font-family: var(--head); font-weight: 700; font-size: .88rem; }
.field input, .field select, .field textarea { font: inherit; padding: .8em .9em; border: 1.5px solid #d9cfc3; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; min-height: 48px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-ink); outline: none; box-shadow: 0 0 0 3px rgba(46,125,50,.18); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
fieldset.field { border: 0; padding: 0; margin: 0 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { font-family: var(--body); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .45em; border: 1.5px solid #d9cfc3; padding: .55em .9em; border-radius: 999px; cursor: pointer; min-height: 44px; }
.chips input { accent-color: var(--green-ink); width: 18px; height: 18px; }
.chips label:has(input:checked) { border-color: var(--green-ink); background: #edf6ee; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-msg { display: none; border-radius: 12px; padding: 16px; margin-top: 14px; }
.form-msg.show { display: block; }
.form-msg.ok { background: #edf6ee; color: #1b5e20; }
.form-msg.err { background: #fdecea; color: #8a1c13; }
.form.sent .form-fields { display: none; }

/* Service areas */
.areas { display: flex; flex-wrap: wrap; gap: 12px; }
.areas span { background: #fff; border-radius: 999px; padding: .65em 1.2em; font-family: var(--head); font-weight: 700; box-shadow: 0 2px 10px rgba(46,31,18,.07); display: inline-flex; gap: .5em; align-items: center; }
.areas i { color: var(--green-ink); }

/* CTA band */
.cta { background: linear-gradient(120deg, var(--green-ink), #1b5e20); color: #fff; border-radius: 22px; padding: clamp(28px, 5vw, 48px); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta h2 { color: #fff; margin: 0 0 .2em; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta p { margin: 0; color: rgba(255,255,255,.9); }

/* Footer */
.site-footer { background: #1d140b; color: rgba(255,255,255,.75); padding: 64px 0 28px; font-size: .95rem; }
.site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: .04em; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

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

/* Chat bubble */
.fc [hidden] { display: none !important; }
.fc { position: fixed; right: 16px; bottom: 16px; z-index: 70; font-family: var(--body); }
@media (max-width: 900px) { .fc { bottom: calc(72px + env(safe-area-inset-bottom)); } }
.fc-btn { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--green-ink); color: #fff; font-size: 1.5rem; box-shadow: var(--shadow-lg); cursor: pointer; display: grid; place-items: center; transition: transform .15s; }
.fc-btn:hover { transform: scale(1.06); }
.fc-nudge { position: absolute; right: 70px; bottom: 10px; background: #fff; color: var(--brown-dark); padding: 10px 14px; border-radius: 14px 14px 4px 14px; box-shadow: var(--shadow-lg); font-family: var(--head); font-weight: 700; font-size: .92rem; white-space: nowrap; opacity: 0; transform: translateY(8px); pointer-events: none; transition: .25s; cursor: pointer; }
.fc-nudge.show { opacity: 1; transform: none; pointer-events: auto; }
.fc-panel { position: absolute; right: 0; bottom: 70px; width: min(360px, calc(100vw - 32px)); height: min(520px, calc(100vh - 180px)); background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; color: var(--ink); }
.fc-head { background: var(--brown-dark); color: #fff; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fc-title { font-family: var(--head); font-weight: 800; }
.fc-sub { font-size: .78rem; color: rgba(255,255,255,.7); }
.fc-close { background: none; border: 0; color: #fff; font-size: 1.2rem; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; }
.fc-close:hover { background: rgba(255,255,255,.12); }
.fc-log { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--cream); }
.fc-msg { max-width: 85%; padding: 10px 13px; border-radius: 14px; font-size: .95rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.fc-msg.bot { background: #fff; border-bottom-left-radius: 4px; box-shadow: 0 2px 8px rgba(46,31,18,.08); align-self: flex-start; }
.fc-msg.me { background: var(--green-ink); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.fc-msg.typing { color: var(--muted); letter-spacing: .2em; }
.fc-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 0; background: var(--cream); }
.fc-chip { border: 1.5px solid #d9cfc3; background: #fff; border-radius: 999px; padding: .45em .9em; font: inherit; font-size: .85rem; cursor: pointer; color: var(--brown-dark); }
.fc-chip:hover { border-color: var(--green-ink); }
.fc-form { display: flex; gap: 8px; padding: 10px 12px; background: var(--cream); }
.fc-input { flex: 1; font: inherit; padding: .7em .9em; border: 1.5px solid #d9cfc3; border-radius: 999px; min-height: 44px; }
.fc-input:focus { outline: none; border-color: var(--green-ink); box-shadow: 0 0 0 3px rgba(39,105,43,.18); }
.fc-send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--green-ink); color: #fff; cursor: pointer; }
.fc-send:disabled { opacity: .5; }
.fc-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(46,31,18,.08); }
.fc-foot a { text-align: center; padding: 10px 4px; font-family: var(--head); font-weight: 700; font-size: .82rem; color: var(--brown-dark); text-decoration: none; }
.fc-foot a:hover { background: var(--sand); }
@media (prefers-reduced-motion: reduce) { .fc-nudge, .fc-btn { transition: none; } }
