/* ==========================================================================
   Topiary & Turf Estate Care LLC — "Lexington Estate Garden"
   Palette: soft sage, warm grey, off-white. Serif headings / sans body.
   ========================================================================== */

:root {
  --cream: #faf8f4;
  --linen: #f3f0ea;
  --stone: #e8e3da;
  --sage-50: #eef1ea;
  --sage-100: #dfe5d8;
  --sage-300: #b4c0a7;
  --sage-500: #8a9a7b;
  --sage-700: #5d6b52;
  --sage-800: #4a5642;
  --grey-400: #a39d95;
  --grey-600: #77716a;
  --ink: #33372f;
  --ink-soft: #545a50;
  --white: #ffffff;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1200px;
  --radius: 4px;
  --shadow: 0 18px 40px -24px rgba(51, 55, 47, 0.28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sage-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sage-800); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.005em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.1em; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 48px, 760px); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sage-700);
  margin-bottom: 1.1rem;
}
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.7em;
  font: 500 .95rem/1 var(--sans);
  letter-spacing: .04em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--sage-700); color: #fff; }
.btn-primary:hover { background: var(--sage-800); color: #fff; }
.btn-light { background: rgba(255,255,255,.94); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-ghost.on-dark { color: #fff; }
.btn-ghost.on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(119, 113, 106, .14);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { font-family: var(--serif); font-size: 1.22rem; line-height: 1.05; }
.brand-text small { display: block; font-family: var(--sans); font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--grey-600); margin-top: 4px; }

.main-nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; align-items: center; }
.main-nav a { text-decoration: none; color: var(--ink-soft); font-size: .93rem; position: relative; padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--sage-700); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { text-decoration: none; color: var(--ink); font-size: .92rem; font-weight: 500; white-space: nowrap; }
.header-cta .btn { padding: .8em 1.3em; font-size: .88rem; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 5px 0; transition: transform .3s var(--ease), opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Media (with graceful image fallback) ---------- */
.media { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--sage-300), var(--sage-100) 55%, var(--stone)); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media img.is-broken { visibility: hidden; }
.media:hover img { transform: scale(1.03); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: #fff; }
.hero .media { position: absolute; inset: 0; }
.hero .media:hover img { transform: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,44,36,.05) 30%, rgba(40,44,36,.62) 100%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; padding: 0 0 clamp(56px, 10vh, 110px); }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: .4em; }
.hero p { font-size: 1.2rem; max-width: 52ch; color: rgba(255,255,255,.92); }
.hero .eyebrow { color: rgba(255,255,255,.85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.page-hero { position: relative; height: clamp(320px, 52vh, 520px); display: flex; align-items: flex-end; color: #fff; }
.page-hero .media { position: absolute; inset: 0; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,44,36,0) 20%, rgba(40,44,36,.58)); }
.page-hero .container { position: relative; z-index: 2; padding-bottom: 54px; }
.page-hero h1 { color: #fff; max-width: 20ch; margin: 0; }
.page-hero .eyebrow { color: rgba(255,255,255,.85); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section-tight { padding: clamp(56px, 7vw, 90px) 0; }
.bg-linen { background: var(--linen); }
.bg-sage { background: var(--sage-50); }
.bg-deep { background: var(--sage-800); color: rgba(255,255,255,.86); }
.bg-deep h2, .bg-deep h3 { color: #fff; }
.bg-deep .eyebrow { color: var(--sage-300); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-inline: auto; }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.trust-item { padding: 34px 28px; border-left: 1px solid var(--stone); }
.trust-item:first-child { border-left: 0; }
.trust-item svg { width: 28px; height: 28px; color: var(--sage-700); margin-bottom: 14px; }
.trust-item h3 { font-size: 1.08rem; margin-bottom: .3em; }
.trust-item p { font-size: .92rem; margin: 0; color: var(--grey-600); }

/* Split layout */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split .media { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.split .media.wide { aspect-ratio: 5 / 4; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .4s var(--ease), transform .4s var(--ease); text-decoration: none; color: inherit; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); color: inherit; }
.card .media { aspect-ratio: 4 / 3; }
.card-body { padding: 26px 24px 30px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.25rem; }
.card-body p { font-size: .95rem; color: var(--grey-600); }
.card-price { margin-top: auto; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--sage-700); font-weight: 600; }

/* Detailed service blocks */
.service-block { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; padding: clamp(56px, 8vw, 100px) 0; border-bottom: 1px solid var(--stone); }
.service-block:last-child { border-bottom: 0; }
.service-block:nth-child(even) > .media { order: 2; }
.service-block .media { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.price-tag { display: inline-flex; flex-direction: column; border-left: 2px solid var(--sage-500); padding: 4px 0 4px 18px; margin: 8px 0 24px; }
.price-tag strong { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; color: var(--ink); }
.price-tag span { font-size: .85rem; color: var(--grey-600); }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: .55em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 1.5px; background: var(--sage-500); }
.note { font-size: .9rem; color: var(--grey-600); font-style: italic; }

/* Guarantee */
.guarantee { text-align: center; }
.guarantee blockquote { font-family: var(--serif); font-size: clamp(1.45rem, 2.8vw, 2.15rem); line-height: 1.45; color: #fff; margin: 0 auto 1.2em; max-width: 30ch; font-style: italic; }
.guarantee-icon { width: 54px; height: 54px; margin: 0 auto 28px; color: var(--sage-300); }

/* Methods grid */
.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); margin-top: 60px; }
.methods div { background: var(--sage-800); padding: 34px 30px; text-align: left; }
.methods h3 { font-size: 1.15rem; }
.methods p { font-size: .94rem; margin: 0; }

/* Pricing table */
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.price-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.price-table th, .price-table td { text-align: left; padding: 22px 26px; border-bottom: 1px solid var(--stone); vertical-align: top; }
.price-table thead th { font: 600 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--grey-600); background: var(--linen); }
.price-table td:first-child { font-family: var(--serif); font-size: 1.12rem; color: var(--ink); width: 32%; }
.price-table td.price { font-weight: 600; color: var(--sage-800); white-space: nowrap; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr { transition: background .25s; }
.price-table tbody tr:hover { background: var(--sage-50); }

.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; background: var(--sage-100); padding: clamp(32px, 5vw, 56px); border-radius: var(--radius); }
.callout h2 { margin: 0 0 .25em; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.callout p { margin: 0; }
.big-phone { font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--ink); text-decoration: none; white-space: nowrap; }
.big-phone:hover { color: var(--sage-700); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; counter-reset: step; }
.steps li { list-style: none; counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--sage-500); margin-bottom: 10px; }
.steps { padding: 0; margin: 0; }
.steps h3 { font-size: 1.15rem; }
.steps p { font-size: .95rem; }

