/* ==========================================================================
   Brand Property Maintenance — core stylesheet
   Theme is driven entirely by the tokens in :root. Swapping the whole site to
   a different look from /designs is a matter of changing these values only.
   ========================================================================== */

:root {
  /* Brand */
  --green: #2FB135;
  --green-dark: #1B7A20;
  --green-deep: #0F4A14;
  --green-light: #4FD455;
  --green-wash: #EAF8EB;

  --ink: #101410;
  --ink-soft: #3E463E;
  --ink-mute: #6B746B;

  --paper: #FFFFFF;
  --paper-alt: #F5F8F5;
  --line: #E1E7E1;

  --focus: #1B7A20;

  /* Type */
  --font-display: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Space + shape */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --wrap: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(16, 20, 16, .06), 0 8px 24px rgba(16, 20, 16, .07);
  --shadow-lg: 0 2px 4px rgba(16, 20, 16, .06), 0 24px 60px rgba(16, 20, 16, .13);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  font-weight: 800;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-dark); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }

img, svg { max-width: 100%; height: auto; display: block; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--alt { background: var(--paper-alt); }
.section--green { background: var(--green-deep); color: #D9EFDA; }
.section--green h2, .section--green h3 { color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Eyebrow + lead ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-dark); margin: 0 0 .9rem;
  display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--green); border-radius: 2px; }
.section--green .eyebrow { color: var(--green-light); }

.lead { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--ink-soft); max-width: 60ch; }
.section--green .lead { color: #C6E6C8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: .95rem 1.7rem; border-radius: 100px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(47, 177, 53, .32); }
.btn--primary:hover { background: var(--green-dark); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.section--green .btn--ghost { color: #fff; }
.section--green .btn--ghost:hover { background: #fff; color: var(--green-deep); }
.btn--lg { padding: 1.15rem 2.2rem; font-size: 1.075rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__bar { display: flex; align-items: center; gap: 1.5rem; height: 76px; }
.header__logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.header__logo img { height: 46px; width: auto; }
.header__logo-text { font-family: var(--font-display); font-weight: 800; color: var(--ink); line-height: 1.05; font-size: 1.05rem; letter-spacing: -.02em; }
.header__logo-text span { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .13em; color: var(--ink-mute); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  color: var(--ink); text-decoration: none; padding: .4rem 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--green); transition: right .2s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }

.header__cta { display: flex; align-items: center; gap: .8rem; }
.header__phone {
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
}
.header__phone:hover { color: var(--green-dark); }

.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink);
}

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .header__phone span { display: none; }
  .nav {
    position: fixed; inset: 76px 0 auto; background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem var(--gutter) 2rem; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%); transition: transform .25s ease; visibility: hidden;
  }
  .nav[data-open="true"] { transform: translateY(0); visibility: visible; }
  .nav a { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a::after { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--green-deep) 0%, #113D16 55%, #0A2F0D 100%);
  color: #E4F4E5;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -35% 40%; height: 70%;
  background: radial-gradient(closest-side, rgba(47, 177, 53, .45), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; padding-block: clamp(3.5rem, 8vw, 6rem);
}
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--green-light); }
.hero .lead { color: #B9DEBB; }
.hero__eyebrow { color: var(--green-light); }
.hero__eyebrow::before { background: var(--green-light); }

.hero__trust { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.16); }
.hero__trust div { display: flex; align-items: center; gap: .55rem; font-size: .92rem; color: #B9DEBB; }
.hero__trust svg { flex: none; color: var(--green-light); }

/* Quote card */
.quote-card {
  background: var(--paper); color: var(--ink-soft);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-lg);
}
.quote-card h2 { font-size: 1.5rem; margin-bottom: .3rem; }
.quote-card p.small { font-size: .9rem; color: var(--ink-mute); margin-bottom: 1.4rem; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
}

/* ---------- Forms ---------- */
.field { margin-bottom: 1rem; }
.field label {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: .85rem; color: var(--ink); margin-bottom: .4rem;
}
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--paper); transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-wash);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .82rem; color: var(--ink-mute); margin-top: .9rem; }
.hp { position: absolute; left: -9999px; }

/* ---------- Photo / file attachments ---------- */
.dropzone {
  position: relative; display: block; width: 100%;
  border: 2px dashed var(--line); border-radius: 10px;
  background: var(--paper-alt);
  padding: 1.4rem 1.1rem; text-align: center; cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}
.dropzone:hover { border-color: var(--green); }
.dropzone:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-wash); }
.dropzone[data-drag="true"] { border-color: var(--green); background: var(--green-wash); }
.dropzone input[type="file"] {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;
}
.dropzone__icon { color: var(--green); display: block; margin: 0 auto .45rem; }
.dropzone__main { display: block; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: .98rem; }
.dropzone__sub  { display: block; font-size: .82rem; color: var(--ink-mute); margin-top: .28rem; }
@media (max-width: 520px) {
  .dropzone { padding: 1.05rem .75rem; }
  .dropzone__main { font-size: .92rem; }
  .dropzone__sub { font-size: .76rem; }
  .dropzone__sub br { display: none; }
}

