/* Premier Auto Detailing — Detail Wisconsin
   Design system: deep gloss black, platinum, signature red + chrome on gloss black. */

:root {
  --bg: #0b0e11;
  --bg-2: #10151b;
  --surface: #151c24;
  --surface-2: #1b232d;
  --line: #262b33;
  --text: #eef2f5;
  --muted: #9aa7b2;
  --muted-2: #7b8894;
  --red: #e0322b;
  --red-2: #ff4d40;
  --red-deep: #b3231d;
  --chrome-1: #f4f6f9;
  --chrome-2: #b8c0ca;
  --chrome-3: #838d98;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.7);
  --shadow-sm: 0 8px 24px -12px rgba(0, 0, 0, 0.6);
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --head-h: 74px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Sora", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.16em; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--red); color: #000; padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--red);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); display: inline-block; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.gold { color: var(--red); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--display); font-weight: 600; font-size: 0.95rem;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s;
  white-space: nowrap; line-height: 1;
}
.btn-accent { background: linear-gradient(135deg, var(--red-2), var(--red)); color: #ffffff; box-shadow: 0 10px 26px -10px rgba(224, 50, 43, 0.65); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(224, 50, 43, 0.8); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); border-color: var(--red); }
.btn-dark { background: #0c1116; color: var(--text); border-color: var(--line); }
.btn-dark:hover { border-color: var(--red); color: var(--red); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }

/* ---- Top bar ---- */
.topbar { background: #05070a; border-bottom: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.topbar-in { display: flex; align-items: center; gap: 22px; height: 40px; }
.topbar .ic { color: var(--red); }
.topbar-hrs { margin-left: auto; }
.topbar-call { color: var(--text); font-weight: 600; }
.topbar-call:hover { color: var(--red); }

/* ---- Header ---- */
.site-head { position: sticky; top: 0; z-index: 100; background: rgba(11, 14, 17, 0.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: background 0.3s, border-color 0.3s; }
.site-head.scrolled { background: rgba(8, 10, 13, 0.96); }
.head-in { display: flex; align-items: center; gap: 20px; height: var(--head-h); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 50px; width: auto; display: block; }
.site-foot .logo-img { height: 58px; }
.logo-mark { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--red-2), var(--red)); color: #ffffff; box-shadow: 0 8px 20px -8px rgba(224, 50, 43, 0.7); }
.logo-mark .ic { width: 22px; height: 22px; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.05; }
.logo-txt strong { font-family: var(--display); font-size: 1.16rem; font-weight: 800; letter-spacing: 0.01em; }
.logo-txt em { font-style: normal; font-size: 0.66rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 10px 14px; font-family: var(--display); font-weight: 600; font-size: 0.92rem; color: var(--muted); border-radius: 9px; transition: color 0.2s, background 0.2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.has-sub { position: relative; }
.sub { list-style: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px; margin: 0; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.2s var(--ease); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub a { color: var(--muted); font-size: 0.88rem; padding: 9px 12px; }
.sub a:hover { color: var(--red); background: rgba(224, 50, 43, 0.08); }
.head-cta { margin-left: 4px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); width: 44px; height: 44px; border-radius: 10px; margin-left: auto; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .ic { width: 24px; height: 24px; }

/* ---- Sections ---- */
section { position: relative; }
.pad { padding: clamp(56px, 8vw, 104px) 0; }
.pad-sm { padding: clamp(40px, 6vw, 72px) 0; }
.bg-2 { background: var(--bg-2); }
.bg-surface { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.sec-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.sec-head.left { margin-left: 0; text-align: left; }

/* ---- Hero ---- */
.hero { position: relative; padding: clamp(70px, 11vw, 140px) 0 clamp(60px, 9vw, 110px); overflow: hidden; background: radial-gradient(120% 90% at 80% -10%, rgba(184, 192, 202, 0.14), transparent 55%), radial-gradient(90% 70% at 10% 110%, rgba(224, 50, 43, 0.12), transparent 55%), var(--bg); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 75%); opacity: 0.5; }
.hero-in { position: relative; z-index: 2; max-width: 860px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .gold { background: linear-gradient(120deg, var(--red-2), var(--red)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { font-size: clamp(1.1rem, 2vw, 1.32rem); margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; color: var(--muted); font-size: 0.92rem; }
.hero-trust .stars { color: var(--red); letter-spacing: 2px; }
.hero-trust b { color: var(--text); }
.trust-item { display: inline-flex; align-items: center; gap: 8px; }
.trust-item .ic { color: var(--red); }

/* ---- Stat strip ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--surface); padding: 30px 22px; text-align: center; }
.stat b { display: block; font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; color: var(--red); line-height: 1; }
.stat span { font-size: 0.86rem; color: var(--muted); letter-spacing: 0.04em; }

/* ---- Cards grid ---- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-5px); border-color: rgba(224, 50, 43, 0.5); box-shadow: var(--shadow); }
.card-ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(224, 50, 43,0.18), rgba(224, 50, 43,0.05)); border: 1px solid rgba(224, 50, 43,0.25); color: var(--red); margin-bottom: 18px; }
.card-ic .ic { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.96rem; margin: 0; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--red); font-family: var(--display); font-weight: 600; font-size: 0.9rem; }
.card .card-link .ic { transition: transform 0.25s var(--ease); }
.card:hover .card-link .ic { transform: translateX(4px); }

/* service card as link */
a.card { color: inherit; }

/* ---- Why us ---- */
.why-card { text-align: left; }
.why-card .card-ic { background: linear-gradient(135deg, rgba(184, 192, 202,0.16), rgba(184, 192, 202,0.04)); border-color: rgba(184, 192, 202,0.25); color: var(--chrome-2); }

/* ---- Split feature ---- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.split-media.photo { background-size: cover; background-position: center; }
.ul-check { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.ul-check li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.ul-check .ic { color: var(--red); margin-top: 3px; background: rgba(224, 50, 43,0.12); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }

/* Media placeholder look */
.media-ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 24px; background: linear-gradient(135deg, var(--surface), var(--bg-2)); color: var(--muted-2); position: relative; }
.media-ph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 70% 20%, rgba(184, 192, 202,0.12), transparent 60%), radial-gradient(90% 70% at 20% 90%, rgba(224, 50, 43,0.14), transparent 60%); }
.media-ph .ic { width: 46px; height: 46px; color: var(--red); opacity: 0.85; position: relative; margin-bottom: 4px; }
.media-ph-label { position: relative; font-family: var(--display); font-weight: 600; font-size: 0.98rem; color: var(--text); max-width: 26ch; }
.media-ph-note { position: relative; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }

/* ---- Packages ---- */
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pkg { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; position: relative; }
.pkg.featured { border-color: var(--red); background: linear-gradient(180deg, rgba(224, 50, 43,0.08), var(--surface) 40%); box-shadow: 0 24px 60px -22px rgba(224, 50, 43,0.35); transform: scale(1.02); }
.pkg-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--red-2), var(--red)); color: #ffffff; font-family: var(--display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; }
.pkg h3 { font-size: 1.4rem; margin-bottom: 4px; }
.pkg .pkg-tag { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; }
.pkg-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.pkg-price .from { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.pkg-price b { font-family: var(--display); font-size: 2.5rem; font-weight: 800; color: var(--text); line-height: 1; }
.pkg-price .cur { font-size: 1.3rem; color: var(--red); font-weight: 700; }
.pkg-for { color: var(--muted); font-size: 0.92rem; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 20px; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.pkg ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; color: var(--text); }
.pkg ul .ic { color: var(--red); width: 20px; height: 20px; margin-top: 2px; flex: none; }
.pkg .btn { margin-top: auto; width: 100%; }

/* ---- Reviews ---- */
.rev-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.rev-stars { color: var(--red); letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 14px; }
.rev-card p { font-size: 1.04rem; color: var(--text); font-style: italic; margin-bottom: 18px; }
.rev-meta { display: flex; align-items: center; gap: 12px; }
.rev-av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--red-2), var(--red)); color: #ffffff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; }
.rev-meta b { display: block; font-size: 0.92rem; }
.rev-meta span { font-size: 0.82rem; color: var(--muted); }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(120deg, #12181f, #0b0e11); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 140% at 85% 50%, rgba(224, 50, 43,0.16), transparent 60%); }
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(40px, 6vw, 64px) 0; flex-wrap: wrap; }
.cta-in h2 { margin-bottom: 6px; }
.cta-in p { color: var(--muted); margin: 0; max-width: 46ch; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Page hero (interior pages) ---- */
.page-hero { padding: clamp(50px, 8vw, 90px) 0 clamp(30px, 5vw, 50px); background: radial-gradient(100% 100% at 85% 0%, rgba(184, 192, 202,0.12), transparent 55%), var(--bg-2); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.84rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--red); }
.crumbs span { color: var(--muted-2); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 12px; }

/* ---- Service detail ---- */
.svc-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 0; list-style: none; display: grid; gap: 12px; margin: 1.4em 0; }
.prose ul li { display: flex; gap: 12px; align-items: flex-start; }
.prose ul .ic { color: var(--red); margin-top: 3px; flex: none; }
.sidebar { position: sticky; top: calc(var(--head-h) + 20px); display: grid; gap: 20px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.side-card h3 { margin-bottom: 14px; }
.side-card.gold-card { background: linear-gradient(180deg, rgba(224, 50, 43,0.1), var(--surface)); border-color: rgba(224, 50, 43,0.4); }
.side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.side-list a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 9px; color: var(--muted); font-size: 0.92rem; transition: 0.2s; }
.side-list a:hover, .side-list a.active { background: rgba(224, 50, 43,0.08); color: var(--red); }
.side-contact p { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; margin-bottom: 10px; color: var(--muted); }
.side-contact .ic { color: var(--red); margin-top: 3px; }
.side-contact a { color: var(--text); }

/* ---- FAQ ---- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq summary { padding: 20px 24px; font-family: var(--display); font-weight: 600; font-size: 1.03rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--red); transition: transform 0.25s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--display); font-weight: 600; font-size: 0.86rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); color: var(--text);
  border-radius: 11px; padding: 13px 15px; font-family: var(--font); font-size: 0.98rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(224, 50, 43,0.15); }
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-block { display: flex; gap: 16px; margin-bottom: 22px; }
.info-block .info-ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(224, 50, 43,0.1); border: 1px solid rgba(224, 50, 43,0.25); color: var(--red); display: grid; place-items: center; flex: none; }
.info-block h3 { font-size: 1.02rem; margin-bottom: 3px; }
.info-block p, .info-block a { color: var(--muted); margin: 0; font-size: 0.96rem; }
.info-block a:hover { color: var(--red); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); margin-top: 26px; }
.map-embed iframe { width: 100%; height: 300px; border: 0; display: block; filter: grayscale(0.3) invert(0.9) hue-rotate(180deg) contrast(0.9); }
.hours-table { list-style: none; padding: 0; margin: 8px 0 0; }
.hours-table li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.hours-table li:last-child { border-bottom: none; }
.hours-table span:last-child { color: var(--red); font-weight: 600; }

/* ---- Location page extras ---- */
.loc-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.loc-chip { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; transition: 0.25s; }
.loc-chip:hover { border-color: var(--red); transform: translateY(-3px); }
.loc-chip .ic { color: var(--red); }
.loc-chip b { font-family: var(--display); font-size: 0.96rem; }

/* ---- Footer ---- */
.site-foot { background: #06080b; border-top: 1px solid var(--line); padding-top: clamp(48px, 7vw, 76px); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 46px; }
.foot-brand p { color: var(--muted); font-size: 0.94rem; margin: 18px 0; max-width: 34ch; }
.foot-brand .btn { margin-bottom: 14px; }
.foot-social { display: block; color: var(--red); font-size: 0.9rem; font-weight: 600; }
.foot-social:hover { text-decoration: underline; }
.foot-col h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-2); margin-bottom: 18px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-col a { color: var(--muted); font-size: 0.92rem; }
.foot-col a:hover { color: var(--red); }
.foot-visit address { font-style: normal; color: var(--muted); font-size: 0.92rem; line-height: 2; }
.foot-visit .ic { color: var(--red); }
.foot-visit a:hover { color: var(--red); }
.foot-indent { padding-left: 24px; }
.foot-hrs-h { margin-top: 22px; }
.foot-hrs { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-hrs li { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--muted); gap: 16px; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 24px 0; border-top: 1px solid var(--line); font-size: 0.84rem; color: var(--muted-2); }
.foot-links a:hover { color: var(--red); }

/* ---- Reveal animation (only when JS is active; content always visible otherwise) ---- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .svc-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); display: grid; }
}
@media (max-width: 860px) {
  .topbar-hrs { display: none; }
  .head-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: var(--bg-2); border-left: 1px solid var(--line); padding: calc(var(--head-h) + 20px) 22px 30px; transform: translateX(100%); transition: transform 0.35s var(--ease); overflow-y: auto; z-index: 90; }
  .main-nav.open { transform: none; box-shadow: -20px 0 60px -20px rgba(0,0,0,0.8); }
  .main-nav > ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 13px 14px; font-size: 1rem; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: none; padding: 0 0 6px 14px; min-width: 0; }
  .sub a { font-size: 0.9rem; padding: 8px 12px; }
  body.nav-open { overflow: hidden; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 80; opacity: 0; visibility: hidden; transition: 0.3s; }
  .nav-scrim.show { opacity: 1; visibility: visible; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4, .pkgs, .contact-grid, .split, .stats { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .pkg.featured { transform: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .form-row { grid-template-columns: 1fr; }
  .stats { border-radius: var(--radius); }
  .cta-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) {
  .foot-grid { grid-template-columns: 1fr; }
  .topbar-in span:first-child { display: none; }
  body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==== v2: gallery, before/after, process, guarantee, reviews summary, faq ==== */

/* Process steps */
.steps .step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; position: relative; text-align: left; }
.steps .step .step-num { position: absolute; top: 22px; right: 24px; font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--line); line-height: 1; }
.steps .step .card-ic { margin-bottom: 16px; }
.steps .step h3 { margin-bottom: 8px; }
.steps .step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Guarantee band */
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; background: linear-gradient(120deg, rgba(224,50,43,0.1), var(--surface) 55%); border: 1px solid rgba(224,50,43,0.35); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 46px); }
.guarantee-ic { width: 84px; height: 84px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, var(--red-2), var(--red)); color: #fff; box-shadow: 0 14px 30px -12px rgba(224,50,43,0.7); }
.guarantee-ic .ic { width: 42px; height: 42px; }
.guarantee h2 { margin: 6px 0 10px; }
.guarantee p { color: var(--muted); margin: 0 0 18px; max-width: 62ch; }
.guarantee-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.guarantee-badges span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 0.9rem; }
.guarantee-badges .ic { color: var(--red); width: 20px; height: 20px; }

