/* ==========================================================================
   High Quality Landscaping — main stylesheet

   Colour tokens, fonts, header, hero and trust bar are in the <style> block
   in index.html so the first screen paints without waiting for this file.
   Everything below the fold is here.

   Measured contrast (WCAG 2.1) for every pair used in this file:
     slate on ivory / white / wash ..... 13.09 / 14.37 / 12.12
     ivory / white on slate ............ 13.09 / 14.37
     muted on ivory / white ............ 5.74 / 6.30
     sage-deep on ivory / white / wash . 6.07 / 6.67 / 5.62
     sage on slate ..................... 4.82
     brass on ivory / white / wash ..... 5.63 / 6.18 / 5.21
     brass-light on slate .............. 6.37
   ========================================================================== */

a { color: var(--sage-deep); text-underline-offset: .2em; }
a:hover { color: var(--slate); }

.section { padding: 4.5rem 0; }
.section h2 { font-size: clamp(1.85rem, 1.35rem + 2.2vw, 2.85rem); }
.lede { font-size: 1.125rem; color: var(--muted); max-width: 42ch; }
.lede a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }
.kicker {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 .9rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass);
}
.kicker::before { content: ""; width: 2rem; height: 1px; background: var(--brass); }

/* --------------------------------------------- services: editorial list */

.services-grid { display: grid; gap: 2.5rem; }
.services-photo { margin-top: 2rem; }
.services-photo img { aspect-ratio: 4 / 5; object-fit: cover; background: var(--wash); }

.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.svc {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--rule);
}
.svc-num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--brass);
  font-variant-numeric: lining-nums;
}
.svc h3 { font-size: 1.45rem; margin-bottom: .35rem; }
.svc p { margin: 0; color: var(--muted); max-width: 46ch; }

/* ------------------------------------------- how estimates work + CTA */

.how { background: var(--wash); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 2rem; }
.step { border-top: 1px solid var(--sage); padding-top: 1.25rem; }
.step-num {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 3rem;
  line-height: 1;
  color: var(--brass);
  margin-bottom: .6rem;
}
.step h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.step p { margin: 0; color: var(--muted); }

.cta {
  margin-top: 3.25rem;
  padding: 2.25rem 1.5rem;
  background: var(--slate);
  color: var(--ivory);
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
.cta-title { color: var(--ivory); font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.cta p { color: var(--ivory); }
.cta .badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: .5rem 0 0;
  padding: .55rem .9rem;
  border: 1px solid var(--brass-lt);
  color: var(--brass-lt);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.cta-actions { display: grid; gap: .7rem; }
.btn-light { background: var(--ivory); color: var(--slate); min-height: 60px; font-size: 1.1rem; }
.btn-light:hover { background: var(--white); color: var(--slate); }
.btn-ghost-light { background: transparent; color: var(--ivory); border-color: var(--ivory); }
.btn-ghost-light:hover { background: var(--ivory); color: var(--slate); }

/* ---------------------------------------------------------------- area */

.area-grid { display: grid; gap: 2rem; align-items: start; }
.towns {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 2rem;
  border-top: 1px solid var(--rule);
}
.area-note { font-size: .95rem; color: var(--muted); max-width: 46ch; border-left: 2px solid var(--brass); padding-left: 1rem; }
.towns li {
  break-inside: avoid;
  padding: .8rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
}

/* ------------------------------------------------------------ estimate */

.estimate { background: var(--white); border-top: 1px solid var(--rule); }
.estimate-grid { display: grid; gap: 2.5rem; align-items: start; }
.estimate-photo { margin-top: 1.75rem; }
.estimate-photo img { aspect-ratio: 3 / 2; object-fit: cover; background: var(--wash); }

.estimate-form { background: var(--ivory); border: 1px solid var(--rule); border-top: 3px solid var(--slate); padding: 1.5rem 1.25rem 1.75rem; }
.field { margin: 0 0 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: .7rem .85rem;
  font: inherit;
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--muted);
  border-radius: 2px;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
  border-color: var(--slate);
}
.btn-submit { width: 100%; background: var(--slate); color: var(--white); min-height: 56px; font-size: 1.05rem; }
.btn-submit:hover { background: var(--slate-2); }
.btn-submit[disabled] { opacity: .8; cursor: progress; }
.btn .spinner {
  width: 1.1em;
  height: 1.1em;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Honeypot: off-screen, not display:none (some bots skip hidden fields). */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-status { margin: 1rem 0 0; padding: .85rem 1rem; font-weight: 600; border-left: 3px solid; }
/* slate on wash 12.12 · #6b3e12 on #f6ecdf = 8.34 */
.form-status--ok { background: var(--wash); color: var(--slate); border-color: var(--sage-deep); }
.form-status--err { background: #f6ecdf; color: #6b3e12; border-color: var(--brass); }
.form-status a { color: inherit; font-weight: 700; }

/* -------------------------------------------------------------- footer */

.site-footer { background: var(--slate); color: var(--ivory); padding: 3.5rem 0 1.5rem; }
.site-footer a { color: var(--ivory); display: inline-flex; align-items: center; min-height: 48px; }
.site-footer a:hover { color: var(--brass-lt); }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand { display: flex; gap: 1rem; align-items: center; }
.footer-brand picture { flex: none; display: block; }
.footer-logo { display: block; width: 90px; height: 64px; border-radius: 3px; }
.site-footer .footer-fb { gap: .45rem; }
.site-footer p { margin: 0; }
.footer-name { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1.1; }
.footer-name span { font-family: var(--sans); font-size: .7rem; letter-spacing: .25em; color: var(--sage); }
.site-footer .footer-badge { margin-top: .4rem; font-size: .85rem; font-weight: 600; color: var(--brass-lt); }
.site-footer h2 { font-size: 1.1rem; color: var(--ivory); margin-bottom: .2rem; }
.footer-phone { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; }
.site-footer .footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--slate-2); font-size: .9rem; color: var(--sage); }

/* --------------------------------------------- deferred photos (no JS) */
.no-js img[data-src] { display: none; }
.services-photo > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.estimate-photo > img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------------------------------------------------------- breakpoints */

@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .cta { padding: 3rem; }
  .cta-actions { grid-template-columns: auto auto; justify-content: start; }
  .estimate-form { padding: 2rem; }
  .towns { columns: 3; }
}

@media (min-width: 900px) {
  .section { padding: 6.5rem 0; }
  .services-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 5rem; align-items: start; }
  .services-intro { position: sticky; top: calc(var(--head) + 2rem); }
  .svc { grid-template-columns: 4.5rem 1fr; padding: 2rem 0; }
  .svc-num { font-size: 2rem; }
  .cta { grid-template-columns: 1.2fr auto; padding: 3.5rem 4rem; }
  .cta-actions { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; }
  .estimate-grid { grid-template-columns: 1fr 1.1fr; gap: 5rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}

@media (prefers-reduced-motion: reduce) {
  .btn .spinner { animation: none; }
}
