/* ================================================================
   TRUE NORTH LAWN & PROPERTY CARE
   Production-ready CSS — pixel-perfect dark-green glassmorphism
   ================================================================ */

/* ── 1. RESET & CUSTOM PROPERTIES ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette */
  --c-bg:         #071410;
  --c-bg2:        #0d1e14;
  --c-bg3:        #030e08;
  --c-card:       rgba(10, 27, 17, 0.78);
  --c-card-h:     rgba(12, 32, 20, 0.92);
  --c-border:     rgba(160, 230, 130, 0.14);
  --c-border-h:   rgba(160, 230, 130, 0.32);
  --c-text:       #e5f5da;
  --c-muted:      #7baa8a;
  --c-accent:     #cbee70;       /* lime-green CTA */
  --c-accent2:    #b0d950;
  --c-star:       #f4c12a;

  /* Typography */
  --ff-serif:     'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-sans:      'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --fw-reg:       400;
  --fw-med:       500;
  --fw-semi:      600;
  --fw-bold:      700;
  --fw-xbold:     800;

  /* Layout */
  --max-w:        1060px;
  --nav-h:        118px; /* clears fixed navbar + 80px logo */
  --r-sm:         10px;
  --r-md:         16px;
  --r-lg:         22px;
  --r-xl:         30px;
  --r-pill:       999px;

  /* Shadows */
  --shadow-card:  0 18px 52px rgba(0,0,0,.52), 0 4px 12px rgba(0,0,0,.30);
  --shadow-sm:    0 6px 20px rgba(0,0,0,.36);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-sans);
  font-weight: var(--fw-reg);
  color: var(--c-text);
  background-color: var(--c-bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img    { display: block; max-width: 100%; }
a      { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3 { font-family: var(--ff-serif); line-height: 1.08; color: var(--c-text); }

/* ── 2. LAYOUT HELPERS ─────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.center { text-align: center; }
.mt-12  { margin-top: 12px; }

/* ── 3. GLOBAL BACKGROUND AMBIANCE ─────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 90vw 70vh at 10% -10%, rgba(50,110,60,.18) 0%, transparent 55%),
    radial-gradient(ellipse 70vw 60vh at 95% 40%,  rgba(20,70,35,.14) 0%, transparent 55%),
    radial-gradient(ellipse 60vw 50vh at 50% 105%, rgba(30,90,45,.12) 0%, transparent 55%);
}

/* ── 4. PAGE LEAF DECORATIONS ──────────────────────────────────── */
.page-leaves { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.pl {
  position: absolute;
  width: 280px;
  opacity: .16;
  filter: saturate(.7) brightness(.9);
}
.pl-tl {
  top: 180px; left: -70px;
  transform: rotate(22deg);
  animation: plDriftA 10s ease-in-out infinite;
}
.pl-br {
  bottom: 60px; right: -75px;
  transform: rotate(-20deg) scaleX(-1);
  animation: plDriftB 13s ease-in-out infinite;
}
@keyframes plDriftA {
  0%,100%{ transform: rotate(22deg) translateY(0px); }
  50%    { transform: rotate(22deg) translateY(-16px); }
}
@keyframes plDriftB {
  0%,100%{ transform: rotate(-20deg) scaleX(-1) translateY(0px); }
  50%    { transform: rotate(-20deg) scaleX(-1) translateY(-14px); }
}

/* Section floating leaves */
.section-leaf {
  position: absolute;
  width: 240px;
  opacity: .10;
  pointer-events: none;
  filter: saturate(.65);
}
.sl-tr { top: -20px; right: -40px; transform: rotate(-22deg) scaleX(-1); }
.sl-bl { bottom: -20px; left: -40px; transform: rotate(18deg); }

/* ── 5. TYPOGRAPHY SCALE ───────────────────────────────────────── */
.eyebrow {
  font-family: var(--ff-sans);
  font-size: 10.5px;
  font-weight: var(--fw-semi);
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 10px;
}

/* H1 — Hero only */
.hero-h1 {
  font-size: clamp(44px, 6.8vw, 60px);
  font-weight: var(--fw-xbold);
  letter-spacing: -.4px;
  margin: 14px 0 16px;
  color: var(--c-text);
}

/* H2 — Section headings */
h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: var(--fw-bold);
  letter-spacing: .1px;
  margin-top: 8px;
}

/* H3 — Card titles */
h3 {
  font-size: 18px;
  font-weight: var(--fw-bold);
  margin-bottom: 8px;
  color: var(--c-text);
}

/* ── 6. BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--r-pill);
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: .7px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.btn:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

/* Primary / CTA */
.btn-primary {
  background: linear-gradient(140deg, #d8f285 0%, #b6e040 100%);
  color: #0f2610;
  border: 1px solid rgba(215,240,120,.35);
  box-shadow: 0 5px 22px rgba(180,224,60,.28);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.20), transparent 55%);
  border-radius: inherit;
  pointer-events: none;
}
.btn-primary:hover {
  box-shadow: 0 10px 36px rgba(180,224,60,.48);
  filter: brightness(1.06);
}

/* Outline / ghost */
.btn-outline {
  background: rgba(18,46,26,.55);
  color: var(--c-text);
  border: 1px solid rgba(160,230,130,.30);
}
.btn-outline:hover {
  background: rgba(22,55,30,.75);
  border-color: rgba(160,230,130,.55);
}

/* Sizes */
.btn-lg    { padding: 14px 30px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* ── 7. SECTION DEFAULTS ───────────────────────────────────────── */
.section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.section-header { margin-bottom: 50px; }

/* ── 8. SCROLL REVEAL ANIMATIONS ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .72s ease, transform .72s ease;
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .14s; }
.reveal-delay-2 { transition-delay: .28s; }
.reveal-delay-3 { transition-delay: .42s; }

/* ── 9. NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 14px 24px;
  transition: padding .30s ease;
}
.navbar.scrolled { padding: 8px 24px; }

/* Logo sits outside the glass pill (nav-wrap) */
.navbar-inner {
  max-width: min(var(--max-w), calc(100vw - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 230px;
}
@media (max-width: 1240px) {
  .navbar-inner { gap: 72px; }
}
@media (max-width: 1024px) {
  .navbar-inner { gap: 24px; }
}
@media (max-width: 900px) {
  .navbar-inner { gap: 10px; }
}

/* Glass pill: links + CTA + hamburger only */
.nav-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: rgba(5, 15, 9, .84);
  border: 1px solid rgba(160,230,130,.14);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  box-shadow: 0 8px 36px rgba(0,0,0,.48);
  transition: box-shadow .3s;
}
.navbar.scrolled .nav-wrap { box-shadow: 0 14px 50px rgba(0,0,0,.62); }

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  line-height: 0;
}

/* Logo — fixed height, correct aspect ratio */
.nav-logo img {
  height: 80px;
  width: auto;
  display: block;
  filter: brightness(1.05);
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  margin-right: 14px;
}
.nav-link {
  font-size: 11px;
  font-weight: var(--fw-semi);
  text-transform: uppercase;
  letter-spacing: 1.3px;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  color: rgba(229,245,218,.82);
  transition: color .2s, background .2s, border-color .2s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--c-text);
  background: rgba(160,230,130,.08);
  border-color: rgba(160,230,130,.14);
}

/* CTA button in nav */
.nav-cta { padding: 9px 20px; font-size: 11px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  border-radius: var(--r-sm);
  margin-left: auto;
  transition: background .2s;
}
.hamburger:hover { background: rgba(160,230,130,.07); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transform-origin: center;
  transition: transform .28s ease, opacity .28s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  top: calc(100% + 8px);
  left: 16px; right: 16px;
  background: rgba(4, 14, 8, .97);
  border: 1px solid rgba(160,230,130,.16);
  border-radius: 20px;
  padding: 14px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 22px 60px rgba(0,0,0,.65);
  z-index: 501;
  animation: menuIn .22s ease;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link {
  font-size: 13px;
  padding: 11px 16px;
  border-radius: var(--r-md);
}
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 10. HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  overflow: hidden;
  z-index: 1;
}

/* Background image */
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: -0%;
  width: 120%; height: 120%;
  object-fit: cover;
  object-position: center 65%;
  filter: saturate(1.15) brightness(.80) contrast(1.04);
  will-change: transform;
  transform-origin: center bottom;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      112deg,
      rgba(3,9,5,.92) 0%,
      rgba(3,9,5,.75) 36%,
      rgba(3,9,5,.32) 62%,
      rgba(3,9,5,.04) 100%
    ),
    linear-gradient(180deg, transparent 45%, rgba(5,13,8,.96) 100%);
}

