/* ======================================================
   LEO LOCAL SEO — GREEN THEME (FINAL MERGED)
   ====================================================== */

/* ---------- Design tokens ---------- */
:root{
  /* Brand */
  --brand1:#34A853;     /* primary green */
  --brand2:#A3E635;     /* lime accent */
  /* Neutrals */
  --text:#1F2937;       /* slate-800 */
  --muted:#4B5563;      /* slate-600 */
  --bg:#EAF8EC;         /* mint background */
  --white:#FFFFFF;
  --border:#D1D5DB;     /* light grey border */
  /* Layout */
  --radius:12px;
  --shadow:0 10px 30px rgba(0,0,0,.06);
  --max:1120px;
}

/* ---------- Base ---------- */
*{box-sizing:border-box}
html,body{
  margin:0;padding:0;background:var(--bg);color:var(--text);
  font:16px/1.6 "Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif
}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit;transition:.15s ease}
.container{max-width:var(--max);margin:0 auto;padding:0 20px}

/* Utilities */
.muted{color:var(--muted)}
.small{font-size:13px}
.text-center{text-align:center}
.btn-row .btn{margin-right:10px}
.btn-row .btn:last-child{margin-right:0}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;padding:12px 18px;border-radius:10px;font-weight:700;line-height:1;
  background:linear-gradient(90deg,var(--brand1),var(--brand2));color:#fff;
  box-shadow:0 6px 14px rgba(52,168,83,.18);
}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn.alt{
  background:var(--white);color:var(--text);border:1px solid var(--border);
  box-shadow:none;
}
.btn.block{display:block;width:100%;text-align:center}

/* ======================================================
   HEADER
   ====================================================== */
.site-header{
  position:sticky;top:0;z-index:100;background:var(--white);
  border-bottom:3px solid;border-image:linear-gradient(90deg,var(--brand1),var(--brand2)) 1;
  box-shadow:0 1px 0 rgba(0,0,0,.02);
}
.nav{height:64px;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:8px;font-weight:900;font-size:18px}
.brand-mark{width:28px;height:28px;border-radius:7px;
  background:linear-gradient(135deg,var(--brand1),var(--brand2))}
.nav-links{display:none;gap:18px;align-items:center}
.nav-cta{display:none}
.hamburger{border:1px solid var(--border);background:var(--white);border-radius:10px;padding:8px;cursor:pointer}

/* Mega menu */
.has-mega{position:relative}
.mega{
  position:absolute;left:50%;transform:translateX(-50%);top:100%;
  width:min(940px,94vw);background:var(--white);border:1px solid var(--border);
  border-radius:14px;box-shadow:var(--shadow);padding:16px;display:none
}
.mega-grid{display:grid;gap:12px;grid-template-columns:1fr 1fr}
.mega-item{
  display:flex;gap:12px;align-items:flex-start;border:1px solid var(--border);
  border-radius:12px;padding:12px;background:var(--white);transition:.2s ease
}
.mega-ic{
  width:36px;height:36px;border-radius:10px;display:grid;place-items:center;
  background:linear-gradient(135deg,rgba(52,168,83,.12),rgba(163,230,53,.12))
}
.mega strong{display:block}
.mega-foot{text-align:right;padding-top:10px}
.mega-item:hover{transform:translateY(-2px)}
@media(min-width:768px){
  .nav-links{display:flex}
  .nav-cta{display:flex}
  .hamburger{display:none}
  .has-mega:hover .mega{display:block}
}

/* Mobile menu */
#mobileMenu[hidden]{display:none}
.mobile-overlay{position:fixed;inset:0;background:rgba(0,0,0,.35);backdrop-filter:blur(2px);z-index:90}
.mobile-sheet{
  position:absolute;right:0;top:0;bottom:0;width:78%;max-width:360px;background:var(--white);
  padding:20px;border-left:1px solid var(--border);box-shadow:var(--shadow);overflow:auto
}
.mobile-sheet a{display:block;padding:12px 6px;border-bottom:1px solid var(--border);color:var(--text)}
.mobile-sheet .sub{padding-left:12px;font-size:14px;color:var(--muted)}

/* ======================================================
   FOOTER
   ====================================================== */
