/* ============================================================
   Verdant Website Template — site.css
   Base styles, nav states, hero components, responsive pass.
   Section-level layout lives inline in index.html (house style);
   this file owns everything stateful and responsive.
   ============================================================ */

:root { color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f7f9f2;
  color: #1c2417;
  font-family: 'Sora', sans-serif;
  overflow-x: clip; /* never let anything cause sideways scroll */
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: 'Sora', sans-serif; }
img { max-width: 100%; }
summary::-webkit-details-marker { display: none; }
summary { list-style: none; }
input::placeholder, textarea::placeholder { color: #7d8a75; }
details[open] > summary .faq-plus { transform: rotate(45deg); }
.faq-plus { display: inline-block; transition: transform .18s ease; }

/* --- Anti-banding noise overlay -------------------------------------------
   Large flat dark areas (the footer here) can trigger a faint diagonal dither
   hairline on some Windows display pipelines. A subtle full-page fractal-noise
   layer blended over everything breaks up flat color so the pattern can't
   latch on; the dark sections also avoid single flat fills (aurora / gradient). */
.noise-overlay {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: overlay;
}

/* ============================================================
   BUTTON PILLS — the verdant house shapes
   ============================================================ */
.btn-lime {
  display: inline-block;
  background: #9fe870;
  color: #122408;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.btn-lime:hover { background: #b4f18a; }
.btn-lime:active { transform: scale(0.98); }
.btn-ghost-dark {
  display: inline-block;
  border: 1px solid rgba(234, 246, 216, 0.3);
  color: #eaf0e6;
  font-weight: 600;
  border-radius: 999px;
  transition: background .18s ease, border-color .18s ease;
}
.btn-ghost-dark:hover { background: rgba(234, 246, 216, 0.08); border-color: rgba(234, 246, 216, 0.45); }
.btn-ghost-green {
  display: inline-block;
  border: 1px solid rgba(62, 107, 46, 0.45);
  color: #33531f;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  transition: background .18s ease, border-color .18s ease;
}
.btn-ghost-green:hover { background: #ffffff; border-color: rgba(62, 107, 46, 0.7); }

/* ============================================================
   NAV — fixed; fully transparent at the top of the page (over
   the dark hero), solid dark + hairline border once scrolled.
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  color: #eaf0e6;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.nav.is-scrolled {
  background: rgba(7, 10, 7, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(234, 246, 216, 0.14);
  box-shadow: 0 4px 24px rgba(4, 6, 4, 0.45);
}
.nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-dot {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #eaf6d8 0%, #9fe870 55%, #3e6b2e 100%);
  flex-shrink: 0;
}
.nav-brand span { font: 700 18px 'Sora', sans-serif; letter-spacing: -0.01em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #c4cfbe;
  transition: color .18s ease;
}
.nav-links a:hover { color: #ffffff; }
.nav-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.nav-phone { font-weight: 600; font-size: 14px; }
.nav-cta { font-size: 14px; padding: 12px 22px; }

.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(234, 246, 216, 0.35);
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
}
.nav-mobile-panel {
  display: none;
  flex-direction: column;
  background: #070a07;
  border-bottom: 1px solid rgba(234, 246, 216, 0.14);
  padding: 6px 24px 18px;
}
.nav-mobile-panel.is-open { display: flex; }
.nav-mobile-panel a {
  color: #c4cfbe;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 2px;
  border-bottom: 1px solid rgba(234, 246, 216, 0.08);
}
.nav-mobile-panel a:last-child { border-bottom: none; }
.nav-mobile-panel .nav-mobile-phone { color: #ffffff; }
.nav-mobile-panel .nav-mobile-cta {
  margin-top: 10px;
  background: #9fe870;
  color: #122408;
  font-weight: 700;
  text-align: center;
  border-bottom: none;
  border-radius: 999px;
  padding: 13px 22px;
}

/* ============================================================
   HERO — fills the fold on every device.
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #070a07;
  color: #eaf0e6;
}
.hero-grid {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 112px 48px 56px; /* clears the 72px fixed nav */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  margin: 0 0 18px;
  font: 700 clamp(2.15rem, 2.3vw + 1.25rem, 3.25rem)/1.08 'Sora', sans-serif;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(159, 232, 112, 0.1);
  border: 1px solid rgba(159, 232, 112, 0.35);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #c5efa4;
  margin-bottom: 22px;
}

/* Key selling points — badge icons (see badge-ideas.html for the
   10 designed styles; the active set lives in assets/icons/) */
.hero-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  max-width: 540px;
}
.hero-badges li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
}
.hero-badges img {
  height: 48px;
  width: 48px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(4, 6, 4, 0.5));
}

.hero-ctas { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }

