/* =========================================================
   Mr. Detail LLC — Premium Auto Protection Studio
   Fond du Lac, WI
   Custom CSS, no framework.
   ========================================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  --black: #0a0a0a;
  --black-2: #111111;
  --gray-900: #1a1a1a;
  --gray-800: #222222;
  --gray-700: #2b2b2b;
  --gray-600: #3a3a3a;
  --gray-400: #8a8a8a;
  --gray-300: #b8b8b8;
  --white: #ffffff;
  --red: #c0392b;
  --red-bright: #e0463a;
  --red-dark: #8a2b20;
  --red-glow: rgba(192, 57, 43, 0.45);

  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1280px;
  --container-narrow: 980px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  --radius: 4px;
  --radius-lg: 8px;

  --shadow-red: 0 8px 30px var(--red-glow);
  --shadow-card: 0 12px 40px rgba(0,0,0,0.6);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--red-bright); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { padding: 0; margin: 0; list-style: none; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin: 0 0 var(--space-3);
  text-transform: uppercase;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); }
h4 { font-size: 1.25rem; letter-spacing: 0.08em; }

p { margin: 0 0 var(--space-2); color: var(--gray-300); }
p.lead { font-size: 1.15rem; color: var(--gray-300); max-width: 60ch; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-2);
}
.eyebrow.light { color: var(--white); opacity: 0.8; }

.text-red { color: var(--red); }
.text-center { text-align: center; }

/* ---------- 4. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-3);
}
.container.narrow { max-width: var(--container-narrow); }

section {
  padding: var(--space-7) 0;
  position: relative;
}
.section-tight { padding: var(--space-6) 0; }
.section-dark { background: var(--black); }
.section-darker { background: var(--gray-900); }
.section-darkest { background: #050505; }

.section-header { text-align: center; margin-bottom: var(--space-6); }
.section-header h2 { margin-bottom: var(--space-2); }
.section-header p { color: var(--gray-300); max-width: 60ch; margin: 0 auto; }

.divider-red {
  width: 60px;
  height: 3px;
  background: var(--red);
  margin: 0 auto var(--space-3);
  box-shadow: 0 0 14px var(--red-glow);
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(192,57,43,0.35);
}
.btn-primary:hover {
  background: var(--red-bright);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--red-glow);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--gray-600);
}
.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red-bright);
}
.btn-block { width: 100%; }
.btn-lg { padding: 1.15rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: 0.7rem 1.3rem; font-size: 0.8rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.link-arrow::after { content: '→'; transition: transform 0.2s var(--ease); }
.link-arrow:hover { color: var(--red-bright); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 6. Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: transparent;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.85rem 0;
  border-bottom-color: rgba(192,57,43,0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
}
.nav-logo .dot { color: var(--red); }
.nav-logo img {
  display: block;
  height: 72px;
  width: auto;
  transition: height 0.3s var(--ease);
}
.nav.scrolled .nav-logo img { height: 58px; }
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding: 0.5rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--white);
  border-left: 1px solid var(--gray-600);
  padding-left: 1.5rem;
}
.nav-phone::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
}

.nav-toggle {
  display: none;
  width: 32px; height: 32px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--white);
  transition: all 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 8px; }
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle span:nth-child(3) { top: 22px; }
.nav-toggle.open span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 360px;
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: right 0.35s var(--ease);
    border-left: 1px solid var(--gray-700);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1rem; }
  .nav-phone { display: none; }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 8rem 1rem 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}
.hero video, .hero .hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.7) 60%, rgba(10,10,10,0.95) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.hero-content h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  margin-bottom: var(--space-3);
  text-shadow: 0 4px 30px rgba(0,0,0,0.7);
}
.hero-content .subtext {
  font-size: 1.15rem;
  color: var(--gray-300);
  max-width: 600px;
  margin: 0 auto var(--space-4);
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 30px;
  background: var(--white);
  margin: 0.5rem auto 0;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Smaller hero for sub-pages */
.hero-sub {
  min-height: 60vh;
  padding-top: 9rem;
}
.hero-sub h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }

