:root {
  --green: #1f4d2b;
  --green-dark: #143620;
  --accent: #23873a;
  --accent-dark: #1b6d2f;
  --accent-soft: #e4f1e5;
  --lime: #b9e37a;
  --cream: #faf8f3;
  --cream-alt: #f2efe6;
  --charcoal: #232623;
  --muted: #595c57;
  --line: #e0dccf;
  --error: #b3261e;
  --success: #1f6b35;
  --radius: 14px;
  --shadow: 0 2px 4px rgba(0,0,0,.04), 0 12px 32px rgba(20,54,32,.10);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Poppins", "Inter", system-ui, sans-serif;
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--charcoal); letter-spacing: -.015em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--green); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: .7em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .7em 1.5em;
  font: 700 .92rem/1.2 var(--font-head); letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; text-align: center; white-space: nowrap;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 56px; padding: .9em 2em; font-size: .98rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--green); }
.btn-outline-dark { background: #fff; color: var(--green); border-color: var(--green); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* Top info bar */
.topbar { background: var(--charcoal); color: #e9ebe6; font-size: .9rem; }
.topbar-inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 36px; padding-top: 10px; padding-bottom: 10px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item svg { width: 16px; height: 16px; fill: var(--lime); color: var(--lime); flex: none; }
.topbar-phone { color: #fff; text-decoration: none; font-weight: 600; }
.topbar-phone:hover { color: var(--lime); }

/* Header: zero-height sticky wrapper so the white card floats over the hero */
.site-header { position: sticky; top: 0; z-index: 50; height: 0; }
.header-card {
  position: relative; top: 14px;
  display: flex; align-items: center; gap: 28px;
  min-height: var(--header-h); padding: 10px 14px 10px 22px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; height: 58px; width: auto; }
.site-nav { display: flex; gap: 30px; margin-left: auto; }
.site-nav a { color: var(--charcoal); text-decoration: none; font-weight: 600; padding: 8px 0; }
.site-nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  position: relative; color: #fff;
  background:
    linear-gradient(90deg, rgba(14,40,22,.92) 0%, rgba(14,40,22,.72) 45%, rgba(14,40,22,.25) 100%),
    url("assets/photos/stone-planting-beds.jpg") center / cover no-repeat;
  background-color: var(--green-dark);
}
.hero-inner { padding-top: calc(var(--header-h) + 110px); padding-bottom: 170px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 14px;
  padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.3);
  font-weight: 500; line-height: 1.35;
}
.hero-badge strong { font-family: var(--font-head); font-weight: 600; }
.hero-badge-icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid rgba(255,255,255,.85);
}
.hero-badge-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero h1 { color: #fff; max-width: 16ch; }
.lede { font-size: clamp(1.08rem, 2vw, 1.25rem); max-width: 54ch; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Highlight cards overlapping the hero */
.highlight-row {
  position: relative; z-index: 2; margin-top: -90px;
  display: grid; grid-template-columns: 260px 1fr; gap: 24px;
}
.highlight-year {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 26px; text-align: center; color: var(--muted);
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.highlight-year strong { font: 700 3.6rem/1 var(--font-head); color: var(--accent); letter-spacing: -.02em; margin: 6px 0; }
.highlight-card {
  background: var(--accent); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 34px 38px;
}
.highlight-card h2 { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.highlight-card p { margin: 0; color: rgba(255,255,255,.92); max-width: 70ch; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--cream-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-intro { color: var(--muted); margin: 0; }
.section-cta { margin-top: 40px; text-align: center; }

.services-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.service-card p { margin: 0; color: var(--muted); }
.service-icon {
  width: 58px; height: 58px; padding: 14px; margin-bottom: 20px;
  border-radius: 50%; background: var(--accent-soft);
  fill: none; stroke: var(--accent-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* About */
.about-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about-inner p { max-width: 62ch; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.about-media .about-photo { aspect-ratio: 4 / 5; object-position: center 60%; }
.about-media-badge {
  position: absolute; right: -18px; bottom: -18px;
  background: var(--accent); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 24px; text-align: center;
}
.about-media-badge strong { display: block; font: 700 2.2rem/1 var(--font-head); }
.about-media-badge span { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.about-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.about-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.about-points li::before {
  content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Photo gallery */
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 18px;
}
.gallery-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--cream-alt); }
.gallery-wide { grid-column: span 2; }
.gallery-tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(255,255,255,.95); color: var(--charcoal);
  padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600;
}

/* Draft placeholders: highlighted so nothing unconfirmed slips through to launch */
[data-placeholder] { background: #fff3c4; outline: 1px dashed #c9a227; outline-offset: 1px; border-radius: 3px; }
.placeholder-block { padding: 6px 10px; color: #6b5a12; }

/* Contact & form */
.contact-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }

.quote-form {
  background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; }
.form-group { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.form-group .form-row { margin-bottom: 0; }
legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
.hint { display: inline-block; font-weight: 400; font-size: .9rem; color: var(--muted); margin-left: 4px; }
.field-hint { font-size: .9rem; color: var(--muted); margin: 6px 0 0; }
.req { color: var(--error); }

input[type="text"], input[type="tel"], input[type="email"], textarea {
  width: 100%; font: inherit; color: var(--charcoal);
  padding: 11px 14px; min-height: 48px;
  background: var(--cream); border: 1.5px solid #cfc9b8; border-radius: 10px;
}
textarea { resize: vertical; min-height: 116px; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(35,135,58,.2); background: #fff; }
[aria-invalid="true"] { border-color: var(--error) !important; }

.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 400; margin: 0; min-height: 36px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; margin: 0; }

.field-error { color: var(--error); font-size: .9rem; margin: 6px 0 0; }
.field-error:empty { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: .9rem; color: var(--muted); margin: 10px 0 0; text-align: center; }
.form-note-privacy { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.or-divider { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; flex: none; }
.btn-outline-dark:hover { background: var(--accent-soft); color: var(--green); }
.contact-actions { display: block; margin-top: 4px; font-size: .92rem; }
.contact-actions a { font-weight: 500; }

.form-status { margin-top: 20px; padding: 16px 18px; border-radius: 10px; }
.form-status:focus { outline: none; }
.form-status.is-success { background: #e5f2e7; border: 1px solid #a9d1b1; color: var(--success); }
.form-status.is-error { background: #fbeaea; border: 1px solid #eab4b0; color: #7a1c16; }
.form-status p { margin: 0 0 .5em; }
.form-status p:last-child { margin-bottom: 0; }
.form-status .btn { margin-top: 8px; }

.contact-card {
  background: var(--green); color: #fff; border-radius: var(--radius); padding: 34px;
  position: sticky; top: calc(var(--header-h) + 36px);
}
.contact-card h3 { color: #fff; font-size: 1.45rem; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 15px 0; border-top: 1px solid rgba(255,255,255,.18); }
.contact-list li:first-child { border-top: 0; padding-top: 4px; }
.contact-label { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 3px; }
.contact-list a { color: #fff; font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--lime); }
.contact-note { display: block; font-size: .9rem; color: rgba(255,255,255,.8); margin-top: 2px; }

/* Footer */
.site-footer { background: var(--charcoal); color: #d6d8d2; padding: 60px 0 26px; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 .4em; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 32px; align-items: start; }
.footer-logo { display: block; height: 56px; width: auto; margin-bottom: 14px; }
.site-footer nav { display: flex; flex-direction: column; gap: 6px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: var(--lime); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }

/* Mobile quick-action bar */
.mobile-bar { display: none; }

/* Privacy page */
.page { padding: calc(var(--header-h) + 72px) 0 88px; }
.page .container { max-width: 760px; }
.page h2 { font-size: 1.5rem; margin-top: 1.6em; }

/* Responsive */
@media (max-width: 1020px) {
  .site-nav { gap: 20px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .about-inner { gap: 48px; }
}

@media (max-width: 860px) {
  .site-nav { display: none; }
  .header-cta { margin-left: auto; }
  .highlight-row { grid-template-columns: 1fr; margin-top: -70px; }
  .highlight-year { flex-direction: row; gap: 12px; padding: 18px; }
  .highlight-year strong { font-size: 2.2rem; margin: 0; }
  .about-inner { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .gallery-wide { grid-column: span 2; }
  .gallery-tall { grid-row: span 2; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; }
  body:has(.mobile-bar) { padding-bottom: 76px; }
  .topbar-est, .topbar-hours { display: none; }
  .header-card { top: 8px; padding: 8px 8px 8px 12px; gap: 10px; border-radius: 12px; }
  .brand-logo { height: 40px; }
  .header-cta { min-height: 42px; padding: .55em 1em; font-size: .78rem; }
  .hero-inner { padding-top: calc(var(--header-h) + 60px); padding-bottom: 120px; }
  .hero { background:
    linear-gradient(180deg, rgba(14,40,22,.85) 0%, rgba(14,40,22,.8) 100%),
    url("assets/photos/stone-planting-beds.jpg") center / cover no-repeat; }
  .hero-actions .btn { flex: 1 1 100%; }
  .highlight-card { padding: 26px 22px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 32px; }
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 24px; }
  .about-media-badge { right: 12px; bottom: 12px; padding: 12px 16px; }
  .about-media-badge strong { font-size: 1.6rem; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-wide { grid-column: auto; }
  .gallery-tall { grid-row: span 1; }
  .quote-form, .contact-card { padding: 22px; }
  .form-2col, .check-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(250,248,243,.97); border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(0,0,0,.06);
    transition: transform .2s ease;
  }
  .mobile-bar .btn { font-size: .8rem; padding: .6em .5em; }
  .mobile-bar.is-hidden { transform: translateY(110%); }
}

