/* ============================================================
   Greenz Outdoor Services — single-page launch site
   Palette: Forest #253909 · Eucalyptus #A9C2A3 · Banana #FFDF8C
   Type: Bricolage Grotesque (display) · Libre Franklin (body)
   ============================================================ */

:root {
  --forest: #253909;
  --forest-deep: #1a2a06;
  --euca: #a9c2a3;
  --euca-soft: #c4d5bf;
  --banana: #ffdf8c;
  --banana-deep: #f5c94e;
  --cream: #f7f3e8;
  --paper: #fffdf6;
  --ink: #223012;
  --ink-soft: #4b5a38;
  --hair: rgba(37, 57, 9, 0.14);
  --display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --body: "Libre Franklin", Georgia, sans-serif;
  --shadow-card: 0 10px 30px rgba(26, 42, 6, 0.14);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

/* paper grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: var(--forest); }

.container { width: min(1160px, 92vw); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--banana); color: var(--forest);
  padding: 0.6rem 1rem; z-index: 99; font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); color: var(--forest); line-height: 1.04; margin: 0; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); font-weight: 800; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }

.kicker {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--body); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.17em; text-transform: uppercase; color: var(--ink-soft);
  margin: 0 0 1rem;
}
.kicker::before {
  content: ""; width: 26px; height: 8px; flex: none;
  background: var(--banana);
  clip-path: polygon(0 35%, 100% 0, 96% 70%, 3% 100%);
}

/* banana marker stroke under key words (echo of the logo underline);
   painted per line box so the phrase can wrap at any viewport width */
.stroke {
  background: linear-gradient(to top, var(--banana) 0.22em, transparent 0.22em);
  padding-bottom: 0.04em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--body); font-weight: 700; font-size: 1rem;
  padding: 0.95rem 1.6rem; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-solid { background: var(--forest); color: var(--cream); }
.btn-solid:hover { background: var(--forest-deep); }
.btn-banana { background: var(--banana); color: var(--forest); }
.btn-banana:hover { background: var(--banana-deep); }
.btn-line { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-line:hover { background: var(--forest); color: var(--cream); }
.btn-line--cream { border-color: var(--cream); color: var(--cream); }
.btn-line--cream:hover { background: var(--cream); color: var(--forest); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 232, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1.5px solid var(--hair);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; }
.brand img { width: clamp(120px, 14vw, 168px); height: auto; }
.header-right { display: flex; align-items: center; gap: 1.2rem; }
.header-phone {
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  color: var(--forest); text-decoration: none; white-space: nowrap;
}
.header-phone small { display: block; font-family: var(--body); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.header-cta { padding: 0.7rem 1.25rem; font-size: 0.92rem; }
@media (max-width: 640px) {
  .header-cta { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.2rem, 7vw, 6rem); }
.hero::after {
  /* big eucalyptus oval bleeding off the right edge — badge motif */
  content: ""; position: absolute; z-index: 0;
  width: clamp(520px, 58vw, 900px); height: clamp(520px, 58vw, 900px);
  right: clamp(-360px, -24vw, -180px); top: 50%; transform: translateY(-50%);
  background: radial-gradient(closest-side, var(--euca-soft), var(--euca) 78%);
  border-radius: 50%;
  border: 10px solid rgba(37, 57, 9, 0.1);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy .lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 34em; margin: 1.4rem 0 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; padding: 0; margin: 0; list-style: none; }
.hero-trust li { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.94rem; color: var(--ink-soft); }
.hero-trust li::before { content: "✦"; color: var(--banana-deep); font-size: 0.85em; }

/* snapshot stack */
.snaps { position: relative; min-height: clamp(360px, 42vw, 520px); }
.snap {
  position: absolute; margin: 0; background: var(--paper);
  padding: 10px 10px 34px; box-shadow: var(--shadow-card);
  border: 1px solid rgba(37, 57, 9, 0.08);
  transition: transform 0.35s ease;
}
.snap img { width: 100%; height: 100%; object-fit: cover; }
.snap figcaption {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft); position: absolute; bottom: 9px; left: 12px; right: 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.snap-1 { width: 58%; aspect-ratio: 4 / 4.6; left: 0; top: 4%; transform: rotate(-4deg); z-index: 2; }
.snap-2 { width: 52%; aspect-ratio: 4 / 4.2; right: 2%; top: 0; transform: rotate(3.5deg); z-index: 1; }
.snap-2 figcaption { text-align: right; }
.snap-3 { width: 56%; aspect-ratio: 4 / 3.4; right: 10%; bottom: 0; transform: rotate(-2deg); z-index: 3; }
.snap:hover { transform: rotate(0deg) scale(1.02); z-index: 5; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero::after { display: none; }
  .snaps { min-height: 74vw; }
}
@media (max-width: 640px) {
  /* two staggered cards on phones — the absolute-positioned pile gets illegible */
  .snaps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; min-height: 0; }
  .snap { position: static; }
  .snap-1, .snap-3 { width: auto; aspect-ratio: auto; }
  .snap img { height: auto; }
  .snap-2 { display: none; }
  .snap-1 { transform: rotate(-2.5deg); }
  .snap-3 { transform: rotate(2deg); margin-top: 2.2rem; }
}
/* grid/flex children must be allowed to shrink below content width */
.hero-grid > *, .about-grid > *, .focus-grid > *, .faq-grid > *, .areas-grid > *, .estimate-grid > * { min-width: 0; }

/* ---------- section scaffolding ---------- */
section { padding: clamp(3.4rem, 7vw, 6rem) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; margin: 0.9rem 0 0; }

/* ---------- services ---------- */
.services { background: var(--paper); border-top: 1.5px solid var(--hair); border-bottom: 1.5px solid var(--hair); }
.svc-row {
  display: grid; grid-template-columns: 84px 1fr 1.35fr; gap: clamp(1rem, 3vw, 2.6rem);
  padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-top: 1.5px solid var(--hair); align-items: start;
}
.svc-row:last-of-type { border-bottom: 1.5px solid var(--hair); }
.svc-num {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: transparent; -webkit-text-stroke: 1.6px var(--forest); opacity: 0.75; line-height: 1;
  padding-top: 0.2rem;
}
.svc-main h3 { margin-bottom: 0.45rem; }
.svc-main p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.svc-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; align-content: start; }
.svc-chips span {
  font-size: 0.82rem; font-weight: 600; color: var(--forest);
  background: var(--cream); border: 1.5px solid var(--hair);
  padding: 0.32rem 0.72rem; border-radius: 999px; white-space: nowrap;
}
.svc-note { margin-top: 1.6rem; font-weight: 600; color: var(--ink-soft); }
.svc-note a { white-space: nowrap; }
@media (max-width: 800px) {
  .svc-row { grid-template-columns: 48px 1fr; }
  .svc-chips { grid-column: 2; }
  .svc-num { font-size: 1.4rem; }
}

/* ---------- SEO focus ---------- */
.seo-focus { background: var(--cream); }
.focus-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.focus-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.focus-list article {
  background: var(--paper); border: 1.5px solid var(--hair); border-radius: var(--radius);
  padding: clamp(1rem, 2vw, 1.35rem); box-shadow: 0 8px 22px rgba(26, 42, 6, 0.08);
}
.focus-list h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.focus-list p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; line-height: 1.55; }
@media (max-width: 900px) {
  .focus-grid, .focus-list { grid-template-columns: 1fr; }
}