/* ---------- 8. Trust Bar ---------- */
.trust-bar {
  background: var(--gray-900);
  padding: 2.5rem 0;
  border-top: 1px solid var(--gray-700);
  border-bottom: 1px solid var(--gray-700);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  text-align: center;
}
.trust-item {
  padding: 0.5rem 1rem;
  position: relative;
}
.trust-item + .trust-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%;
  width: 2px; height: 60%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red-glow);
}
.trust-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.trust-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-400);
}
@media (max-width: 720px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .trust-item + .trust-item::before { display: none; }
}

/* ---------- 9. Service Cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.service-card {
  background: var(--gray-900);
  border-top: 3px solid var(--red);
  padding: 2.5rem 2rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(192,57,43,0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-icon {
  width: 56px; height: 56px;
  margin-bottom: 1.25rem;
  color: var(--red);
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { margin-bottom: 1.5rem; color: var(--gray-300); }
@media (max-width: 880px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* ---------- 10. Spotlight rows ---------- */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
  margin-bottom: var(--space-7);
}
.spotlight:last-child { margin-bottom: 0; }
.spotlight.reverse .spotlight-img { order: 2; }
.spotlight.reverse .spotlight-text { order: 1; }
.spotlight-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.spotlight-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.spotlight-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.spotlight-img:hover img { transform: scale(1.05); }
.spotlight-text h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
@media (max-width: 880px) {
  .spotlight { grid-template-columns: 1fr; gap: var(--space-4); }
  .spotlight.reverse .spotlight-img { order: 0; }
  .spotlight.reverse .spotlight-text { order: 0; }
}

/* ---------- 11. Quote CTA Banner ---------- */
.quote-banner {
  background: linear-gradient(135deg, #6e1a13 0%, var(--red) 50%, #6e1a13 100%);
  position: relative;
  overflow: hidden;
  padding: var(--space-6) 0;
  text-align: center;
}
.quote-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,0.3), transparent 40%);
}
.quote-banner > .container { position: relative; z-index: 1; }
.quote-banner h2 { color: var(--white); }
.quote-banner p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto var(--space-4); }
.quote-banner .btn-outline { border-color: var(--white); color: var(--white); }
.quote-banner .btn-outline:hover { background: var(--white); color: var(--red); }
.quote-banner-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- 12. Why Mr. Detail features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.feature-item {
  text-align: center;
  padding: 1rem;
}
.feature-icon {
  width: 64px; height: 64px;
  margin: 0 auto var(--space-2);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-900);
  border-radius: 50%;
  border: 1px solid rgba(192,57,43,0.3);
}
.feature-icon svg { width: 32px; height: 32px; }
.feature-item h4 { font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 880px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 13. Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.testimonial {
  background: var(--gray-900);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-700);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 0.25rem; right: 1.25rem;
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--red);
  opacity: 0.15;
  line-height: 1;
}
.stars {
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.testimonial p { color: var(--gray-300); font-style: italic; margin-bottom: 1.25rem; }
.testimonial-author {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
}
.testimonial-author span {
  display: block;
  color: var(--gray-400);
  font-size: 0.78rem;
  font-weight: 400;
  margin-top: 0.15rem;
}
@media (max-width: 880px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ---------- 14. Footer ---------- */
.footer {
  background: #050505;
  padding: var(--space-6) 0 var(--space-3);
  border-top: 1px solid var(--gray-700);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: var(--space-5);
  margin-bottom: var(--space-4);
}
.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.footer-brand h3 .dot { color: var(--red); }
.footer-brand img.footer-logo {
  display: block;
  height: 90px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.9rem; color: var(--gray-400); max-width: 300px; }
.footer-nav { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-300);
}
.footer-nav a:hover { color: var(--red-bright); }
.footer-contact { font-size: 0.9rem; color: var(--gray-300); }
.footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-contact p { margin-bottom: 0.4rem; color: var(--gray-300); font-size: 0.9rem; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  color: var(--gray-300);
  transition: all 0.2s var(--ease);
}
.footer-social a:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  transform: translateY(-2px);
}
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  padding-top: var(--space-3);
  border-top: 1px solid var(--gray-700);
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-400);
  letter-spacing: 0.05em;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* ---------- 15. Quote Tool (shared) ---------- */