.faq details { border-bottom: 1px solid var(--stone); padding: 22px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.5rem; line-height: 1; color: var(--sage-700); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; }

/* About */
.prose p:first-of-type::first-letter { font-family: var(--serif); float: left; font-size: 4.2rem; line-height: .85; padding: 6px 12px 0 0; color: var(--sage-700); }
.prose h2 { margin-top: 1.6em; }
.pull { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.45; color: var(--ink); border-left: 2px solid var(--sage-500); padding-left: 28px; margin: 2em 0; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.values h3 { font-size: 1.25rem; }
.values p { font-size: .96rem; }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--ink); margin-top: 1.5em; }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.partner { background: #fff; padding: 36px 34px; border-radius: var(--radius); border-top: 2px solid var(--sage-300); transition: box-shadow .4s var(--ease), border-color .4s; }
.partner:hover { box-shadow: var(--shadow); border-color: var(--sage-700); }
.partner .tag { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grey-600); font-weight: 600; }
.partner h3 { margin: .5em 0 .45em; font-size: 1.35rem; }
.partner p { font-size: .96rem; }
.partner address { font-style: normal; font-size: .88rem; color: var(--grey-600); margin-bottom: .9em; }
.partner a.more { font-size: .88rem; font-weight: 500; text-decoration: none; }
.partner a.more::after { content: " →"; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; }
.contact-list li { padding: 20px 0; border-bottom: 1px solid var(--stone); }
.contact-list .label { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grey-600); font-weight: 600; margin-bottom: 4px; }
.contact-list a, .contact-list address { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); text-decoration: none; font-style: normal; line-height: 1.4; }
.contact-list a:hover { color: var(--sage-700); }
.service-area { background: var(--sage-50); padding: 22px 24px; border-radius: var(--radius); font-size: .98rem; }

