/* ============================================================
   MIPLANTEX — Premium garden/landscaping website
   Design: Nature-luxe + Trust & Authority
   Fonts: Outfit (display) + Inter (body)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Greens */
  --forest-900: #0A2E22;
  --forest-800: #0E3B2E;
  --forest-700: #134E3A;
  --forest-600: #1B6B4C;
  --leaf-500:  #2E9E5B;
  --leaf-400:  #4CB872;
  --lime-400:  #A3E635;
  --lime-300:  #BEF264;
  /* Warm accents */
  --gold-500:  #E0A92E;
  --gold-400:  #EBC25A;
  /* Neutrals */
  --cream-50:  #F7F5EC;
  --cream-100: #EFEDDF;
  --sand-100:  #EAE6D6;
  --ink-900:   #122019;
  --ink-700:   #2A3A31;
  --ink-600:   #45564D;
  --ink-400:   #7A8780;
  --white:     #ffffff;

  /* Semantic */
  --bg: var(--cream-50);
  --text: var(--ink-900);
  --muted: var(--ink-600);
  --primary: var(--forest-700);
  --primary-dark: var(--forest-800);
  --accent: var(--lime-400);
  --cta: var(--gold-500);

  /* Type */
  --font-serif: 'Fraunces', 'Georgia', serif;     /* editorial display */
  --font-display: 'Outfit', system-ui, sans-serif; /* UI / labels / buttons */
  --font-body: 'Inter', system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  /* Shadows — layered for depth */
  --shadow-sm: 0 1px 2px rgba(10,46,34,.05), 0 4px 12px rgba(10,46,34,.05);
  --shadow: 0 2px 6px rgba(10,46,34,.06), 0 14px 38px rgba(10,46,34,.10);
  --shadow-lg: 0 6px 16px rgba(10,46,34,.08), 0 34px 70px rgba(10,46,34,.18);
  --shadow-gold: 0 8px 20px rgba(224,169,46,.28), 0 18px 40px rgba(224,169,46,.22);

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Z-scale */
  --z-header: 50;
  --z-overlay: 60;
  --z-top: 70;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html.lenis { scroll-behavior: auto; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }

/* ---------- Site-wide film grain (handmade tactility) ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: var(--z-top);
  background: linear-gradient(90deg, var(--leaf-500), var(--lime-400), var(--gold-500));
  transition: width .1s linear;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; }
:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  background: var(--forest-800);
  color: #fff; padding: 10px 18px;
  border-radius: 10px; z-index: var(--z-top);
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}
.section { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.d-desktop { display: none; }
@media (min-width: 760px) { .d-desktop { display: inline; } }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; color: var(--ink-900); }
/* Editorial serif for the big display moments */
.hero-title, .section-title, .cta-band h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -.015em;
  line-height: 1.04;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  color: var(--leaf-500);
  margin-bottom: 18px;
}
.section-title { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.section-desc { color: var(--muted); font-size: 1.1rem; max-width: 58ch; }
.lead { font-size: 1.12rem; color: var(--ink-700); }
.section-head { margin-bottom: clamp(40px, 6vw, 68px); max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .section-desc { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 999px;
  padding: 13px 26px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn svg { transition: transform .3s var(--ease); }
.btn-sm { padding: 10px 20px; font-size: .92rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary { background: var(--forest-700); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--forest-800); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-gold { background: var(--gold-500); color: var(--forest-900); box-shadow: var(--shadow-gold); }
.btn-gold:hover { background: var(--gold-400); transform: translateY(-3px); }

.btn-ghost { background: rgba(19,78,58,.06); color: var(--forest-800); border: 1.5px solid rgba(19,78,58,.18); }
.btn-ghost:hover { background: rgba(19,78,58,.12); transform: translateY(-3px); }

.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.22); transform: translateY(-3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 16px 16px auto 16px;
  z-index: var(--z-header);
  border-radius: 999px;
  background: rgba(247, 245, 236, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid rgba(19, 78, 58, .08);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), inset .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(247, 245, 236, .92);
  box-shadow: var(--shadow);
  inset: 8px 8px auto 8px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 12px;
  max-width: var(--container);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--forest-800); letter-spacing: -.02em; }
.brand-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--leaf-400), var(--forest-700)); color: #fff; box-shadow: var(--shadow-sm); }
.brand-mark svg { transition: transform .4s var(--ease); }
.brand:hover .brand-mark svg { transform: rotate(-8deg) scale(1.08); }