.site-footer{
  border-top:3px solid;border-image:linear-gradient(90deg,var(--brand1),var(--brand2)) 1;
  background:var(--white);color:var(--muted);font-size:15px;padding:40px 0 0
}
.footer-grid{display:grid;gap:30px}
.footer-brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:18px;color:var(--text)}
.footer-desc{margin:10px 0 20px;max-width:340px;line-height:1.5}
.footer-links h3,.footer-contact h3{font-size:16px;color:var(--text);margin-bottom:10px}
.footer-links a{display:block;color:var(--muted);margin:4px 0}
.footer-links a:hover{color:var(--brand1)}
.footer-contact p a{color:var(--brand1);font-weight:600}
.footer-social{margin-top:10px;display:flex;gap:10px}
.footer-social a{
  display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;border-radius:6px;
  background:linear-gradient(90deg,var(--brand1),var(--brand2));color:#fff;font-size:14px
}
.footer-bottom{margin-top:40px;padding:16px 0;background:#F5FBF6;border-top:1px solid var(--border);font-size:14px}
.footer-bottom-grid{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px}
.footer-bottom-links a{color:var(--muted);margin-left:10px}
.footer-bottom-links a:hover{color:var(--brand1)}
@media(min-width:768px){.footer-grid{grid-template-columns:repeat(4,1fr)}}

/* ======================================================
   CORE SECTIONS (Home + inner pages)
   ====================================================== */
section{padding:56px 0}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:16px}
.section-head h2{margin:0;font-size:26px;letter-spacing:-.01em}
.section--alt{background:var(--white)}

/* ---------- Hero ---------- */
.hero{
  position:relative;overflow:hidden;padding:92px 0 44px;background:var(--bg)
}
.hero-grid{display:grid;gap:22px}
.hero h1{font-size:38px;line-height:1.1;letter-spacing:-.02em;font-weight:900;margin:0}
.hero p.lead{color:var(--muted);font-size:17px;max-width:54ch}
.hero-actions,.btn-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}
.hero-card{border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);background:var(--white);padding:16px}
.hero-card img{border-radius:16px;box-shadow:var(--shadow)}

/* ---------- Two-column helpers ---------- */
.twocol{display:grid;gap:18px}

/* ---------- Services ---------- */
.svc-grid{display:grid;gap:14px}
.svc-card{
  background:var(--white);border:1px solid var(--border);border-radius:14px;padding:16px;box-shadow:var(--shadow);
  transition:transform .2s ease, box-shadow .2s ease;
}
.svc-card:hover{transform:translateY(-3px);box-shadow:0 10px 22px rgba(0,0,0,.08)}
.svc-ic{
  width:48px;height:48px;border-radius:12px;display:grid;place-items:center;margin-bottom:8px;font-size:22px;
  background:linear-gradient(135deg,rgba(52,168,83,.12),rgba(163,230,53,.12))
}
.svc-card h3{margin:0 0 4px;font-size:18px}
.svc-card p{margin:0;color:var(--muted)}

/* ---------- CTA band ---------- */
.cta-band{
  border:1px solid var(--border);border-radius:16px;background:linear-gradient(180deg,#ffffff 0%,#F5FBF6 100%);
  padding:28px;box-shadow:var(--shadow);text-align:center;display:grid;gap:8px
}

/* ======================================================
   NEW ADVANCED HOMEPAGE ELEMENTS
   ====================================================== */

/* ===== Value pillars (3-up) ===== */
.kpi3{display:grid;gap:14px}
.kpi3-item{
  display:flex;gap:12px;align-items:center;background:var(--white);border:1px solid var(--border);
  border-radius:14px;padding:14px;box-shadow:var(--shadow);transition:transform .2s ease, box-shadow .2s ease
}
.kpi3-item:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(0,0,0,.08)}
.kpi3-ic{font-size:22px;width:38px;height:38px;border-radius:10px;display:grid;place-items:center;
  background:linear-gradient(135deg,rgba(52,168,83,.12),rgba(163,230,53,.12))}
@media(min-width:768px){.kpi3{grid-template-columns:repeat(3,1fr)}}

