/* ============================================================
   RGB Lawncare — styles
   ============================================================ */

:root {
  --brand:        #669132;
  --brand-2:      #7aad42;
  --brand-dark:   #4f7526;
  --brand-darker: #3c5a1d;
  --ink:          #16210e;
  --ink-2:        #233018;
  --charcoal:     #0e120b;
  --cream:        #f4f7ec;
  --cream-2:      #eaf0dd;
  --text:         #2b3524;
  --muted:        #5f6e51;
  --line:         rgba(20, 33, 14, .12);
  --white:        #ffffff;

  --shadow-sm: 0 2px 8px rgba(20, 33, 14, .08);
  --shadow-md: 0 10px 30px rgba(20, 33, 14, .12);
  --shadow-lg: 0 24px 60px rgba(20, 33, 14, .18);

  --radius:   14px;
  --radius-lg: 22px;
  --header-h: 76px;

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand-darker); }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* Icons (Lucide renders <svg class="lucide">) */
.lucide { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic { width: 1.15em; height: 1.15em; }

/* Accessible focus */
:where(a, button, input, select, textarea, .g-item):focus-visible {
  outline: 3px solid var(--brand-2);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 700; font-size: .98rem; line-height: 1;
  padding: 14px 22px; min-height: 48px; border: 2px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: #fff;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn .lucide { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--brand-dark); }
.btn-primary:hover { background: var(--brand-darker); }
.btn-sm { padding: 9px 16px; min-height: 40px; font-size: .9rem; }
.btn-lg { padding: 17px 30px; min-height: 54px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.7); color: #fff; backdrop-filter: blur(2px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; }

.btn-light { background: #fff; color: var(--brand-darker); }
.btn-light:hover { background: #fff; color: var(--brand-darker); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.15); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.nav-inner { display: flex; align-items: center; gap: 20px; width: 100%; }

.brand { display: flex; align-items: center; gap: 11px; color: #fff; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.brand-text {
  font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .5px;
  line-height: .9; text-transform: uppercase; color: inherit;
}
.brand-text span { display: block; font-size: .62rem; letter-spacing: 3px; font-family: var(--font-body); font-weight: 700; opacity: .9; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  color: #fff; font-weight: 600; font-size: .98rem; position: relative; padding: 6px 0;
  text-shadow: 0 1px 6px rgba(0,0,0,.35);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--brand-2);
  transition: width .25s ease;
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 14px; margin-left: 8px; }
.nav-phone { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 700; font-size: .95rem; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.nav-phone .ic { width: 18px; height: 18px; }
.nav-phone:hover { color: var(--brand-2); }

/* scrolled state */
.site-header.scrolled { background: #fff; box-shadow: var(--shadow-sm); height: 66px; }
.site-header.scrolled .brand { color: var(--ink); }
.site-header.scrolled .brand-logo { filter: none; }
.site-header.scrolled .nav a,
.site-header.scrolled .nav-phone { color: var(--ink); text-shadow: none; }
.site-header.scrolled .nav a:hover,
.site-header.scrolled .nav-phone:hover { color: var(--brand-dark); }

/* hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.nav-toggle span { display: block; height: 3px; width: 100%; background: #fff; border-radius: 3px; transition: transform .3s ease, opacity .2s ease; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.site-header.scrolled .nav-toggle span { background: var(--ink); box-shadow: none; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: var(--charcoal) url('../assets/hero-poster.jpg') center 60% / cover no-repeat;
  color: #fff; overflow: hidden; padding-top: var(--header-h);
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 62%; z-index: 0;
  /* Start hidden so the .hero poster background shows instantly; the video
     is faded in by JS (the "is-ready" class) only once it is truly rendering
     frames. A blocked/slow/failed video just stays on the poster — no black
     flash, no layout shift. */
  opacity: 0;
  transition: opacity .7s ease;
}
.hero-video.is-ready { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(14,18,11,.55) 0%, rgba(14,18,11,.22) 35%, rgba(14,18,11,.32) 60%, rgba(14,18,11,.8) 100%),
    linear-gradient(90deg, rgba(14,18,11,.6) 0%, rgba(14,18,11,.04) 60%);
}
.hero-content { position: relative; z-index: 2; padding-block: 9vh 13vh; max-width: 760px; }

.eyebrow {
  display: flex; align-items: center; gap: 13px;
  font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  font-size: clamp(.68rem, 2.7vw, .82rem); line-height: 1.35; color: #e9f3da;
  margin-bottom: 22px; text-shadow: 0 2px 12px rgba(0,0,0,.55);
}
.eyebrow::before {
  content: ""; width: 30px; height: 4px; border-radius: 2px; flex: none;
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
}
.hero-title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.9rem, 9vw, 6.4rem); line-height: .92; letter-spacing: .5px;
  text-shadow: 0 6px 30px rgba(0,0,0,.45);
}
.hero-title .accent { color: var(--brand-2); }
.hero-sub {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem); max-width: 560px; margin-top: 22px; color: rgba(255,255,255,.92);
  text-shadow: 0 2px 14px rgba(0,0,0,.5);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 34px;
  font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.95);
}
.hero-trust li { display: flex; align-items: center; gap: 8px; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.hero-trust li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--brand-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center; color: #fff; opacity: .85;
  animation: bob 1.8s ease-in-out infinite;
}
.scroll-cue .lucide { width: 30px; height: 30px; stroke-width: 2.5; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@keyframes scrimIn { to { opacity: 1; } }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 9vw, 120px) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(38px, 5vw, 60px); text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: 3px; text-transform: uppercase; font-size: .82rem;
  color: var(--brand-dark); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--brand); }