.quote-tool {
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-top: 3px solid var(--red);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-card);
  max-width: 880px;
  margin: 0 auto;
}
.quote-tool h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.quote-tool .quote-sub {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.quote-step {
  margin-bottom: 2rem;
  animation: fadeIn 0.3s var(--ease);
}
.quote-step-label {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.quote-step-label .num {
  display: inline-block;
  width: 24px; height: 24px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  margin-right: 0.5rem;
  font-size: 0.75rem;
}
.quote-step h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--white);
  margin-bottom: 1rem;
}
.quote-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.85rem;
}
.quote-option {
  background: var(--black);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  position: relative;
  font-family: var(--font-body);
  color: var(--white);
}
.quote-option:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}
.quote-option.selected {
  border-color: var(--red);
  background: rgba(192,57,43,0.12);
  box-shadow: 0 0 0 1px var(--red) inset, 0 6px 18px rgba(192,57,43,0.2);
}
.quote-option.selected::after {
  content: '✓';
  position: absolute;
  top: 6px; right: 8px;
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 700;
}
.quote-option .opt-title {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.quote-option .opt-sub {
  font-size: 0.78rem;
  color: var(--gray-400);
}
.quote-option .opt-price {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--red);
}

.quote-result {
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--black) 0%, #1a0808 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--red);
  box-shadow: 0 0 30px rgba(192,57,43,0.15);
  text-align: center;
  display: none;
}
.quote-result.show { display: block; animation: fadeIn 0.4s var(--ease); }
.quote-result .price-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}
.quote-result .price {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px var(--red-glow);
}
.quote-result .price-note {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}
.quote-result .selections {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.quote-result .selection-pill {
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: 40px;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  color: var(--gray-300);
}
.quote-result .selection-pill strong { color: var(--white); }

.quote-reset {
  margin-top: 1rem;
  background: transparent;
  border: none;
  color: var(--gray-400);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
}
.quote-reset:hover { color: var(--red-bright); }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 16. Booking CTA section ---------- */
.booking-cta {
  background: var(--black);
  text-align: center;
  padding: var(--space-7) 0;
  border-top: 1px solid var(--gray-700);
}
.booking-cta h2 { margin-bottom: 1rem; }
.booking-cta p { max-width: 540px; margin: 0 auto 2rem; }

/* ---------- 17. Service page sections ---------- */
.included-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
  max-width: 880px;
  margin: 0 auto;
}
.included-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--gray-300);
  padding: 0.5rem 0;
}
.included-list li::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.4;
}
@media (max-width: 720px) {
  .included-list { grid-template-columns: 1fr; }
}

.film-grid, .coverage-grid, .package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.film-card, .coverage-card, .package-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s var(--ease);
  position: relative;
}
.film-card:hover, .coverage-card:hover, .package-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}
.film-card.featured, .package-card.featured {
  border-color: var(--red);
  background: linear-gradient(180deg, var(--gray-900) 0%, #1a0808 100%);
}
.film-card .tag, .package-card .tag {
  position: absolute;
  top: -10px; left: 1.5rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 40px;
}
.film-card h3, .coverage-card h3, .package-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.film-card .price-from, .package-card .price-from {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--red);
  margin-bottom: 1rem;
  display: block;
}
.film-card ul, .package-card ul { margin-top: 1rem; }
.film-card li, .package-card li {
  color: var(--gray-300);
  font-size: 0.9rem;
  padding: 0.35rem 0;
  display: flex;
  gap: 0.5rem;
}
.film-card li::before, .package-card li::before {
  content: '•';
  color: var(--red);
}
@media (max-width: 880px) {
  .film-grid, .coverage-grid, .package-grid { grid-template-columns: 1fr; }
}

