/* ===================================================================
   FENCE SERVICE — cinematic landing page
   =================================================================== */
:root {
  --green-primary: #3B6B1A;
  --green-dark: #2D5A14;
  --green-light: #4A7C1E;
  --black-warm: #0C1A0C;
  --bg-secondary: #101E10;
  --section-glow: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(59,107,26,0.07) 0%, transparent 70%);
  --charcoal: #16241A;
  --gold: #C9A84C;
  --white: #FFFFFF;
  --white-80: rgba(255,255,255,0.80);
  --white-50: rgba(255,255,255,0.50);
  --nav-x: 80px;
  --sec-pad: 80px;
  --font-head: 'Schibsted Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --spring: cubic-bezier(0.16, 1, 0.3, 1);
  --scroll-progress: 0%;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--black-warm); color: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--gold); color: var(--black-warm); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 40px; }

/* ---------- Gradient text ---------- */
.grad-gold, .grad-fade { display: inline-block; line-height: 1.2; padding-bottom: 0.15em; overflow: visible; text-shadow: none; }
.grad-gold { background: linear-gradient(135deg, var(--gold) 0%, #fff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.grad-fade { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.7) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
body.light-mode .grad-gold { background: linear-gradient(135deg, #0C1A0C 0%, #3B6B1A 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
body.light-mode .grad-fade { background: linear-gradient(180deg, #0C1A0C 0%, #2D5A14 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-head h2, .map-head h2, .about-copy h2, .hero h1 { overflow: visible; padding-bottom: 0.15em; }

/* ---------- Cinematic section bg ---------- */
.glow { position: relative; background-color: var(--black-warm); background-image: var(--section-glow); isolation: isolate; border-top: 1px solid rgba(59,107,26,0.2); }
.glow::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(59,107,26,0.45) 28%, rgba(59,107,26,0.45) 72%, transparent 100%) top center / 70% 1px no-repeat,
    radial-gradient(ellipse 72% 55% at 50% 0%, rgba(59,107,26,0.07) 0%, rgba(59,107,26,0.02) 40%, transparent 68%);
}
.glow::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0; background-image: var(--noise); background-size: 140px 140px; opacity: 0.035; mix-blend-mode: overlay; }
.glow > .container, .glow > * { position: relative; z-index: 1; }
.grid-bg { background-image: linear-gradient(rgba(59,107,26,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(59,107,26,0.05) 1px, transparent 1px); background-size: 60px 60px; background-position: center top; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1; padding: 15px 26px; min-height: 44px; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn-primary { background: var(--green-primary); color: var(--white); box-shadow: 0 8px 24px rgba(59,107,26,0.35); }
.btn-primary:hover { background: var(--green-light); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(74,124,30,0.45); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline:hover { background: var(--white); color: var(--black-warm); border-color: var(--white); }
.btn-gold { background: var(--gold); color: var(--black-warm); box-shadow: 0 8px 24px rgba(201,168,76,0.30); }
.btn-gold:hover { background: #d8bb66; transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--black-warm); }
.btn-light:hover { background: #f0f0f0; }

/* ---------- Cursor glow + scroll rail ---------- */
.cursor-glow { position: fixed; top: 0; left: 0; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(59,107,26,0.10) 0%, transparent 70%); pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); will-change: transform; }
.scroll-rail { position: fixed; top: 0; left: 0; width: 3px; height: 100%; z-index: 9998; background: linear-gradient(to bottom, var(--green-light) var(--scroll-progress), rgba(59,107,26,0.10) var(--scroll-progress)); }

/* ---------- Sticky call-bar ---------- */
.callbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101; height: 48px;
  background: var(--green-primary); display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 0 24px; transform: translateY(-100%); transition: transform .4s var(--spring);
  font-family: var(--font-body); font-size: 14px; color: #fff;
}
.callbar.show { transform: translateY(0); }
.callbar .cb-text { font-weight: 500; letter-spacing: .2px; }
.callbar .cb-text strong { font-weight: 700; }
.callbar .btn { padding: 7px 16px; min-height: 0; font-size: 13px; }
.callbar svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 5px; }

/* ---------- Navbar ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 14px var(--nav-x); transition: background-color .35s, backdrop-filter .35s, border-color .35s, top .4s var(--spring); border-bottom: 1px solid rgba(59,107,26,0.30); }
.nav.with-callbar { top: 48px; }
.nav.scrolled { background: rgba(10,6,3,0.90); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); border-bottom: 1px solid rgba(59,107,26,0.45); }
.nav-logo { display: flex; align-items: center; gap: 12px; padding: 6px 14px; border-radius: 10px; transition: background-color .35s, box-shadow .3s; }
.nav-logo { background: rgba(10,6,3,0.55); }
.nav-logo:hover { box-shadow: 0 0 0 1px rgba(201,168,76,0.18); }
.nav-logo img { height: 72px; width: auto; filter: drop-shadow(0 0 12px rgba(201,168,76,0.3)); transition: filter .3s; }
.nav-logo:hover img { filter: drop-shadow(0 0 16px rgba(201,168,76,0.4)); }
.nav-logo .brand-name { font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: 3px; color: var(--white); white-space: nowrap; }
@media (max-width: 560px) { .nav-logo .brand-name { display: none; } .nav-logo img { height: 60px; } }
.nav-links { display: flex; align-items: center; gap: 34px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a { font-family: var(--font-head); font-weight: 500; font-size: 16px; letter-spacing: -0.2px; color: var(--white); opacity: 0.85; transition: opacity .2s; position: relative; padding-bottom: 4px; }
.nav-links a::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 4px; height: 4px; border-radius: 50%; background: var(--green-primary); transform: translateX(-50%) scale(0); transition: transform .25s var(--spring); box-shadow: 0 0 8px rgba(74,124,30,0.9); }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after, .nav-links a.active::after { transform: translateX(-50%) scale(1); }
.nav-links a.active { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 11px 20px; min-height: 0; font-size: 14px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; z-index: 110; min-width: 44px; min-height: 44px; align-items: center; }
.hamburger span { width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; top: 0; right: 0; height: 100dvh; width: min(82vw, 360px); background: rgba(10,6,3,0.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-left: 1px solid rgba(59,107,26,0.30); z-index: 105; transform: translateX(100%); transition: transform .35s var(--spring); display: flex; flex-direction: column; gap: 8px; padding: 110px 32px 32px; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a.m-link { font-family: var(--font-head); font-weight: 500; font-size: 22px; color: var(--white); padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu .m-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.mobile-menu .m-actions .btn { width: 100%; padding: 16px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100dvh; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-fallback { position: absolute; top: 50%; left: 50%; width: 115%; height: 115%; transform: translate(-50%, -50%); object-fit: cover; object-position: center top; }
#heroVideo { opacity: 0; }
.hero-fallback { background-size: cover; background-position: center top; z-index: -1; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,6,3,0.80) 0%, rgba(10,6,3,0.45) 45%, rgba(10,6,3,0.25) 100%), rgba(10,6,3,0.40); }
.hero-content { position: relative; z-index: 2; width: 100%; padding: 0 var(--nav-x); max-width: 1560px; margin: 0 auto; }
.hero-inner { max-width: 780px; display: flex; flex-direction: column; gap: 24px; }
.badge { display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; background: var(--charcoal); border: 1px solid rgba(201,168,76,0.25); color: var(--white); font-family: var(--font-body); font-weight: 400; font-size: 14px; padding: 9px 16px 9px 13px; border-radius: 100px; box-shadow: 0 6px 20px rgba(0,0,0,0.35); }
.badge svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }
.hero h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(40px, 6.2vw, 72px); letter-spacing: -3px; line-height: 1.05; color: var(--white); text-wrap: balance; }
.hero .subtitle { font-family: var(--font-body); font-weight: 500; font-size: 20px; line-height: 1.5; color: rgba(255,255,255,0.75); max-width: 600px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.hero-buttons .btn { padding: 16px 30px; font-size: 16px; }
.scroll-indicator { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.55); font-family: var(--font-body); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }
.scroll-indicator svg { width: 22px; height: 22px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(7px); opacity: 1; } }

/* ---------- Portfolio strip ---------- */
.portfolio { background: var(--bg-secondary); border-top: 1px solid rgba(59,107,26,0.2); border-bottom: 1px solid rgba(59,107,26,0.2); padding: 26px 0; position: relative; }
.portfolio-head { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--nav-x) 16px; }
.portfolio-head .ph-title { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--white); display: flex; align-items: center; gap: 12px; }
.portfolio-head .ph-title .kicker { margin: 0; }
.portfolio-nav { display: flex; gap: 8px; }
.portfolio-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.04); color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color .2s, border-color .2s; }
.portfolio-nav button:hover { background: rgba(59,107,26,0.25); border-color: var(--green-light); }
.portfolio-nav svg { width: 18px; height: 18px; }
.portfolio-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--nav-x) 8px; scrollbar-width: none; scroll-behavior: smooth; }
.portfolio-track::-webkit-scrollbar { display: none; }
.pf-card { position: relative; flex: 0 0 280px; height: 200px; border-radius: 14px; overflow: hidden; scroll-snap-align: start; border: 1px solid rgba(255,255,255,0.08); }
.pf-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--spring); }
.pf-card:hover img { transform: scale(1.06); }
.pf-card .pf-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,6,3,0.92) 0%, rgba(10,6,3,0.1) 65%); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; gap: 8px; }
.pf-badge { align-self: flex-start; background: rgba(201,168,76,0.16); border: 1px solid rgba(201,168,76,0.4); color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; }
.pf-card .pf-title { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--white); }
.pf-viewall { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; padding: 0 30px; color: var(--gold); font-family: var(--font-body); font-weight: 600; font-size: 15px; scroll-snap-align: start; white-space: nowrap; }