/* Floating hero leaf */
.hero-leaf {
  position: absolute;
  right: -20px; top: 6%;
  width: clamp(180px, 26vw, 320px);
  opacity: .26;
  pointer-events: none;
  z-index: 1;
  filter: saturate(.75);
  transform: rotate(-8deg);
  animation: heroLeafFloat 7s ease-in-out infinite;
}
@keyframes heroLeafFloat {
  0%,100% { transform: rotate(-8deg) translateY(0px); }
  50%     { transform: rotate(-8deg) translateY(-16px); }
}

/* Content layout */
.hero-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 76px;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 42px;
}
.hero-copy { max-width: 560px; }

.hero-sub {
  font-size: 15.5px;
  color: rgba(229,245,218,.78);
  margin-bottom: 30px;
  font-weight: var(--fw-reg);
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Social proof badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 10px 18px 10px 12px;
  border-radius: var(--r-pill);
  background: rgba(4, 14, 9, .84);
  border: 1px solid rgba(160,230,130,.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px rgba(0,0,0,.40);
}
.badge-faces { display: flex; align-items: center; }
.face {
  display: block;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2.5px solid rgba(4,14,9,.90);
  flex-shrink: 0;
}
.face + .face { margin-left: -9px; }
.badge-count {
  display: block;
  font-family: var(--ff-sans);
  font-size: 22px;
  font-weight: var(--fw-xbold);
  line-height: 1;
  color: var(--c-text);
}
.badge-lbl {
  display: block;
  font-size: 9.5px;
  font-weight: var(--fw-semi);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-top: 2px;
}

/* ── 11. SERVICES ──────────────────────────────────────────────── */
.section-services {
  background:
    linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg2) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.svc-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 34px 24px 30px;
  text-align: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  transition: border-color .28s, transform .28s, box-shadow .28s;
  cursor: default;
}
.svc-card:hover {
  border-color: var(--c-border-h);
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0,0,0,.62);
}