/* ---------- 18. Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-5);
}
.contact-info h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.contact-info-block { margin-bottom: 2rem; }
.contact-info-block p, .contact-info-block a { color: var(--gray-300); font-size: 1rem; margin: 0.2rem 0; }
.contact-info-block a:hover { color: var(--red-bright); }
.hours-list { color: var(--gray-300); font-size: 0.95rem; }
.hours-list div { display: flex; justify-content: space-between; padding: 0.3rem 0; max-width: 280px; }
.hours-list .day { color: var(--gray-300); }
.hours-list .time { color: var(--white); }

.contact-form {
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-top: 3px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--black);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(192,57,43,0.2);
}
.form-group textarea { min-height: 130px; resize: vertical; }

.map-container {
  margin-top: var(--space-5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-700);
  box-shadow: var(--shadow-card);
}
.map-container iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(0.3) contrast(1.05); }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- 19. Utility ---------- */
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mb-0 { margin-bottom: 0 !important; }
.hidden { display: none !important; }
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Contact/SMS compliance helpers */
.sms-consent{border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:1rem;margin:1.25rem 0;background:rgba(255,255,255,.035)}
.sms-consent legend{padding:0 .35rem;font-weight:700;color:var(--white);letter-spacing:.02em}
.sms-consent p{font-size:.9rem;line-height:1.55;color:var(--gray-300);margin:.45rem 0 .8rem}
.radio-line{display:flex;gap:.6rem;align-items:flex-start;margin:.7rem 0;color:var(--gray-100);font-size:.92rem;line-height:1.4}
.radio-line input{margin-top:.2rem;accent-color:var(--red)}
.form-note{font-size:.85rem!important;color:var(--gray-400)!important}
.narrow-content{max-width:850px}.narrow-content h2,.narrow-content h3{color:var(--white);margin-top:1.8rem}.narrow-content p{color:var(--gray-300);line-height:1.7;margin:.8rem 0}.narrow-content a{color:var(--red-light)}

.hero-fallback{background:radial-gradient(circle at 70% 30%,rgba(207,31,46,.42),transparent 32%),linear-gradient(135deg,#050505 0%,#171717 48%,#33070b 100%)}
.hero-fallback::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.25)),repeating-linear-gradient(135deg,rgba(255,255,255,.035) 0 1px,transparent 1px 14px)}
.footer-actions{display:flex;gap:.65rem;flex-wrap:wrap}.footer-actions a{width:auto!important;height:auto!important;border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:.45rem .8rem;color:var(--white);font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;text-decoration:none}.footer-actions a:hover{border-color:var(--red);background:rgba(207,31,46,.18)}

/* SEO/local content blocks */
.seo-local .section-header p,.seo-service .section-header p{max-width:850px;margin-left:auto;margin-right:auto}
.seo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;margin-top:2rem}
.seo-grid article,.faq-grid article{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.035);border-radius:18px;padding:1.25rem}
.seo-grid h3,.faq-grid h3{color:var(--white);font-family:var(--font-body);font-size:1.05rem;margin-bottom:.65rem}
.seo-grid a{color:var(--white);text-decoration:none}.seo-grid a:hover{color:var(--red-light)}
.seo-grid p,.faq-grid p,.seo-copy p{color:var(--gray-300);line-height:1.7}
.seo-copy{max-width:850px;margin:0 auto 2rem}.faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.5rem}
@media(max-width:800px){.seo-grid,.faq-grid{grid-template-columns:1fr}}

/* Homepage service card photos */
.service-card-photo{position:relative;aspect-ratio:16/9;margin:-2.5rem -2rem 1.5rem;overflow:hidden;background:var(--gray-800)}
.service-card-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(10,10,10,.42));pointer-events:none}
.service-card-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s var(--ease)}
.service-card:hover .service-card-photo img{transform:scale(1.05)}

/* ---------- Ceramic coating page ---------- */
.ceramic-hero .hero-bg::after { background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.58) 48%, rgba(0,0,0,.35) 100%); }
.ceramic-package-grid .package-card { display:flex; flex-direction:column; }
.ceramic-package-grid .package-card .btn { margin-top:auto; }
.ceramic-note { max-width: 850px; margin: 1.75rem auto 0; text-align:center; color: var(--gray-400); font-size: .92rem; }
@media (min-width: 881px) { .ceramic-package-grid { align-items: stretch; } }