.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  position: relative;
  display: inline-block;
  padding: 9px 14px;
  font-weight: 600;
  font-size: .96rem;
  color: var(--ink-700);
  border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px; border-radius: 2px;
  background: var(--leaf-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav a:hover { color: var(--forest-800); }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--forest-800); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { display: none; align-items: center; gap: 8px; font-weight: 700; font-family: var(--font-display); color: var(--forest-800); font-size: .95rem; }
.header-phone:hover { color: var(--leaf-500); }
.header-phone svg { color: var(--leaf-500); }

/* Mobile nav toggle */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2.4px; border-radius: 2px; background: var(--forest-800); transition: transform .3s var(--ease), opacity .2s var(--ease), top .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.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero-scroll { position: relative; }
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 75% -10%, #DCEFD8 0%, transparent 55%),
    radial-gradient(900px 600px at 0% 100%, #E9F3DF 0%, transparent 60%),
    var(--cream-50);
}
/* Two-column hero: keep it compact and contained so nothing hides behind the
   fixed header, and cap the video frame so it never overflows the viewport. */
@media (min-width: 1000px) {
  /* Top-align so the hero content always starts BELOW the fixed header and grows
     downward — it can never slip up behind the header. (Higher-specificity
     selectors so these win over the base hero typography rules.) */
  .hero { align-items: flex-start; }
  .hero-copy .hero-eyebrow { margin-bottom: 16px; }
  .hero-copy .hero-title { font-size: clamp(2.1rem, 3vw, 3rem); line-height: 1.07; margin-bottom: 16px; }
  .hero-copy .hero-sub { font-size: 1.02rem; margin-bottom: 22px; }
  .hero-copy .hero-cta { margin-bottom: 24px; }
  .hero-copy .hero-trust { gap: clamp(16px, 2.4vw, 36px); }
  .hero-copy .hero-trust strong { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
  .hero-visual { max-width: 460px; margin-inline: auto; }
  .hero-frame { max-height: 56svh; }
}
/* Pin the hero while the video scrubs — only when the viewport is tall enough to
   show the entire hero at once (otherwise it would clip / slip under the header).
   The .hero-scroll wrapper is taller than the viewport; the hero sticks to the top
   for that extra distance, which the JS maps to the video timeline. */
@media (min-width: 1000px) and (min-height: 740px) {
  .hero-scroll { height: 220svh; }
  .hero {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 0;
    padding-top: 122px;
    padding-bottom: 40px;
  }
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .55; }
.orb-1 { width: 420px; height: 420px; top: -80px; right: -60px; background: radial-gradient(circle at 30% 30%, var(--lime-300), transparent 70%); animation: float 14s var(--ease) infinite; }
.orb-2 { width: 360px; height: 360px; bottom: -100px; left: -40px; background: radial-gradient(circle at 50% 50%, var(--leaf-400), transparent 70%); animation: float 18s var(--ease) infinite reverse; }
.orb-3 { width: 240px; height: 240px; top: 40%; left: 55%; background: radial-gradient(circle at 50% 50%, var(--gold-400), transparent 70%); opacity: .35; animation: float 20s var(--ease) infinite; }
.hero-grain { position: absolute; inset: 0; opacity: .4;
  background-image: radial-gradient(rgba(19,78,58,.05) 1px, transparent 1px);
  background-size: 22px 22px;
}
.hero-spotlight {
  position: absolute; inset: 0;
  background: radial-gradient(420px 420px at var(--mx, 70%) var(--my, 30%), rgba(163,230,53,.22), transparent 60%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.hero:hover .hero-spotlight { opacity: 1; }

.floaties { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.floaty { position: absolute; opacity: .85; will-change: transform; filter: drop-shadow(0 8px 14px rgba(10,46,34,.12)); }
.f1 { top: 18%; right: 12%; }
.f2 { top: 64%; right: 22%; }
.f3 { top: 30%; left: 8%; }
.f4 { bottom: 16%; left: 16%; }

.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
  width: 100%;
}
@media (min-width: 1000px) { .hero-inner { grid-template-columns: 1.04fr .96fr; } }
.hero-copy { max-width: 640px; }

/* Hero visual (framed botanical art + floating chips) */
.hero-visual { position: relative; }
.hero-frame {
  margin: 0;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.6);
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, #DCEAD3, #134E3A);
  transform: rotate(-1.4deg);
  transition: transform .6s var(--ease);
}
.hero-frame::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), inset 0 -80px 120px rgba(10,46,34,.4);
  border-radius: inherit; pointer-events: none;
}
.hero-frame img,
.hero-frame .hero-art,
.hero-frame .hero-video { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; display: block; background: #134E3A; border-radius: var(--radius-xl); }
.hero-visual:hover .hero-frame { transform: rotate(0deg) scale(1.012); }

/* "live" badge over the hero video */
.hero-frame-badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(10,46,34,.5); backdrop-filter: blur(8px);
  color: #fff; font-family: var(--font-display); font-weight: 600;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  border: 1px solid rgba(255,255,255,.25);
}
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5a5a; box-shadow: 0 0 0 0 rgba(255,90,90,.6); animation: pulse-rec 1.8s infinite; }
@keyframes pulse-rec { 0% { box-shadow: 0 0 0 0 rgba(255,90,90,.55); } 70% { box-shadow: 0 0 0 8px rgba(255,90,90,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,90,0); } }

