/* ===== Theme ===== */
:root{
  --bg: #0b0f14;
  --bg-elev: #0f1621;
  --card: #0e1520;
  --text: #e6eaf0;
  --muted: #9aa4b2;
  --line: #1f2a44;
  --accent: #e11d48;      /* red */
  --accent-2: #fbbf24;    /* warm highlight */
  --glass: rgba(12,16,23,.6);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
}

/* Accessibility */
.skip-link{position:absolute; left:-9999px}
.skip-link:focus{left:12px; top:12px; padding:8px 10px; background:#000; color:#fff; border-radius:8px}

/* Base */
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block;border-radius:12px}
.container{width:min(1100px,92%);margin-inline:auto}
:focus-visible{outline:2px solid var(--accent); outline-offset:3px; border-radius:6px}

/* ===== Header ===== */
.site-header{
  position:sticky; top:0; z-index:30;
  background:rgba(12,16,23,.6);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:14px 0;
}
.logo{display:flex; align-items:center; gap:12px}
.logo img{height:64px; width:64px; object-fit:contain; filter: drop-shadow(0 4px 12px rgba(0,0,0,.35))}
.wordmark{
  font-family:"Bebas Neue", system-ui, sans-serif;
  letter-spacing:1px; font-size: clamp(20px, 3.5vw, 28px);
  line-height:1; color:#fff; text-transform:uppercase;
}
.nav{display:flex; gap:18px; align-items:center}
.nav a{opacity:.95}
.menu{display:none;background:transparent;border:1px solid var(--line);
  border-radius:8px;padding:6px 10px;color:var(--text)}

/* Buttons */
.btn{
  display:inline-block; padding:10px 14px; border-radius:12px;
  border:1px solid var(--accent); background:var(--accent); color:#fff;
  font-weight:800; letter-spacing:.2px;
  transition:transform .15s ease, box-shadow .2s ease, background .2s;
}
.btn:hover{transform:translateY(-1px); box-shadow:0 6px 24px rgba(225,29,72,.25)}
.btn.ghost{background:transparent;border-color:var(--line);color:var(--text)}
.btn.full{width:100%; text-align:center}

/* ===== Hero (Video) ===== */
.hero-video{position:relative; min-height:88vh; overflow:hidden; border-bottom:1px solid var(--line)}
.hero-video video{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center;
  filter:saturate(105%) contrast(105%) brightness(.85);
}
.hero-video .hero-overlay{
  position:relative; z-index:1; background:linear-gradient(180deg, rgba(11,15,20,.75), rgba(11,15,20,.40) 40%, rgba(11,15,20,.75));
  display:flex; align-items:center; padding:72px 0 36px;
}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:stretch}
h1{
  font-family:"Bebas Neue", system-ui, sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  line-height:1.02; margin:0 0 10px;
}
h1 .brand{color:var(--accent); letter-spacing:1px}
h2{font-size:clamp(22px,3vw,30px);margin:0 0 12px}
h3{margin:0 0 8px}
.lead{opacity:.95}
p,li,label{color:var(--text)}
.muted{color:var(--muted)}
.hours{margin-top:10px;font-size:14px;color:var(--muted)}

/* Badges */
.badges{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 12px;padding:0;list-style:none}
.badges li{
  background:rgba(225,29,72,.14); border:1px solid var(--line);
  color:#ffd7de; padding:6px 10px; border-radius:999px; font-size:14px
}
.social-proof{color:var(--muted); margin:6px 0 2px}