.hero-stars { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #a3ae9c; }
.hero-stars .stars { color: #9fe870; letter-spacing: 2px; }
.hero-stars .score { font-weight: 700; color: #eaf0e6; }

/* Quote card — frosted glass panel floating on the aurora */
.quote-card {
  background: rgba(10, 14, 9, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(234, 246, 216, 0.16);
  border-radius: 24px;
  padding: 38px 36px;
  color: #eaf0e6;
  color-scheme: dark;
}
.quote-card input,
.quote-card select,
.quote-card textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(4, 6, 4, 0.65);
  border: 1px solid rgba(234, 246, 216, 0.16);
  border-radius: 16px;
  padding: 15px 18px;
  color: #eaf0e6;
  font: 400 15px 'Sora', sans-serif;
  outline: none;
  transition: border-color .18s ease;
}
.quote-card input:focus,
.quote-card select:focus,
.quote-card textarea:focus { border-color: rgba(159, 232, 112, 0.55); }
.quote-card input::placeholder,
.quote-card textarea::placeholder { color: #8b9684; }
.quote-card textarea { resize: none; }

/* ============================================================
   LIGHT SECTIONS — cards
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  border: 1px solid rgba(28, 36, 23, 0.1);
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 16px 40px -22px rgba(28, 36, 23, 0.28);
  transition: transform .22s ease, box-shadow .22s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -22px rgba(28, 36, 23, 0.38); }
.svc-card img { height: 185px; width: 100%; object-fit: cover; display: block; }
.svc-link { font-size: 14px; font-weight: 700; color: #3e6b2e; }
.svc-link:hover { text-decoration: underline; }

.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.value-card {
  border: 1px solid rgba(28, 36, 23, 0.1);
  border-radius: 18px;
  padding: 22px;
  background: #f7f9f2;
}
.value-card .tick-circle {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(127, 212, 92, 0.2);
  border: 1px solid rgba(62, 107, 46, 0.4);
  color: #3e6b2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 14px;
}

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-grid img {
  height: 250px;
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 22px;
  border: 1px solid rgba(28, 36, 23, 0.1);
  box-shadow: 0 16px 40px -24px rgba(28, 36, 23, 0.3);
  transition: transform .22s ease, box-shadow .22s ease;
}
.work-grid img:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(28, 36, 23, 0.42); }

.faq-item {
  border: 1px solid rgba(28, 36, 23, 0.12);
  border-radius: 18px;
  padding: 22px 26px;
  background: #f7f9f2;
}
.faq-item summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font: 700 17px 'Sora', sans-serif;
  letter-spacing: -0.01em;
}
.faq-item .faq-plus { color: #3e6b2e; font-weight: 400; }

/* About photo — offset outline frame behind the crew shot */
.about-photo { position: relative; }
.about-photo .frame {
  position: absolute;
  top: 18px;
  left: -18px;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  border: 1.5px solid rgba(62, 107, 46, 0.3);
}
.about-photo img {
  position: relative;
  height: 500px;
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  border: 1px solid rgba(28, 36, 23, 0.1);
}

/* ============================================================
   MOBILE STICKY CTA BAR — call + quote pills, phones only,
   revealed after the hero scrolls out of view.
   ============================================================ */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 0 14px calc(env(safe-area-inset-bottom, 0px) + 14px);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.sticky-cta.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.sticky-cta-inner { display: flex; gap: 12px; max-width: 460px; margin: 0 auto; }
.sticky-cta-btn {
  flex: 1;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 10px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
}
.sticky-cta-btn svg { height: 18px; width: 18px; flex-shrink: 0; }
.sticky-cta-btn:active { transform: scale(0.97); }
.sticky-cta-call {
  background: #122408;
  color: #eaf0e6;
  box-shadow: 0 10px 26px rgba(4, 6, 4, 0.5), inset 0 0 0 1.5px rgba(159, 232, 112, 0.45);
}
.sticky-cta-quote {
  background: #9fe870;
  color: #122408;
  box-shadow: 0 10px 26px rgba(4, 6, 4, 0.5);
}
@media (min-width: 1024px) {
  .sticky-cta { display: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero-grid { gap: 40px; padding-left: 32px; padding-right: 32px; }
  .pad { padding-left: 32px !important; padding-right: 32px !important; }
}

@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none !important; }
  .hamburger-btn { display: flex !important; }
  .nav-inner { padding: 0 20px; height: 64px; }
  .nav-brand span { font-size: 16px; }
  .brand-dot { width: 30px; height: 30px; }

  /* Hero stacks; the left column alone fills the first viewport so the
     headline, badges, CTAs and rating all land above the fold — the
     quote form sits immediately below it. */
  .hero { min-height: 0; display: block; }
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 44px;
    padding: 0 20px 56px;
  }
  .hero-left {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 72px; /* clears the fixed nav */
  }
  .hero-left > p { font-size: 16px !important; }

  .svc-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr !important; gap: 48px !important; }
  .about-photo .frame { left: -10px; top: 12px; }
  .about-photo img { height: 400px; }
  .pad { padding-left: 20px !important; padding-right: 20px !important; }

  /* Section headings scale with the viewport instead of fixed 40-44px */
  .sec-h2 { font-size: clamp(1.7rem, 5.6vw, 2.5rem) !important; }

  /* Trim vertical rhythm on stacked sections */
  .sec { padding-top: 64px !important; }
}

@media (max-width: 600px) {
  /* Drop the nav CTA — it's in the hamburger menu; keeps the bar uncluttered */
  .nav-actions .nav-cta { display: none !important; }

  .svc-grid, .work-grid, .values-grid { grid-template-columns: 1fr; }

  .hero-badges { max-width: none; }
  .hero-badges li { font-size: 12px; gap: 9px; align-items: flex-start; }
  .hero-badges li span { padding-top: 4px; }
  .hero-badges img { height: 42px; width: 42px; }

  .hero-ctas a { flex: 1 1 100%; text-align: center; }

  .quote-card { padding: 26px 20px; }
  .cta-buttons a { flex: 1 1 100%; text-align: center; }
}

@media (max-width: 400px) {
  .nav-inner { padding: 0 14px; }
  .pad, .hero-grid { padding-left: 14px !important; padding-right: 14px !important; }
  .hero-badges { grid-template-columns: 1fr; }
}
