/* ============================================================
   Ground Source — improved site
   Palette: deep Florida green + warm sand accent, cream canvas
   ============================================================ */

:root {
  --green-900: #112a1b;
  --green-800: #163a24;
  --green-700: #1f5132;
  --green-600: #2c6b43;
  --green-500: #3a8c54;
  --green-300: #84c79a;
  --green-100: #dcefe1;
  --cream:     #f7f4ec;
  --cream-2:   #efe9da;
  --ink:       #16241a;
  --muted:     #5c6b60;
  --sand:      #d6a04e;   /* warm accent for highlights */
  --sand-dark: #b9863a;
  --white:     #ffffff;
  --line:      #e3ddcd;
  --shadow-sm: 0 2px 10px rgba(17,42,27,.06);
  --shadow-md: 0 14px 40px rgba(17,42,27,.12);
  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1140px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; color: var(--green-900); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.25rem; }

.kicker {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--green-600);
  margin-bottom: 14px;
}
.kicker-light { color: var(--green-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green-700); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-800); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; border-color: currentColor; color: var(--green-800); }
.btn-ghost:hover { background: var(--green-900); color: var(--white); border-color: var(--green-900); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,244,236,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 22px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--green-900); }
.brand-mark { display: inline-flex; color: var(--green-600); }
.brand-name span { color: var(--green-500); }
.brand-light { color: var(--cream); }
.brand-light .brand-mark { color: var(--green-300); }
.brand-light .brand-name span { color: var(--green-300); }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-weight: 500; font-size: .96rem; color: var(--ink); position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--green-500); transition: width .2s ease; }
.nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.phone-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--green-800); font-size: .95rem; }
.phone-link:hover { color: var(--green-600); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--green-900); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--cream); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 15% 10%, rgba(58,140,84,.55), transparent 55%),
    radial-gradient(100% 80% at 90% 0%, rgba(132,199,154,.35), transparent 50%),
    linear-gradient(160deg, var(--green-800) 0%, var(--green-900) 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,.05) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.04) 0 2px, transparent 3px);
  background-size: 28px 28px, 36px 36px;
  opacity: .6;
}
.hero-inner { position: relative; z-index: 1; padding: 96px 24px 104px; max-width: 820px; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 700; color: var(--green-300); margin-bottom: 20px; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: rgba(255,255,255,.86); max-width: 640px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero .btn-ghost { color: var(--white); }
.hero .btn-ghost:hover { background: var(--white); color: var(--green-900); border-color: var(--white); }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero-trust li { font-size: .92rem; color: rgba(255,255,255,.8); position: relative; padding-left: 22px; }
.hero-trust li::before { content: "✓"; position: absolute; left: 0; color: var(--green-300); font-weight: 700; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--green-900); color: var(--cream); }
.trustbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.trust-item { padding: 22px 18px; display: flex; flex-direction: column; gap: 3px; text-align: center; }
.trust-item strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--white); }
.trust-item span { font-size: .85rem; color: rgba(255,255,255,.65); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--cream-2); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-lead { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-300); }
.service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--green-100); color: var(--green-700); margin-bottom: 18px;
}
.service-icon svg { width: 28px; height: 28px; }
.service h3 { margin-bottom: 8px; }
.service p { color: var(--muted); font-size: .96rem; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.check-list { list-style: none; margin: 24px 0 30px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; color: var(--ink); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-600); color: #fff; font-size: .8rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.stat-num { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--green-700); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: .9rem; color: var(--muted); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow-sm); position: relative; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green-700); color: #fff; font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .97rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shot {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; align-items: flex-end;
}
.shot figcaption {
  position: relative; z-index: 1; width: 100%;
  padding: 16px 18px; color: #fff; font-weight: 600; font-size: .98rem;
  background: linear-gradient(transparent, rgba(17,42,27,.78));
}
.shot::before { content: ""; position: absolute; inset: 0; transition: transform .4s ease; }
.shot:hover::before { transform: scale(1.06); }
.shot-sod::before        { background: linear-gradient(135deg, #3a8c54, #1f5132); }
.shot-paver::before      { background: linear-gradient(135deg, #b08654, #7c5a34); }
.shot-design::before     { background: linear-gradient(135deg, #5aa56e, #2c6b43); }
.shot-light::before      { background: linear-gradient(135deg, #355d44, #11241a); }
.shot-commercial::before { background: linear-gradient(135deg, #4d7a5c, #21402c); }
.shot-irrig::before      { background: linear-gradient(135deg, #3f7e8c, #1f4f51); }
.gallery-note { text-align: center; margin-top: 22px; font-size: .88rem; color: var(--muted); }
.gallery-note code { background: var(--white); border: 1px solid var(--line); padding: 2px 7px; border-radius: 6px; font-size: .85em; }

/* ---------- Testimonial ---------- */
.testimonial { background: var(--green-800); color: var(--cream); text-align: center; }
.testimonial-inner { max-width: 760px; margin: 0 auto; }
.stars { color: var(--sand); font-size: 1.5rem; letter-spacing: 4px; margin-bottom: 22px; }
.testimonial blockquote { font-family: var(--font-head); font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.35; color: var(--white); font-style: italic; margin-bottom: 22px; }
.cite { color: var(--green-300); font-weight: 600; margin-bottom: 28px; }
.testimonial .btn-ghost { color: var(--white); }
.testimonial .btn-ghost:hover { background: var(--white); color: var(--green-900); border-color: var(--white); }

/* ---------- Service area ---------- */
.area-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.area-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 16px; margin: 24px 0 18px; }
.area-list li { position: relative; padding-left: 18px; font-size: .95rem; color: var(--ink); }
.area-list li::before { content: "•"; position: absolute; left: 0; color: var(--green-500); }
.area-foot { color: var(--muted); }
.area-foot a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.area-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-md); }
.area-card h3 { margin-bottom: 18px; }
.area-line { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.area-line strong { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--muted); }
.area-line a { color: var(--green-700); font-weight: 700; font-size: 1.05rem; }
.area-card .btn { margin-top: 22px; }

/* ---------- Contact ---------- */
.contact { background: var(--green-900); color: var(--cream); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact-copy h2 { color: var(--white); margin-bottom: 16px; }
.contact-copy p { color: rgba(255,255,255,.82); margin-bottom: 14px; max-width: 420px; }
.contact-call { font-size: 1.05rem; }
.contact-call a { color: var(--green-300); font-weight: 700; }

.quote-form { background: var(--cream); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-md); }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink); text-transform: uppercase; letter-spacing: .05em; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(58,140,84,.18);
}
.field textarea { resize: vertical; }
.form-note { margin-top: 12px; font-size: .9rem; text-align: center; min-height: 1.2em; }
.form-note.ok { color: var(--green-700); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.7); padding: 64px 0 28px; border-top: 4px solid var(--green-600); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; padding-bottom: 40px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: .95rem; max-width: 300px; margin-bottom: 14px; }
.footer-social { color: var(--green-300); font-weight: 600; font-size: .92rem; }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col a { display: block; padding: 5px 0; font-size: .95rem; color: rgba(255,255,255,.72); transition: color .15s ease; }
.footer-col a:hover { color: var(--white); }
.footer-contact p { font-size: .95rem; margin: 6px 0 14px; }
.footer-contact > a:first-of-type { font-size: 1.15rem; font-weight: 700; color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.footer-fine { color: rgba(255,255,255,.5); }

/* ---------- Floating call button (mobile) ---------- */
.call-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green-600); color: #fff;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(17,42,27,.4);
}
.call-fab:hover { background: var(--green-700); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .services-grid, .steps, .gallery { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .area-grid, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .trustbar-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .site-header.nav-open .nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px; box-shadow: var(--shadow-md);
  }
  .site-header.nav-open .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-header.nav-open .header-cta {
    display: flex; position: absolute; top: calc(72px + 270px); left: 0; right: 0;
    flex-direction: column; gap: 10px; padding: 0 24px 18px; background: var(--cream);
  }
  .call-fab { display: inline-flex; }
  .section { padding: 64px 0; }
  .hero-inner { padding: 72px 24px 80px; }
  .services-grid, .steps, .gallery, .area-list { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 420px) {
  .trustbar-inner { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: 1fr; }
}