.hero-chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-family: var(--font-display);
}
.chip-rating { top: 22px; left: -18px; animation: floaty-chip 6s var(--ease) infinite; }
.chip-water { bottom: 28px; right: -16px; animation: floaty-chip 7s var(--ease) infinite reverse; }
.chip-stars { color: var(--gold-500); letter-spacing: 1px; font-size: .9rem; }
.chip-text { font-size: .82rem; color: var(--ink-700); line-height: 1.2; display: flex; flex-direction: column; }
.chip-text strong { font-size: .96rem; color: var(--forest-800); }
.chip-text small { color: var(--muted); }
.chip-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(46,158,91,.14); color: var(--leaf-500); flex: none; }
@media (max-width: 560px) { .chip-rating { left: 6px; } .chip-water { right: 6px; } }

@keyframes floaty-chip { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(19,78,58,.12);
  padding: 9px 18px; border-radius: 999px;
  font-size: .86rem; color: var(--forest-700);
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf-500); box-shadow: 0 0 0 0 rgba(46,158,91,.5); animation: pulse 2.2s infinite; }
.hero-title { font-size: clamp(2.5rem, 5.4vw, 4.3rem); font-weight: 600; margin-bottom: 24px; }
.hero-title .hl { position: relative; color: var(--leaf-500); white-space: nowrap; }
.hero-title .hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .32em;
  background: linear-gradient(90deg, var(--lime-300), var(--gold-400));
  z-index: -1; border-radius: 6px; opacity: .55;
  transform: scaleX(0); transform-origin: left;
  animation: underline 1s var(--ease) .5s forwards;
}
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.32rem); color: var(--ink-700); max-width: 60ch; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 56px); }
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; color: var(--forest-800); line-height: 1; }
.hero-trust span { color: var(--muted); font-size: .92rem; margin-top: 4px; }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); }
.scroll-cue-text { font-size: .76rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 600; }
.mouse { width: 24px; height: 38px; border: 2px solid rgba(19,78,58,.3); border-radius: 14px; display: grid; justify-items: center; padding-top: 6px; }
.mouse span { width: 4px; height: 8px; border-radius: 4px; background: var(--leaf-500); animation: scrollwheel 1.8s infinite; }

/* ---------- Marquee ---------- */
.marquee { background: var(--forest-800); color: var(--cream-50); overflow: hidden; padding-block: 18px; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 28s linear infinite; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.marquee-track .dot { color: var(--lime-400); }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- About ---------- */
.about { background: var(--cream-50); }
.about-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 920px) { .about-grid { grid-template-columns: .95fr 1.05fr; } }
.about-visual { position: relative; }
.about-img-card { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; border: 1px solid rgba(19,78,58,.08); }
.about-illustration { width: 100%; height: auto; }
.about-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.about-badge {
  position: absolute; right: -10px; bottom: -22px;
  background: var(--forest-800); color: #fff;
  border-radius: var(--radius); padding: 20px 24px;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-lg);
}
.about-badge-num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--lime-400); line-height: 1; }
.about-badge-label { font-size: .82rem; color: rgba(255,255,255,.85); line-height: 1.35; }

.about-content p + p { margin-top: 16px; }
.about-points { margin-top: 28px; display: grid; gap: 14px; }
.about-points li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--ink-700); }
.check { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(46,158,91,.14); color: var(--leaf-500); margin-top: 2px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; font-family: var(--font-display); font-weight: 700; color: var(--forest-700); }
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--leaf-500); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, var(--cream-50), var(--cream-100)); }
.services-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: #fff;
  border: 1px solid rgba(19,78,58,.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(163,230,53,.10), transparent 50%);
  opacity: 0; transition: opacity .35s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(46,158,91,.3); }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--forest-700), var(--leaf-500)); color: #fff; margin-bottom: 22px; box-shadow: var(--shadow); transition: transform .35s var(--ease); }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.06); }