/* ---------- Ceramic coating comparison chart ---------- */
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  box-shadow: var(--shadow-card);
}
.compare-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  font-size: .9rem;
}
.compare-table th,
.compare-table td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: var(--gray-300);
}
.compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #151515;
  color: var(--white);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.compare-table tbody th {
  color: var(--white);
  font-family: var(--font-body);
  font-size: .98rem;
  line-height: 1.35;
  min-width: 190px;
}
.compare-table tr:last-child th,
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table .highlight-row th,
.compare-table .highlight-row td { background: rgba(192,57,43,.09); }
.compare-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.compare-cards article {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.035);
  border-radius: 18px;
  padding: 1.25rem;
}
.compare-cards h3 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.05rem;
  margin-bottom: .65rem;
}
.compare-cards p { color: var(--gray-300); }
@media (max-width: 800px) { .compare-cards { grid-template-columns: 1fr; } }

/* Simpler customer-facing ceramic comparison */
.simple-coating-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.simple-coating-card {
  position: relative;
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.simple-coating-card.featured {
  border-color: var(--red);
  background: linear-gradient(180deg, var(--gray-900) 0%, #1a0808 100%);
}
.simple-coating-card .tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--red);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 40px;
  margin-bottom: 1rem;
}
.simple-coating-card h3 { font-size: 1.7rem; margin-bottom: .35rem; }
.simple-price {
  font-family: var(--font-display);
  color: var(--red);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 1rem;
}
.simple-coating-card ul { margin: 1rem 0; }
.simple-coating-card li {
  color: var(--gray-300);
  padding: .42rem 0;
  display: flex;
  gap: .5rem;
}
.simple-coating-card li::before { content: '✓'; color: var(--red); font-weight: 800; }
.simple-coating-card .best-for {
  margin-top: auto;
  color: var(--white);
  font-size: .92rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.simple-compare-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1.5rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.1);
}
.simple-compare-strip div {
  background: #111;
  padding: 1.25rem;
}
.simple-compare-strip strong,
.simple-compare-strip span { display: block; }
.simple-compare-strip strong { color: var(--white); margin-bottom: .25rem; }
.simple-compare-strip span { color: var(--gray-300); }
@media (max-width: 900px) {
  .simple-coating-grid,
  .simple-compare-strip { grid-template-columns: 1fr; }
}

/* ---------- Paint correction page ---------- */
.paint-correction-hero .hero-bg::after { background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.56) 50%, rgba(0,0,0,.34) 100%); }
.simple-correction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.simple-correction-card {
  position: relative;
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.simple-correction-card.featured {
  border-color: var(--red);
  background: linear-gradient(180deg, var(--gray-900) 0%, #1a0808 100%);
}
.simple-correction-card .tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--red);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 40px;
  margin-bottom: 1rem;
}
.simple-correction-card h3 { font-size: 1.7rem; margin-bottom: .35rem; }
.simple-correction-card ul { margin: 1rem 0; }
.simple-correction-card li {
  color: var(--gray-300);
  padding: .42rem 0;
  display: flex;
  gap: .5rem;
}
.simple-correction-card li::before { content: '✓'; color: var(--red); font-weight: 800; }
.simple-correction-card .best-for {
  margin-top: auto;
  color: var(--white);
  font-size: .92rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 900px) { .simple-correction-grid { grid-template-columns: 1fr; } }

/* ---------- Conversion polish pass ---------- */
@media (min-width: 921px) {
  .nav-links { gap: 1.15rem; }
  .nav-links a { letter-spacing: 0.13em; }
  .nav-phone { padding-left: 1rem; }
}

.mobile-conversion-bar { display: none; }

@media (max-width: 720px) {
  body { padding-bottom: 78px; }
  .hero { padding-bottom: 6rem; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }
  .mobile-conversion-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 0.75rem;
    padding: 0.75rem max(0.9rem, env(safe-area-inset-left)) calc(0.75rem + env(safe-area-inset-bottom)) max(0.9rem, env(safe-area-inset-right));
    background: rgba(10, 10, 10, 0.96);
    border-top: 1px solid rgba(192,57,43,0.35);
    box-shadow: 0 -10px 28px rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .mobile-conversion-bar .btn {
    min-height: 48px;
    padding: 0.85rem 0.7rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
  }
}