/* Service icon container — 80×80 with larger icon inside */
.svc-icon-wrap {
  width: 200px;
  height: 90px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: rgba(160, 230, 130, .07); */
  /* border: 1px solid rgba(160, 230, 130, .18); */
  border-radius: 22px;
  /* box-shadow: inset 0 1px 0 rgba(160, 230, 130, .10), 0 4px 14px rgba(0, 0, 0, .30); */
}
.svc-icon-wrap img {
  /* width: 52px;
  height: 52px;
  object-fit: contain; */
  filter: brightness(1.1) saturate(.95);
}

.svc-card h3 { margin-bottom: 10px; }
.svc-card p  { font-size: 13.5px; color: var(--c-muted); line-height: 1.62; }

/* ── 12. BEFORE / AFTER COMPARISON ─────────────────────────────── */
.section-results {
  background: linear-gradient(180deg, var(--c-bg2) 0%, var(--c-bg) 100%);
  padding-top: 0;
  padding-bottom: 80px;
}

.compare-block {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 26px 80px rgba(0,0,0,.68);
  border: 1px solid rgba(160,230,130,.14);
}

/* Stage */
.compare-stage {
  position: relative;
  width: 100%;
  height: clamp(240px, 42vw, 500px);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

/* Both images: fill the stage */
.cmp-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
/* After = z-index 1 (base layer) */
.cmp-after { z-index: 1; }

/* Before = z-index 2, clipped from right */
.cmp-before-wrap {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  z-index: 2;
  width: 50%; /* JS updates this */
}
.cmp-before-img {
  /* Width is set to the stage's full pixel width by JS so the image
     fills the stage and the wrapper just clips it */
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  max-width: none;         /* override global img rule */
  filter: saturate(.55) brightness(.85) sepia(.1);
}

/* Divider */
.cmp-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;              /* JS updates */
  transform: translateX(-50%);
  width: 4px;
  z-index: 10;
  pointer-events: none;
}
.cmp-line {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255,255,255,.90);
  box-shadow: 0 0 16px rgba(255,255,255,.40);
}
.cmp-handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 22px rgba(0,0,0,.52);
}
.cmp-handle svg {
  width: 22px; height: 22px;
  color: #102614;
}