/* ---------- Section primitives ---------- */
section { position: relative; }
.section-pad { padding: var(--sec-pad) 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 54px; }
.kicker { display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--green-light); margin-bottom: 18px; }
.section-head h2, .map-head h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(40px, 5.6vw, 64px); letter-spacing: -2px; line-height: 1.0; color: var(--white); text-wrap: balance; }
.section-head .lede { font-family: var(--font-body); font-size: 18px; line-height: 1.5; color: rgba(255,255,255,0.55); margin: 22px auto 0; max-width: 600px; }

/* ---------- Trust bar ---------- */
.trust { position: relative; background: rgba(59,107,26,0.15); border-top: 1px solid rgba(59,107,26,0.4); border-bottom: 1px solid rgba(59,107,26,0.4); padding: 22px 0; overflow: hidden; }
.trust::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: var(--noise); background-size: 140px 140px; opacity: 0.04; mix-blend-mode: overlay; }
.trust-row { display: flex; justify-content: center; align-items: center; position: relative; }
.trust-track { display: flex; align-items: center; }
.trust-track.dup { display: none; }
.trust-item { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 500; font-size: 14px; letter-spacing: 0.5px; color: var(--white); padding: 6px 32px; position: relative; white-space: nowrap; }
.trust-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 18px; background: rgba(201,168,76,0.3); }
.trust-item svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 16px 24px; position: relative; }
.stat:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 60px; background: linear-gradient(180deg, transparent, rgba(59,107,26,0.5), transparent); }
.stat-num { font-family: var(--font-head); font-weight: 900; font-size: clamp(46px, 5.2vw, 72px); line-height: 1; letter-spacing: -2px; color: var(--white); }
.stat-num .suffix { color: var(--gold); }
.stat-label { font-family: var(--font-body); font-size: 13px; text-transform: uppercase; letter-spacing: 3px; color: rgba(255,255,255,0.5); margin-top: 14px; }

/* ---------- Services (image cards) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { position: relative; height: 320px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); cursor: pointer; transition: transform .35s var(--spring), border-color .35s, box-shadow .35s; }
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--spring); }
.svc-card:hover { transform: scale(1.02); border-color: var(--green-primary); box-shadow: 0 20px 60px rgba(59,107,26,0.3); }
.svc-card:hover img { transform: scale(1.08); }
.svc-card .svc-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,6,3,0.95) 0%, rgba(10,6,3,0.2) 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; }
.svc-ico { position: absolute; top: 20px; left: 20px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--gold); background: rgba(10,6,3,0.4); border: 1px solid rgba(201,168,76,0.3); border-radius: 10px; backdrop-filter: blur(4px); }
.svc-ico svg { width: 22px; height: 22px; stroke: var(--gold); }
.svc-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: -0.5px; color: var(--white); margin-bottom: 6px; }
.svc-card p { font-family: var(--font-body); font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.65); margin-bottom: 16px; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--gold); transition: gap .2s; }
.svc-card:hover .svc-link { gap: 11px; }
.inline-cta { text-align: center; margin-top: 44px; }
.inline-cta a { font-family: var(--font-body); font-weight: 600; font-size: 16px; color: var(--gold); }
.inline-cta.muted a { color: rgba(255,255,255,0.7); }

/* ---------- Who We Are ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-copy .kicker { margin-bottom: 18px; }
.about-copy h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -2px; line-height: 1.02; margin-bottom: 26px; }
.about-copy p { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.65); margin-bottom: 18px; max-width: 540px; }
.about-copy .btn { margin-top: 12px; }
.about-photo { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid rgba(59,107,26,0.4); box-shadow: 0 0 50px rgba(59,107,26,0.18); }
.about-photo img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.badges-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.auth-badge { background: rgba(255,255,255,0.03); border: 1px solid rgba(59,107,26,0.3); border-radius: 14px; padding: 24px 22px; backdrop-filter: blur(12px); transition: border-color .3s, background-color .3s; }
.auth-badge:hover { border-color: var(--green-light); background: rgba(59,107,26,0.08); }
.auth-badge .ab-ico { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--green-light); margin-bottom: 16px; }
.auth-badge .ab-ico svg { width: 28px; height: 28px; }
.auth-badge h4 { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--white); margin-bottom: 6px; }
.auth-badge span { font-family: var(--font-body); font-size: 12px; line-height: 1.45; color: rgba(255,255,255,0.5); }

/* ---------- Gallery ---------- */
.gallery-grid { columns: 3; column-gap: 18px; }
.gallery-grid .gcard { break-inside: avoid; margin-bottom: 18px; }
.gcard { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); cursor: pointer; display: block; }
.gcard img { width: 100%; height: auto; transition: transform .5s var(--spring); }
.gcard:hover img { transform: scale(1.05); }
.gcard .g-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,6,3,0.92) 0%, rgba(10,6,3,0) 55%); opacity: 0; transition: opacity .35s; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; gap: 8px; }
.gcard:hover .g-overlay { opacity: 1; }
.gcard .g-badge { align-self: flex-start; background: rgba(201,168,76,0.16); border: 1px solid rgba(201,168,76,0.4); color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; }
.gcard .g-title { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--white); }
.gcard .g-loc { font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.65); }
.gcard .g-view { font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--gold); display: inline-flex; gap: 6px; margin-top: 4px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 9000; background: rgba(0,0,0,0.95); display: none; align-items: center; justify-content: center; padding: 40px; opacity: 0; transition: opacity .3s; }
.lightbox.open { display: flex; opacity: 1; }
.lb-figure { max-width: 1100px; width: 100%; text-align: center; }
.lb-figure img { max-width: 100%; max-height: 76vh; border-radius: 12px; margin: 0 auto; object-fit: contain; }
.lb-caption { margin-top: 18px; }
.lb-caption .lb-badge { display: inline-block; background: rgba(201,168,76,0.16); border: 1px solid rgba(201,168,76,0.4); color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; margin-bottom: 10px; }
.lb-caption h3 { font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--white); }
.lb-caption p { font-family: var(--font-body); font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 4px; }
.lb-close { position: fixed; top: 24px; right: 28px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-close svg { width: 22px; height: 22px; }
.lb-arrow { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-arrow:hover, .lb-close:hover { background: rgba(59,107,26,0.4); border-color: var(--green-light); }
.lb-arrow svg { width: 24px; height: 24px; }
.lb-prev { left: 24px; } .lb-next { right: 24px; }

/* ---------- Service areas ---------- */
.areas-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.areas-map-box { position: relative; }
.bay-map { width: 100%; height: auto; }
.bay-map .county { fill: rgba(255,255,255,0.03); stroke: rgba(255,255,255,0.12); stroke-width: 1.5; transition: fill .3s, stroke .3s; }
.bay-map .county.served { fill: rgba(59,107,26,0.5); stroke: var(--green-light); stroke-width: 2; cursor: pointer; }
.bay-map .county.served:hover { fill: rgba(74,124,30,0.7); }
.bay-map .clabel { font-family: var(--font-body); font-size: 13px; font-weight: 600; fill: rgba(255,255,255,0.85); pointer-events: none; text-anchor: middle; }
.map-tooltip { position: absolute; pointer-events: none; background: rgba(10,6,3,0.96); border: 1px solid rgba(59,107,26,0.5); border-radius: 10px; padding: 10px 14px; font-family: var(--font-body); font-size: 13px; color: var(--white); opacity: 0; transform: translate(-50%, -110%); transition: opacity .2s; z-index: 5; white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.map-tooltip.show { opacity: 1; }
.map-tooltip strong { color: var(--gold); display: block; margin-bottom: 3px; }
.cities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.city { display: flex; align-items: center; gap: 11px; font-family: var(--font-body); font-size: 15px; color: var(--white); padding: 13px 18px; background: rgba(255,255,255,0.03); border: 1px solid rgba(59,107,26,0.35); border-radius: 100px; backdrop-filter: blur(8px); transition: border-color .25s, background-color .25s, transform .25s; }
.city:hover { border-color: var(--green-light); background: rgba(59,107,26,0.12); transform: translateY(-2px); }
.city .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); box-shadow: 0 0 10px rgba(74,124,30,0.8); flex-shrink: 0; }

/* ---------- Reviews ---------- */
.reviews-stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 18px; }
.reviews-stars svg { width: 22px; height: 22px; color: var(--gold); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 30px; backdrop-filter: blur(12px); display: flex; flex-direction: column; gap: 16px; transition: border-color .3s, transform .3s; }
.review-card:hover { border-color: rgba(59,107,26,0.4); transform: translateY(-4px); }
.review-card .r-stars { display: flex; gap: 3px; }
.review-card .r-stars svg { width: 16px; height: 16px; color: var(--gold); }
.review-card .r-quote { font-family: var(--font-body); font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.85); flex-grow: 1; }
.review-card .r-author { display: flex; align-items: center; gap: 12px; }
.review-card .r-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--green-primary), var(--green-light)); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: #fff; }
.review-card .r-name { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--white); }
.review-card .r-loc { font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.5); }
.reviews-footer { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 44px; }
.google-badge { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: 15px; color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); padding: 10px 18px; border-radius: 100px; }
.google-badge .gb-score { font-weight: 700; color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; overflow: hidden; transition: border-color .3s; }
.faq-item.open { border-color: rgba(59,107,26,0.45); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--white); }
.faq-q .faq-icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; transition: transform .3s var(--spring); }
.faq-q .faq-icon::before, .faq-q .faq-icon::after { content: ''; position: absolute; background: var(--green-light); border-radius: 2px; }
.faq-q .faq-icon::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.faq-q .faq-icon::after { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); transition: transform .3s var(--spring); }
.faq-item.open .faq-q .faq-icon::after { transform: translateX(-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--spring); }
.faq-a-inner { padding: 0 26px 24px; font-family: var(--font-body); font-size: 15px; line-height: 1.65; color: rgba(255,255,255,0.65); }

