/* ════════════════════════════════════════════════════════════════
   LAWN 'N' ORDER — Homepage Redesign · UI sections
   Before/After · Process · Gallery · Estimator · Reviews · Areas ·
   FAQ · Final CTA · Footer · Lightbox · Sticky bar
   ════════════════════════════════════════════════════════════════ */

/* ── Before / After ──────────────────────────────────────────── */
.transform { padding: 104px 0; background: var(--bg-alt); }
.ba-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-2);
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}
.ba-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-after { z-index: 1; }
.ba-before-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  width: var(--ba, 50%);
}
.ba-before-wrap img { width: calc(100% / (var(--baf, 0.5))); max-width: none; }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba, 50%);
  z-index: 3;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.4);
}
.ba-handle::after {
  content: "⟨ ⟩";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: #1a2419;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -1px;
  box-shadow: var(--shadow-2);
}
.ba-tag {
  position: absolute;
  bottom: 18px;
  z-index: 4;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(10, 18, 11, 0.6);
  padding: 8px 16px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.ba-tag--before { left: 18px; }
.ba-tag--after { right: 18px; }
.ba-caption { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 18px; }

/* ── Process timeline ────────────────────────────────────────── */
.process { padding: 104px 0; background: var(--bg); }
.timeline { position: relative; max-width: 880px; margin: 0 auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}
.timeline-progress {
  position: absolute;
  left: 27px;
  top: 8px;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, var(--brand), var(--accent));
  z-index: 1;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 26px;
  padding: 26px 0;
}
.step-dot {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--muted);
  transition: border-color 0.4s ease, color 0.4s ease, background 0.4s ease, transform 0.4s ease;
}
.step.is-in .step-dot {
  border-color: var(--brand);
  color: var(--brand);
  transform: scale(1.08);
}
.step-body h3 { font-size: 23px; margin-bottom: 8px; }
.step-body h3 .hand { font-size: 21px; margin-left: 10px; }
.step-body p { color: var(--muted); margin: 0; max-width: 60ch; }
.step-meta {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Gallery ─────────────────────────────────────────────────── */
.work { padding: 104px 0; background: var(--bg-alt); }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.g-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  border: none;
  padding: 0;
  background: var(--surface);
}
.g-item--w2 { grid-column: span 2; }
.g-item--h2 { grid-row: span 2; }
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 36px 16px 14px;
  background: linear-gradient(to top, rgba(8, 14, 9, 0.78), transparent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.g-item figcaption small { font-weight: 600; opacity: 0.75; font-size: 12px; }
.g-item:hover figcaption { opacity: 1; transform: none; }
@media (max-width: 920px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 12, 9, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox figure {
  margin: 0;
  max-width: min(1280px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox figcaption { color: rgba(255, 255, 255, 0.85); font-size: 15px; font-weight: 600; text-align: center; }
.lb-btn {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(8px);
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.2); transform: scale(1.06); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.06); }

/* ── Estimator ───────────────────────────────────────────────── */
.estimator { padding: 104px 0; background: var(--bg); }
.est-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.est-form { padding: 40px; }
.est-q { margin-bottom: 30px; }
.est-q > label, .est-q > .q-label {
  display: block;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 14px;
}
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.svc-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.svc-opt svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.svc-opt:hover { border-color: var(--brand); transform: translateY(-2px); }
.svc-opt.is-active { border-color: var(--brand); background: color-mix(in oklab, var(--brand) 8%, transparent); }
.size-row { display: flex; gap: 10px; }
.size-row .svc-opt { flex: 1; justify-content: center; text-align: center; }
.est-slider { width: 100%; accent-color: var(--cta); height: 32px; }
.est-slider-val { font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.extras { display: flex; flex-wrap: wrap; gap: 10px; }
.extra-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.extra-chip.is-active {
  border-color: var(--brand);
  background: color-mix(in oklab, var(--brand) 10%, transparent);
  color: var(--brand);
}
.est-result {
  background: linear-gradient(160deg, var(--green-900), var(--green-700));
  color: #fff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.est-result .hand { color: var(--green-300); font-size: 24px; }
.est-price {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 6px 0 4px;
  font-variant-numeric: tabular-nums;
}
.est-unit { font-size: 15px; font-weight: 600; opacity: 0.8; margin-bottom: 22px; }
.est-fine { font-size: 13.5px; opacity: 0.7; line-height: 1.5; margin: 22px 0 0; }
.est-result .btn { width: 100%; margin-top: 10px; }
.est-result .btn--solid { background: #fff; color: var(--green-900); }
.est-result .btn--solid:hover { background: var(--green-300); }
.est-result .btn--glass { font-size: 15px; padding: 13px 22px; }
@media (max-width: 920px) {
  .est-card { grid-template-columns: 1fr; }
  .est-form { padding: 28px 22px; }
  .est-result { padding: 32px 22px; }
  .svc-grid { grid-template-columns: 1fr; }
}

/* ── Reviews ─────────────────────────────────────────────────── */
.reviews { padding: 104px 0; background: var(--bg-alt); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.review-stars { color: #fbbf24; font-size: 17px; letter-spacing: 3px; margin-bottom: 14px; }
.review-card blockquote {
  margin: 0 0 22px;
  font-size: 16.5px;
  line-height: 1.65;
  flex: 1;
}
.review-foot { display: flex; align-items: center; gap: 12px; }
.review-ava {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex: none;
}
.review-foot b { display: block; font-size: 15px; }
.review-foot small { color: var(--muted); font-weight: 600; }
.review-g {
  margin-left: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #4285f4;
}
.reviews-agg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
  font-weight: 700;
  color: var(--muted);
  font-size: 15px;
}
.reviews-agg .stars { color: #fbbf24; letter-spacing: 3px; font-size: 18px; }
@media (max-width: 920px) { .review-grid { grid-template-columns: 1fr; } }

/* ── Service area ────────────────────────────────────────────── */
.areas { padding: 88px 0; background: var(--bg); }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; max-width: 880px; }
.area-chips span {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.area-chips span:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq { padding: 104px 0; background: var(--bg-alt); }
.faq-list { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.faq-list details[open] { box-shadow: var(--shadow-1); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--brand);
  transition: transform 0.3s ease;
  flex: none;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 24px 22px; color: var(--muted); max-width: 70ch; }

/* ── Final CTA ───────────────────────────────────────────────── */
.final-cta { position: relative; padding: 130px 0; overflow: hidden; color: #fff; }
.final-cta .bg {
  position: absolute;
  inset: -10% 0;
  z-index: 0;
  will-change: transform;
}
.final-cta .bg img { width: 100%; height: 100%; object-fit: cover; }
.final-cta .scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(8, 14, 9, 0.85) 10%, rgba(8, 14, 9, 0.45) 70%, rgba(8, 14, 9, 0.3));
}
.final-cta .wrap { position: relative; z-index: 2; }
.final-cta .hand { color: var(--green-300); font-size: clamp(24px, 2.6vw, 32px); }
.final-cta h2 { font-size: clamp(36px, 5vw, 64px); max-width: 16ch; margin: 8px 0 18px; }
.final-cta p { max-width: 50ch; color: rgba(255, 255, 255, 0.85); margin: 0 0 30px; font-size: 18px; }
.final-cta .hero-ctas { margin-bottom: 0; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer { background: #0c140e; color: #cfd8cd; padding: 72px 0 36px; font-size: 15px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.footer-grid p { color: #93a191; margin: 0 0 18px; max-width: 36ch; }
.footer-grid h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: #cfd8cd; text-decoration: none; transition: color 0.2s ease; }
.footer-grid a:hover { color: var(--green-300); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--green-300); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  font-size: 13.5px;
  color: #7c8a7a;
}
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Mobile sticky bar ───────────────────────────────────────── */
.sticky-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 80;
  display: none;
  gap: 10px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-2);
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.sticky-bar.is-visible { transform: none; }
.sticky-bar .btn { flex: 1; padding: 13px 10px; font-size: 15px; }
@media (max-width: 720px) {
  .sticky-bar { display: flex; }
}

.header-cta .btn--solid:hover,.mnav-foot .btn--solid:hover{background:var(--gold-soft);color:var(--green-900);box-shadow:0 0 0 2px var(--gold-soft),var(--shadow-2)}
