/* Fonts are self-hosted (latin subset): faster, and no request to a third party */
@font-face {
  font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/anton-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("assets/fonts/inter-latin-var.woff2") format("woff2");
}

:root {
  --green-900: #0a3a20;
  --green-800: #0f4d2c;
  --green-700: #14612f;
  --lime: #8cc63f;
  --lime-bright: #a6e04a;
  --yellow: #ffd60a;
  --white: #ffffff;
  --ink: #0b2615;
  --panel: rgba(8, 44, 22, 0.86);
  --panel-light: rgba(255, 255, 255, 0.95);
  --radius: 18px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --sod: 24px; /* width of the turf border the van lays (set by script.js) */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--white);
  background: #1f6b2a;
  line-height: 1.55;
  overflow-x: hidden;
  padding: var(--sod); /* keep the page inside the turf border */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; }
h1, h2, .brand-text, .big-phone, .strip p, .badges b, .stat b, .steps span {
  font-family: "Anton", Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* ---------- Animated turf background ---------- */
#turf, .turf-fallback, .turf-shade {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: -3;
}
.turf-fallback {
  z-index: -4;
  background: url("assets/turf.jpg") center / 640px auto repeat;
}
.turf-shade {
  z-index: -2;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0,0,0,.05), rgba(0,0,0,.35) 80%),
    linear-gradient(to bottom, rgba(0,0,0,.15), rgba(0,0,0,.25));
  pointer-events: none;
}

/* ---------- Van ---------- */
#van {
  position: fixed; left: 0; top: 0; z-index: 60;
  width: var(--van-w, 170px);
  pointer-events: none;
  will-change: transform;
}
#van img { width: 100%; height: auto; }
/* The bounce uses the separate `translate` property so it never overrides
   the rotation that script.js sets through `transform`. */
#van.bump img { animation: bump .5s ease-in-out infinite alternate; }
@keyframes bump { from { translate: 0 0; } to { translate: 0 -1.5px; } }

/* ---------- Turf tiles laid by the van ---------- */
#sod { position: fixed; left: 0; top: 0; z-index: 59; pointer-events: none; }
/* Bare soil groove the tiles are laid into (hides content scrolling under the border) */
.sod-groove {
  position: fixed; inset: 0; z-index: 58; pointer-events: none;
  border: var(--sod) solid #3a2a18;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.35), inset 0 0 12px rgba(0,0,0,.35);
}

/* ---------- Top bar & nav ---------- */
.topbar {
  background: var(--green-900);
  font-size: .9rem;
  display: flex; gap: .6rem; justify-content: center; align-items: center; flex-wrap: wrap;
  padding: .45rem 1rem;
  text-align: center;
}
.topbar strong { color: var(--yellow); }
.topbar-phone { font-weight: 800; color: var(--yellow); text-decoration: none; margin-left: .6rem; }

.nav {
  position: sticky; top: var(--sod); z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .5rem clamp(1rem, 4vw, 3rem);
  background: rgba(10, 58, 32, .94);
  border-bottom: 3px solid var(--lime);
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 62px; height: auto; }
.brand-text { font-size: 1.55rem; line-height: 1; }
.brand-text b { font-weight: 400; color: var(--white); }
.brand-text { color: var(--lime-bright); white-space: nowrap; }
.brand-text small {
  display: block; font-family: "Inter", sans-serif; font-size: .7rem; letter-spacing: .12em;
  color: #d8f0c0; margin-top: .25rem; font-weight: 600;
}
.nav-links { display: flex; gap: clamp(.8rem, 1.6vw, 1.4rem); margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 600; opacity: .92; white-space: nowrap; }
.nav-links a:hover { color: var(--lime-bright); }
.lang { display: flex; border: 2px solid rgba(255,255,255,.35); border-radius: 999px; overflow: hidden; flex-shrink: 0; }
.lang a { padding: .3rem .6rem; font-weight: 800; font-size: .8rem; text-decoration: none; letter-spacing: .05em; }
.lang a[aria-current="page"] { background: var(--lime); color: var(--ink); }
.lang a:not([aria-current]):hover { background: rgba(255,255,255,.15); }
.burger { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; margin-left: auto; }
.burger span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border-radius: 999px; padding: .7rem 1.3rem;
  font-weight: 800; text-decoration: none; border: 2px solid transparent; cursor: pointer;
  font-size: 1rem; font-family: inherit; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-ghost { border-color: #fff; color: #fff; background: rgba(0,0,0,.25); }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.08rem; }

/* ---------- Layout ---------- */
main { padding: 0 clamp(1rem, 4vw, 3rem); }
.section { max-width: 1180px; margin: 0 auto 2.5rem; background: var(--panel); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 2rem; }
.section-head h2, .why-copy h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
.section-head p:last-child { opacity: .9; }
.eyebrow {
  display: inline-block; margin: 0 0 .7rem;
  color: var(--ink); background: var(--lime);
  font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: 999px;
}

/* ---------- Hero ---------- */
.hero {
  max-width: 1180px; margin: 2.5rem auto;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center;
}
.hero-copy {
  background: var(--panel); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.8rem);
  box-shadow: var(--shadow);
}
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); }
.hero h1 span { color: var(--lime-bright); display: block; font-style: italic; }
.lead { font-size: 1.12rem; margin: 0 0 1.2rem; }
.lead strong { color: var(--yellow); }
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem 1rem; }
.checks li { position: relative; padding-left: 1.7rem; font-weight: 700; text-transform: uppercase; font-size: .92rem; letter-spacing: .03em; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: .05rem;
  width: 1.25rem; height: 1.25rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--lime); color: var(--ink); font-size: .75rem; font-weight: 900;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.badges { display: flex; gap: .8rem; flex-wrap: wrap; }
