/* EcoCurve Pest Solutions — site styles */
:root {
  --forest: #17402a;      /* primary dark green */
  --forest-2: #225a3b;
  --shield: #9bd14b;      /* logo green, used as fill with forest text */
  --shield-soft: #e4f2cf;
  --sky: #eef4f1;         /* light section background */
  --ink: #1c2722;
  --muted: #4d5c55;
  --line: #d5e0da;
  --wheat: #e0a82e;       /* stars */
  --white: #ffffff;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --wrap: 1160px;
  --display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --body: "Source Sans 3", "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--forest-2); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid #2f7de1; outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); color: var(--forest); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lede { font-size: 1.25rem; color: var(--muted); max-width: 38em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--sky { background: var(--sky); }
.section--forest { background: var(--forest); color: #e8f0eb; }
.section--forest h2, .section--forest h3 { color: var(--white); }
.prose { max-width: 42em; }
.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* Offer strip */
.offer-strip { background: var(--shield); color: var(--forest); font-weight: 600; text-align: center; padding: 8px 16px; font-size: 1rem; }
.offer-strip a { color: var(--forest); font-weight: 700; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); }
.brand-mark { width: 38px; height: 44px; flex: none; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1; }
.brand-name small { display: block; font-family: var(--body); font-weight: 600; font-size: .78rem; color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > a, .nav summary { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.nav > a:hover, .nav summary:hover { background: var(--sky); }
.nav > a[aria-current="page"] { color: var(--forest); box-shadow: inset 0 -3px 0 var(--shield); border-radius: 0; }
.nav details { position: relative; }
.nav summary { list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); margin-left: 8px; }
.nav .menu { position: absolute; top: calc(100% + 8px); left: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px; min-width: 250px; box-shadow: 0 12px 30px rgba(23, 64, 42, .14); }
.nav .menu a { display: block; padding: 8px 12px; border-radius: 6px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1rem; }
.nav .menu a:hover { background: var(--sky); }
.header-call { display: flex; align-items: center; gap: 12px; }
.phone-link { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--forest); text-decoration: none; white-space: nowrap; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: 600 1rem var(--body); color: var(--forest); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1.05rem var(--body); text-decoration: none; padding: 14px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s; }
.btn--lime { background: var(--shield); color: var(--forest); }
.btn--lime:hover { background: #8cc23c; color: var(--forest); }
.btn--forest { background: var(--forest); color: var(--white); }
.btn--forest:hover { background: var(--forest-2); color: var(--white); }
.btn--ghost { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn--ghost:hover { background: var(--forest); color: var(--white); }
.btn--sm { padding: 10px 18px; font-size: .98rem; }

/* Hero */
.hero { position: relative; background: var(--sky); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; padding: clamp(40px, 6vw, 80px) 0 clamp(120px, 14vw, 170px); position: relative; z-index: 2; }
.hero h1 { max-width: 11em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-curve { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: clamp(110px, 15vw, 190px); z-index: 1; pointer-events: none; }
.hero-curve .ground { fill: var(--white); }
.hero-curve .barrier { fill: none; stroke: var(--shield); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 1.6s .3s cubic-bezier(.6, .1, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.page-hero { background: var(--sky); position: relative; overflow: hidden; }
.page-hero .wrap { padding: clamp(36px, 5vw, 64px) 0 clamp(90px, 10vw, 130px); position: relative; z-index: 2; }
.page-hero .hero-curve { height: clamp(70px, 9vw, 110px); }
.crumbs { font-size: .95rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

/* Rating badge */
.rating { display: inline-flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px 8px 10px; text-decoration: none; color: var(--ink); }
.rating .g { width: 30px; height: 30px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; font: 800 1rem var(--display); color: var(--forest); }
.rating strong { font-family: var(--display); font-size: 1.2rem; color: var(--forest); }
.stars { color: var(--wheat); letter-spacing: 2px; font-size: 1.05rem; }
.rating span.count { color: var(--muted); font-size: .98rem; }

/* Quote form */
.quote { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 18px 50px rgba(23, 64, 42, .16); border: 1px solid var(--line); }
.quote h2 { font-size: 1.6rem; margin-bottom: 4px; }
.quote > p { color: var(--muted); font-size: 1rem; }
.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem var(--body); padding: 11px 12px; border: 1.5px solid #b9c8c0; border-radius: 8px; background: var(--white); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest-2); outline: 2px solid var(--shield); outline-offset: 0; }
.field textarea { min-height: 90px; resize: vertical; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: .82rem; color: var(--muted); line-height: 1.45; margin: 4px 0 16px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--forest); }
.quote .btn { width: 100%; }
.hp { position: absolute; left: -9999px; }

/* Services list (home) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--forest); margin-top: 36px; }
.svc { padding: 26px 26px 30px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); display: block; }
.svc:nth-child(3n+2), .svc:nth-child(3n) { padding-left: 26px; border-left: 1px solid var(--line); }
.svc h3 { margin-bottom: 6px; }
.svc p { color: var(--muted); font-size: 1.02rem; margin: 0; }
.svc .more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--forest-2); text-decoration: underline; text-decoration-color: var(--shield); text-decoration-thickness: 3px; }
.svc:hover h3 { color: var(--forest-2); }

/* Split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split--top { align-items: start; }

/* Photo placeholders — swap for real photos */
.ph { position: relative; border-radius: var(--radius-lg); background: linear-gradient(160deg, #cfe3d6, #a9cbb5); aspect-ratio: 4 / 3; display: grid; place-items: end start; padding: 16px; overflow: hidden; margin: 0; }
.ph::before { content: ""; position: absolute; inset: auto -10% -35% -10%; height: 70%; border-radius: 50% 50% 0 0; background: rgba(23, 64, 42, .12); }
.ph figcaption { position: relative; background: rgba(255, 255, 255, .88); color: var(--forest); font-size: .85rem; font-weight: 600; padding: 6px 10px; border-radius: 6px; }

/* Steps (true sequence) */
.steps { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: s; display: grid; gap: 22px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--shield); color: var(--forest); font: 800 1.2rem var(--display); display: grid; place-items: center; }
.steps h3 { margin: 6px 0 4px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); }

/* Check list */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 34px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--shield-soft); }
.checks li::after { content: ""; position: absolute; left: 8px; top: 8px; width: 6px; height: 11px; border-right: 2.5px solid var(--forest); border-bottom: 2.5px solid var(--forest); transform: rotate(45deg); }
.section--forest .checks li::before { background: rgba(155, 209, 75, .25); }
.section--forest .checks li::after { border-color: var(--shield); }

/* Facts row */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 32px; border-top: 1px solid rgba(255,255,255,.2); }
.facts div { padding: 22px 22px 0 0; }
.facts div + div { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.2); }
.facts strong { display: block; font-family: var(--display); font-size: 1.35rem; color: var(--white); margin-bottom: 4px; }

/* Reviews */
.reviews-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; }
.review-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.review { background: var(--white); border-radius: var(--radius-sm); padding: 24px; border-left: 4px solid var(--shield); margin: 0; }
.review blockquote { margin: 10px 0 14px; font-size: 1.05rem; }
.review figcaption { font-weight: 700; color: var(--forest); font-size: .98rem; }
.review figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }
.review-note { font-size: .9rem; color: var(--muted); margin-top: 18px; }

