/* ===========================================================
   Hayco Landscapes — Denver, CO
   Handcrafted stylesheet
   =========================================================== */

:root {
  --green-900: #173d2b;
  --green-800: #1f4d36;
  --green-700: #2c6b49;
  --green-600: #38815a;
  --green-500: #4a9e6f;
  --sand-50: #f7f4ec;
  --sand-100: #efe9da;
  --sand-200: #e2d8c3;
  --bark: #5b4636;
  --ink: #20271f;
  --ink-soft: #4a544464;
  --muted: #5c6a59;
  --white: #ffffff;
  --gold: #c79a3b;
  --shadow-sm: 0 4px 14px rgba(23, 61, 43, 0.08);
  --shadow-md: 0 14px 40px rgba(23, 61, 43, 0.14);
  --shadow-lg: 0 30px 70px rgba(23, 61, 43, 0.22);
  --radius: 16px;
  --radius-lg: 26px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand-50);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--green-700); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--green-500); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; color: var(--green-900); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(60px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--green-600);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block; }

.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.98rem;
  padding: 14px 28px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--green-700); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-800); color: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.14); color: var(--white); transform: translateY(-3px); }
.btn--dark { background: var(--green-900); color: var(--white); }
.btn--dark:hover { background: var(--green-800); color: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn--outline { border-color: var(--green-700); color: var(--green-800); }
.btn--outline:hover { background: var(--green-700); color: var(--white); transform: translateY(-3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 244, 236, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(23,61,43,.08);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(247,244,236,.95); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--green-900); }
.brand .logo { width: 42px; height: 42px; flex: none; }
.brand span small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--green-600); margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 0.97rem; position: relative; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-6px; width:0; height:2px; background: var(--gold); transition: width .3s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--green-800); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-weight: 600; color: var(--green-800); white-space: nowrap; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--green-900); transition: .3s var(--ease); }
.nav-toggle span:nth-child(1){ top: 15px; }
.nav-toggle span:nth-child(2){ top: 21px; }
.nav-toggle span:nth-child(3){ top: 27px; }
body.menu-open .nav-toggle span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2){ opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(15,38,27,.45) 0%, rgba(15,38,27,.55) 45%, rgba(12,30,21,.82) 100%); }
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero p { color: rgba(255,255,255,.9); max-width: 54ch; margin-top: 22px; font-size: 1.18rem; }
.hero__actions { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats { margin-top: 56px; display: flex; gap: 44px; flex-wrap: wrap; }
.hero__stats .num { font-family: var(--font-head); font-size: 2.3rem; color: var(--white); line-height: 1; }
.hero__stats .lbl { font-size: 0.82rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.78); margin-top: 6px; }