.service-card h3 { font-size: 1.22rem; margin-bottom: 10px; position: relative; }
.service-card p { color: var(--muted); font-size: .98rem; position: relative; }

/* ---------- Process (dark) ---------- */
.process {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(46,158,91,.25), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(163,230,53,.12), transparent 60%),
    var(--forest-800);
  color: var(--cream-50);
}
.on-dark .section-title, .on-dark .eyebrow { color: #fff; }
.on-dark .eyebrow { color: var(--lime-400); }
.on-dark .section-desc { color: rgba(255,255,255,.78); }
.steps { display: grid; gap: 24px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.step:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); border-color: rgba(163,230,53,.4); }
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; background: linear-gradient(135deg, var(--lime-400), var(--gold-400)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 16px; }
.step h3 { color: #fff; font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.76); font-size: .96rem; }

/* ---------- Results ---------- */
.results { background: var(--cream-50); }
.results-grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 920px) { .results-grid { grid-template-columns: 1.4fr .9fr; } }

.ba-card { margin: 0; }
.ba {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2; user-select: none;
  border: 1px solid rgba(19,78,58,.08);
}
.ba-img { position: absolute; inset: 0; }
.ba-img svg, .ba-img img { width: 100%; height: 100%; object-fit: cover; }
/* Both images are full-size and identically framed. The "before" layer is revealed
   with clip-path (NOT by resizing), so it never scales/zooms while dragging. */
.ba-before { z-index: 2; clip-path: inset(0 50% 0 0); will-change: clip-path; }
.ba-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; transform: translateX(-50%); background: #fff; z-index: 3; pointer-events: none; box-shadow: 0 0 8px rgba(10,46,34,.35); }
.ba-tag { position: absolute; top: 14px; font-family: var(--font-display); font-weight: 700; font-size: .78rem; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(4px); }
.ba-tag-before { left: 14px; background: rgba(18,32,25,.6); color: #fff; }
.ba-tag-after { right: 14px; background: rgba(255,255,255,.85); color: var(--forest-800); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.ba-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--forest-700); display: grid; place-items: center; box-shadow: var(--shadow); pointer-events: none; }
.ba-card figcaption { margin-top: 16px; text-align: center; color: var(--muted); font-size: .95rem; }

.results-side { display: grid; gap: 18px; }
.result-stat { background: #fff; border: 1px solid rgba(19,78,58,.08); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm); }
.result-stat-num { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--leaf-500); line-height: 1; }
.result-stat p { color: var(--muted); margin-top: 6px; font-size: .96rem; }

/* Projects gallery */
.gallery { margin-top: clamp(24px, 4vw, 40px); display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(19,78,58,.08); }
.gallery-item img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 18px 16px;
  font-family: var(--font-display); font-weight: 600; color: #fff; font-size: .98rem;
  background: linear-gradient(transparent, rgba(10,46,34,.82));
}