.filelist { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .5rem; }
.filelist li {
  display: flex; align-items: center; gap: .7rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 9px; padding: .5rem .6rem;
}
.filelist img, .filelist .filelist__doc {
  flex: none; width: 42px; height: 42px; border-radius: 6px; object-fit: cover;
  background: var(--paper-alt); display: grid; place-items: center; color: var(--green-dark);
}
.filelist__meta { min-width: 0; flex: 1; }
.filelist__name { display: block; font-size: .86rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.filelist__size { display: block; font-size: .76rem; color: var(--ink-mute); }
.filelist__remove {
  flex: none; border: 0; background: transparent; cursor: pointer; padding: .35rem;
  border-radius: 6px; color: var(--ink-mute); line-height: 0;
}
.filelist__remove:hover { background: #FDECEC; color: #B3261E; }
.filelist__remove:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }

.form-status { margin-top: .9rem; font-size: .9rem; border-radius: 9px; padding: .75rem .9rem; display: none; }
.form-status[data-state] { display: block; }
.form-status[data-state="error"]   { background: #FDECEC; color: #8C1D18; border: 1px solid #F5C2C0; }
.form-status[data-state="success"] { background: var(--green-wash); color: #14571A; border: 1px solid #B9E3BC; }
.form-status[data-state="working"] { background: var(--paper-alt); color: var(--ink-mute); border: 1px solid var(--line); }
form.is-submitting { opacity: .6; pointer-events: none; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C9D6C9; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .96rem; margin-bottom: 0; }
.card__icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--green-wash); color: var(--green-dark); margin-bottom: 1.1rem;
}
.section--alt .card { background: var(--paper); }

.card--flat { border: 0; background: var(--green-wash); }
.card--flat:hover { transform: none; box-shadow: none; }

/* Numbered steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 4.2rem; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; left: 0; top: -.15rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem;
  color: var(--green); line-height: 1;
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; }
.stat strong {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--green-light); line-height: 1; letter-spacing: -.03em;
}
.stat span { font-size: .93rem; color: #A9D3AB; }

/* Checklist */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; }
.ticks li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: .15rem;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Pills / area list */
.pills { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin: 0; padding: 0; }
.pills li {
  font-size: .9rem; padding: .45rem 1rem; border-radius: 100px;
  background: var(--green-wash); color: var(--green-deep); font-weight: 500;
}
.section--green .pills li { background: rgba(255,255,255,.1); color: #DCF0DD; }

/* Testimonials */
.quote {
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--green);
  border-radius: var(--radius); padding: 1.75rem;
}
.quote blockquote { margin: 0 0 1.1rem; font-size: 1.02rem; color: var(--ink); }
.quote figcaption { font-size: .88rem; color: var(--ink-mute); font-weight: 500; }
.stars { color: #F5A623; letter-spacing: 2px; margin-bottom: .8rem; font-size: 1rem; }

/* Price cards */
.price {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem; display: flex; flex-direction: column;
}
.price--feature { border-color: var(--green); box-shadow: var(--shadow); position: relative; }
.price--feature::before {
  content: "Most popular"; position: absolute; top: -13px; left: 2rem;
  background: var(--green); color: #fff; font-family: var(--font-display);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .85rem; border-radius: 100px;
}
.price__amount { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.price__amount small { font-size: .95rem; font-weight: 600; color: var(--ink-mute); letter-spacing: 0; }
.price .ticks { margin: 1.4rem 0 1.8rem; }
.price .btn { margin-top: auto; }

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line); padding: 1.25rem 0;
}
.faq summary {
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--ink);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--green); flex: none; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: .9rem; margin-bottom: 0; }

/* CTA band */
.cta-band {
  background: var(--green); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; gap: 2rem;
  align-items: center; justify-content: space-between;
}
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0; max-width: 46ch; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #9AA69A; padding-block: clamp(3rem, 6vw, 4.5rem) 0; font-size: .93rem; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer a { color: #C4CFC4; text-decoration: none; }
.footer a:hover { color: var(--green-light); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer__logo img { height: 54px; margin-bottom: 1.1rem; }
.footer__bottom {
  margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid #262E26;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .85rem;
}
.social { display: flex; gap: .6rem; }
.social a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: #1D251D; color: #C4CFC4;
}
.social a:hover { background: var(--green); color: #fff; }

/* ---------- Page header (interior pages) ---------- */
.page-head {
  background: var(--green-deep); color: #C6E6C8;
  padding-block: clamp(3rem, 6vw, 5rem);
}
.page-head h1 { color: #fff; margin-bottom: .5rem; }
.page-head p { color: #A9D3AB; max-width: 58ch; margin: 0; }
.crumbs { font-size: .85rem; color: #7FB482; margin-bottom: 1rem; }
.crumbs a { color: #7FB482; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-3 { margin-bottom: 3rem; }
.measure { max-width: 68ch; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Reveal on scroll.
   Only hidden once the .js class confirms scripting is live, so a blocked or
   failed script leaves the content visible rather than blank. */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}

/* Sticky mobile call bar */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  background: var(--ink); padding: .6rem; gap: .6rem;
  box-shadow: 0 -6px 24px rgba(0,0,0,.18);
}
.callbar .btn { flex: 1; padding: .85rem 1rem; font-size: .95rem; }
@media (max-width: 740px) {
  .callbar { display: flex; }
  body { padding-bottom: 74px; }
}

/* ---------- Work gallery ---------- */
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.shot { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.shot img { display: block; width: 100%; height: 230px; object-fit: cover; background: var(--paper-alt); }
.shot figcaption { padding: .8rem 1rem; font-size: .9rem; color: var(--ink-mute); }
@media (max-width: 520px) { .shot img { height: 200px; } }