.page-hero { position: relative; color: var(--white); padding: clamp(90px, 14vw, 150px) 0 clamp(60px, 8vw, 96px); overflow: hidden; }
.page-hero__bg { position:absolute; inset:0; background-size: cover; background-position: center; }
.page-hero::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(15,38,27,.55), rgba(12,30,21,.8)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.9); margin-top: 16px; max-width: 60ch; }
.crumbs { display:flex; gap:8px; font-size:.85rem; color: rgba(255,255,255,.78); margin-bottom: 18px; }
.crumbs a { color: rgba(255,255,255,.9); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border-radius: var(--radius-lg); padding: 34px 30px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(23,61,43,.06);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.card .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--sand-100); color: var(--green-700); margin-bottom: 20px; }
.card .ico svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card ul { margin-top: 14px; padding-left: 0; list-style: none; }
.card ul li { padding-left: 24px; position: relative; font-size: 0.94rem; color: var(--muted); margin-bottom: 6px; }
.card ul li::before { content: ""; position:absolute; left:0; top:10px; width:8px; height:8px; border-radius: 50%; background: var(--green-500); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--rev { grid-template-columns: 1fr 1.05fr; }
.media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.media:hover img { transform: scale(1.05); }
.media--tall img { aspect-ratio: 4/5; }

.section--cream { background: var(--sand-100); }
.section--deep { background: var(--green-900); color: var(--sand-50); }
.section--deep h2, .section--deep h3 { color: var(--white); }
.section--deep .lead { color: rgba(255,255,255,.8); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Stats strip ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 24px 12px; }
.stat .num { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--gold); line-height: 1; }
.stat .lbl { margin-top: 8px; font-size: 0.86rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.78); }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 24px; }
.step { display: grid; grid-template-columns: 70px 1fr; gap: 22px; align-items: start; padding: 26px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.step:hover { transform: translateX(6px); }
.step .n { counter-increment: step; width: 56px; height: 56px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.4rem; }
.step .n::before { content: counter(step, decimal-leading-zero); }

/* ---------- Testimonials ---------- */
.quote { background: var(--white); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-sm); border: 1px solid rgba(23,61,43,.06); display: flex; flex-direction: column; gap: 18px; }
.quote p { color: var(--ink); font-size: 1.02rem; }
.quote .stars { color: var(--gold); letter-spacing: 3px; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote .who .av { width: 46px; height: 46px; border-radius: 50%; background: var(--green-600); color:#fff; display:grid; place-items:center; font-weight:700; font-family: var(--font-head); }
.quote .who b { display:block; color: var(--green-900); }
.quote .who small { color: var(--muted); }

/* ---------- Pricing ---------- */
.price-card { background:#fff; border-radius: var(--radius-lg); padding: 36px 30px; box-shadow: var(--shadow-sm); border: 1px solid rgba(23,61,43,.07); display:flex; flex-direction:column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.price-card.featured { background: var(--green-900); color: var(--sand-50); border-color: var(--green-800); }
.price-card.featured h3, .price-card.featured .price { color:#fff; }
.price-card .price { font-family: var(--font-head); font-size: 2.6rem; color: var(--green-900); margin: 8px 0 4px; }
.price-card .price small { font-family: var(--font-body); font-size: .9rem; color: var(--muted); font-weight: 500; }
.price-card .tag { align-self:flex-start; font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; background: var(--gold); color: #2a2208; padding: 5px 12px; border-radius:999px; font-weight:700; margin-bottom: 14px; }
.price-card ul { list-style:none; margin: 18px 0 26px; display:grid; gap: 10px; }
.price-card li { padding-left: 26px; position: relative; font-size: .96rem; }
.price-card li::before { content:"✓"; position:absolute; left:0; color: var(--green-500); font-weight:700; }
.price-card.featured li::before { color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-item { background:#fff; border:1px solid rgba(23,61,43,.08); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-q { width:100%; text-align:left; background:none; border:none; cursor:pointer; padding: 22px 26px; font-size: 1.05rem; font-weight:600; font-family: var(--font-head); color: var(--green-900); display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq-q .pm { flex:none; width:26px; height:26px; border-radius:50%; border:2px solid var(--green-600); position:relative; transition: .3s var(--ease); }
.faq-q .pm::before, .faq-q .pm::after { content:""; position:absolute; background: var(--green-700); inset: 0; margin:auto; transition:.3s var(--ease); }
.faq-q .pm::before { width:12px; height:2px; }
.faq-q .pm::after { width:2px; height:12px; }
.faq-item.open .pm { background: var(--green-700); border-color: var(--green-700); }
.faq-item.open .pm::before, .faq-item.open .pm::after { background:#fff; }
.faq-item.open .pm::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 26px 22px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.info-list { list-style:none; display:grid; gap: 22px; }
.info-list li { display:flex; gap:16px; align-items:flex-start; }
.info-list .ico { width:48px; height:48px; flex:none; border-radius:14px; background: var(--sand-100); color: var(--green-700); display:grid; place-items:center; }
.info-list .ico svg { width:22px; height:22px; }
.info-list b { display:block; color: var(--green-900); }
.info-list a, .info-list span { color: var(--muted); }

form .field { margin-bottom: 18px; }
form label { display:block; font-weight:600; font-size:.9rem; margin-bottom:7px; color: var(--green-900); }
form input, form textarea, form select {
  width:100%; padding: 13px 16px; border:1.5px solid var(--sand-200); border-radius: 12px;
  font-family: var(--font-body); font-size: 1rem; background:#fff; color: var(--ink);
  transition: border .25s var(--ease), box-shadow .25s var(--ease);
}
form input:focus, form textarea:focus, form select:focus { outline:none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(74,158,111,.16); }
form textarea { min-height: 140px; resize: vertical; }
.form-note { font-size:.85rem; color: var(--muted); margin-top: 10px; }
.form-success { display:none; background: #e7f3ec; border:1px solid var(--green-500); color: var(--green-800); padding:16px 18px; border-radius:12px; margin-bottom:18px; }
.form-success.show { display:block; animation: fadeUp .4s var(--ease); }

.map-embed { border:0; width:100%; height:320px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

/* ---------- Banner / CTA ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(44px, 6vw, 72px); background: linear-gradient(135deg, var(--green-800), var(--green-600)); color:#fff; text-align:center; box-shadow: var(--shadow-md); }
.cta-band h2 { color:#fff; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 56ch; margin: 14px auto 28px; }
.cta-band::before { content:""; position:absolute; right:-60px; top:-60px; width:240px; height:240px; border-radius:50%; background: rgba(255,255,255,.08); }
.cta-band::after { content:""; position:absolute; left:-50px; bottom:-70px; width:200px; height:200px; border-radius:50%; background: rgba(255,255,255,.06); }

/* ---------- Gallery ---------- */
.gallery { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { position: relative; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); }
.gallery img { width:100%; height:100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption { position:absolute; inset:auto 0 0 0; padding: 26px 18px 14px; color:#fff; font-weight:600; background: linear-gradient(180deg, transparent, rgba(12,30,21,.85)); font-size:.95rem; }

/* ---------- Logos / trust ---------- */
.trust { display:flex; flex-wrap:wrap; gap: 14px 30px; align-items:center; justify-content:center; }
.trust .chip { display:inline-flex; align-items:center; gap:10px; font-weight:600; color: var(--green-800); font-size:.92rem; background:#fff; padding:10px 18px; border-radius:999px; box-shadow: var(--shadow-sm); }
.trust .chip svg { width:18px; height:18px; color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.78); padding: 70px 0 30px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color:#fff; font-family: var(--font-body); font-size:.82rem; letter-spacing:.16em; text-transform:uppercase; margin-bottom: 18px; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color:#fff; }
.footer-links { list-style:none; display:grid; gap:10px; }
.footer-brand .brand { color:#fff; margin-bottom: 16px; }
.footer-brand .brand span small { color: rgba(255,255,255,.6); }
.footer-brand p { font-size:.95rem; max-width: 34ch; }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top:1px solid rgba(255,255,255,.12); display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:.86rem; }
.footer-bottom a { margin-left: 18px; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 90;
  max-width: 560px; margin: 0 auto; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px 24px;
  display: none; gap: 16px; align-items: center; flex-wrap: wrap;
  border: 1px solid rgba(23,61,43,.1);
  transform: translateY(20px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.cookie.show { display: flex; transform: translateY(0); opacity: 1; }
.cookie p { font-size: .92rem; color: var(--muted); flex: 1 1 280px; }
.cookie .acts { display:flex; gap: 10px; }
.cookie .btn { padding: 10px 18px; font-size: .9rem; }

/* ---------- To top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 48px; height: 48px; border-radius: 50%; background: var(--green-700); color:#fff; border:none; cursor:pointer; display:grid; place-items:center; opacity:0; pointer-events:none; transform: translateY(12px); transition: .35s var(--ease); box-shadow: var(--shadow-md); }
.to-top.show { opacity:1; pointer-events:auto; transform: translateY(0); }
.to-top:hover { background: var(--green-800); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@keyframes fadeUp { from { opacity:0; transform: translateY(14px);} to { opacity:1; transform:none; } }

.prose { max-width: 760px; }
.prose h2 { margin: 38px 0 14px; }
.prose h3 { margin: 26px 0 10px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 14px; }
.prose ul { padding-left: 22px; margin-bottom: 14px; }
.prose a { text-decoration: underline; }
.prose .updated { color: var(--green-700); font-weight:600; font-size:.92rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .nav.mobile-open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--sand-50); padding: 12px 24px 24px;
    box-shadow: var(--shadow-md); border-bottom: 1px solid rgba(23,61,43,.1);
  }
  .nav.mobile-open .nav-links li { width: 100%; border-bottom: 1px solid rgba(23,61,43,.08); }
  .nav.mobile-open .nav-links a { display: block; padding: 14px 0; }
  .split, .split--rev, .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-2, .gallery { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-3, .grid-2, .grid-4, .gallery { grid-template-columns: 1fr; }
  .hero__stats { gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom a { margin-left: 0; margin-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