/* ===== Dashboard / Charts ===== */
.dashboard{
  background:var(--white);border:1px solid var(--border);border-radius:16px;padding:16px;box-shadow:var(--shadow);
  display:grid;gap:14px
}
.dash-top{display:grid;gap:10px}
.dash-kpi{
  border:1px solid var(--border);border-radius:12px;padding:10px;background:#fff;display:grid;gap:4px;text-align:center
}
.dash-kpi-label{font-size:12px;color:var(--muted)}
.dash-kpi-value{font-weight:900;font-size:20px;color:var(--text)}
@media(min-width:768px){
  .dash-top{grid-template-columns:repeat(3,1fr)}
}
.dash-charts{display:grid;gap:12px}
.chart-card{border:1px solid var(--border);background:#fff;border-radius:12px;padding:12px}
.chart-title{font-weight:700;color:var(--text);margin-bottom:6px;font-size:14px}
.chart-svg{width:100%;height:auto;display:block}

/* ===== Reviews widget (Google-like) ===== */
.reviews{
  background:#fff;border:1px solid var(--border);border-radius:16px;padding:16px;box-shadow:var(--shadow);display:grid;gap:16px
}
.reviews-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.reviews-badge{display:flex;align-items:center;gap:10px}
.reviews-badge img{width:24px;height:24px;display:block}
.reviews-grid{display:grid;gap:14px}
.review{
  border:1px solid var(--border);border-radius:12px;padding:12px;background:#fff
}
.stars{color:#F59E0B;letter-spacing:2px;font-weight:900}
.reviews-foot{text-align:center}
@media(min-width:768px){
  .reviews-grid{grid-template-columns:repeat(3,1fr)}
}

/* ---------- Responsive (core) ---------- */
@media(min-width:768px){
  .hero{padding:110px 0 52px}
  .hero h1{font-size:46px}
  .hero-grid{grid-template-columns:1.15fr .85fr;align-items:center}
  .twocol{grid-template-columns:1.1fr .9fr}
  .svc-grid{grid-template-columns:repeat(3,1fr)}
}

/* ======================================================
   DIGITAL ENHANCEMENTS (lls-*)
   ====================================================== */

/* Lists */
.lls-list{padding-left:18px;margin:10px 0}
.lls-list li{margin:6px 0}

/* Digital feature cards */
.lls-feats{display:grid;gap:14px}
@media(min-width:768px){.lls-feats{grid-template-columns:repeat(2,1fr)}}
.lls-card{
  position:relative;overflow:hidden;background:#fff;border:1px solid var(--border);border-radius:14px;
  padding:16px;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s
}
.lls-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(0,0,0,.08)}
.lls-card::after{
  content:"";position:absolute;inset:0;opacity:.06;pointer-events:none;background:
    linear-gradient(90deg,#000 1px,transparent 1px) 0 0/24px 24px,
    linear-gradient(0deg,#000 1px,transparent 1px) 0 0/24px 24px
}
.lls-ic{
  width:48px;height:48px;border-radius:12px;display:grid;place-items:center;margin-bottom:10px;font-size:22px;
  background:linear-gradient(135deg,rgba(52,168,83,.14),rgba(163,230,53,.14));border:1px solid var(--border);color:var(--brand1)
}
.lls-title{margin:0 0 4px;font-size:18px}

/* Generic digital panel */
.lls-panel{
  background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);padding:16px;position:relative;overflow:hidden
}
.lls-panel::after{
  content:"";position:absolute;inset:0;opacity:.06;pointer-events:none;background:
    linear-gradient(90deg,#000 1px,transparent 1px) 0 0/26px 26px,
    linear-gradient(0deg,#000 1px,transparent 1px) 0 0/26px 26px
}

/* Window bar + chips */
.lls-window{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.lls-window span{width:10px;height:10px;border-radius:50%;background:#E5E7EB;display:inline-block}
.lls-window strong{margin-left:auto;color:var(--muted)}
.lls-kpis{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.lls-chip{display:inline-flex;align-items:center;gap:6px;background:linear-gradient(135deg,rgba(52,168,83,.12),rgba(163,230,53,.12));border:1px solid var(--border);border-radius:999px;padding:6px 10px;font-size:13px}

/* Graphics area + report widgets */
.lls-graphic{border:1px dashed #E5E7EB;border-radius:10px;padding:10px;background:#FAFEFB}
.lls-report{display:grid;gap:12px}
@media(min-width:768px){.lls-report{grid-template-columns:1.1fr 1fr .9fr}}
.lls-widget{background:#fff;border:1px solid var(--border);border-radius:12px;padding:12px;box-shadow:var(--shadow)}
.lls-widget-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.lls-stars{color:var(--brand1);font-weight:800}

/* Deliver (grid boxes) */
.lls-deliver{display:grid;gap:14px}
@media(min-width:768px){.lls-deliver{grid-template-columns:repeat(2,1fr)}}
.lls-body h3{margin:0 0 4px}

/* Choose (proof cards) */
.lls-choose{display:grid;gap:14px}
@media(min-width:768px){.lls-choose{grid-template-columns:repeat(4,1fr)}}
.lls-bullets{padding-left:18px;margin:8px 0}
.lls-bullets li{margin:4px 0}

/* Cases */
.lls-cases{display:grid;gap:16px}
@media(min-width:768px){.lls-cases{grid-template-columns:1fr 1fr}}
.lls-case{background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);padding:16px}
.lls-case header h4{margin:0 0 8px}
.lls-media{display:grid;gap:10px;margin:10px 0}
@media(min-width:600px){.lls-media{grid-template-columns:1fr 1fr}}

/* Reviews widget (scoped variant used on page) */
.lls-reviews{border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:var(--shadow);padding:18px}
.lls-reviews-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.lls-reviews-badge{display:flex;align-items:center;gap:10px}
.lls-reviews-badge img{width:28px;height:28px;display:block}
.lls-reviews-grid{display:grid;gap:12px}
.lls-review{border:1px solid var(--border);border-radius:12px;background:#fff;padding:12px}
.lls-review .stars{font-weight:800;color:var(--brand1);margin-bottom:4px}
.lls-reviews-foot{text-align:center;margin-top:12px}
@media(min-width:768px){.lls-reviews-grid{grid-template-columns:repeat(3,1fr)}}

/* How We Work (timeline cards) */
.lls-steps{display:grid;gap:16px}
.lls-stepcard{
  background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);padding:16px;
  position:relative;overflow:hidden;transition:transform .2s,box-shadow .2s
}
.lls-stepcard:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(0,0,0,.08)}
.lls-stepcard::after{
  content:"";position:absolute;inset:0;opacity:.06;pointer-events:none;background:
    linear-gradient(90deg,#000 1px,transparent 1px) 0 0/26px 26px,
    linear-gradient(0deg,#000 1px,transparent 1px) 0 0/26px 26px
}
.lls-stephead{display:flex;gap:12px;align-items:flex-start;margin-bottom:10px}
.lls-stepnum{
  width:38px;height:38px;border-radius:10px;display:grid;place-items:center;font-weight:800;color:var(--text);
  background:linear-gradient(135deg,rgba(52,168,83,.14),rgba(163,230,53,.14));border:1px solid var(--border)
}
.lls-stepgrid{display:grid;gap:12px}
@media(min-width:720px){.lls-stepgrid{grid-template-columns:1fr .8fr}}

/* Audit section (two columns) */
.lls-auditwrap{display:grid;gap:16px;align-items:start}
@media(min-width:900px){.lls-auditwrap{grid-template-columns:1.05fr .95fr}}
.lls-auditinfo{
  background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);padding:16px;position:relative;overflow:hidden
}
.lls-form{
  background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);padding:16px
}
.lls-formgrid{display:grid;gap:10px}
@media(min-width:600px){.lls-formgrid{grid-template-columns:1fr 1fr}}
.input{
  width:100%;padding:12px 12px;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--text);
  outline:none;transition:border-color .15s, box-shadow .15s
}
.input:focus{border-color:var(--brand1);box-shadow:0 0 0 3px rgba(52,168,83,.15)}

/* Pricing cards */
.pricing-grid{display:grid;gap:16px}
@media(min-width:900px){.pricing-grid{grid-template-columns:repeat(3,1fr)}}
.price-card{
  background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);padding:18px;position:relative
}
.price-card .price{font-size:28px;font-weight:900;margin:8px 0 12px}
.price-card.popular{border-color:var(--brand1);box-shadow:0 10px 26px rgba(52,168,83,.12)}
.badge-popular{
  position:absolute;top:12px;right:12px;background:linear-gradient(90deg,var(--brand1),var(--brand2));
  color:#fff;font-weight:800;border-radius:999px;padding:6px 10px;font-size:12px
}

/* FAQ */
.faq{display:grid;gap:10px}
.faq-item{
  background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);padding:12px
}
.faq-item summary{cursor:pointer;font-weight:700}
.faq-item[open]{border-color:var(--brand1)}

/* Two-color animated highlight for the H1 */
.headline-gradient {
  font-weight: 800;
  line-height: 1.1;
}

/* Animated gradient effect on the highlighted span */
.headline-gradient span {
  background: linear-gradient(90deg, #34A853, #A3E635);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: headlineRun 6s linear infinite;
  white-space: nowrap;
}

@keyframes headlineRun {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Accessibility: stop animation if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .headline-gradient span {
    animation: none;
  }
}

/* Tiny admin toggle styles */
#asset-admin-toggle {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 120;
  font-size: 12px;
}
#asset-admin-toggle button {
  background: white;
  border: 1px solid var(--border);
  padding: 6px 8px;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  cursor: pointer;
  font-weight:700;
}