/* BEFORE / AFTER labels */
.cmp-tag {
  position: absolute;
  top: 15px;
  z-index: 12;
  font-family: var(--ff-sans);
  font-size: 9.5px;
  font-weight: var(--fw-bold);
  letter-spacing: 2.2px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(3, 10, 5, .84);
  border: 1px solid rgba(160,230,130,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  color: var(--c-text);
}
.cmp-tag-l { left: 15px; }
.cmp-tag-r { right: 15px; }

/* Accessible range input sits on top but invisible */
.cmp-range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 20;
  appearance: none;
  -webkit-appearance: none;
}

/* Footer bar */
.compare-footer {
  display: flex;
  justify-content: center;
  padding: 15px;
  background: rgba(4, 13, 7, .90);
  border-top: 1px solid rgba(160,230,130,.10);
}
.compare-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: var(--fw-bold);
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--c-muted);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(12, 32, 18, .65);
  border: 1px solid rgba(160,230,130,.12);
}
.compare-pill svg { width: 16px; height: 16px; opacity: .6; flex-shrink: 0; }

/* ── 13. REVIEWS CAROUSEL ──────────────────────────────────────── */
.section-reviews {
  background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg2) 100%);
}

/* Carousel wrapper */
.carousel {
  position: relative;
  padding: 0 0 48px;
}

/* Viewport — clips the sliding track */
.carousel-viewport {
  overflow: hidden;
  border-radius: var(--r-lg);
}

/* Track — flex row that slides left/right */
.carousel-track {
  display: flex;
  will-change: transform;
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
}

/* Individual review card — width set in JS */
.review-card {
  flex: 0 0 50%;            /* default desktop; overridden in JS */
  padding: 0 8px;
}

/* Inner card content */
.review-card-inner {
  height: 100%;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transition: border-color .28s, transform .28s, box-shadow .28s;
}
.review-card-inner:hover {
  border-color: var(--c-border-h);
  transform: translateY(-4px);
  box-shadow: 0 24px 58px rgba(0,0,0,.58);
}

.stars {
  color: var(--c-star);
  font-size: 15px;
  letter-spacing: 3px;
  flex-shrink: 0;
}

.review-quote {
  font-size: 14px;
  font-style: italic;
  line-height: 1.72;
  color: rgba(229,245,218,.86);
  flex: 1;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(160,230,130,.10);
  margin-top: auto;
  flex-shrink: 0;
}
.reviewer-av {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: .5px;
  color: rgba(255,255,255,.92);
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.12);
}
.reviewer strong { display: block; font-size: 13.5px; font-weight: var(--fw-bold); }
.reviewer span   { display: block; font-size: 11px; color: var(--c-muted); margin-top: 1px; }

/* Prev / Next arrow buttons */
.carousel-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(10, 28, 17, .88);
  border: 1px solid rgba(160,230,130,.20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text);
  z-index: 10;
  transition: background .22s, border-color .22s, transform .22s;
  box-shadow: 0 4px 18px rgba(0,0,0,.45);
}
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-btn:hover {
  background: rgba(14, 38, 22, .98);
  border-color: rgba(160,230,130,.42);
  transform: translateY(-50%) scale(1.06);
}
.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }
.carousel-btn:disabled { opacity: .35; cursor: not-allowed; pointer-events: none; }