/* ---------- Stats ---------- */
.stats {
  background: linear-gradient(135deg, var(--leaf-500), var(--forest-700));
  color: #fff;
  padding-block: clamp(48px, 7vw, 90px);
}
.stats-grid { display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); text-align: center; }
@media (min-width: 820px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-num { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; letter-spacing: -.03em; }
.stat-label { margin-top: 8px; color: rgba(255,255,255,.85); font-weight: 500; }
.stats-grid .stat { position: relative; }
.stats-grid .stat:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 10%; height: 80%; width: 1px; background: rgba(255,255,255,.2); }
@media (max-width: 819px) { .stats-grid .stat::after { display: none; } }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--cream-50); }
.testi-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card {
  background: #fff; margin: 0;
  border: 1px solid rgba(19,78,58,.08);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column; gap: 18px;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stars { color: var(--gold-500); letter-spacing: 3px; font-size: 1.1rem; }
.testi-card blockquote { font-size: 1.06rem; color: var(--ink-700); line-height: 1.6; }
.testi-card figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--leaf-400), var(--forest-700)); }
.testi-card figcaption strong { display: block; font-family: var(--font-display); }
.testi-card figcaption small { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(163,230,53,.18), transparent 60%),
    linear-gradient(135deg, rgba(10,46,34,.92), rgba(14,59,46,.80)),
    url('../assets/cta-bg.jpg') center/cover no-repeat,
    var(--forest-900);
  color: #fff;
  padding-block: clamp(72px, 10vw, 128px);
  position: relative; overflow: hidden;
}
.cta-inner { text-align: center; max-width: 760px; margin-inline: auto; position: relative; }
.cta-leaves { position: absolute; inset: -40px 0 auto; display: grid; place-items: center; opacity: .6; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4.6vw, 3rem); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.82); font-size: 1.12rem; margin-bottom: 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--cream-100), var(--cream-50)); }
.contact-grid { display: grid; gap: clamp(36px, 5vw, 64px); grid-template-columns: 1fr; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-list { margin-top: 30px; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(46,158,91,.12); color: var(--leaf-500); }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a, .contact-list .addr { font-family: var(--font-display); font-weight: 600; color: var(--forest-800); font-size: 1.05rem; }
.contact-list a:hover { color: var(--leaf-500); }
.map { margin-top: 30px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(19,78,58,.1); }
.map iframe { width: 100%; height: 240px; border: 0; filter: saturate(1.05); }

/* Form */
.contact-form-wrap { background: #fff; border: 1px solid rgba(19,78,58,.08); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); align-self: start; }
.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--ink-700); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(19,78,58,.16);
  background: var(--cream-50);
  color: var(--ink-900);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--leaf-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(46,158,91,.12);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d9534f; box-shadow: 0 0 0 4px rgba(217,83,79,.1); }
.err { color: #c0392b; font-size: .82rem; min-height: 0; }
.field.invalid .err::before { content: attr(data-msg); }
.form-note { font-size: .82rem; color: var(--muted); }
.btn-spinner { display: none; animation: spin .8s linear infinite; }
.btn.loading .btn-label { opacity: .7; }
.btn.loading .btn-spinner { display: inline-block; }
.form-success { display: flex; align-items: center; gap: 10px; background: rgba(46,158,91,.12); color: var(--forest-700); border: 1px solid rgba(46,158,91,.3); border-radius: 14px; padding: 14px 16px; font-weight: 600; font-family: var(--font-display); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-900); color: rgba(255,255,255,.72); padding-top: clamp(56px, 7vw, 90px); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.brand-footer { color: #fff; margin-bottom: 16px; }
.brand-footer .brand-mark { background: linear-gradient(135deg, var(--lime-400), var(--leaf-500)); }
.footer-brand p { max-width: 38ch; font-size: .96rem; }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a:hover { color: var(--lime-400); }
.footer-contact li { font-size: .96rem; line-height: 1.5; }
.footer-bottom { margin-top: 48px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .86rem; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: var(--z-overlay);
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--forest-800); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(20px) scale(.8);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .25s var(--ease);
}
.to-top.show { opacity: 1; transform: translateY(0) scale(1); }
.to-top:hover { background: var(--leaf-500); }

/* ============================================================
   Scroll reveal animations
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(38px);
  filter: blur(6px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
  will-change: opacity, transform, filter;
}
[data-reveal].in { opacity: 1; transform: none; filter: blur(0); }
/* Stagger children within a group */
[data-reveal].in { transition-delay: var(--reveal-delay, 0ms); }

/* ============================================================
   Keyframes
   ============================================================ */
@keyframes float { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-26px) translateX(10px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,158,91,.5); } 70% { box-shadow: 0 0 0 12px rgba(46,158,91,0); } 100% { box-shadow: 0 0 0 0 rgba(46,158,91,0); } }
@keyframes underline { to { transform: scaleX(1); } }
@keyframes scrollwheel { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(8px); } 100% { opacity: 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Mobile nav overlay
   ============================================================ */
@media (max-width: 919px) {
  .header-phone { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(14, 59, 46, .98);
    backdrop-filter: blur(8px);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s var(--ease);
    z-index: var(--z-overlay);
  }
  body.nav-open .main-nav { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 8px; text-align: center; }
  .main-nav a { color: #fff; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; padding: 12px 20px; }
  .main-nav a::after { display: none; }
  .main-nav a:hover { color: var(--lime-400); }
}
@media (min-width: 920px) {
  .header-phone { display: inline-flex; }
}
@media (min-width: 1180px) {
  .header-phone { margin-right: 4px; }
}

/* Hide desktop CTA on very small screens to avoid crowding */
@media (max-width: 460px) {
  .header-actions .btn-primary { display: none; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-orb, .floaty, .marquee-track { animation: none !important; }
}