.section-head .kicker { justify-content: center; }
.kicker.light { color: var(--brand-2); }
.kicker.light::before { background: var(--brand-2); }
.section-title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.95rem, 5vw, 3.3rem); line-height: 1.04; color: var(--ink); letter-spacing: .5px;
}
.section-lead { margin-top: 18px; font-size: 1.1rem; color: var(--muted); }

/* ---------- Services cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 26px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-2), var(--brand-dark)); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(102,145,50,.4); }
.card:hover::before { transform: scaleX(1); }
.card-ic {
  width: 60px; height: 60px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff;
}
.card-ic .lucide { width: 30px; height: 30px; }
.card h3 { font-size: 1.28rem; color: var(--ink); margin-bottom: 10px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: .98rem; }
.services-note { text-align: center; margin-top: 38px; color: var(--muted); font-size: 1.05rem; }

/* ---------- Stripe band ---------- */
.band { position: relative; color: #fff; overflow: hidden; }
.band-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.band-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,18,11,.88) 0%, rgba(14,18,11,.6) 55%, rgba(14,18,11,.35) 100%); }
.band-content { position: relative; z-index: 2; padding-block: clamp(64px, 11vw, 140px); max-width: 640px; }
.band-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.9rem, 5.5vw, 3.6rem); line-height: 1.04; margin-bottom: 18px; }
.band-sub { font-size: clamp(1rem, 2.2vw, 1.12rem); color: rgba(255,255,255,.9); margin-bottom: 30px; }