/* ---------- Quote CTA ---------- */
.quote { overflow: hidden; }
.quote-glow { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: rgba(59,107,26,0.12); filter: blur(80px); left: 50%; top: 55%; transform: translate(-50%,-50%); z-index: 0; pointer-events: none; }
.quote-inner { max-width: 640px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.quote-form { background: rgba(255,255,255,0.03); border: 1px solid rgba(59,107,26,0.3); border-radius: 16px; padding: 44px; text-align: left; backdrop-filter: blur(16px); box-shadow: 0 30px 70px rgba(0,0,0,0.35); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.6); }
.field input, .field select { font-family: var(--font-body); font-size: 15px; color: var(--white); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 14px 16px; width: 100%; appearance: none; min-height: 44px; transition: border-color .2s, background-color .2s; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
.field input::placeholder { color: rgba(255,255,255,0.3); }
.field input:focus, .field select:focus { outline: none; border-color: var(--green-primary); background: rgba(255,255,255,0.08); }
.quote-form .btn-gold { width: 100%; padding: 17px; font-size: 16px; margin-top: 8px; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success svg { width: 52px; height: 52px; color: var(--gold); margin-bottom: 16px; }
.form-success h3 { font-family: var(--font-head); font-weight: 600; font-size: 24px; margin-bottom: 8px; }
.form-success p { font-family: var(--font-body); color: rgba(255,255,255,0.65); font-size: 15px; }
.quote-call { margin-top: 28px; text-align: center; font-family: var(--font-body); font-size: 16px; color: rgba(255,255,255,0.92); position: relative; z-index: 1; }
.quote-call a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer { background: var(--black-warm); position: relative; padding: 70px 0 36px; overflow: hidden; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--green-primary) 20%, var(--green-light) 50%, var(--green-primary) 80%, transparent); }
.footer-watermark { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); font-family: var(--font-head); font-weight: 900; font-size: clamp(50px, 12vw, 120px); line-height: 1; color: #fff; opacity: 0.03; white-space: nowrap; pointer-events: none; user-select: none; letter-spacing: 20px; }
.footer-top { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand img { height: 60px; width: auto; margin-bottom: 18px; filter: drop-shadow(0 0 12px rgba(201,168,76,0.25)); }
.footer-brand p { font-family: var(--font-head); font-weight: 500; font-size: 17px; color: var(--white-80); letter-spacing: -0.3px; margin-bottom: 22px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.6); transition: color .2s, border-color .2s, background-color .2s; }
.footer-social a:hover { color: var(--green-light); border-color: rgba(74,124,30,0.5); background: rgba(59,107,26,0.12); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { font-family: var(--font-head); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col li { font-family: var(--font-body); font-size: 15px; color: rgba(255,255,255,0.6); transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-family: var(--font-body); font-size: 14px; color: rgba(255,255,255,0.4); }

/* ---------- Phone float ---------- */
.phone-float { position: fixed; bottom: 26px; right: 26px; z-index: 90; display: flex; align-items: center; }
.phone-btn { width: 60px; height: 60px; border-radius: 50%; background: var(--green-primary); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(59,107,26,0.5); position: relative; transition: transform .2s; }
.phone-btn:hover { transform: scale(1.08); }
.phone-btn svg { width: 28px; height: 28px; color: #fff; }
.phone-btn::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--green-primary); z-index: -1; animation: pulse 2.4s ease-out infinite; }
.phone-btn { animation: ring-pulse 3s ease-in-out infinite; }
@keyframes ring-pulse { 0%, 100% { transform: scale(1); } 8% { transform: scale(1.08) rotate(-6deg); } 16% { transform: scale(1.08) rotate(6deg); } 24% { transform: scale(1) rotate(0); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 70% { transform: scale(1.8); opacity: 0; } 100% { transform: scale(1.8); opacity: 0; } }
.phone-tip { position: absolute; right: 74px; background: var(--charcoal); color: var(--white); font-family: var(--font-body); font-size: 14px; font-weight: 500; padding: 9px 15px; border-radius: 8px; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,0.4); opacity: 0; pointer-events: none; transform: translateX(8px); transition: opacity .25s, transform .25s; }
.phone-tip::after { content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%) rotate(45deg); width: 10px; height: 10px; background: var(--charcoal); }
.phone-float:hover .phone-tip { opacity: 1; transform: translateX(0); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: perspective(1000px) rotateX(12deg) translateY(60px) scale(0.96); transform-origin: center top; transition: opacity .8s var(--spring), transform .8s var(--spring); }
.reveal.visible { opacity: 1; transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1); }
.reveal3d { opacity: 0; transform: perspective(1200px) rotateX(8deg) translateY(40px) scale(0.97); transform-origin: center top; transition: opacity .7s var(--spring), transform .7s var(--spring); }
.reveal3d.visible { opacity: 1; transform: perspective(1200px) rotateX(0deg) translateY(0) scale(1); }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal3d { transition: opacity .4s ease; transform: none !important; }
  .scroll-indicator svg, .phone-btn::before, .trust-row, .pf-track, .marquee-track, .particle { animation: none !important; }
  .cursor-glow { display: none !important; }
  .split-char, .h-fade { opacity: 1 !important; transform: none !important; transition: none !important; }
}
body.no-motion .reveal, body.no-motion .reveal3d { transition: none !important; transform: none !important; opacity: 1 !important; }
body.no-motion .scroll-indicator svg, body.no-motion .phone-btn::before, body.no-motion .trust-row, body.no-motion .pf-track, body.no-motion .marquee-track, body.no-motion .particle { animation: none !important; }
body.no-motion .cursor-glow { display: none !important; }
body.no-motion .split-char, body.no-motion .h-fade { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) { :root { --nav-x: 40px; } }
@media (max-width: 1024px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .callbar .cb-text { font-size: 12px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .areas-wrap { grid-template-columns: 1fr; gap: 36px; }
  .gallery-grid { columns: 2; }
  .reviews-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .badges-row { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  :root { --nav-x: 22px; --sec-pad: 64px; }
  .container { padding: 0 22px; }
  .cursor-glow, .scroll-rail { display: none; }
  .callbar { gap: 12px; }
  .callbar .cb-text { display: none; }
  .callbar { justify-content: space-between; }
  .callbar::before { content: 'Premium Bay Area Fencing'; font-weight: 600; font-size: 13px; }
  .section-head h2 { font-size: 40px; letter-spacing: -1.5px; }
  .hero { text-align: center; }
  .hero-inner { max-width: 100%; align-items: center; margin: 0 auto; }
  .badge { align-self: center; }
  .hero .subtitle { margin: 0 auto; }
  .hero-buttons { justify-content: center; }
  .hero h1 { letter-spacing: -1.5px; }
  .portfolio-head { padding-left: 22px; padding-right: 22px; }
  .portfolio-nav { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px 0; }
  .stat:nth-child(2)::after { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .badges-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery-grid { columns: 1; }
  .areas-map-box { display: none; }
  .cities-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .quote-form { padding: 28px 22px; }
  .faq-q { font-size: 16px; padding: 18px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { justify-content: center; text-align: center; }
  /* trust marquee */
  .trust-row { justify-content: flex-start; overflow: hidden; width: 100%; }
  .trust-track { animation: marquee 18s linear infinite; flex-shrink: 0; }
  .trust-track.dup { display: flex; }
}
@media (max-width: 460px) {
  .cities-grid { grid-template-columns: 1fr; }
  .badges-row { grid-template-columns: 1fr; }
}

/* ===================================================================
   ADDED FEATURES
   =================================================================== */

/* ---------- Ambient: bottom green glow + section watermark + particles ---------- */
.ambient-glow { background-image: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(59,107,26,0.08) 0%, transparent 70%); }
.sec-watermark { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: var(--font-head); font-weight: 900; font-size: clamp(80px, 18vw, 180px); line-height: 1; color: #fff; opacity: 0.025; white-space: nowrap; pointer-events: none; user-select: none; z-index: 0; letter-spacing: -4px; }

.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.particle { position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%; background: rgba(59,107,26,0.3); animation: floatUp linear infinite; }
@keyframes floatUp {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-105vh) translateX(20px); opacity: 0; }
}
.particle:nth-child(1){left:6%;width:3px;height:3px;animation-duration:19s;animation-delay:0s;background:rgba(201,168,76,0.2);}
.particle:nth-child(2){left:14%;width:5px;height:5px;animation-duration:24s;animation-delay:3s;}
.particle:nth-child(3){left:23%;width:2px;height:2px;animation-duration:16s;animation-delay:6s;background:rgba(201,168,76,0.2);}
.particle:nth-child(4){left:33%;width:4px;height:4px;animation-duration:22s;animation-delay:1s;}
.particle:nth-child(5){left:42%;width:3px;height:3px;animation-duration:18s;animation-delay:8s;}
.particle:nth-child(6){left:51%;width:6px;height:6px;animation-duration:27s;animation-delay:2s;background:rgba(201,168,76,0.15);}
.particle:nth-child(7){left:60%;width:2px;height:2px;animation-duration:15s;animation-delay:5s;}
.particle:nth-child(8){left:68%;width:4px;height:4px;animation-duration:23s;animation-delay:9s;background:rgba(201,168,76,0.2);}
.particle:nth-child(9){left:76%;width:3px;height:3px;animation-duration:20s;animation-delay:4s;}
.particle:nth-child(10){left:84%;width:5px;height:5px;animation-duration:26s;animation-delay:7s;}
.particle:nth-child(11){left:90%;width:2px;height:2px;animation-duration:17s;animation-delay:2.5s;background:rgba(201,168,76,0.2);}
.particle:nth-child(12){left:96%;width:4px;height:4px;animation-duration:21s;animation-delay:6.5s;}

/* ---------- Heading fade-up (replaces letter-split; preserves natural word wrapping) ---------- */
.h-fade { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--spring), transform .8s var(--spring); }
.h-fade.h-in { opacity: 1; transform: translateY(0); }
/* never break headings mid-word; balance lines so no short word is orphaned */
h1, h2, .section-head h2, .about-copy h2, .map-head h2, .hero h1 {
  word-break: keep-all;
  overflow-wrap: normal;
  white-space: normal;
  hyphens: none;
  -webkit-hyphens: none;
  text-wrap: balance;
}

/* ---------- Hero auto-scroll work preview ---------- */
.work-strip { position: relative; overflow: hidden; background: var(--bg-secondary); border-top: 1px solid rgba(59,107,26,0.2); border-bottom: 1px solid rgba(59,107,26,0.2); padding: 22px 0; }
.work-strip::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--bg-secondary) 0%, transparent 8%, transparent 92%, var(--bg-secondary) 100%); z-index: 2; }
.pf-track { display: flex; gap: 0; width: max-content; animation: scrollLeft 40s linear infinite; }
.work-strip:hover .pf-track { animation-play-state: paused; }
@keyframes scrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.work-card { position: relative; flex: 0 0 260px; height: 200px; margin-right: -8px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); transition: transform .35s var(--spring), z-index 0s, box-shadow .35s; z-index: 1; }
.work-card:hover { transform: translateY(-8px) scale(1.02); z-index: 5; box-shadow: 0 18px 40px rgba(0,0,0,0.5); }
.work-card img { width: 100%; height: 100%; object-fit: cover; }
.work-card .wc-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; background: linear-gradient(to top, rgba(10,6,3,0.9), transparent); font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--gold); }