/* ---------- reviews ---------- */
.reviews { position: relative; }
.reviews .section-head { margin-inline: auto; text-align: center; }
.reviews .kicker { justify-content: center; }
.reviews-widget { max-width: 1100px; margin-inline: auto; }
.reviews-cta { text-align: center; margin-top: 2.4rem; }

/* ---------- about / the greenz way ---------- */
.about { background: var(--euca); }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-photo { position: relative; }
.about-photo .snap { position: relative; transform: rotate(-2.5deg); }
.about-photo .snap:hover { transform: rotate(0); }
.about-copy .kicker { color: var(--forest); }
.about-copy p { color: var(--ink); }
.about-copy .big { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; line-height: 1.5; margin: 1.2rem 0 1.4rem; }
.about-points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0.85rem; }
.about-points li { display: flex; gap: 0.75rem; font-weight: 600; align-items: baseline; }
.about-points li::before {
  content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%;
  background: var(--forest); border: 3.5px solid var(--banana); transform: translateY(2px);
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- gallery marquee ---------- */
.gallery { background: var(--paper); border-top: 1.5px solid var(--hair); border-bottom: 1.5px solid var(--hair); overflow: hidden; }
/* native horizontal scroller — swipeable everywhere; JS adds the auto-glide */
.marquee {
  overflow-x: auto; padding: 1.4rem 0 1.8rem;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.marquee::-webkit-scrollbar { display: none; }
.marquee-track { display: flex; gap: clamp(1.2rem, 2.4vw, 2rem); width: max-content; }
.gal-snap {
  flex: none; margin: 0; background: var(--paper);
  padding: 8px 8px 30px; box-shadow: 0 8px 22px rgba(26, 42, 6, 0.14);
  border: 1px solid rgba(37, 57, 9, 0.08); position: relative;
  transition: transform 0.3s ease;
}
.gal-snap:nth-child(odd) { transform: rotate(-1.4deg); }
.gal-snap:nth-child(even) { transform: rotate(1.2deg); }
.gal-snap:hover { transform: rotate(0) scale(1.03); z-index: 2; }
.gal-snap img { height: clamp(200px, 24vw, 300px); width: auto; max-width: none; display: block; }
.gal-snap figcaption {
  position: absolute; bottom: 7px; left: 10px; right: 10px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- service area ---------- */
.areas-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.area-group { margin-top: 1.8rem; }
.area-group + .area-group { margin-top: 1.4rem; }
.area-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 0.6rem; }
.area-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.area-chips span {
  font-weight: 700; font-size: 0.95rem; color: var(--forest);
  background: var(--paper); border: 1.5px solid var(--hair);
  padding: 0.5rem 0.95rem; border-radius: 999px;
}
.area-chips .home {
  background: var(--forest); color: var(--cream); border-color: var(--forest);
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.area-chips .home::before { content: "★"; color: var(--banana); font-size: 0.85em; }
.areas-note { margin-top: 1.6rem; color: var(--ink-soft); font-size: 0.97rem; }
.map-frame {
  background: var(--paper); padding: 10px; border: 1px solid rgba(37, 57, 9, 0.08);
  box-shadow: var(--shadow-card); transform: rotate(1.2deg);
}
.map-frame iframe { width: 100%; height: clamp(320px, 34vw, 430px); border: 0; display: block; }
@media (max-width: 820px) { .areas-grid { grid-template-columns: 1fr; } .map-frame { transform: none; } }

/* ---------- FAQ ---------- */
.faq {
  background: var(--paper); border-top: 1.5px solid var(--hair);
}
.faq-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.faq-list { display: grid; gap: 0.85rem; }
.faq-list details {
  background: var(--cream); border: 1.5px solid var(--hair); border-radius: var(--radius);
  padding: 0.95rem 1.1rem;
}
.faq-list summary {
  cursor: pointer; font-family: var(--display); font-weight: 800; color: var(--forest);
  line-height: 1.2;
}
.faq-list summary::marker { color: var(--banana-deep); }
.faq-list p { margin: 0.75rem 0 0; color: var(--ink-soft); font-size: 0.96rem; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- estimate ---------- */
.estimate { background: var(--forest); color: var(--cream); }
.estimate h2 { color: var(--cream); }
.estimate .kicker { color: var(--euca); }
.estimate .kicker::before { background: var(--banana); }
.estimate { padding-bottom: clamp(2.6rem, 5vw, 4rem); }
.estimate-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.estimate-copy p { color: var(--euca-soft); font-size: 1.05rem; }
.estimate-phone {
  display: inline-block; font-family: var(--display); font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--banana);
  text-decoration: none; margin: 0.8rem 0 0.2rem;
}
.estimate-phone:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.estimate-hours { color: var(--euca-soft); font-weight: 600; font-size: 0.95rem; margin: 0 0 1.8rem; }
.estimate-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.8rem; }
.estimate-points li { display: flex; gap: 0.7rem; align-items: baseline; font-weight: 600; color: var(--cream); }
.estimate-points li::before { content: "✓"; color: var(--banana); font-weight: 800; }
.estimate-alt { margin-top: 1.4rem; font-size: 0.95rem; color: var(--euca-soft); }
.estimate-alt a { color: var(--cream); }
.form-card {
  background: var(--cream); border-radius: var(--radius);
  padding: clamp(0.8rem, 2vw, 1.4rem); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}
/* sized to the rendered GHL form per breakpoint; embed script can grow it */
.form-card iframe { width: 100%; min-height: 830px; border: none; border-radius: 10px; display: block; }
@media (max-width: 880px) {
  .estimate-grid { grid-template-columns: 1fr; }
  .form-card iframe { min-height: 780px; }
}
@media (max-width: 560px) {
  .form-card iframe { min-height: 1125px; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--forest-deep); color: var(--euca-soft); padding: clamp(2.8rem, 5vw, 4rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(1.8rem, 4vw, 3rem); align-items: start; }
.footer-brand img { width: 190px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.94rem; margin: 0; max-width: 30em; }
.site-footer h4 { font-family: var(--body); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--banana); margin: 0 0 0.9rem; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer a { color: var(--cream); text-decoration-color: rgba(247, 243, 232, 0.35); }
.site-footer a:hover { text-decoration-color: var(--banana); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-legal {
  border-top: 1px solid rgba(169, 194, 163, 0.25); margin-top: 2.6rem; padding-top: 1.4rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; justify-content: space-between;
  font-size: 0.85rem; color: rgba(196, 213, 191, 0.85);
}
.footer-legal a { color: inherit; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- legal pages ---------- */
.legal-page { max-width: 800px; margin-inline: auto; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.legal-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.4rem; }
.legal-page .updated { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 2rem; }
.legal-page h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 2rem 0 0.5rem; }
.legal-page p, .legal-page li { color: var(--ink-soft); }