/* Before/After slider */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.ba { display: flex; flex-direction: column; gap: 14px; }
.ba-frame { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); user-select: none; touch-action: none; }
.ba-before, .ba-after { position: absolute; inset: 0; }
.ba-after { z-index: 1; }
.ba-before { z-index: 2; overflow: hidden; border-right: 2px solid var(--red); }
.ba-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted-2); background: linear-gradient(135deg, var(--surface), var(--bg-2)); }
.ba-before .ba-ph { background: linear-gradient(135deg, #1a1f26, #0d1116); }
.ba-after .ba-ph { background: linear-gradient(135deg, #202a33, #141b22); }
.ba-ph .ic { width: 40px; height: 40px; opacity: 0.5; }
.ba-ph em { font-style: normal; font-family: var(--display); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8rem; opacity: 0.7; }
/* photo mode: when data-img resolved to a real bg image, hide the placeholder */
.ba-before.has-photo .ba-ph, .ba-after.has-photo .ba-ph { display: none; }
.ba-tag { position: absolute; top: 14px; z-index: 3; font-family: var(--display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.ba-tag-before { left: 14px; background: var(--red); color: #fff; }
.ba-tag-after { right: 14px; background: rgba(0,0,0,0.6); color: #fff; border: 1px solid var(--line); }
.ba-range { position: absolute; z-index: 5; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-handle { position: absolute; z-index: 4; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,0.5); pointer-events: none; }
.ba-handle .ic { width: 22px; height: 22px; }
.ba-handle::before, .ba-handle::after { content: ""; position: absolute; width: 2px; height: 100vh; background: var(--red); left: 50%; transform: translateX(-50%); }
.ba-handle::before { bottom: 100%; } .ba-handle::after { top: 100%; }
.ba-cap b { font-family: var(--display); display: block; }
.ba-cap span { color: var(--muted); font-size: 0.92rem; }

/* Gallery filters + grid */
.g-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.g-filter { font-family: var(--display); font-weight: 600; font-size: 0.88rem; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; transition: 0.2s; }
.g-filter:hover { color: var(--text); border-color: var(--red); }
.g-filter.active { background: linear-gradient(135deg, var(--red-2), var(--red)); color: #fff; border-color: transparent; }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.g-tile { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; aspect-ratio: 4 / 3; background: var(--surface); transition: transform 0.3s var(--ease), border-color 0.3s; }
.g-tile:hover { transform: translateY(-4px); border-color: var(--red); }
.g-tile.hide { display: none; }
.g-ph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--surface), var(--bg-2)); color: var(--muted-2); }
.g-ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 70% at 30% 20%, rgba(224,50,43,0.12), transparent 60%); }
.g-ph .ic { width: 40px; height: 40px; opacity: 0.5; }
.g-tile.has-photo .g-ph { display: none; }
.g-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 16px 14px; background: linear-gradient(transparent, rgba(5,7,10,0.92)); }
.g-tile figcaption b { display: block; font-family: var(--display); font-size: 0.96rem; }
.g-tile figcaption span { font-size: 0.8rem; color: var(--muted); }

/* Reviews summary */
.rating-summary { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.rating-big { text-align: center; padding-right: 30px; border-right: 1px solid var(--line); }
.rating-big b { display: block; font-family: var(--display); font-size: 3.6rem; font-weight: 800; line-height: 1; color: var(--text); }
.rating-big .rating-stars { color: var(--red); font-size: 1.1rem; letter-spacing: 2px; display: block; margin: 6px 0; }
.rating-big .rating-sub { font-size: 0.82rem; color: var(--muted); }
.rating-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rating-plat { display: block; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; transition: 0.2s; }
.rating-plat:hover { border-color: var(--red); transform: translateY(-3px); }
.rating-plat .rating-stars { color: var(--red); letter-spacing: 2px; }
.rating-plat b { display: block; margin: 6px 0 4px; font-family: var(--display); font-size: 1.02rem; }
.rating-plat span { font-size: 0.85rem; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }

/* FAQ groups */
.faq-group { margin-bottom: 40px; }
.faq-group > h2 { margin-bottom: 18px; }
.faq-group .faq { max-width: none; }

/* footer socials */
.foot-socials { display: flex; gap: 16px; }
.foot-socials a { color: var(--red); font-size: 0.9rem; font-weight: 600; }
.foot-socials a:hover { text-decoration: underline; }

@media (max-width: 1000px) {
  .g-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .ba-grid { grid-template-columns: 1fr; }
  .rating-summary { grid-template-columns: 1fr; }
  .rating-big { border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 22px; }
}
@media (max-width: 720px) {
  .g-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantee { grid-template-columns: 1fr; text-align: left; }
  .rating-platforms { grid-template-columns: 1fr; }
  .steps .step .step-num { font-size: 1.8rem; }
}
@media (max-width: 460px) {
  .g-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ==== v3: photo service cards, recent-work grid, location NAP note ==== */
.svc-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.svc-card .card-media { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--surface-2), var(--bg-2)); background-size: cover; background-position: center; }
.svc-card .card-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 80% at 70% 10%, rgba(224,50,43,0.16), transparent 60%); }
.svc-card .card-media.has-photo::after { background: linear-gradient(to top, rgba(5,7,10,0.55), transparent 55%); }
.svc-card .card-media-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted-2); z-index: 1; }
.svc-card .card-media-ph .ic { width: 44px; height: 44px; opacity: 0.45; }
.svc-card .card-media.has-photo .card-media-ph { display: none; }
.svc-card .card-ic { position: absolute; left: 22px; bottom: -24px; z-index: 3; margin: 0; box-shadow: 0 10px 24px -10px rgba(0,0,0,0.7); }
.svc-card-body { padding: 40px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-card-body h3 { margin-bottom: 8px; }
.svc-card-body p { color: var(--muted); font-size: 0.96rem; margin: 0; }
.svc-card-body .card-link { margin-top: 16px; }

/* Recent-work grid on home reuses .g-grid; ensure captions read on hover */
.g-grid-home .g-tile { aspect-ratio: 4 / 3; }

/* Service-page media banner */
.svc-media { aspect-ratio: 16 / 7; margin-bottom: 30px; border-radius: var(--radius-lg); }

/* Location "based in Cedarburg" NAP note */
.loc-nap { display: flex; gap: 10px; align-items: flex-start; background: rgba(224,50,43,0.08); border: 1px solid rgba(224,50,43,0.28); border-radius: var(--radius); padding: 14px 18px; font-size: 0.96rem; color: var(--text); max-width: 68ch; margin: 4px 0 0; }
.loc-nap .ic { color: var(--red); margin-top: 3px; flex: none; }