/* Dot indicators */
.carousel-dots {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(160,230,130,.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .28s, transform .28s, width .28s;
}
.carousel-dot.active {
  background: var(--c-accent);
  transform: scale(1.25);
  width: 22px;
  border-radius: var(--r-pill);
}

/* ── 14. CTA STRIP ─────────────────────────────────────────────── */
.section-cta {
  background: var(--c-bg2);
  padding: 72px 0;
}

.cta-box {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
/* Subtle background glow */
.cta-box::before {
  content: '';
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse 55% 45% at 50% 50%, rgba(120,190,70,.07), transparent 70%);
  pointer-events: none;
}

.cta-h2 { font-size: clamp(26px, 3.8vw, 48px); margin: 8px 0 6px; }
.cta-sub { font-size: 14px; color: var(--c-muted); margin-top: 4px; }

/* ── 15. FOOTER ────────────────────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, var(--c-bg2) 0%, var(--c-bg3) 100%);
  padding: 62px 0 26px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160,230,130,.24), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.3fr auto;
  gap: 48px;
  align-items: start;
  margin-bottom: 46px;
}

/* Footer logo */
.footer-brand img {
  height: 76px;
  width: auto;
  filter: brightness(1.05);
}

/* Footer nav columns */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h5 {
  font-family: var(--ff-sans);
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: 2.3px;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 8px;
}
.footer-col a {
  font-size: 13.5px;
  color: rgba(229,245,218,.72);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--c-text); }
.footer-col a svg   { width: 14px; height: 14px; fill: var(--c-muted); flex-shrink: 0; }

/* Social icons */
.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.social-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(160,230,130,.06);
  border: 1px solid rgba(160,230,130,.14);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .22s, border-color .22s, transform .22s;
}
.social-icon:hover {
  background: rgba(160,230,130,.14);
  border-color: rgba(160,230,130,.32);
  transform: translateY(-2px);
}
.social-icon svg { width: 17px; height: 17px; fill: var(--c-text); stroke: var(--c-text); }

/* Footer bottom bar */
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(160,230,130,.09);
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: var(--c-muted); }

/* ── 16. RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1060px) {
  .carousel-prev { left: -12px; }
  .carousel-next { right: -12px; }
}

@media (max-width: 900px) {
  /* Navbar */
  .nav-links, .nav-cta { display: none; }
  .hamburger           { display: flex; }

  /* Services 2-col */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* CTA box stacks */
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 32px;
  }
  .cta-box .btn-lg { width: 100%; justify-content: center; }

  /* Footer 2-col */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand   { grid-column: 1 / -1; }
  .footer-socials { grid-column: 1 / -1; flex-direction: row; }
}

@media (max-width: 640px) {
  :root { --nav-h: 96px; }

  .nav-logo img { height: 52px; }

  .section          { padding: 62px 0; }
  .container        { padding: 0 18px; }

  /* Hide large decorations */
  .pl, .hero-leaf   { display: none; }
  .section-leaf     { display: none; }

  /* Services single col */
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  /* Hero */
  .hero-body       { padding-bottom: 52px; }
  .hero-h1         { font-size: clamp(40px, 10vw, 56px); }
  .hero-ctas       { flex-direction: column; }
  .hero-ctas .btn  { text-align: center; justify-content: center; }

  /* CTA box */
  .cta-box { padding: 28px 22px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }

  /* Carousel arrows flush with edges */
  .carousel-prev { left: 0; }
  .carousel-next { right: 0; }
}

@media (max-width: 400px) {
  :root { --nav-h: 88px; }

  .hero-h1     { font-size: 38px; }
  .badge-count { font-size: 19px; }
  .nav-logo img { height: 44px; }
}

/* ── 17. UTILITY ───────────────────────────────────────────────── */
/* Focus ring for accessibility */
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

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