.badges div {
  display: flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  padding: .5rem .9rem; border-radius: 14px;
}
.badges b { font-size: 2rem; color: var(--yellow); line-height: 1; }
.badges span { font-size: .78rem; line-height: 1.15; font-weight: 700; text-transform: uppercase; }
.hero-logo img {
  width: 100%; max-width: 520px; margin: 0 auto;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.5));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-12px) rotate(-1deg); } }

/* ---------- Strip ---------- */
.strip {
  max-width: 1180px; margin: 0 auto 2.5rem; border-radius: var(--radius);
  background: var(--yellow); color: var(--ink); text-align: center; padding: .9rem 1rem;
  box-shadow: var(--shadow);
}
.strip p { margin: 0; font-size: clamp(1rem, 2.3vw, 1.5rem); }
.strip i { color: var(--green-700); font-style: normal; margin: 0 .4rem; }

/* ---------- Video ---------- */
.video-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem); align-items: center; }
.video-wrap { margin: 0; }
.video-wide { margin: 0 0 clamp(1.2rem, 3vw, 2.5rem); }
.video-wide video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; background: #0a3a20;
                    box-shadow: 0 16px 34px rgba(0,0,0,.4); }
.video-wrap video { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 16px; background: #0a3a20;
                    box-shadow: 0 16px 34px rgba(0,0,0,.4); }
.video-wrap figcaption { margin-top: .6rem; font-size: .9rem; text-align: center; opacity: .9; }
.video-wrap figcaption a, .video-copy a:not(.btn) { color: var(--yellow); }
.video-copy h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.video-copy .hero-ctas { margin: 1.4rem 0 0; }
@media (max-width: 860px) { .video-grid { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.2rem; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px; padding: 1.4rem; margin: 0;
  transition: transform .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-4px); background: rgba(255,255,255,.11); }
.card h3 { font-size: 1.2rem; color: var(--lime-bright); }
.card p { margin: 0; opacity: .92; }
.card-icon { font-size: 2.2rem; margin-bottom: .6rem; }
.stat b { display: block; font-size: 2.4rem; color: var(--yellow); margin-bottom: .3rem; line-height: 1; }
.quote p { font-size: 1.05rem; font-style: italic; }
.quote footer { margin-top: 1rem; font-weight: 700; color: var(--yellow); font-size: .92rem; }

/* ---------- Applications ---------- */
.apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.app {
  font-size: 2rem; text-align: center; padding: 1.2rem .6rem;
  background: linear-gradient(160deg, rgba(140,198,63,.25), rgba(140,198,63,.06));
  border: 1px solid rgba(140,198,63,.4); border-radius: 16px;
}
.app span { display: block; font-size: .95rem; font-weight: 700; margin-top: .4rem; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: center; }
.why-van img { filter: drop-shadow(0 20px 25px rgba(0,0,0,.45)); }
.why-list { padding: 0; list-style: none; margin: 1rem 0 0; }
.why-list li { padding: .55rem 0 .55rem 1.8rem; position: relative; border-bottom: 1px solid rgba(255,255,255,.1); }
.why-list li::before { content: "🌱"; position: absolute; left: 0; top: .5rem; }
.why-list b { color: var(--lime-bright); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; counter-reset: s; }
.steps li { background: rgba(255,255,255,.07); border-radius: 16px; padding: 1.4rem; position: relative; }
.steps span {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--yellow); color: var(--ink); font-size: 1.6rem; margin-bottom: .8rem;
}
.steps h3 { color: var(--lime-bright); font-size: 1.15rem; }
.steps p { margin: 0; opacity: .92; }

/* ---------- Areas ---------- */
.areas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.areas li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: .45rem 1rem; font-weight: 600; }
.areas li::before { content: "📍 "; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: rgba(255,255,255,.07); border-radius: 12px; margin-bottom: .7rem; padding: 0 1.2rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--yellow); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1rem; opacity: .92; }