/* Offer block */
.offer { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; background: var(--forest); color: #e8f0eb; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); }
.offer .big { font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 8vw, 5.6rem); line-height: .9; color: var(--shield); }
.offer .big small { display: block; font-size: 1.2rem; color: #e8f0eb; font-weight: 700; margin-top: 6px; }
.offer h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2rem); }
.offer p { margin: 0; }
.fine { font-size: .9rem; opacity: .85; margin-top: 8px !important; }

/* Towns */
.towns { columns: 4 170px; column-gap: 28px; padding: 0; list-style: none; margin: 24px 0 0; }
.towns li { break-inside: avoid; padding: 4px 0; }
.towns a { font-weight: 700; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 46em; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--forest); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--forest-2); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--shield); color: var(--forest); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 40px 0; }
.cta-band h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); }

/* Commercial property list */
.cols { columns: 3 200px; column-gap: 32px; padding: 0; list-style: none; }
.cols li { padding: 6px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }

/* Footer */
.site-footer { background: #10301f; color: #c6d6cc; padding: 56px 0 100px; font-size: 1rem; }
.site-footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: var(--white); font-size: 1.05rem; }
.site-footer a { color: #e3ede7; text-decoration: none; }
.site-footer a:hover { color: var(--shield); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; }
.site-footer .brand { color: var(--white); margin-bottom: 14px; }
.site-footer .brand-name small { color: #a9bdb1; }

/* Mobile call bar */
.callbar { display: none; }

@media (max-width: 960px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .svc-grid, .review-list { grid-template-columns: 1fr 1fr; }
  .svc, .svc:nth-child(3n+2), .svc:nth-child(3n) { padding: 22px 20px 24px 0; border-left: 0; }
  .svc:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
  .offer { grid-template-columns: 1fr; text-align: left; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 12px 16px 20px; gap: 2px; }
  .nav.open .menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .menu-toggle { display: inline-block; }
  .header-call .btn { display: none; }
  .header-call { margin-left: 0; }
}
@media (max-width: 640px) {
  body { font-size: 1.06rem; }
  .svc-grid, .review-list, .facts { grid-template-columns: 1fr; }
  .svc:nth-child(2n) { padding-left: 0; border-left: 0; }
  .facts div + div { padding-left: 0; border-left: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .site-footer .grid { grid-template-columns: 1fr; }
  .phone-link.in-header { display: none; }
  .brand-name { font-size: 1.15rem; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--white); border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .callbar .btn { padding: 12px; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-curve .barrier { animation: none; stroke-dashoffset: 0; }
}

/* Refinements */
.nav > a, .nav summary, .header-call .btn, .phone-link { white-space: nowrap; }
.brand-name small { white-space: nowrap; }
.hero + .section, .page-hero + .section { padding-top: clamp(16px, 3vw, 40px); }
.section--tight { padding: clamp(32px, 5vw, 56px) 0; }
.rating .count { white-space: nowrap; }
@media (max-width: 1180px) {
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 12px 16px 20px; gap: 2px; }
  .nav.open .menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .menu-toggle { display: inline-block; }
  .header-call { margin-left: 0; }
}
@media (max-width: 640px) {
  .rating { gap: 8px; padding: 6px 14px 6px 8px; }
  .rating .stars { font-size: .9rem; letter-spacing: 1px; }
  .rating span.count { font-size: .9rem; }
}
.prose > h2:first-child { margin-top: 0; }
.nav > a, .nav summary { padding: 8px 10px; }
.site-header .wrap { gap: 18px; }
/* Logo */
.brand-logo { height: 66px; width: auto; }
.brand-logo--footer { height: 120px; }
.site-header .wrap { min-height: 84px; }
@media (max-width: 640px) { .brand-logo { height: 56px; } }
.brand-logo { height: 74px; }
.site-header .wrap { min-height: 92px; }
@media (max-width: 640px) { .brand-logo { height: 60px; } .site-header .wrap { min-height: 76px; } }
/* Header balance */
.brand-logo { height: 96px; }
.site-header .wrap { min-height: 112px; gap: 28px; }
.nav { margin-left: auto; margin-right: auto; }
.header-call { gap: 18px; }
@media (max-width: 1180px) { .menu-toggle { margin-left: auto; } .brand-logo { height: 80px; } .site-header .wrap { min-height: 96px; } }
@media (max-width: 640px) { .brand-logo { height: 64px; } .site-header .wrap { min-height: 80px; } }