/* Card with gradient border (glass) */
.card{
  position:relative; border:1px solid transparent;
  background:linear-gradient(180deg, var(--bg-elev), var(--card));
  border-radius:16px; padding:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.card::before{
  content:""; position:absolute; inset:0; border-radius:16px; padding:1px;
  background:linear-gradient(135deg, rgba(225,29,72,.45), rgba(251,191,36,.35));
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  pointer-events:none;
}

/* ===== Sections ===== */
.section{padding:64px 0}
.section.alt{background:#0a111a;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.narrow{max-width:720px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}

/* Feature card hover */
.feature{
  position:relative; border:1px solid var(--line);border-radius:14px;
  padding:16px;background:var(--bg-elev);
  transition:transform .25s ease, box-shadow .25s ease;
}
.feature:hover{transform:translateY(-2px); box-shadow:0 12px 32px rgba(0,0,0,.28)}

/* Price grid */
.price-table{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.price{
  position:relative; border:1px solid var(--line);border-radius:14px;padding:16px;background:var(--bg-elev);text-align:center
}
.price::before{
  content:""; position:absolute; inset:0; border-radius:14px; padding:1px;
  background:linear-gradient(135deg, rgba(225,29,72,.36), rgba(251,191,36,.28));
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  pointer-events:none;
}
.amt{font-size:20px;font-weight:800}
.mini{font-size:13px; color:var(--muted)}
.thumbs{gap:12px;grid-template-columns:repeat(4,1fr)}
.thumbs img{aspect-ratio:4/3; object-fit:cover; transition:transform .25s ease}
.thumbs img:hover{transform:scale(1.02)}
.map-embed iframe{border-radius:16px}

/* ===== Contact ===== */
.contact-form{display:grid;gap:12px}
input,textarea,select{
  width:100%;padding:11px 13px;border-radius:12px;
  border:1px solid #243244;background:#0f172a;color:var(--text)
}
.status{margin:6px 0 0;font-size:14px;color:var(--muted)}

/* ===== Sticky Actions (mobile) ===== */
.sticky-actions{
  position:fixed;left:0;right:0;bottom:16px;z-index:25;display:flex;gap:10px;
  width:min(640px,94%);margin-inline:auto;justify-content:space-between;
  background:var(--glass);backdrop-filter:blur(10px);padding:8px;border:1px solid var(--line);border-radius:14px
}
.sticky-actions a{flex:1;text-align:center;border-radius:10px;padding:10px 12px;border:1px solid var(--line)}
.sticky-actions a:first-child{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:800}

/* ===== Footer ===== */
.site-footer{border-top:1px solid var(--line);padding:22px 0;background:#0a111a}
.site-footer p{margin:0;opacity:.9}

/* ===== Anchor offset ===== */
:where(#services, #pricing, #gallery, #results, #reviews, #streetview, #contact){ scroll-margin-top: 84px; }

/* ===== Reveal on scroll (safe default visible) ===== */
.reveal-init{transform:translateY(8px);}       /* no opacity:0 — safe if JS fails */
.reveal{transform:none; opacity:1; transition:transform .45s ease, opacity .45s ease}
/* Ensure testimonials never hide if JS fails */
#reviews .t-card.reveal-init{opacity:1; transform:none}

/* ===== Before/After Slider ===== */
.ba{
  --ba: 50;            /* initial reveal % of AFTER side */
  --ar: 4/3;           /* default aspect ratio; override inline e.g., style="--ar: 9/16" */
  position:relative;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:#0a0f16;
  aspect-ratio: var(--ar);
  margin-bottom:18px;
}
.ba__img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
.ba__img--after{clip-path: inset(0 0 0 calc(var(--ba) * 1%)); transition: clip-path .12s ease}
.ba__handle{
  position:absolute; top:0; bottom:0; left:50%;
  width:2px; background: linear-gradient(180deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 0 1px rgba(0,0,0,.45);
  transform: translateX(calc(var(--ba) * 1% - 50%));
  pointer-events:none;
}
.ba__range{position:absolute; inset:0; width:100%; height:100%; appearance:none; background:transparent; cursor:ew-resize}
.ba__range::-webkit-slider-thumb{appearance:none; width:22px; height:22px; border-radius:50%; background:#fff; border:2px solid #000; box-shadow:0 0 0 2px var(--accent)}
.ba__range::-moz-range-thumb{width:22px; height:22px; border-radius:50%; background:#fff; border:2px solid #000; box-shadow:0 0 0 2px var(--accent)}
.ba__labels{position:absolute; inset:auto 0 0 0; display:flex; justify-content:space-between; padding:8px 10px; background:rgba(0,0,0,.32); border-top:1px solid var(--line)}
.ba__label{font-size:13px; color:#fff; padding:4px 8px; border-radius:8px; border:1px solid var(--line); backdrop-filter: blur(4px)}
.ba__label--before{ background: rgba(255,255,255,.06) }
.ba__label--after{  background: rgba(225,29,72,.18) }
.ba__caption{position:absolute; left:10px; top:10px; background:rgba(0,0,0,.35); color:#fff; border:1px solid var(--line); border-radius:10px; padding:6px 10px; font-size:14px}

/* ===== Testimonials (compact + modern) ===== */
.t-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
.t-card{
  border:1px solid var(--line); background:var(--bg-elev);
  border-radius:14px; padding:14px; max-width:520px;
  transition:transform .25s ease, box-shadow .25s ease;
}
.t-card:hover{ transform:translateY(-2px); box-shadow:0 10px 28px rgba(0,0,0,.24) }
.t-head{ display:flex; align-items:center; gap:10px; margin-bottom:6px }
.avatar{ width:36px; height:36px; border-radius:50%; display:grid; place-items:center; font-weight:800; background:rgba(225,29,72,.18); border:1px solid var(--line) }
.t-name{ display:block }
.t-stars{ display:flex; gap:2px; margin-top:2px }
.star{ width:16px; height:16px; fill:#FFD166 }
.t-body{ margin:8px 0 6px; color:var(--text); font-size:14.5px; line-height:1.45 }
.t-meta{ font-size:12.5px; color:var(--muted) }
.t-cta{ margin-top:16px; display:flex; justify-content:flex-end }
.t-google{ display:inline-flex; align-items:center; gap:8px }
.gmark{ display:inline-block }

/* Responsive */
@media (max-width:1000px){
  .hero-grid{grid-template-columns:1fr}
  .price-table{grid-template-columns:repeat(2,1fr)}
  .thumbs{grid-template-columns:repeat(2,1fr)}
  .t-grid{ grid-template-columns:1fr 1fr }
}
@media (max-width:620px){
  .nav{display:none}
  .menu{display:block}
  .price-table{grid-template-columns:1fr}
  .thumbs{grid-template-columns:1fr}
  .wordmark{display:none}
  .t-grid{ grid-template-columns:1fr }
  .t-cta{ justify-content:center }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important}
}