/* ---------- FAQ accordions ---------- */
.faq-grid .faq-item {
  padding: 0;
  overflow: hidden;
}
.faq-grid .faq-item h3 {
  margin: 0;
}
.faq-question {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  color: var(--white);
  text-align: left;
  font: inherit;
  font-weight: 800;
  line-height: 1.35;
}
.faq-question:hover,
.faq-question[aria-expanded="true"] {
  color: var(--white);
  background: rgba(192,57,43,0.12);
}
.faq-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--red-bright);
  font-size: 1.25rem;
  line-height: 1;
}
.faq-answer {
  padding: 0 1.25rem 1.25rem;
  margin: 0;
}
.faq-answer[hidden] { display: none; }
.faq-item.open {
  border-color: rgba(192,57,43,0.45);
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
}

/* Native FAQ dropdowns — works even without JavaScript */
.faq-grid details.faq-item {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.035);
  border-radius: 18px;
  overflow: hidden;
}
.faq-grid details.faq-item summary {
  list-style: none;
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}
.faq-grid details.faq-item summary::-webkit-details-marker { display: none; }
.faq-grid details.faq-item summary::marker { content: ''; }
.faq-grid details.faq-item summary:hover,
.faq-grid details.faq-item[open] summary {
  background: rgba(192,57,43,0.12);
}
.faq-grid details.faq-item[open] {
  border-color: rgba(192,57,43,0.45);
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
}
.faq-grid details.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-grid details.faq-item .faq-answer {
  display: block;
  padding: 0 1.25rem 1.25rem;
  margin: 0;
}

/* Commercial tint service-area map should show the full Wisconsin graphic */
.commercial-window-tint-page .spotlight-img.map-graphic img {
  object-fit: contain;
  background: #080808;
  padding: 0.75rem;
}

/* Full-width commercial tint service-area map — not the cropped photo layout */
.commercial-window-tint-page .service-area-map-block {
  margin-top: var(--space-7);
}
.commercial-window-tint-page .service-area-map-card {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #080808;
  border: 1px solid rgba(192,57,43,0.35);
  box-shadow: var(--shadow-card);
}
.commercial-window-tint-page .service-area-map-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #080808;
}

/* ---------- GeoShield tint comparison ---------- */
.geoshield-compare {
  margin-top: 2.5rem;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(192,57,43,.22), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));\n  box-shadow: 0 24px 80px rgba(0,0,0,.25);
}
.compare-kicker { max-width: 780px; margin-bottom: 1.5rem; }
.compare-kicker h3 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: .25rem 0 .5rem;
}
.compare-kicker p,
.spec-notes p { color: var(--gray-300); line-height: 1.7; }
.heat-meter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.heat-meter-card {
  padding: 1.2rem;
  border-radius: 18px;
  background: rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.1);
}
.heat-meter-card.featured { border-color: rgba(192,57,43,.65); }
.heat-meter-card.apex {
  border-color: rgba(255,255,255,.22);
  background: linear-gradient(180deg, rgba(192,57,43,.16), rgba(0,0,0,.28));
}
.heat-meter-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  color: var(--white);
  margin-bottom: .75rem;
}
.heat-meter-top span {
  color: var(--red-light);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
}
.heat-bar {
  height: 13px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.09);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.heat-bar span {
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7f1d1d, var(--red), #ffb199);
}
.heat-meter-card p {
  color: var(--gray-300);
  font-size: .88rem;
  margin-top: .65rem;
}
.geoshield-spec-wrap { margin-top: 1.25rem; }
.geoshield-spec-table td,
.geoshield-spec-table th { vertical-align: top; }
.spec-notes {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1rem;
  margin-top: 1.2rem;
}
.spec-notes .source-note {
  font-size: .86rem;
  color: var(--gray-400);
  border-left: 3px solid var(--red);
  padding-left: 1rem;
}
@media (max-width: 900px) {
  .heat-meter-grid,
  .spec-notes { grid-template-columns: 1fr; }
  .geoshield-compare { padding: 1.25rem; }
}