/* ---------- About ---------- */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 76px); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 60%; }
.about-badge {
  position: absolute; right: -10px; bottom: -16px; background: var(--brand-dark); color: #fff;
  border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow-md); text-align: center; line-height: 1.1;
}
.about-badge-big { font-family: var(--font-display); font-size: 1.8rem; display: block; text-transform: uppercase; }
.about-badge span:last-child { font-size: .7rem; letter-spacing: 2px; text-transform: uppercase; opacity: .9; }
.about-text .section-title { margin-bottom: 18px; }
.about-text p { color: var(--text); margin-bottom: 14px; }
.about-points { margin: 22px 0 28px; display: grid; gap: 12px; }
.about-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink-2); }
.about-points .ic { color: #fff; background: var(--brand); border-radius: 50%; padding: 4px; width: 24px; height: 24px; stroke-width: 3; }

/* ---------- Why / features ---------- */
.why { background: var(--white); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--cream); border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-ic { width: 52px; height: 52px; border-radius: 13px; background: rgba(102,145,50,.14); color: var(--brand-dark); display: grid; place-items: center; margin-bottom: 16px; }
.feature-ic .lucide { width: 26px; height: 26px; }
.feature h3 { color: var(--ink); font-size: 1.16rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .96rem; }

/* ---------- Gallery ---------- */
.work { background: var(--cream); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.g-item {
  border: 0; padding: 0; background: #ddd; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; box-shadow: var(--shadow-sm); position: relative;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-item::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease;
  background: rgba(14,18,11,.28) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3M11 8v6M8 11h6'/%3E%3C/svg%3E") center/40px no-repeat;
}
.g-item:hover img { transform: scale(1.08); }
.g-item:hover::after { opacity: 1; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand-dark), var(--brand-darker)); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(46px, 6vw, 72px); flex-wrap: wrap; }
.cta-inner h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.7rem, 4vw, 2.8rem); line-height: 1.06; }
.cta-inner p { color: rgba(255,255,255,.9); margin-top: 8px; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(34px, 5vw, 64px); align-items: start; }
.contact-info .section-title { margin-bottom: 16px; }
.contact-info > p { color: var(--muted); margin-bottom: 26px; }
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-ic { width: 48px; height: 48px; flex: none; border-radius: 12px; background: rgba(102,145,50,.14); color: var(--brand-dark); display: grid; place-items: center; }
.contact-ic .lucide { width: 22px; height: 22px; }
.contact-label { display: block; font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-list a, .contact-list div span:last-child { font-size: 1.06rem; font-weight: 600; color: var(--ink); word-break: break-word; }
.contact-list a:hover { color: var(--brand-dark); }

.contact-form-wrap {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md);
}
.estimate-form h3 { font-size: 1.4rem; color: var(--ink); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink-2); margin-bottom: 7px; }
.req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; min-height: 50px; border: 1.5px solid var(--line); border-radius: 11px;
  background: #fff; font-family: inherit; font-size: 1rem; color: var(--text); transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(102,145,50,.18);
}
.field textarea { resize: vertical; min-height: 90px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-fineprint { font-size: .8rem; color: var(--muted); margin-top: 14px; text-align: center; }

.form-status { margin-top: 16px; font-weight: 600; border-radius: 11px; padding: 0 16px; max-height: 0; overflow: hidden; opacity: 0; transition: all .3s ease; }
.form-status.show { padding: 14px 16px; max-height: 220px; opacity: 1; }
.form-status.success { background: rgba(102,145,50,.14); color: var(--brand-darker); border: 1px solid rgba(102,145,50,.4); }
.form-status.error { background: rgba(192,57,43,.1); color: #a5281c; border: 1px solid rgba(192,57,43,.35); }
.btn[disabled] { opacity: .65; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.82); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 46px; }
.footer-brand img { margin-bottom: 14px; }
.footer-tag { font-family: var(--font-display); text-transform: uppercase; font-size: 1.3rem; color: #fff; letter-spacing: .5px; }
.footer-area { font-size: .95rem; margin-top: 10px; max-width: 320px; color: rgba(255,255,255,.7); }
.footer-col h4 { color: #fff; font-size: .85rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: rgba(255,255,255,.78); font-size: .98rem; }
.footer-col a:hover { color: var(--brand-2); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px; font-size: .9rem; color: rgba(255,255,255,.6);
}
.footer-top { background: none; border: 0; color: rgba(255,255,255,.78); font-weight: 600; font-family: inherit; font-size: .9rem; display: inline-flex; align-items: center; gap: 7px; }
.footer-top .lucide { width: 16px; height: 16px; }
.footer-top:hover { color: var(--brand-2); }

/* ---------- Floating persistent CTA (mobile) ---------- */
.floating-cta {
  position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 160%);
  z-index: 95; display: inline-flex; align-items: center; gap: 9px;
  background: var(--brand-dark); color: #fff; font-weight: 700; font-size: 1rem;
  padding: 15px 26px; border-radius: 999px; box-shadow: 0 14px 34px rgba(14,18,11,.42);
  opacity: 0; pointer-events: none; white-space: nowrap;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), opacity .3s ease;
}
.floating-cta .lucide { width: 18px; height: 18px; }
.floating-cta.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
@media (min-width: 621px) { .floating-cta { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; background: rgba(8,11,6,.94);
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lb-img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lb-close, .lb-nav {
  position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; border-radius: 50%;
  width: 52px; height: 52px; font-size: 2rem; line-height: 1; display: grid; place-items: center;
  transition: background .2s ease;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 22px; right: 22px; font-size: 1.8rem; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Success modal ---------- */
.success-modal {
  position: fixed; inset: 0; z-index: 1100;
  display: none; align-items: center; justify-content: center; padding: 20px;
  background: rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: 'Outfit', var(--font-body);
  opacity: 0; transition: opacity .28s ease;
}
.success-modal.open { display: flex; opacity: 1; }
.success-card {
  position: relative; width: 100%; max-width: 380px;
  border-radius: 20px; overflow: hidden;
  border: 1.5px solid rgba(90,219,111,.35);
  transform: translateY(16px) scale(.96); opacity: 0;
  transition: transform .34s cubic-bezier(.2,.7,.2,1), opacity .34s ease;
}
.success-modal.open .success-card { transform: none; opacity: 1; }
.success-bg { position: absolute; inset: 0; z-index: 0; }
.success-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.18) saturate(.5); }
.success-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8,16,3,.5) 0%, rgba(8,16,3,.97) 100%);
}
.success-confirmed {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 26px 0;
}
.success-confirmed::before,
.success-confirmed::after {
  content: ''; flex: 1; height: 1.5px; background: #5adb6f;
}
.success-confirmed span {
  color: #5adb6f; font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; padding: 0 14px; white-space: nowrap;
}
.success-content { position: relative; z-index: 2; padding: 24px 26px 28px; }
.success-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.success-logo { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; }
.success-close {
  color: #666; font-size: 20px; cursor: pointer; line-height: 1;
  background: none; border: none; padding: 0; transition: color .2s ease;
}
.success-close:hover { color: #999; }
.success-title {
  font-family: 'Bebas Neue', var(--font-display); font-weight: 400;
  font-size: 52px; color: #fff; line-height: 1; margin-bottom: 10px; letter-spacing: .03em;
}
.success-accent { color: #5adb6f; }
.success-text { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.65; margin-bottom: 28px; }
.success-divider { height: 1px; background: rgba(255,255,255,.07); margin-bottom: 22px; }
.success-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.success-phone-block { display: flex; flex-direction: column; }
.success-phone-label { font-size: 10px; color: rgba(255,255,255,.3); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 3px; }
.success-phone-num { font-size: 15px; font-weight: 600; color: #fff; letter-spacing: .03em; text-decoration: none; }
.success-phone-num:hover { color: #5adb6f; }
.success-ig {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: 10px;
  padding: 9px 16px; color: #ccc; font-size: 13px; font-weight: 500; cursor: pointer;
  white-space: nowrap; text-decoration: none; display: inline-block; transition: background .2s ease, color .2s ease;
}
.success-ig:hover { background: rgba(255,255,255,.11); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .success-modal, .success-card { transition: none; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-phone { display: none; }
  .nav-toggle { display: flex; }

  /* Dim scrim sits BEHIND the menu (below the header's stacking context)
     so the dropdown itself stays perfectly crisp — no blur. */
  body.nav-open::before {
    content: ""; position: fixed; inset: var(--header-h) 0 0; z-index: 90;
    background: rgba(14, 18, 11, .42);
    opacity: 0; animation: scrimIn .28s ease forwards; pointer-events: none;
  }

  /* Floating menu card — inset from the edges, not edge-to-edge */
  .nav {
    display: flex; position: absolute; top: calc(100% + 12px);
    left: var(--gutter); right: var(--gutter); flex-direction: column; gap: 2px;
    margin-left: 0; z-index: 120;
    background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px;
    box-shadow: 0 26px 60px rgba(14, 18, 11, .30), 0 4px 14px rgba(14, 18, 11, .12);
    transform: translateY(-10px) scale(.97); transform-origin: top right;
    opacity: 0; visibility: hidden; pointer-events: none; overflow: hidden;
    transition: transform .3s cubic-bezier(.2, .7, .2, 1), opacity .22s ease, visibility .3s ease;
  }
  /* Brand accent bar across the top of the card */
  .nav::before {
    content: ""; display: block; height: 4px; margin: -10px -10px 8px;
    background: linear-gradient(90deg, var(--brand-2), var(--brand-dark));
  }
  .nav-open .nav { transform: translateY(0) scale(1); opacity: 1; visibility: visible; pointer-events: auto; }

  .nav a {
    display: flex; align-items: center; width: 100%;
    color: var(--ink); font-weight: 600; font-size: 1.04rem;
    padding: 14px 16px; border-radius: 12px; text-shadow: none;
    opacity: 0; transform: translateX(10px);
    transition: opacity .35s ease, transform .35s ease, background .2s ease, color .2s ease;
  }
  /* Leading accent bar grows on hover/focus */
  .nav a::before {
    content: ""; width: 0; height: 22px; border-radius: 3px; flex: none;
    background: linear-gradient(var(--brand-2), var(--brand-dark));
    transition: width .2s ease, margin .2s ease;
  }
  /* Chevron slides in on hover/focus — reset the desktop underline's
     absolute positioning so it flows as a centered flex item on the right. */
  .nav a::after {
    content: ""; position: static; left: auto; bottom: auto;
    width: 18px; height: 18px; flex: none; margin-left: auto;
    opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f7526' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center/18px no-repeat;
  }
  .nav a:hover, .nav a:focus-visible { background: rgba(102, 145, 50, .10); color: var(--brand-darker); }
  .nav a:hover::before, .nav a:focus-visible::before { width: 4px; margin-right: 12px; }
  .nav a:hover::after, .nav a:focus-visible::after { width: 18px; opacity: .85; transform: translateX(0); }

  /* Staggered reveal of the links while open */
  .nav-open .nav a { opacity: 1; transform: none; }
  .nav-open .nav a:nth-child(1) { transition-delay: .04s; }
  .nav-open .nav a:nth-child(2) { transition-delay: .09s; }
  .nav-open .nav a:nth-child(3) { transition-delay: .14s; }
  .nav-open .nav a:nth-child(4) { transition-delay: .19s; }
  .nav-open .nav a:nth-child(5) { transition-delay: .24s; }

  .nav-actions { margin-left: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; margin-inline: auto; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  :root { --gutter: 22px; }
  .cards { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-content { padding-block: 11vh 16vh; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .nav-actions .btn-sm { display: none; }
  .about-badge { right: 8px; bottom: -14px; padding: 13px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { justify-content: center; text-align: center; }
  .lb-nav { width: 44px; height: 44px; }
  .lb-close { top: 14px; right: 14px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue { animation: none; }
  .g-item img, .floating-cta { transition: none; }
  .nav a { opacity: 1 !important; transform: none !important; transition: none !important; }
  body.nav-open::before { animation: none; opacity: 1; }
}