.form-card { background: #fff; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; background: var(--cream);
  border: 1px solid var(--stone); border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage-500); background: #fff; box-shadow: 0 0 0 3px rgba(138,154,123,.2); }
.consent { font-size: .84rem; color: var(--grey-600); display: flex; gap: 10px; align-items: flex-start; }
.consent input { margin-top: 5px; accent-color: var(--sage-700); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; font-size: .95rem; padding: 14px 16px; border-radius: var(--radius); display: none; }
.form-status.show { display: block; background: var(--sage-50); color: var(--sage-800); }

.map-wrap { margin-top: 70px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 8; background: var(--sage-100); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(.95); }

/* Legal */
.legal { padding: clamp(56px, 8vw, 100px) 0; }
.legal-head { border-bottom: 1px solid var(--stone); padding-bottom: 30px; margin-bottom: 40px; }
.legal-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.legal-meta { font-size: .9rem; color: var(--grey-600); }
.legal h2 { font-size: 1.55rem; margin-top: 2.2em; padding-top: .4em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.6em; }
.legal ol, .legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: .5em; }
.toc { background: var(--linen); padding: 26px 30px; border-radius: var(--radius); margin-bottom: 30px; }
.toc strong { display: block; font-family: var(--serif); font-weight: 500; color: var(--ink); font-size: 1.1rem; margin-bottom: 10px; }
.toc ol { margin: 0; columns: 2; column-gap: 40px; font-size: .94rem; }
.highlight { background: var(--sage-50); border-left: 2px solid var(--sage-500); padding: 18px 22px; margin: 1.4em 0; color: var(--ink); }

/* CTA band */
.cta-band { position: relative; color: #fff; text-align: center; padding: clamp(90px, 14vw, 170px) 0; }
.cta-band .media { position: absolute; inset: 0; }
.cta-band .media:hover img { transform: none; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(52, 60, 46, .55); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-band p { max-width: 50ch; margin: 0 auto 30px; color: rgba(255,255,255,.9); }

/* Footer */
.site-footer { background: var(--linen); padding: 80px 0 36px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 56px; }
.site-footer h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); font-weight: 600; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--sage-700); text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-bottom { border-top: 1px solid var(--stone); padding-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; color: var(--grey-600); font-size: .84rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .media img, .card, .btn { transition: none; }
}

/* Mobile sticky call bar */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .header-phone { display: none; }
  .main-nav ul { gap: 22px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 80px 0 0 0; background: var(--cream);
    padding: 30px 24px; transform: translateX(100%); transition: transform .4s var(--ease);
    overflow-y: auto;
  }
  .nav-open .main-nav { transform: none; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
  .main-nav li { width: 100%; border-bottom: 1px solid var(--stone); }
  .main-nav a { display: block; font-family: var(--serif); font-size: 1.5rem; padding: 16px 0; color: var(--ink); }
  .main-nav a::after { display: none; }
  .header-cta .btn { display: none; }
  .split, .service-block, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child, .service-block:nth-child(even) > .media { order: 0; }
  .split .media { aspect-ratio: 4 / 3; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--stone); }
  .methods, .values { grid-template-columns: 1fr; }
  .partners { grid-template-columns: 1fr; }
  .map-wrap { aspect-ratio: 4 / 3; }
  .toc ol { columns: 1; }
  body { padding-bottom: 64px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--cream); border-top: 1px solid var(--stone);
  }
  .mobile-bar a { text-align: center; padding: 18px 10px; font-weight: 500; font-size: .95rem; text-decoration: none; color: var(--ink); }
  .mobile-bar a + a { background: var(--sage-700); color: #fff; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards, .steps, .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .trust-item { border-left: 0 !important; border-top: 1px solid var(--stone); }
  .trust-item:first-child { border-top: 0; }
  .hero { min-height: 88vh; }
  .brand-text { font-size: 1.05rem; }
  .brand-text small { letter-spacing: .16em; }
  .callout { flex-direction: column; align-items: flex-start; }
}