/* ---------- Contact (mirrors the yard sign) ---------- */
#contact { background: var(--green-800); border: 4px solid #fff; }
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem; }
.contact-card {
  background: var(--panel-light); color: var(--green-800); border-radius: 14px;
  padding: clamp(1.3rem, 3vw, 2.2rem); position: relative;
}
.contact-card h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.contact-card h2 span { font-style: italic; font-size: 1.25em; }
.checks-dark { grid-template-columns: 1fr; }
.checks-dark li { font-family: "Anton", sans-serif; font-weight: 400; font-size: 1.15rem; letter-spacing: .03em; }
.checks-dark li::before { background: var(--green-800); color: #fff; }
.big-phone { display: block; font-size: clamp(2.4rem, 6vw, 3.8rem); text-decoration: none; line-height: 1.05; }
.site-link { font-weight: 800; font-size: 1.05rem; text-decoration: none; }
.site-link:hover, .big-phone:hover { text-decoration: underline; }
.qr { position: absolute; right: 1.2rem; bottom: 1.2rem; text-align: center; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.qr img { width: 96px; height: auto; }

.form { display: grid; gap: .7rem; align-content: start; }
.form h3 { font-family: "Anton", sans-serif; font-weight: 400; font-size: 1.9rem; text-transform: uppercase; margin: 0; color: var(--yellow); }
.form-sub { margin: 0 0 .3rem; opacity: .9; }
.form label { display: grid; gap: .25rem; font-weight: 600; font-size: .9rem; }
.form input, .form select, .form textarea {
  font: inherit; padding: .7rem .8rem; border-radius: 10px; border: 2px solid transparent;
  background: #fff; color: var(--ink); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--yellow); }
.form-note { margin: 0; text-align: center; font-size: .85rem; opacity: .85; }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 2rem 1rem 6rem; background: rgba(6, 34, 18, .92); }
.footer img { margin: 0 auto .6rem; }
.footer p { margin: .3rem 0; }
.footer a { color: var(--yellow); text-decoration: none; font-weight: 700; }
.footer .small { font-size: .8rem; opacity: .7; }

.float-call {
  position: fixed; right: calc(var(--sod) + .8rem); bottom: calc(var(--sod) + .8rem); z-index: 70;
  width: 58px; height: 58px; border-radius: 50%; display: none; place-items: center;
  background: var(--yellow); font-size: 1.6rem; text-decoration: none; box-shadow: var(--shadow);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 240px; }
  .cards-4, .apps, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .why, .contact { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--green-900); padding: .5rem 1rem 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-cta { display: none; }
  .burger { display: block; margin-left: .6rem; }
  .lang { margin-left: auto; }
  .topbar-sep, .topbar > span:first-child { display: none; }
  .motion-toggle { font-size: .72rem; }
  .topbar { font-size: .82rem; }
  .float-call { display: grid; }
}
@media (max-width: 560px) {
  .cards-4, .cards-3, .apps, .steps { grid-template-columns: 1fr; }
  .apps { grid-template-columns: 1fr 1fr; }
  .checks { grid-template-columns: 1fr; }
  .qr { position: static; margin-top: 1rem; display: inline-block; }
  .brand-text { font-size: 1.1rem; }
  .brand-text small { display: none; }
  .brand img { width: 40px; }
  .brand { gap: .45rem; min-width: 0; flex: 1 1 auto; overflow: hidden; }
  .brand-text { overflow: hidden; }
  .nav { gap: .6rem; }
  .lang a { padding: .25rem .45rem; }
  .hero-ctas .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-logo img, #van.bump img { animation: none; }
  .btn, .card { transition: none; }
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--yellow); color: var(--ink); font-weight: 800;
  padding: .6rem 1rem; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.motion-toggle {
  font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer;
  background: transparent; color: #d8f0c0; border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px; padding: .15rem .65rem; margin-left: .4rem;
}
.motion-toggle:hover { background: rgba(255,255,255,.12); }
body.paused .hero-logo img, body.paused #van.bump img { animation-play-state: paused; }

/* ---------- Form consent & footer links ---------- */
.consent { margin: .2rem 0 0; font-size: .78rem; line-height: 1.4; opacity: .85; }
.consent a, .footer-links a, .badges a, .card a, .faq a, .why-list a { color: var(--yellow); }
.footer-links { margin-top: .6rem !important; }

/* ---------- Legal pages (privacy, warranty) ---------- */
body.doc { --sod: 0px; }
.doc main { padding-top: 2rem; }
.legal { max-width: 860px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { font-family: "Inter", sans-serif; text-transform: none; letter-spacing: 0; font-size: 1.25rem; font-weight: 800; color: var(--lime-bright); margin: 1.8rem 0 .5rem; }
.legal p, .legal li { opacity: .95; }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--yellow); }
.legal .meta { opacity: .75; font-size: .9rem; }
.legal .box { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 1rem 1.2rem; }
.legal .caps { text-transform: uppercase; font-size: .9rem; }
.print-only { display: none; }
.doc-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }

@media print {
  body { background: #fff; color: #000; padding: 0; }
  #turf, .turf-fallback, .turf-shade, .sod-groove, .topbar, .nav, .footer, .float-call, .skip-link, .doc-actions { display: none !important; }
  .section { background: none; box-shadow: none; padding: 0; }
  .legal h2 { color: #000; }
  .legal a { color: #000; }
  .legal .box { border-color: #999; background: none; }
  .print-only { display: block; margin-top: 1.5rem; break-inside: avoid; }
  .print-only p { margin: .7rem 0; }
}

/* Anchor jumps land below the sticky header */
section[id], h2[id] { scroll-margin-top: calc(var(--sod) + 96px); }