/* ---------- Trust marquee strip ---------- */
.marquee { overflow: hidden; background: rgba(59,107,26,0.10); border-top: 1px solid rgba(59,107,26,0.25); border-bottom: 1px solid rgba(59,107,26,0.25); padding: 14px 0; position: relative; }
.marquee-track { display: flex; width: max-content; animation: scrollLeft 30s linear infinite; }
.marquee-item { display: flex; align-items: center; gap: 14px; padding: 0 28px; font-family: var(--font-head); font-weight: 500; font-size: 14px; letter-spacing: 1px; color: rgba(255,255,255,0.7); white-space: nowrap; }
.marquee-item::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---------- Section divider ---------- */
.divider { height: 1px; width: 100%; background: linear-gradient(to right, transparent, rgba(59,107,26,0.5), transparent); border: none; }

/* ---------- Interactive county map ---------- */
.map-head { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 18px; }
.county-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,168,76,0.14); border: 1px solid rgba(201,168,76,0.4); color: var(--gold); font-family: var(--font-body); font-weight: 600; font-size: 13px; padding: 7px 16px; border-radius: 100px; }
.map-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: stretch; }
.map-stage { position: relative; background: #111111; border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 18px; overflow: hidden; }
.map-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: var(--noise); background-size: 140px 140px; opacity: 0.04; mix-blend-mode: overlay; }
.ca-map { width: 100%; height: auto; display: block; position: relative; z-index: 1; }
.ca-map .cpath { fill: rgba(59,107,26,0.4); stroke: var(--green-primary); stroke-width: 1.2; cursor: pointer; transition: fill .25s, filter .25s, transform .35s var(--spring); transform-origin: center; transform-box: fill-box; }
.ca-map .cpath:hover { fill: rgba(59,107,26,0.7); filter: drop-shadow(0 0 12px rgba(59,107,26,0.5)); }
.ca-map .cpath.active { fill: rgba(74,124,30,0.85); filter: drop-shadow(0 0 16px rgba(74,124,30,0.7)); transform: scale(1.06); }
.ca-map .clabel { font-family: var(--font-body); font-size: 10px; font-weight: 600; fill: rgba(255,255,255,0.78); pointer-events: none; text-anchor: middle; }
.map-info { position: relative; background: rgba(255,255,255,0.03); border: 1px solid rgba(59,107,26,0.3); border-radius: 18px; padding: 30px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: flex; flex-direction: column; }
.map-info .mi-placeholder { margin: auto; text-align: center; color: rgba(255,255,255,0.4); font-family: var(--font-body); font-size: 15px; line-height: 1.6; }
.map-info .mi-placeholder svg { width: 40px; height: 40px; color: var(--green-light); margin-bottom: 14px; }
.map-panel { display: none; flex-direction: column; gap: 16px; opacity: 0; transform: translateX(20px); transition: opacity .4s var(--spring), transform .4s var(--spring); }
.map-panel.show { display: flex; opacity: 1; transform: translateX(0); }
.map-panel .mp-served { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; background: rgba(59,107,26,0.2); border: 1px solid var(--green-light); color: var(--green-light); font-family: var(--font-body); font-weight: 600; font-size: 12px; padding: 5px 12px; border-radius: 100px; }
.map-panel .mp-served svg { width: 14px; height: 14px; }
.map-panel h3 { font-family: var(--font-head); font-weight: 700; font-size: 26px; color: var(--gold); letter-spacing: -0.5px; }
.map-panel .mp-cities { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.map-panel .mp-cities li { display: flex; align-items: center; gap: 9px; font-family: var(--font-body); font-size: 14px; color: var(--white); }
.map-panel .mp-cities li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green-light); box-shadow: 0 0 8px rgba(74,124,30,0.7); flex-shrink: 0; }
.map-panel .mp-ctas { display: flex; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.map-panel .mp-ctas .btn { flex: 1; min-width: 140px; }

/* ---------- Accessibility widget ---------- */
.a11y-fab { position: fixed; bottom: 26px; left: 26px; z-index: 92; width: 52px; height: 52px; border-radius: 50%; background: var(--charcoal); border: 1px solid rgba(59,107,26,0.4); color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,0.4); transition: transform .2s, border-color .2s; }
.a11y-fab:hover { transform: scale(1.08); border-color: var(--green-light); }
.a11y-fab svg { width: 26px; height: 26px; }
.a11y-panel { position: fixed; bottom: 90px; left: 26px; z-index: 93; width: 280px; background: rgba(10,6,3,0.92); border: 1px solid rgba(59,107,26,0.4); border-radius: 16px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 22px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); transform: translateY(12px) scale(0.96); opacity: 0; pointer-events: none; transform-origin: bottom left; transition: opacity .3s var(--spring), transform .3s var(--spring); }
.a11y-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.a11y-panel h4 { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--white); margin-bottom: 18px; }
.a11y-group { margin-bottom: 18px; }
.a11y-group:last-child { margin-bottom: 0; }
.a11y-group .ag-label { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 9px; }
.a11y-seg { display: flex; gap: 6px; }
.a11y-seg button { flex: 1; min-height: 38px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); color: var(--white); font-family: var(--font-body); font-size: 13px; font-weight: 500; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.a11y-seg button:hover { background: rgba(255,255,255,0.08); }
.a11y-seg button.sel { background: var(--green-primary); border-color: var(--green-light); color: #fff; }

/* ---------- High contrast ---------- */
body.high-contrast { --white-50: rgba(255,255,255,0.78); --white-80: rgba(255,255,255,0.95); }
body.high-contrast .lede, body.high-contrast .svc-card p, body.high-contrast .pillar p, body.high-contrast .auth-badge span, body.high-contrast .r-quote, body.high-contrast .faq-a-inner, body.high-contrast .footer-col a, body.high-contrast .footer-col li { color: rgba(255,255,255,0.92) !important; }
body.high-contrast .svc-card, body.high-contrast .review-card, body.high-contrast .auth-badge, body.high-contrast .faq-item, body.high-contrast .city, body.high-contrast .quote-form, body.high-contrast .map-info { border-width: 2px; }

/* ---------- Light mode (token-based, fixed contrast) ---------- */
body.light-mode {
  --text-primary: #0C1A0C;
  --text-secondary: #2D5A14;
  --text-muted: #4A7A4A;
  --bg-primary: #F5F9F5;
  --bg-secondary: #EBF2EB;
  --bg-card: #FFFFFF;
  --border-color: rgba(59,107,26,0.2);
  --black-warm: #F5F9F5;
  --charcoal: #FFFFFF;
  --white: #0C1A0C;
  --white-80: #2D5A14;
  --white-50: #4A7A4A;
  background: #F5F9F5;
  color: #0C1A0C;
}
body.light-mode .glow { background-color: var(--bg-primary); }
body.light-mode .glow:nth-of-type(even) { background-color: var(--bg-secondary); }
body.light-mode .glow::after, body.light-mode .map-stage::after, body.light-mode .trust::after { opacity: 0.02; }
body.light-mode .grid-bg { background-image: linear-gradient(rgba(59,107,26,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(59,107,26,0.06) 1px, transparent 1px); }
/* headings + text */
body.light-mode h1, body.light-mode h2, body.light-mode h3, body.light-mode h4,
body.light-mode .section-head h2, body.light-mode .about-copy h2, body.light-mode .map-head h2, body.light-mode .hero h1,
body.light-mode .svc-card h3, body.light-mode .why-card h4, body.light-mode .auth-badge h4, body.light-mode .review-card .r-name,
body.light-mode .faq-q, body.light-mode .city, body.light-mode .map-panel .mp-cities li, body.light-mode .stat-num,
body.light-mode .proc-step h4, body.light-mode .map-panel h3, body.light-mode .community h2, body.light-mode .signup-card h3 { color: var(--text-primary); }
body.light-mode p, body.light-mode .lede, body.light-mode .svc-card p, body.light-mode .why-card p, body.light-mode .auth-badge span,
body.light-mode .r-quote, body.light-mode .faq-a-inner, body.light-mode .r-loc, body.light-mode .community p, body.light-mode .signup-card .sc-sub { color: var(--text-secondary); }
body.light-mode .review-card .r-loc, body.light-mode .ai-badge .aib-sub, body.light-mode .quote-call { color: var(--text-muted); }
/* nav */
body.light-mode .nav { border-bottom-color: rgba(59,107,26,0.18); }
body.light-mode .nav.scrolled { background: rgba(245,249,245,0.95); border-bottom-color: rgba(59,107,26,0.3); }
body.light-mode .nav-links a, body.light-mode .hamburger span, body.light-mode .mobile-menu a.m-link { color: var(--text-primary); }
body.light-mode .nav-logo { background: rgba(255,255,255,0.7); }
body.light-mode .nav-logo .brand-name { color: var(--text-primary); }
body.light-mode .mobile-menu { background: rgba(245,249,245,0.98); }
/* cards / surfaces */
body.light-mode .svc-card, body.light-mode .review-card, body.light-mode .auth-badge, body.light-mode .why-card,
body.light-mode .faq-item, body.light-mode .quote-form, body.light-mode .city, body.light-mode .map-info,
body.light-mode .a11y-panel, body.light-mode .proc-step, body.light-mode .signup-card, body.light-mode .ai-badge,
body.light-mode .mini-review, body.light-mode .legal-modal-inner { background: var(--bg-card); border-color: var(--border-color); }
body.light-mode .btn-outline { color: var(--text-primary); border-color: rgba(59,107,26,0.4); }
body.light-mode .btn-outline:hover { background: var(--green-primary); color: #fff; border-color: var(--green-primary); }
body.light-mode .map-stage { background: #E2EDE2; }
body.light-mode .ca-map .clabel { fill: rgba(12,26,12,0.7); }
body.light-mode .footer { background: #E4EDE4; }
body.light-mode .footer-col a, body.light-mode .footer-col li, body.light-mode .footer-brand p, body.light-mode .footer-bottom { color: var(--text-secondary); }
body.light-mode .footer-col h4, body.light-mode .kicker, body.light-mode .ai-label { color: var(--green-dark); }
body.light-mode .field input, body.light-mode .field select { background: rgba(12,26,12,0.04); border-color: rgba(59,107,26,0.25); color: var(--text-primary); }
body.light-mode .field label { color: var(--text-secondary); }
body.light-mode .field input::placeholder { color: var(--text-muted); }
body.light-mode .sec-watermark, body.light-mode .footer-watermark { color: var(--green-dark); opacity: 0.05; }
body.light-mode .fence-wm { opacity: 0.07; }
body.light-mode .a11y-fab { background: #fff; color: var(--text-primary); }
body.light-mode .a11y-seg button { background: rgba(12,26,12,0.04); border-color: rgba(59,107,26,0.25); color: var(--text-primary); }
body.light-mode .a11y-panel h4, body.light-mode .a11y-group .ag-label { color: var(--text-primary); }
/* keep these green in BOTH modes */
body.light-mode .callbar, body.light-mode .quote, body.light-mode .marquee { background: var(--green-primary); }
body.light-mode .quote .section-head h2, body.light-mode .quote .lede, body.light-mode .quote .kicker, body.light-mode .quote .grad-gold { color: #fff; -webkit-text-fill-color: #fff; }
body.light-mode .marquee { border-color: rgba(255,255,255,0.2); }
body.light-mode .marquee-item { color: rgba(255,255,255,0.92); }
body.light-mode .marquee-item::before { background: var(--gold); }

/* ---------- Root font scaling ---------- */
html.fs-sm { font-size: 14px; }
html.fs-md { font-size: 16px; }
html.fs-lg { font-size: 19px; }

@media (max-width: 1024px) {
  .map-layout { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .a11y-fab { bottom: 20px; left: 20px; }
  .a11y-panel { left: 20px; bottom: 82px; width: calc(100vw - 40px); max-width: 300px; }
  .map-panel .mp-cities { grid-template-columns: 1fr 1fr; }
  .sec-watermark { font-size: 80px; }
}

/* ===================================================================
   VISUAL UPGRADE — forest depth, fence watermarks, breaks, AI badges
   =================================================================== */

/* ---------- Floating fence-icon watermarks ---------- */
.bg-watermarks { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.fence-wm { position: absolute; background-repeat: no-repeat; background-position: center; background-size: contain; opacity: 0.04; animation: float-drift linear infinite; will-change: transform, opacity; }
.wm-panel { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%233B6B1A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M10 58V22l6-8 6 8v36M28 58V22l6-8 6 8v36M46 58V22l6-8 6 8v36M4 32h56M4 44h56'/%3E%3C/svg%3E"); }
.wm-post { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%233B6B1A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M24 60V16l8-9 8 9v44M18 30h28M18 42h28'/%3E%3C/svg%3E"); }
.wm-plank { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%233B6B1A' stroke-width='2.5' stroke-linecap='round'%3E%3Crect x='6' y='26' width='52' height='13' rx='2'/%3E%3Cpath d='M16 26v13M42 26v13'/%3E%3C/svg%3E"); }
.wm-gold { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23C9A84C' stroke-width='2.5' stroke-linecap='round'%3E%3Crect x='6' y='26' width='52' height='13' rx='2'/%3E%3Cpath d='M16 26v13M42 26v13'/%3E%3C/svg%3E"); opacity: 0.025; }
@keyframes float-drift {
  0%   { transform: translate(0, 0) rotate(-3deg); opacity: 0.03; }
  50%  { transform: translate(15px, -20px) rotate(3deg); opacity: 0.05; }
  100% { transform: translate(0, 0) rotate(-3deg); opacity: 0.03; }
}
.grass-row { position: absolute; left: 0; right: 0; bottom: 0; height: 60px; pointer-events: none; z-index: 0; opacity: 0.5; }
.grass-blade { position: absolute; bottom: 0; width: 40px; height: 56px; background-repeat: no-repeat; background-size: contain; background-position: bottom center; opacity: 0.04; transform-origin: bottom center; animation: sway 8s ease-in-out infinite; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 56' fill='none' stroke='%233B6B1A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M20 56C20 40 14 24 8 12M20 56C20 38 24 22 30 10M20 56C20 42 20 26 20 8'/%3E%3C/svg%3E"); }
@keyframes sway { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* ---------- Section break transitions ---------- */
.section-break { position: relative; width: 100%; line-height: 0; overflow: hidden; z-index: 1; }
.sb-slice svg { display: block; width: 100%; height: 40px; }
.sb-sweep { height: 2px; background: rgba(59,107,26,0.12); }
.sb-sweep::after { content: ''; display: block; height: 100%; width: 40%; background: linear-gradient(90deg, transparent 0%, var(--green-light) 50%, transparent 100%); animation: sweep 3.4s ease-in-out infinite; }
@keyframes sweep { 0% { transform: translateX(-120%); } 100% { transform: translateX(360%); } }
.sb-rails { height: 30px; opacity: 0.1; background-repeat: repeat-x; background-position: center; background-size: 120px 30px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 30' fill='none' stroke='%233B6B1A' stroke-width='2'%3E%3Cpath d='M0 9h120M0 21h120M20 4v22M60 4v22M100 4v22'/%3E%3C/svg%3E"); }

/* ---------- AI recommendation badges ---------- */
.ai-strip { position: relative; background: var(--bg-secondary); padding: 44px 0; text-align: center; overflow: hidden; border-top: 1px solid rgba(59,107,26,0.15); border-bottom: 1px solid rgba(59,107,26,0.15); }
.ai-strip .ai-label { font-family: var(--font-body); font-weight: 600; font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--green-light); margin-bottom: 22px; }
.ai-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; position: relative; z-index: 1; }
.ai-badge { display: flex; align-items: center; gap: 12px; background: rgba(59,107,26,0.08); border: 1px solid rgba(59,107,26,0.3); border-radius: 50px; padding: 10px 20px; text-align: left; transition: border-color .25s, box-shadow .25s, transform .25s; }
.ai-badge:hover { border-color: var(--gold); box-shadow: 0 0 20px rgba(201,168,76,0.15); transform: translateY(-2px); }
.ai-badge svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.ai-badge .aib-title { font-family: var(--font-head); font-weight: 500; font-size: 13px; color: var(--white); line-height: 1.2; }
.ai-badge .aib-sub { font-family: var(--font-body); font-size: 10px; color: rgba(255,255,255,0.4); line-height: 1.2; }

/* ---------- Why Choose Us 2x2 cards ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.why-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(59,107,26,0.2); border-radius: 16px; padding: 32px; text-align: center; cursor: pointer; transition: border-color .3s, transform .3s, box-shadow .3s; }
.why-card:hover { border-color: var(--green-primary); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.why-card .why-ico { width: 56px; height: 56px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; background: rgba(59,107,26,0.12); border: 1px solid rgba(74,124,30,0.3); border-radius: 14px; color: var(--green-light); }
.why-card .why-ico svg { width: 30px; height: 30px; }
.why-card h4 { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--white); margin-bottom: 10px; letter-spacing: -0.4px; }
.why-card p { font-family: var(--font-body); font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.65); }

/* ---------- Process strip ---------- */
.process { position: relative; }
.process-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 14px; max-width: 980px; margin: 0 auto; }
.proc-step { background: rgba(255,255,255,0.03); border: 1px solid rgba(59,107,26,0.18); border-radius: 16px; padding: 30px 24px; text-align: center; }
.proc-step .ps-ico { width: 52px; height: 52px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; background: rgba(59,107,26,0.12); border: 1px solid rgba(74,124,30,0.3); border-radius: 50%; color: var(--green-light); position: relative; }
.proc-step .ps-ico svg { width: 26px; height: 26px; }
.proc-step .ps-num { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--black-warm); font-family: var(--font-head); font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.proc-step h4 { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--white); }
.proc-arrow { color: var(--green-light); opacity: 0.6; display: flex; align-items: center; justify-content: center; }
.proc-arrow svg { width: 26px; height: 26px; }

/* ---------- Logo tagline + separator ---------- */
.nav-logo .brand-text { display: flex; flex-direction: column; gap: 1px; }
.nav-logo .brand-name { font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: 4px; text-transform: uppercase; color: var(--white); white-space: nowrap; line-height: 1.1; }
.nav-logo .brand-tag { font-family: var(--font-body); font-size: 11px; color: rgba(255,255,255,0.5); white-space: nowrap; line-height: 1.1; }
.nav-logo .brand-sep { width: 2px; height: 38px; background: rgba(59,107,26,0.4); border-radius: 2px; margin-left: 2px; }
body.light-mode .nav-logo .brand-tag { color: rgba(28,28,28,0.55); }

@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr; }
  .process-flow { grid-template-columns: 1fr; }
  .process-flow .proc-arrow { transform: rotate(90deg); }
  .ai-badge .aib-sub { display: none; }
}
@media (max-width: 560px) {
  .nav-logo .brand-text, .nav-logo .brand-sep { display: none; }
}
body.no-motion .fence-wm, body.no-motion .grass-blade, body.no-motion .sb-sweep::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .fence-wm, .grass-blade, .sb-sweep::after { animation: none !important; }
  .phone-btn { animation: none !important; }
}
body.no-motion .phone-btn { animation: none !important; }

/* ===================================================================
   FIX BATCH — social icons, county panel extras, community, legal
   =================================================================== */

/* ---------- Social icon rows ---------- */
.social-row { display: flex; align-items: center; gap: 10px; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.04); transition: color .2s, border-color .2s, background-color .2s, transform .2s; }
.social-row a:hover { color: var(--green-light); border-color: rgba(74,124,30,0.6); background: rgba(59,107,26,0.14); transform: translateY(-2px); }
.social-row svg { width: 17px; height: 17px; }
.social-row a.fb-soon { opacity: 0.5; cursor: default; }
.social-row a.fb-soon:hover { transform: none; color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.14); background: rgba(255,255,255,0.04); }
.callbar .social-row a.fb-soon:hover { color: #fff; border-color: rgba(255,255,255,0.3); background: rgba(0,0,0,0.18); }
.callbar .social-row { gap: 7px; }
.callbar .social-row a { width: 30px; height: 30px; border-color: rgba(255,255,255,0.3); color: #fff; background: rgba(0,0,0,0.18); }
.callbar .social-row a:hover { background: rgba(0,0,0,0.32); color: #fff; border-color: #fff; }
.callbar .social-row svg { width: 15px; height: 15px; }
body.light-mode .social-row a { border-color: rgba(59,107,26,0.3); color: var(--text-secondary); background: rgba(12,26,12,0.03); }
.footer-social a { width: 40px; height: 40px; }
.footer-social svg { width: 19px; height: 19px; }
.cta-social { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 36px; position: relative; z-index: 1; }
.cta-social .cs-label { font-family: var(--font-body); font-size: 14px; color: rgba(255,255,255,0.7); }
body.light-mode .cta-social .cs-label { color: #fff; }
body.light-mode .quote .social-row a { border-color: rgba(255,255,255,0.4); color: #fff; background: rgba(0,0,0,0.15); }

/* ---------- County panel extras ---------- */
.mp-more { font-family: var(--font-body); font-size: 13px; font-style: italic; color: var(--gold); margin-top: -4px; }
.mini-reviews { position: relative; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); padding: 14px 0; }
.mini-reviews-track { display: flex; transition: transform .6s var(--spring); }
.mini-review { flex: 0 0 100%; padding: 0 4px; box-sizing: border-box; }
.mini-review .mr-stars { display: flex; gap: 2px; margin-bottom: 6px; }
.mini-review .mr-stars svg { width: 12px; height: 12px; color: var(--gold); }
.mini-review .mr-quote { font-family: var(--font-body); font-size: 13px; line-height: 1.45; color: rgba(255,255,255,0.8); margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-review .mr-author { font-family: var(--font-head); font-weight: 600; font-size: 12px; color: var(--white); }
body.light-mode .mini-review .mr-quote { color: var(--text-secondary); }
.mp-socials { margin-top: 4px; }
.mp-socials .social-row a { width: 32px; height: 32px; }
.mp-socials .social-row svg { width: 15px; height: 15px; }

/* ---------- Community / email section ---------- */
.community { position: relative; overflow: hidden; }
.community-glow { position: absolute; width: 480px; height: 480px; border-radius: 50%; background: rgba(201,168,76,0.10); filter: blur(90px); right: -60px; top: 20%; z-index: 0; pointer-events: none; }
.community-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.community-copy h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(32px, 4.4vw, 44px); letter-spacing: -1.5px; line-height: 1.05; color: var(--white); margin-bottom: 18px; }
.community-copy > p { font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: rgba(255,255,255,0.65); max-width: 520px; margin-bottom: 26px; }
.community-benefits { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.community-benefits li { display: flex; align-items: center; gap: 12px; font-family: var(--font-body); font-size: 15px; color: var(--white); }
.community-benefits svg { width: 22px; height: 22px; color: var(--green-light); flex-shrink: 0; }
.signup-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(59,107,26,0.4); border-radius: 18px; padding: 36px; backdrop-filter: blur(16px); box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.signup-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--white); letter-spacing: -0.5px; }
.signup-card .sc-sub { font-family: var(--font-body); font-size: 14px; color: var(--gold); margin: 6px 0 24px; }
.signup-card .field { margin-bottom: 14px; }
.signup-check { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 18px; }
.signup-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green-primary); flex-shrink: 0; }
.signup-check label { font-family: var(--font-body); font-size: 12px; line-height: 1.45; color: rgba(255,255,255,0.55); }
.signup-card .btn-gold { width: 100%; padding: 16px; font-size: 16px; }
.signup-note { text-align: center; font-family: var(--font-body); font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 14px; }
body.light-mode .community-copy > p, body.light-mode .signup-check label, body.light-mode .signup-note { color: var(--text-muted); }
body.light-mode .community-benefits li { color: var(--text-primary); }

/* ---------- Legal modals ---------- */
.legal-modal { position: fixed; inset: 0; z-index: 9500; background: rgba(0,0,0,0.85); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity .3s; }
.legal-modal.open { display: flex; opacity: 1; }
.legal-modal-inner { position: relative; background: #101E10; border: 1px solid rgba(59,107,26,0.4); border-radius: 18px; max-width: 680px; width: 100%; max-height: 84vh; overflow-y: auto; padding: 40px; }
.legal-modal-inner h3 { font-family: var(--font-head); font-weight: 700; font-size: 26px; color: var(--white); margin-bottom: 4px; letter-spacing: -0.5px; }
.legal-modal-inner .lm-updated { font-family: var(--font-body); font-size: 13px; color: var(--gold); margin-bottom: 24px; }
.legal-modal-inner h4 { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--green-light); margin: 22px 0 8px; }
.legal-modal-inner p, .legal-modal-inner li { font-family: var(--font-body); font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.7); }
.legal-modal-inner ul { padding-left: 20px; margin-top: 6px; }
.legal-modal-inner a { color: var(--gold); }
.legal-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.legal-close:hover { background: rgba(59,107,26,0.4); border-color: var(--green-light); }
.legal-close svg { width: 20px; height: 20px; }
.footer-legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal-links button { background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: 14px; color: rgba(255,255,255,0.6); transition: color .2s; padding: 0; }
.footer-legal-links button:hover { color: var(--white); }
body.light-mode .footer-legal-links button { color: var(--text-secondary); }

/* ---------- Mobile map hint ---------- */
.map-mobile-hint { display: none; }

@media (max-width: 1024px) {
  .community-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .callbar .social-row { display: none; }
  .map-mobile-hint { display: block; text-align: center; font-family: var(--font-body); font-size: 14px; color: var(--green-light); margin-bottom: 14px; }
  .legal-modal-inner { padding: 28px 22px; }
}

/* ===================================================================
   CHATBOT + MULTI-STEP WIZARDS + CONFETTI
   =================================================================== */

/* ---------- Chat launcher ---------- */
.chat-fab { position: fixed; bottom: 26px; right: 26px; z-index: 95; width: 60px; height: 60px; border-radius: 50%; background: var(--green-primary); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(59,107,26,0.5); transition: transform .25s var(--spring), background-color .2s; }
.chat-fab:hover { transform: scale(1.08); background: var(--green-light); }
.chat-fab svg { width: 28px; height: 28px; color: #fff; }
.chat-fab .chat-fab-close { display: none; }
.chat-fab.open .chat-fab-open { display: none; }
.chat-fab.open .chat-fab-close { display: block; }
.chat-fab .chat-badge { position: absolute; top: -3px; right: -3px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: var(--black-warm); font-family: var(--font-body); font-weight: 700; font-size: 11px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--black-warm); }
.chat-fab.open .chat-badge { display: none; }
/* phone float moves above chat launcher */
.phone-float { bottom: 98px; }

/* ---------- Chat panel ---------- */
.chat-panel { position: fixed; bottom: 98px; right: 26px; z-index: 96; width: 380px; max-width: calc(100vw - 40px); height: 600px; max-height: calc(100dvh - 130px); background: #0F1C0F; border: 1px solid rgba(59,107,26,0.4); border-radius: 20px; box-shadow: 0 30px 70px rgba(0,0,0,0.55); display: flex; flex-direction: column; overflow: hidden; transform: translateY(20px) scale(0.96); opacity: 0; pointer-events: none; transform-origin: bottom right; transition: opacity .3s var(--spring), transform .3s var(--spring); }
.chat-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
body.light-mode .chat-panel { background: #FFFFFF; border-color: rgba(59,107,26,0.25); }
.chat-header { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: linear-gradient(135deg, var(--green-dark), var(--green-primary)); flex-shrink: 0; }
.chat-header .ch-avatar { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-header .ch-avatar svg { width: 24px; height: 24px; color: #fff; }
.chat-header .ch-info { flex-grow: 1; min-width: 0; }
.chat-header .ch-title { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: #fff; display: flex; align-items: center; gap: 7px; }
.chat-header .ch-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.chat-header .ch-sub { font-family: var(--font-body); font-size: 12px; color: rgba(255,255,255,0.8); }
.chat-header .ch-close { width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(255,255,255,0.12); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background-color .2s; }
.chat-header .ch-close:hover { background: rgba(255,255,255,0.25); }
.chat-header .ch-close svg { width: 18px; height: 18px; }
.chat-body { flex-grow: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; }
.chat-body::-webkit-scrollbar { width: 6px; } .chat-body::-webkit-scrollbar-thumb { background: rgba(59,107,26,0.4); border-radius: 3px; }
.chat-msg { max-width: 82%; font-family: var(--font-body); font-size: 14px; line-height: 1.5; padding: 11px 15px; border-radius: 16px; animation: msgIn .35s var(--spring); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.chat-msg.bot { align-self: flex-start; background: rgba(255,255,255,0.06); color: var(--white); border-bottom-left-radius: 5px; }
.chat-msg.bot .cm-sub { display: block; font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 4px; }
.chat-msg.user { align-self: flex-end; background: var(--green-primary); color: #fff; border-bottom-right-radius: 5px; }
body.light-mode .chat-msg.bot { background: #EBF2EB; color: var(--text-primary); }
body.light-mode .chat-msg.bot .cm-sub { color: var(--text-muted); }
.chat-replies { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; max-width: 100%; animation: msgIn .35s var(--spring); }
.chat-reply { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--green-light); background: rgba(59,107,26,0.1); border: 1px solid rgba(59,107,26,0.45); border-radius: 100px; padding: 9px 15px; cursor: pointer; transition: background-color .2s, color .2s, transform .15s; }
.chat-reply:hover { background: var(--green-primary); color: #fff; transform: translateY(-1px); }
body.light-mode .chat-reply { background: rgba(59,107,26,0.06); }
.chat-inline-form { align-self: stretch; display: flex; flex-direction: column; gap: 10px; background: rgba(255,255,255,0.04); border: 1px solid rgba(59,107,26,0.3); border-radius: 14px; padding: 14px; animation: msgIn .35s var(--spring); }
body.light-mode .chat-inline-form { background: #F5F9F5; }
.chat-inline-form input { font-family: var(--font-body); font-size: 14px; color: var(--white); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 12px 14px; width: 100%; min-height: 44px; }
body.light-mode .chat-inline-form input { background: #fff; border-color: rgba(59,107,26,0.25); color: var(--text-primary); }
.chat-inline-form input:focus { outline: none; border-color: var(--green-primary); }
.chat-inline-form input::placeholder { color: rgba(255,255,255,0.35); }
body.light-mode .chat-inline-form input::placeholder { color: var(--text-muted); }
.chat-inline-form button { width: 100%; }
.chat-summary { align-self: flex-start; max-width: 90%; background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.4); border-radius: 14px; padding: 14px 16px; font-family: var(--font-body); font-size: 13px; line-height: 1.7; color: var(--white); animation: msgIn .35s var(--spring); }
.chat-summary .cs-h { font-family: var(--font-head); font-weight: 700; color: var(--gold); margin-bottom: 6px; display: block; }
.chat-summary b { color: var(--gold); font-weight: 600; }
body.light-mode .chat-summary { color: var(--text-primary); }
.chat-typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 16px; background: rgba(255,255,255,0.06); border-radius: 16px; border-bottom-left-radius: 5px; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.5); animation: typing 1.2s infinite; }
.chat-typing span:nth-child(2){animation-delay:.2s;} .chat-typing span:nth-child(3){animation-delay:.4s;}
@keyframes typing { 0%,60%,100%{transform:translateY(0);opacity:.4;} 30%{transform:translateY(-5px);opacity:1;} }
.chat-input-row { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid rgba(59,107,26,0.25); flex-shrink: 0; background: #0F1C0F; align-items: center; }
body.light-mode .chat-input-row { background: #fff; border-top-color: rgba(59,107,26,0.15); }
.chat-input-row input { flex: 1; font-family: var(--font-body); font-size: 14px; color: var(--white); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 10px 14px; min-height: 44px; outline: none; transition: border-color .2s; }
.chat-input-row input:focus { border-color: var(--green-primary); }
.chat-input-row input::placeholder { color: rgba(255,255,255,0.35); }
body.light-mode .chat-input-row input { background: #F5F9F5; border-color: rgba(59,107,26,0.2); color: var(--text-primary); }
body.light-mode .chat-input-row input::placeholder { color: var(--text-muted); }
.chat-input-row button { width: 44px; height: 44px; min-width: 44px; border-radius: 50%; background: var(--green-primary); border: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color .2s, transform .15s; }
.chat-input-row button:hover { background: var(--green-light); transform: scale(1.05); }
.chat-input-row button:disabled { opacity: .4; cursor: default; transform: none; }
.chat-input-row button svg { width: 18px; height: 18px; }

/* ---------- Multi-step wizards (quote + community) ---------- */
.wizard-progress { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; }
.wizard-progress .wp-step { flex: 1; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.1); overflow: hidden; position: relative; }
.wizard-progress .wp-step::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--green-primary), var(--green-light)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--spring); }
.wizard-progress .wp-step.done::after, .wizard-progress .wp-step.active::after { transform: scaleX(1); }
body.light-mode .wizard-progress .wp-step { background: rgba(59,107,26,0.15); }
.wizard-stepcount { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--green-light); margin-bottom: 6px; }
.wizard-step { display: none; animation: msgIn .4s var(--spring); }
.wizard-step.active { display: block; }
.wizard-step h4 { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--white); margin-bottom: 4px; letter-spacing: -0.4px; }
body.light-mode .wizard-step h4 { color: var(--text-primary); }
.wizard-fieldlabel { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.6); margin: 18px 0 10px; display: block; }
body.light-mode .wizard-fieldlabel { color: var(--text-secondary); }
.wizard-fieldlabel .opt { font-weight: 400; color: rgba(255,255,255,0.4); }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.choice-grid.cols-1 { grid-template-columns: 1fr; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .choice-box { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; padding: 16px 10px; background: rgba(255,255,255,0.04); border: 1.5px solid rgba(255,255,255,0.12); border-radius: 12px; font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--white); transition: border-color .2s, background-color .2s, transform .15s; min-height: 44px; justify-content: center; }
.choice .choice-box .ci { font-size: 22px; line-height: 1; }
.choice:hover .choice-box { border-color: rgba(74,124,30,0.6); transform: translateY(-2px); }
.choice input:checked + .choice-box { border-color: var(--green-primary); background: rgba(59,107,26,0.18); box-shadow: 0 0 0 1px var(--green-primary); }
.choice input:focus-visible + .choice-box { outline: 2px solid var(--gold); outline-offset: 2px; }
body.light-mode .choice .choice-box { background: #fff; border-color: rgba(59,107,26,0.2); color: var(--text-primary); }
body.light-mode .choice input:checked + .choice-box { background: rgba(59,107,26,0.1); }
.choice.row .choice-box { flex-direction: row; justify-content: flex-start; gap: 12px; text-align: left; padding: 14px 16px; }
.wizard-textarea { font-family: var(--font-body); font-size: 14px; color: var(--white); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 12px 14px; width: 100%; resize: vertical; min-height: 76px; }
body.light-mode .wizard-textarea { background: #fff; border-color: rgba(59,107,26,0.25); color: var(--text-primary); }
.wizard-textarea:focus { outline: none; border-color: var(--green-primary); }
.wizard-nav { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.wizard-nav .btn { flex: 1; }
.wizard-back { background: none; border: 1px solid rgba(255,255,255,0.2); color: var(--white); font-family: var(--font-body); font-weight: 600; font-size: 15px; padding: 15px 22px; border-radius: 10px; cursor: pointer; flex: 0 0 auto; min-height: 44px; transition: background-color .2s; }
.wizard-back:hover { background: rgba(255,255,255,0.06); }
body.light-mode .wizard-back { color: var(--text-primary); border-color: rgba(59,107,26,0.3); }
.wizard-skip { background: none; border: none; color: var(--gold); font-family: var(--font-body); font-size: 13px; font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.wizard-err { font-family: var(--font-body); font-size: 13px; color: #ef8b6b; margin-top: 10px; display: none; }
.wizard-err.show { display: block; }
.btn-lg { padding: 18px; font-size: 16px; min-height: 56px; }
.secondary-link { display: inline-block; margin-top: 10px; font-family: var(--font-body); font-size: 13px; color: var(--gold); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; background: none; border: none; }
.consent-check { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 8px; }
.consent-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green-primary); flex-shrink: 0; }
.consent-check label { font-family: var(--font-body); font-size: 13px; line-height: 1.45; color: rgba(255,255,255,0.6); }
body.light-mode .consent-check label { color: var(--text-secondary); }
.wizard-privacy { text-align: center; font-family: var(--font-body); font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 14px; }
.wizard-callnote { text-align: center; font-family: var(--font-body); font-size: 14px; margin-top: 12px; color: rgba(255,255,255,0.7); }
.wizard-callnote a { color: var(--gold); font-weight: 600; }

/* member perk badge + community step extras */
.member-perk { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.4); color: var(--gold); font-family: var(--font-body); font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 100px; margin: 16px 0; }
.community-follow { font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.6); margin: 18px 0 10px; }
body.light-mode .community-follow { color: var(--text-secondary); }

/* ---------- Confetti ---------- */
.confetti-wrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 5; }
.confetti { position: absolute; top: -16px; width: 9px; height: 9px; opacity: 0; animation: confetti-fall 2.6s ease-in forwards; }
@keyframes confetti-fall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(360px) rotate(540deg); } }

@media (max-width: 768px) {
  .chat-panel { right: 12px; left: 12px; width: auto; bottom: 90px; max-height: calc(100dvh - 110px); }
  .chat-fab { bottom: 20px; right: 20px; }
  .phone-float { bottom: 90px; right: 20px; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Badges de contacto clickeables (ai-strip) — Ago 24 2026 ---------- */
a.ai-badge { text-decoration: none; color: inherit; cursor: pointer; transition: border-color .25s, transform .25s, background .25s; }
a.ai-badge:hover { transform: translateY(-2px); border-color: rgba(201,168,76,0.45); background: rgba(255,255,255,0.05); }
a.ai-badge:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* El título y el subtítulo del badge iban en la misma línea (la regla de columna
   solo estaba scopeada a .nav-logo). En móvil .aib-sub ya está oculto. */
.ai-badge .brand-text { display: flex; flex-direction: column; gap: 2px; }

/* ---------- CTA al cierre de sección (Services / Process / Gallery / FAQ)
   Ago 24 2026 — estas secciones no tenían ningún punto de contacto. ---------- */
.sec-cta { margin-top: 48px; text-align: center; }
.sec-cta-text { font-family: var(--font-body); font-size: 16px; color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto 20px; line-height: 1.5; }
.sec-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
body.light-mode .sec-cta-text { color: var(--text-muted); }
@media (max-width: 560px) {
  .sec-cta { margin-top: 34px; }
  .sec-cta-btns { flex-direction: column; align-items: stretch; padding: 0 10px; }
}
/* Blindaje: el CTA de cierre de sección NUNCA depende del IntersectionObserver.
   Si el reveal no dispara, el cliente se queda sin botón. Ago 24 2026. */
.sec-cta { opacity: 1 !important; transform: none !important; }
