/*
Theme Name: Gemstar Detailing
Theme URI: https://gemstar-detailing.com
Author: Gemstar Detailing
Description: Custom theme for Gemstar Detailing - Boise's premier mobile auto detailing service
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: gemstar
*/

/* ============================================
   CSS VARIABLES
============================================ */
:root {
  /* Brand */
  --red:        #b4231d;
  --red-dark:   #8a1a15;

  /* Neutrals */
  --black:      #0a0a0a;
  --near-black: #111827;
  --white:      #ffffff;
  --off-white:  #f9fafb;
  --gray-50:    #f9fafb;
  --gray-100:   #f3f4f6;
  --gray-200:   #e5e7eb;
  --gray-300:   #d1d5db;
  --gray-400:   #9ca3af;
  --gray-500:   #6b7280;
  --gray-600:   #4b5563;
  --gray-700:   #374151;
  --gray-800:   #1f2937;
  --gray-900:   #111827;

  /* Layout */
  --max-width:  1280px;
  --radius:     0.75rem;
  --radius-sm:  0.375rem;
  --radius-lg:  1.25rem;

  /* Shadows */
  --shadow-sm:  0 1px 2px 0 rgb(0 0 0/0.05);
  --shadow:     0 4px 6px -1px rgb(0 0 0/0.1), 0 2px 4px -2px rgb(0 0 0/0.1);
  --shadow-lg:  0 10px 15px -3px rgb(0 0 0/0.1), 0 4px 6px -4px rgb(0 0 0/0.1);
  --shadow-xl:  0 20px 25px -5px rgb(0 0 0/0.15), 0 8px 10px -6px rgb(0 0 0/0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0/0.25);

  /* Transitions */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* scroll-behavior: auto — Lenis controls smooth scroll, not the browser */
html { scroll-behavior: auto; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
  cursor: none; /* custom cursor replaces OS cursor on pointer devices */
}
/* Restore native cursor on touch-only devices */
@media (hover: none) and (pointer: coarse) {
  body { cursor: auto; }
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================
   TYPOGRAPHY
============================================ */
h1, h2, h3, .font-display {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-wrap: balance;
}
/* Readable body paragraphs */
p { max-width: 75ch; }
.section-header p { max-width: 60ch; margin-inline: auto; }
.footer-brand p, .hero-sub { max-width: none; }

.text-xs   { font-size: 0.75rem; }
.text-sm   { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg   { font-size: 1.125rem; }
.text-xl   { font-size: 1.25rem; }
.text-2xl  { font-size: 1.5rem; }
.text-3xl  { font-size: 1.875rem; }
.text-4xl  { font-size: 2.25rem; }
.text-5xl  { font-size: 3rem; }
.text-6xl  { font-size: 3.75rem; }
.text-7xl  { font-size: 4.5rem; }

/* Eyebrow / label style */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.75rem;
}

/* Section heading scale */
.section-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* Italic red accent — signature brand moment */
.text-italic-red {
  font-style: italic;
  color: var(--red);
}

/* ============================================
   LAYOUT
============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

.section    { padding: 5rem 0; }
.section-lg { padding: 7rem 0; }
.section-sm { padding: 3rem 0; }

/* Section backgrounds */
.section-black    { background: var(--black);      color: var(--white); }
.section-dark     { background: var(--near-black); color: var(--white); }
.section-white    { background: var(--white); }
.section-offwhite { background: var(--off-white); }
.section-red      { background: var(--red);        color: var(--white); }

/* Section header */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-title { margin-bottom: 1rem; }
.section-header p {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-black .section-header p,
.section-dark  .section-header p  { color: var(--gray-400); }
.section-black .section-header .section-title,
.section-dark  .section-header .section-title { color: var(--white); }
.section-red   .section-header .section-title,
.section-red   .section-header p  { color: var(--white); }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
@media (min-width: 768px)  { .grid-2 { grid-template-columns: repeat(2,1fr); } .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9375rem 2.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.btn-sm { padding: 0.625rem 1.5rem;  font-size: 0.875rem; }
.btn-lg { padding: 1.125rem 2.75rem; font-size: 1rem; }

.btn-primary       { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--gray-800); transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.btn-red           { background: var(--red); color: var(--white); }
.btn-red:hover     { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(180,35,29,0.35); }

.btn-white         { background: var(--white); color: var(--black); }
.btn-white:hover   { background: var(--gray-100); transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.btn-outline       { background: transparent; color: var(--black); border: 1.5px solid var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }

.btn-outline-white       { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.08); border-color: var(--white); }

/* Tactile press feedback — all buttons */
.btn:active { transform: translateY(0) scale(0.98); box-shadow: var(--shadow-sm); transition-duration: 0.1s; }

/* ============================================
   TOP BAR (above header)
============================================ */
.top-bar {
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: 36px;
  display: flex;
  align-items: center;
}
.top-bar-inner {
  width: 100%;
  max-width: 100%;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 0;
}
.top-bar-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--white);
  padding: 0 0.75rem;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.top-bar-link:hover { opacity: 0.8; }
.top-bar-arrow { font-size: 0.85rem; }
.top-bar-info {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255,255,255,0.85);
  padding: 0 0.75rem;
  white-space: nowrap;
}
.top-bar-divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.3);
}
.top-bar-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 0.5rem;
}
.top-bar-social a {
  color: var(--white);
  opacity: 0.8;
  transition: opacity 0.2s;
}
.top-bar-social a:hover { opacity: 1; }

@media (max-width: 1024px) {
  .top-bar { display: none; }
  .site-header { top: 0 !important; }
}

/* ============================================
   HEADER
============================================ */
.site-header {
  position: fixed;
  top: 36px; /* push below top bar */
  left: 0; right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  height: 72px;
}
.site-header.scrolled {
  background: rgba(0, 0, 0, 0.96);
  border-bottom-color: rgba(255,255,255,0.06);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}
@media (min-width: 1024px) { .header-inner { padding: 0 2.5rem; } }

/* Logo */
.site-logo  { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.site-logo-img { height: 52px; width: auto; display: block; }
.footer-brand .site-logo-img { height: 72px; }
.logo-bold  { font-family: 'Inter', sans-serif; font-size: 1.125rem; font-weight: 900; color: var(--white); letter-spacing: 0.05em; }
.logo-light { font-family: 'Inter', sans-serif; font-size: 1.125rem; font-weight: 400; color: rgba(255,255,255,0.35); letter-spacing: 0.05em; }

/* Desktop nav */
.nav-desktop { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-link {
  display: flex; align-items: center; gap: 4px;
  font-family: 'Inter', sans-serif; font-size: 0.875rem; font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  position: relative; padding-bottom: 2px;
}
.nav-link:hover { color: var(--white); }
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 100%; height: 1.5px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); }

/* Dropdown */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #111; border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); box-shadow: var(--shadow-2xl);
  min-width: 210px; padding: 0.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  pointer-events: none;
  padding-top: 1rem;
}
/* Invisible bridge between nav link and dropdown to prevent hover gap */
.nav-item::after {
  content: ''; position: absolute; top: 100%; left: 0;
  width: 100%; height: 14px;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0); pointer-events: auto;
}
.nav-dropdown a {
  display: block; padding: 0.625rem 1rem;
  font-family: 'Inter', sans-serif; font-size: 0.875rem; font-weight: 500;
  color: rgba(255,255,255,0.65); border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.nav-dropdown a:hover { background: rgba(255,255,255,0.06); color: var(--white); }

/* Header CTA */
.header-cta { display: none; align-items: center; gap: 1rem; }
@media (min-width: 1024px) { .header-cta { display: flex; } }
.header-phone {
  display: flex; align-items: center; gap: 0.375rem;
  font-family: 'Inter', sans-serif; font-size: 0.875rem; font-weight: 600;
  color: rgba(255,255,255,0.65); transition: color 0.2s;
}
.header-phone:hover { color: var(--white); }

/* Mobile toggle */
.mobile-menu-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--white); }
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; top: 72px; right: 0; bottom: 0; width: min(320px, 85vw);
  height: calc(100vh - 72px); height: calc(100dvh - 72px);
  background: #0a0a0a; z-index: 999;
  padding: 2rem 1.5rem; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%); transition: transform 0.3s var(--ease);
  box-shadow: -4px 0 40px rgb(0 0 0/0.6);
  border-left: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-overlay {
  position: fixed; inset: 0; background: rgb(0 0 0/0.7);
  z-index: 998; opacity: 0; visibility: hidden; transition: all 0.3s;
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }
.mobile-nav-link {
  display: block; padding: 0.875rem 0;
  font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 500;
  color: rgba(255,255,255,0.65); border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.mobile-nav-link:hover { color: var(--white); }
.mobile-nav-section {
  font-family: 'Inter', sans-serif; font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25); margin: 1.25rem 0 0.5rem;
}
.mobile-sub-link {
  display: block; padding: 0.5rem 0.75rem;
  font-family: 'Inter', sans-serif; font-size: 0.9375rem;
  color: rgba(255,255,255,0.5); transition: color 0.2s;
}
.mobile-sub-link:hover { color: var(--red); }

/* ============================================
   FILM GRAIN OVERLAY
   Applied via body::after — static PNG, zero scroll repaint cost.
   mix-blend-mode: overlay makes it visible on dark sections,
   nearly invisible on white sections naturally.
============================================ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('assets/images/noise.png');
  background-repeat: repeat;
  background-size: 200px 200px;
  mix-blend-mode: overlay;
  opacity: 0.035;
  pointer-events: none;
  z-index: 9998;
}

/* ============================================
   SCROLL PROGRESS BAR
============================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--red);
  width: 0%;
  z-index: 9999;
  pointer-events: none;
}

/* ============================================
   SCROLL REVEAL
   Note: 40px matches spec Section 4.6
============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.visible       { opacity: 1; transform: translateY(0); will-change: auto; }
.reveal-delay-1       { transition-delay: 0.1s; }
.reveal-delay-2       { transition-delay: 0.2s; }
.reveal-delay-3       { transition-delay: 0.3s; }
.reveal-delay-4       { transition-delay: 0.4s; }

/* ============================================
   FOOTER
============================================ */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.55);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 2.5rem;
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 768px)  { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-inner { grid-template-columns: 2.5fr 1fr 1fr 1fr; } }
.footer-brand .logo-bold  { font-size: 1rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; margin-top: 0.75rem; max-width: 280px; }
.footer-col h4 {
  font-family: 'Inter', sans-serif; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.25); margin-bottom: 1rem;
}
.footer-col a {
  display: block; font-size: 0.875rem;
  color: rgba(255,255,255,0.5); padding: 0.25rem 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 3rem;
  padding: 1.5rem 2.5rem 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.8125rem; color: rgba(255,255,255,0.2);
  max-width: var(--max-width); margin-left: auto; margin-right: auto;
}

/* ============================================
   PAGE LOADER
============================================ */
.gs-loader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--black);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.5rem;
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}
.gs-loader.hidden        { opacity: 0; visibility: hidden; pointer-events: none; }
body.loader-skipped .gs-loader { display: none; }

.gs-loader-text {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--white);
  letter-spacing: 0.15em;
  display: flex; gap: 0.05em;
}
.gs-loader-text .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
}
.gs-loader-line {
  width: 0; height: 1.5px;
  background: var(--red);
  max-width: 200px;
}

/* ============================================
   CUSTOM CURSOR
   Hidden on touch devices via media query.
   Ring size: 40px resting (per spec Section 4.2).
============================================ */
.gs-cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99997;
}
.gs-cursor-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  position: absolute; top: -4px; left: -4px;
  transition: transform 0.15s var(--ease), opacity 0.2s;
}
.gs-cursor-ring {
  /* Resting: 40px diameter per spec */
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--red);
  position: absolute; top: -20px; left: -20px;
  opacity: 0.55;
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
              top 0.3s var(--ease), left 0.3s var(--ease),
              opacity 0.3s, background 0.3s;
}
.gs-cursor-label {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Inter', sans-serif; font-size: 8px;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white); opacity: 0; white-space: nowrap;
  transition: opacity 0.2s;
}
/* Hover state — ring expands */
.gs-cursor.is-hovering .gs-cursor-ring {
  width: 56px; height: 56px; top: -28px; left: -28px;
  background: rgba(180,35,29,0.08); opacity: 1;
}
.gs-cursor.is-hovering .gs-cursor-label { opacity: 1; }
/* Clicking */
.gs-cursor.is-clicking .gs-cursor-dot  { transform: scale(1.6); }
.gs-cursor.is-clicking .gs-cursor-ring { transform: scale(0.82); }
/* Touch devices — cursor hidden entirely */
@media (hover: none) and (pointer: coarse) { .gs-cursor { display: none; } }

/* ============================================
   BEFORE / AFTER SLIDER
============================================ */
.ba-slider {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  user-select: none;
  aspect-ratio: 16/9;
  cursor: ew-resize;
  box-shadow: var(--shadow-xl);
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 50% 0 0); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 4px; background: var(--white);
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0,0,0,0.5); z-index: 10;
}
.ba-handle-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 3rem; height: 3rem; background: var(--white);
  border-radius: 50%; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center; gap: 2px;
}
.ba-handle-btn svg { width: 1.25rem; height: 1.25rem; color: var(--gray-700); }
.ba-label {
  position: absolute; top: 1rem;
  padding: 0.375rem 0.875rem;
  background: rgba(0,0,0,0.6); color: var(--white);
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  border-radius: 9999px; backdrop-filter: blur(4px);
}
.ba-label-before { left: 1rem; }
.ba-label-after  { right: 1rem; }
.ba-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .ba-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================
   FAQ
============================================ */
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.375rem 0;
  font-family: 'Inter', sans-serif; font-size: 1.0625rem; font-weight: 600;
  color: var(--white); text-align: left; gap: 1rem; transition: color 0.2s;
}
.faq-question:hover { color: rgba(255,255,255,0.7); }
.faq-icon {
  width: 1.5rem; height: 1.5rem;
  border: 1.5px solid rgba(255,255,255,0.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.3s; color: var(--white);
}
.faq-item.open .faq-icon { background: var(--red); border-color: var(--red); transform: rotate(45deg); }
.faq-icon svg { width: 0.875rem; height: 0.875rem; }
.faq-answer { overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease-out); }
.faq-answer-inner {
  padding-bottom: 1.375rem;
  font-family: 'Inter', sans-serif; font-size: 0.9375rem;
  color: rgba(255,255,255,0.55); line-height: 1.8;
}

/* ============================================
   PRICING TABS
============================================ */
.pkg-tabs { display: flex; justify-content: center; margin-bottom: 3rem; }
.pkg-tab-group {
  display: inline-flex; background: rgba(255,255,255,0.05);
  border-radius: 9999px; padding: 0.375rem;
}
.pkg-tab {
  padding: 0.75rem 1.5rem; border-radius: 9999px;
  font-family: 'Inter', sans-serif; font-size: 0.9375rem; font-weight: 600;
  color: rgba(255,255,255,0.5); transition: all 0.3s; cursor: pointer;
}
.pkg-tab.active { background: var(--white); color: var(--black); }
.pkg-tab:hover:not(.active) { color: var(--white); }
.pkg-panel { display: none; }
.pkg-panel.active { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px)  { .pkg-panel.active { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .pkg-panel.active { grid-template-columns: repeat(3,1fr); } }

/* ============================================
   BLOG / GUIDES CARDS
============================================ */
.blog-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: 1rem; overflow: hidden;
  display: flex; flex-direction: column; transition: all 0.3s;
}
.blog-card:hover { border-color: var(--gray-200); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat {
  font-family: 'Inter', sans-serif; font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--red); margin-bottom: 0.625rem;
}
.blog-card-title { font-size: 1.0625rem; font-weight: 700; color: var(--black); line-height: 1.4; margin-bottom: 0.75rem; }
.blog-card-title a:hover { color: var(--red); }
.blog-card-excerpt { font-size: 0.875rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 1rem; }
.blog-card-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--gray-400); margin-top: auto; }

/* ============================================
   INNER PAGE HERO
============================================ */
.page-hero {
  background: var(--black); padding: 8rem 0 4rem;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem); color: var(--white);
  letter-spacing: -0.02em; margin-bottom: 1rem;
}
.page-hero p { font-size: 1.125rem; color: var(--gray-300); max-width: 600px; margin: 0 auto; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; justify-content: center; font-size: 0.875rem; color: var(--gray-400); margin-bottom: 1rem; }
.breadcrumb a { color: var(--gray-400); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: var(--gray-600); }

/* ============================================
   WORDPRESS CORE OVERRIDES
============================================ */
.wp-block-image img { border-radius: var(--radius); }
/* ============================================
   ENTRY CONTENT — Premium Content Styling
   Applies to WP editor content in service
   and location page templates.
============================================ */

/* H2 — Red left accent, generous spacing */
.entry-content h2 {
  font-size: 1.625rem;
  color: var(--black);
  margin: 3.5rem 0 1.25rem;
  padding: 0.5rem 0 0.5rem 1.25rem;
  border-left: 4px solid var(--red);
  line-height: 1.3;
}
.entry-content h2:first-child { margin-top: 0; }

/* H3 — Subtle weight, no border */
.entry-content h3 {
  font-size: 1.25rem;
  color: var(--near-black);
  margin: 2.5rem 0 0.875rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.01em;
}

/* First paragraph after H2 — slightly larger */
.entry-content h2 + p {
  font-size: 1.05rem;
  color: var(--gray-800);
}

/* Body paragraphs */
.entry-content p {
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

/* Lists — checkmark style */
.entry-content ul {
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
  color: var(--gray-700);
}
.entry-content ul li {
  margin-bottom: 0.75rem;
  padding-left: 1.75rem;
  position: relative;
  line-height: 1.7;
  font-size: 0.95rem;
}
.entry-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 1rem;
  height: 1rem;
  background: var(--red);
  border-radius: 50%;
  opacity: 0.15;
}
.entry-content ul li::after {
  content: '✓';
  position: absolute;
  left: 0.2rem;
  top: 0.3em;
  font-size: 0.7rem;
  color: var(--red);
  font-weight: 700;
}

/* Ordered lists */
.entry-content ol {
  margin: 1.25rem 0 1.25rem 1.5rem;
  color: var(--gray-700);
}
.entry-content ol li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Links */
.entry-content a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s var(--ease);
}
.entry-content a:hover { color: var(--red-dark); }

/* Strong/Bold — slight emphasis */
.entry-content strong {
  color: var(--near-black);
  font-weight: 700;
}

/* Blockquotes — Pull quote style */
.entry-content blockquote {
  margin: 2.5rem 0;
  padding: 2rem 2.5rem;
  background: var(--near-black);
  color: var(--white);
  border-radius: var(--radius-lg);
  position: relative;
  font-size: 1.1rem;
  line-height: 1.7;
}
.entry-content blockquote::before {
  content: '"';
  position: absolute;
  top: -0.25rem;
  left: 1.5rem;
  font-size: 4rem;
  font-family: 'DM Serif Display', Georgia, serif;
  color: var(--red);
  line-height: 1;
}
.entry-content blockquote p {
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* Horizontal rules — visual section dividers */
.entry-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gray-300), transparent);
  margin: 3rem 0;
}

/* Tables — comparison style */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
}
.entry-content thead th,
.entry-content th {
  background: var(--near-black);
  color: var(--white);
  padding: 0.875rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.entry-content td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}
.entry-content tr:nth-child(even) td {
  background: var(--gray-50);
}
.entry-content tr:last-child td {
  border-bottom: none;
}

/* Images inline in content */
.entry-content img {
  border-radius: var(--radius-lg);
  margin: 2rem 0;
  box-shadow: var(--shadow-lg);
}

/* AIO Definition blocks — already in content */
.entry-content .aio-definition {
  background: linear-gradient(135deg, var(--near-black), #1a1a2e);
  color: var(--white);
  padding: 2rem 2.5rem;
  border-radius: var(--radius-lg);
  margin: 2.5rem 0;
  border-left: 4px solid var(--red);
}
.entry-content .aio-definition p {
  color: rgba(255,255,255,0.8);
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
}
.entry-content .aio-definition strong {
  color: var(--white);
}

/* ============================================
   UTILITIES
============================================ */
.screen-reader-text { position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); overflow: hidden; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.mt-4  { margin-top: 1rem; }
.mt-8  { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-4  { margin-bottom: 1rem; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   SECTION BACKGROUNDS — ADDITIONAL
============================================ */
.section-near-black { background: #0d1117; color: var(--white); }
.section-near-black .section-header p,
.section-near-black .section-header .section-title { color: var(--white); }

/* ============================================
   UTILITIES — RESPONSIVE VISIBILITY
============================================ */
.desktop-only { display: none; }
.mobile-only  { display: inline; }
@media (min-width: 1024px) {
  .desktop-only { display: inline; }
  .mobile-only  { display: none; }
}

/* ============================================
   MAGNETIC BUTTON
   GSAP quickTo handles the translate — CSS is
   just the wrapper and transform origin.
============================================ */
.btn-magnetic { position: relative; overflow: visible; }

/* ============================================
   HERO SECTION
============================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--black);
}
.hero-poster,
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.8s var(--ease-out);
  will-change: opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.hero-video { opacity: 0; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.55) 60%,
    rgba(0,0,0,0.78) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 900px;
  width: 100%;
}
.hero-eyebrow {
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.0;
  margin-bottom: 1.5rem;
}
/* GSAP word animation unit */
.hero-title .word {
  display: inline-block;
  will-change: transform, opacity;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
  letter-spacing: 0.01em;
}
.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;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: 'Inter', sans-serif; font-size: 0.625rem;
  font-weight: 700; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35);
  animation: bounce 2s infinite;
}
.hero-scroll svg { color: rgba(255,255,255,0.35); }

/* ============================================
   TRUST BAR
============================================ */
.trust-bar {
  background: var(--red);
  padding: 1.5rem 0;
}
.trust-bar-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0;
}
@media (min-width: 1024px) { .trust-bar-inner { padding: 0 2.5rem; } }
.trust-stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 0.5rem 2.5rem; gap: 0.125rem;
  min-width: 120px;
}
.stat-number, .trust-stat-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65);
}
.trust-divider {
  width: 1px; height: 2.5rem;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}
@media (max-width: 639px) {
  .trust-bar-inner { flex-wrap: wrap; }
  .trust-divider { display: none; }
  .trust-stat { width: 50%; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .trust-stat:nth-child(n+5) { border-bottom: 0; }
}

/* ============================================
   QUOTE FORM SECTION
============================================ */
.quote-split {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) { .quote-split { grid-template-columns: 1fr 1fr; gap: 5rem; } }

/* Left column */
.quote-left { padding-top: 1rem; }
.quote-left .section-title { margin-bottom: 1.5rem; }
.quote-bullets {
  display: flex; flex-direction: column; gap: 0.875rem;
  margin-bottom: 2rem; list-style: none;
  font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--gray-700);
}
.quote-bullets li { display: flex; align-items: center; gap: 0.75rem; }
.quote-check { color: var(--red); flex-shrink: 0; }
.quote-phone {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 1.125rem 1.5rem;
  background: var(--gray-50); border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
  max-width: 340px;
}
.quote-phone:hover { border-color: var(--gray-300); box-shadow: var(--shadow); }
.quote-phone-icon { color: var(--red); flex-shrink: 0; }
.quote-phone span { display: flex; flex-direction: column; gap: 0.1rem; }
.quote-phone-label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-400); }
.quote-phone strong { font-size: 1.125rem; font-weight: 700; color: var(--black); }

/* Card */
.quote-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.quote-progress {
  height: 3px; background: var(--gray-100);
}
.quote-progress-bar {
  height: 100%; background: var(--red);
  width: 50%; transition: width 0.4s var(--ease);
}
.quote-step { padding: 2rem; }
.quote-step-hidden { display: none; }
.quote-card-header { margin-bottom: 1.5rem; }
.quote-step-label {
  font-family: 'Inter', sans-serif; font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--red); margin-bottom: 0.375rem;
}
.quote-card-header h3 {
  font-family: 'Inter', sans-serif; font-size: 1.25rem; font-weight: 700;
  color: var(--black);
}

/* Service selector grid */
.quote-services-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 0.625rem;
}
@media (min-width: 480px) { .quote-services-grid { grid-template-columns: repeat(4,1fr); } }
.quote-svc-btn {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.5rem; padding: 1rem 0.5rem;
  background: var(--gray-50); border: 1.5px solid var(--gray-100);
  border-radius: var(--radius); font-family: 'Inter', sans-serif;
  font-size: 0.75rem; font-weight: 600; color: var(--gray-700);
  cursor: pointer; transition: all 0.2s; text-align: center;
}
.quote-svc-btn:hover { border-color: var(--red); color: var(--red); background: rgba(180,35,29,0.04); }
.quote-svc-icon { color: inherit; }

/* Contact form */
.quote-form-row {
  display: grid; grid-template-columns: 1fr; gap: 0.875rem;
  margin-bottom: 0.875rem;
}
@media (min-width: 480px) { .quote-form-row { grid-template-columns: 1fr 1fr; } }
.quote-field { display: flex; flex-direction: column; gap: 0.375rem; }
.quote-field-full { grid-column: 1 / -1; }
.quote-field label {
  font-family: 'Inter', sans-serif; font-size: 0.8125rem; font-weight: 600;
  color: var(--gray-600);
}
.quote-field input {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-size: 0.9375rem; color: var(--black);
  background: var(--white); transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.quote-field input:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(180,35,29,0.08);
}
.quote-form-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-top: 1.25rem; flex-wrap: wrap;
}
.quote-back-btn {
  display: flex; align-items: center; gap: 0.375rem;
  font-family: 'Inter', sans-serif; font-size: 0.875rem; font-weight: 600;
  color: var(--gray-500); cursor: pointer;
  transition: color 0.2s;
}
.quote-back-btn:hover { color: var(--black); }
.quote-back-arrow { transform: rotate(180deg); }

/* ============================================
   SERVICES HORIZONTAL SCROLL
============================================ */
.services-section { overflow: hidden; }
.services-header { text-align: center; margin-bottom: 2.5rem; }
.services-drag-label {
  font-family: 'Inter', sans-serif; font-size: 0.8125rem;
  color: rgba(255,255,255,0.35); margin-top: 0.875rem;
  letter-spacing: 0.05em;
}
.services-track-wrap {
  overflow: hidden;
  padding: 0 0 2.5rem;
}
.services-track {
  display: flex;
  gap: 1.25rem;
  padding: 0.5rem 2.5rem 1rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: none;
  will-change: scroll-position;
}
.services-track::-webkit-scrollbar { display: none; }
.services-track.is-dragging { cursor: grabbing; }

.svc-card {
  flex: 0 0 280px;
  height: 420px;
  border-radius: 1.25rem;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  display: block;
  transition: transform 0.35s var(--ease);
}
@media (min-width: 640px)  { .svc-card { flex: 0 0 320px; height: 460px; } }
@media (min-width: 1024px) { .svc-card { flex: 0 0 340px; height: 480px; } }
.svc-card:hover { transform: scale(1.02); }
.svc-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.svc-card:hover .svc-card-img { transform: scale(1.06); }
.svc-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
}
.svc-card-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.75rem 1.5rem 1.5rem;
}
.svc-card-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem; color: var(--white);
  margin-bottom: 0.5rem; line-height: 1.15;
}
.svc-card-desc {
  font-size: 0.875rem; color: rgba(255,255,255,0.65);
  line-height: 1.6; max-width: 260px;
}
.svc-card-arrow {
  position: absolute; bottom: 1.5rem; right: 1.5rem;
  font-size: 1.25rem; color: var(--red);
  opacity: 0; transition: opacity 0.25s, transform 0.25s;
  transform: translateX(-6px);
}
.svc-card:hover .svc-card-arrow { opacity: 1; transform: translateX(0); }

/* ============================================
   REVIEWS SECTION
============================================ */
/* Google-style badge */
.reviews-badge {
  display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap; margin-bottom: 3rem;
  padding: 1.5rem 2rem;
  background: var(--gray-50); border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  max-width: 700px; margin-left: auto; margin-right: auto;
}
.reviews-badge-stars {
  display: flex; gap: 0.125rem; font-size: 1.25rem; color: #FFC107;
}
.reviews-badge-score {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.5rem; color: var(--black); line-height: 1;
}
.reviews-badge-meta {
  display: flex; flex-direction: column; gap: 0.125rem; flex: 1;
}
.reviews-badge-meta strong {
  font-family: 'Inter', sans-serif; font-size: 0.9375rem; font-weight: 700; color: var(--black);
}
.reviews-badge-meta span {
  font-size: 0.8125rem; color: var(--gray-500);
}
.reviews-google-link {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: 'Inter', sans-serif; font-size: 0.875rem; font-weight: 600;
  color: var(--gray-600); transition: color 0.2s;
  margin-left: auto;
}
.reviews-google-link:hover { color: var(--black); }

/* Marquee */
.reviews-marquee-wrap {
  overflow: hidden; position: relative;
  margin: 0 0 3.5rem;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.reviews-marquee { overflow: hidden; }
.reviews-marquee-track {
  display: flex; gap: 1rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.reviews-marquee-wrap:hover .reviews-marquee-track { animation-play-state: paused; }
.marquee-card {
  display: flex; flex-direction: column; gap: 0.375rem;
  background: var(--gray-50); border: 1px solid var(--gray-100);
  border-radius: 0.875rem; padding: 1.125rem 1.5rem;
  min-width: 280px; max-width: 320px; flex-shrink: 0;
}
.marquee-stars { color: #FFC107; font-size: 0.875rem; letter-spacing: 0.1em; }
.marquee-text {
  font-family: 'Inter', sans-serif; font-size: 0.875rem;
  color: var(--gray-700); line-height: 1.6;
}

/* Featured review cards */
.review-cards-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  margin-top: 1rem;
}
@media (min-width: 768px)  { .review-cards-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .review-cards-grid { grid-template-columns: repeat(3,1fr); } }
.review-card {
  background: var(--white); border: 1.5px solid var(--gray-100);
  border-radius: 1.25rem; padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.review-card:hover { border-color: var(--gray-200); box-shadow: var(--shadow-lg); }
.review-card-stars { color: #FFC107; font-size: 1rem; letter-spacing: 0.08em; }
.review-card-text {
  font-family: 'Inter', sans-serif; font-size: 0.9375rem;
  color: var(--gray-700); line-height: 1.75; flex: 1;
}
.reviewer { display: flex; align-items: center; gap: 0.875rem; margin-top: auto; }
.reviewer-avatar {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700;
  flex-shrink: 0;
}
.reviewer-name {
  font-family: 'Inter', sans-serif; font-size: 0.875rem; font-weight: 700; color: var(--black);
}
.reviewer-date { font-size: 0.75rem; color: var(--gray-400); }

/* ============================================
   ABOUT GEMSTAR
============================================ */
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 3.5rem; align-items: center;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.about-img-frame {
  position: relative; border-radius: 1.5rem; overflow: hidden;
}
.about-img-frame img {
  width: 100%; height: auto;
  border-radius: 1.5rem; display: block;
}
.about-cert-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
  background: rgba(0,0,0,0.82); color: var(--white);
  backdrop-filter: blur(10px); border-radius: 0.875rem;
  padding: 0.875rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.08);
}
.about-cert-icon { color: #FFC107; flex-shrink: 0; }
.about-cert-badge strong {
  font-family: 'Inter', sans-serif; font-size: 0.9375rem; font-weight: 700;
  display: block;
}
.about-cert-badge span {
  font-size: 0.75rem; color: rgba(255,255,255,0.55);
}
.about-text-col { display: flex; flex-direction: column; gap: 0; }
.about-text-col .section-title { margin-bottom: 1.5rem; }
.about-body {
  font-size: 1.0625rem; color: var(--gray-600); line-height: 1.8;
  margin-bottom: 1.25rem;
}
.about-stats-row {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  margin-top: 2rem; padding-top: 2rem;
  border-top: 1.5px solid var(--gray-100);
}
.about-stat { display: flex; flex-direction: column; gap: 0.25rem; }
.about-stat-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.25rem; color: var(--black); line-height: 1;
}
.about-stat-label {
  font-family: 'Inter', sans-serif; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-500);
}

/* ============================================
   COMPARISON TABLE
============================================ */
.comparison-wrap { overflow-x: auto; border-radius: var(--radius-lg); }
.comparison-table {
  width: 100%; border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.comparison-table thead th {
  font-family: 'Inter', sans-serif; font-size: 0.875rem; font-weight: 700;
  padding: 1.25rem 1rem; text-align: center;
  background: var(--gray-50); border-bottom: 1.5px solid var(--gray-100);
}
.comp-col-feature { text-align: left !important; width: 50%; padding-left: 1.75rem !important; }
.comp-col-carwash { color: var(--gray-500); }
.comp-col-gemstar {
  color: var(--white); background: var(--black) !important;
  font-size: 1rem !important;
}
.comparison-table tbody tr { border-bottom: 1px solid var(--gray-100); }
.comparison-table tbody tr:last-child { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) { background: var(--gray-50); }
.comp-col-gemstar ~ td, th.comp-col-gemstar, td.comp-gemstar {
  background: rgba(0,0,0,0.025);
}
.comparison-table td {
  padding: 0.875rem 1rem; text-align: center;
  font-family: 'Inter', sans-serif; font-size: 0.9375rem;
}
.comp-feature {
  text-align: left !important; padding-left: 1.75rem !important;
  font-weight: 500; color: var(--gray-800);
}
.comp-check { color: var(--gray-300); font-size: 1.125rem; }
.comp-check-red { color: var(--red); font-size: 1.125rem; font-weight: 700; }
.comp-cross { color: var(--gray-300); font-size: 1rem; }
.comp-gemstar { background: rgba(180,35,29,0.04); }

/* ============================================
   TRUST BADGES
============================================ */
.trust-badges { padding: 3rem 0; background: var(--white); }
.trust-badges-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 2rem 3rem;
}
.trust-badge-link {
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  opacity: 0.85;
}
.trust-badge-link:hover { transform: scale(1.08); opacity: 1; }
.trust-badge-img {
  height: 80px; width: auto; max-width: 140px;
  object-fit: contain; filter: none;
}
@media (min-width: 768px) {
  .trust-badge-img { height: 90px; max-width: 160px; }
  .trust-badges-row { gap: 2.5rem 4rem; }
}

/* ============================================
   LOCATIONS GRID
============================================ */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (min-width: 640px)  { .locations-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .locations-grid { grid-template-columns: repeat(4,1fr); } }

.location-card {
  position: relative; border-radius: var(--radius);
  overflow: hidden; display: block;
  aspect-ratio: 3/2;
  transition: transform 0.35s var(--ease);
}
.location-card:hover { transform: scale(1.02); }
.location-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.location-card:hover .location-card-img { transform: scale(1.08); }
.location-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
  transition: opacity 0.35s;
}
.location-card:hover .location-card-overlay { opacity: 0.9; }
.location-card-body {
  position: absolute; bottom: 0; left: 0;
  padding: 1rem;
}
.location-card-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.125rem; color: var(--white); line-height: 1.2;
}
.location-card-sub {
  font-size: 0.6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5); display: none;
}
@media (min-width: 640px) { .location-card-sub { display: block; } }
.location-card-arrow {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 1rem; color: var(--white);
  opacity: 0; transition: opacity 0.25s, transform 0.25s;
  transform: translateX(-6px);
}
.location-card:hover .location-card-arrow { opacity: 1; transform: translateX(0); }

/* ============================================
   GUIDES / BLOG GRID
============================================ */
.guides-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 768px)  { .guides-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .guides-grid { grid-template-columns: repeat(3,1fr); } }

.guide-card {
  background: var(--white); border: 1.5px solid var(--gray-100);
  border-radius: 1.25rem; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.guide-card:hover {
  border-color: var(--gray-200); box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.guide-card-img-wrap {
  display: block; overflow: hidden;
  aspect-ratio: 3/2;
}
.guide-card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.guide-card:hover .guide-card-img-wrap img { transform: scale(1.06); }
.guide-card-body {
  padding: 1.5rem; flex: 1;
  display: flex; flex-direction: column;
}
.guide-card-cat {
  font-family: 'Inter', sans-serif; font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--red); margin-bottom: 0.5rem;
}
.guide-card-title {
  font-family: 'Inter', sans-serif; font-size: 1.0625rem; font-weight: 700;
  color: var(--black); line-height: 1.4; margin-bottom: 0.625rem;
}
.guide-card-title a:hover { color: var(--red); }
.guide-card-excerpt {
  font-size: 0.875rem; color: var(--gray-500); line-height: 1.7;
  flex: 1; margin-bottom: 1rem;
}
.guide-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 0.875rem;
  border-top: 1px solid var(--gray-100);
}
.guide-card-date { font-size: 0.75rem; color: var(--gray-400); }
.guide-card-read {
  font-family: 'Inter', sans-serif; font-size: 0.8125rem; font-weight: 600;
  color: var(--red); transition: gap 0.2s;
}
.guide-card-read:hover { color: var(--red-dark); }

/* ============================================
   CTA BANNER
============================================ */
.cta-content { text-align: center; padding: 2rem 0; }
.cta-content .section-title { margin-bottom: 1rem; }
.cta-sub {
  font-size: 1.0625rem; color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem; line-height: 1.7;
  margin-inline: auto;
}
.cta-btns {
  display: flex; gap: 1rem;
  align-items: center; justify-content: center; flex-wrap: wrap;
}

/* ============================================
   PRICING CARDS — DARK BACKGROUND UPDATE
============================================ */
.pkg-card {
  background: #111; border: 1.5px solid rgba(255,255,255,0.07);
  border-radius: 1.25rem; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.pkg-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-4px); box-shadow: 0 24px 48px rgba(0,0,0,0.5); }
.pkg-card.featured { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.pkg-card.featured:hover { box-shadow: 0 0 0 1px var(--red), 0 24px 48px rgba(180,35,29,0.25); }

.pkg-card-img {
  position: relative; overflow: hidden;
  aspect-ratio: 16/9;
}
.pkg-card-img img { width: 100%; height: 100%; object-fit: cover; }
.pkg-card-gradient {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; padding: 1.25rem;
}
.pkg-card-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem; color: var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.pkg-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.pkg-card-subtitle {
  font-size: 0.875rem; color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem; line-height: 1.6;
}
.pkg-features-title {
  font-family: 'Inter', sans-serif; font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3); margin: 0.875rem 0 0.5rem;
}
.pkg-features { display: flex; flex-direction: column; gap: 0.4rem; }
.pkg-feature-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; color: rgba(255,255,255,0.7);
}
.pkg-check { color: var(--red); flex-shrink: 0; }
.pkg-card-cta {
  margin-top: auto; padding-top: 1.5rem;
  display: flex; justify-content: center;
}

/* ============================================
   FOOTER — MISSING CLASSES
   (footer.php uses footer-grid, footer-link,
    footer-social, social-link, footer-contact-item)
============================================ */
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 768px)  { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2.5fr 1fr 1fr 1fr; } }

/* Full-width footer top row — force horizontal layout */
.site-footer > .container { max-width: 100%; padding: 0 3rem; }
.footer-top-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 2fr 1.25fr;
  gap: 2.5rem;
  width: 100%;
}
@media (max-width: 1024px) {
  .footer-top-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-top-row { grid-template-columns: 1fr; }
  .site-footer > .container { padding: 0 1.5rem; }
}

/* Service areas — 2 sub-columns inside one grid cell */
.footer-areas-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}
.footer-areas-col {
  display: flex;
  flex-direction: column;
}

.footer-link {
  display: block; font-size: 0.875rem;
  color: rgba(255,255,255,0.5); padding: 0.25rem 0;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--white); }

.footer-social {
  display: flex; gap: 0.75rem; margin-top: 1.25rem;
}
.social-link {
  width: 2rem; height: 2rem; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45); transition: all 0.2s;
}
.social-link:hover { border-color: var(--white); color: var(--white); }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.625rem;
  font-size: 0.875rem; color: rgba(255,255,255,0.5);
  padding: 0.375rem 0; line-height: 1.6;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: rgba(255,255,255,0.3); }
.footer-contact-item a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--white); }

.footer-legal {
  display: flex; gap: 1.5rem;
}
.footer-legal a {
  font-size: 0.8125rem; color: rgba(255,255,255,0.2);
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.55); }

.footer-copy { font-size: 0.8125rem; color: rgba(255,255,255,0.2); }

/* ============================================
   ARCHIVE PAGINATION
============================================ */
.archive-pagination {
  margin-top: 3rem; text-align: center;
}
.archive-pagination .nav-links {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; flex-wrap: wrap;
}
.archive-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border: 1.5px solid var(--gray-200); border-radius: 50%;
  font-family: 'Inter', sans-serif; font-size: 0.875rem; font-weight: 600;
  color: var(--gray-600); transition: all 0.2s;
}
.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
  background: var(--black); border-color: var(--black); color: var(--white);
}
.archive-pagination .prev, .archive-pagination .next {
  width: auto; padding: 0 1.25rem; border-radius: 9999px;
}

/* ============================================
   LOCATION PAGE TEMPLATE
============================================ */
.loc-hero {
  position: relative; min-height: 80vh;
  display: flex; align-items: center;
  background: var(--black); overflow: hidden;
}
.loc-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 100%);
}
.loc-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 70% 50%, rgba(180,35,29,0.08) 0%, transparent 60%);
}
.loc-hero-content {
  position: relative; z-index: 2;
  padding-top: 8rem; padding-bottom: 5rem;
}
.loc-hero-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0.75rem 0 1.25rem;
}
.loc-hero-sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255,255,255,0.65); max-width: 560px;
  line-height: 1.7; margin-bottom: 2rem;
}
.loc-hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.loc-hero-trust {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  font-family: 'Inter', sans-serif; font-size: 0.8125rem; font-weight: 600;
  color: rgba(255,255,255,0.45);
}
.loc-hero-trust span {
  display: flex; align-items: center; gap: 0.375rem;
}
.loc-hero-trust svg { color: var(--red); }

/* Location services grid */
.loc-services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (min-width: 640px)  { .loc-services-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .loc-services-grid { grid-template-columns: repeat(4,1fr); } }

.loc-svc-card {
  display: flex; flex-direction: column;
  padding: 1.5rem 1.25rem;
  background: var(--white); border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: all 0.25s; position: relative; overflow: hidden;
}
.loc-svc-card:hover {
  border-color: var(--red); box-shadow: 0 8px 24px rgba(180,35,29,0.08);
  transform: translateY(-2px);
}
.loc-svc-icon {
  width: 2.75rem; height: 2.75rem; border-radius: var(--radius-sm);
  background: rgba(180,35,29,0.07);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); margin-bottom: 0.875rem; flex-shrink: 0;
}
.loc-svc-title {
  font-family: 'Inter', sans-serif; font-size: 0.9375rem; font-weight: 700;
  color: var(--black); margin-bottom: 0.375rem;
}
.loc-svc-desc {
  font-size: 0.8125rem; color: var(--gray-500); line-height: 1.6; flex: 1;
}
.loc-svc-arrow {
  font-size: 1rem; color: var(--red); margin-top: 0.875rem;
  opacity: 0; transition: opacity 0.2s, transform 0.2s;
  transform: translateX(-6px); display: block;
}
.loc-svc-card:hover .loc-svc-arrow { opacity: 1; transform: translateX(0); }

/* Location content */
.loc-content { max-width: 800px; margin: 0 auto; }

/* Why Gemstar */
.loc-why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
@media (min-width: 1024px) { .loc-why-grid { grid-template-columns: repeat(4,1fr); } }
.loc-why-card {
  padding: 1.75rem 1.5rem;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
}
.loc-why-icon {
  width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(180,35,29,0.12); border-radius: var(--radius-sm);
  color: var(--red); margin-bottom: 1rem;
}
.loc-why-title {
  font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.5rem;
}
.loc-why-desc {
  font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.7;
}

/* ============================================
   SERVICE PAGE TEMPLATE
============================================ */
.svc-hero {
  position: relative; min-height: 75vh;
  display: flex; align-items: flex-end;
  overflow: hidden; background: var(--black);
}
.svc-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.45;
}
.svc-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.15) 100%);
}
.svc-hero-content {
  position: relative; z-index: 2;
  padding-bottom: 4rem; padding-top: 8rem;
}
.svc-hero-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white); letter-spacing: -0.02em; line-height: 1.05;
  margin: 0.75rem 0 1.25rem;
}
.svc-hero-sub {
  font-size: 1.0625rem; color: rgba(255,255,255,0.65);
  max-width: 560px; line-height: 1.7; margin-bottom: 2rem;
}
.svc-hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }

/* Hero trust signals */
.svc-hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}
.svc-hero-trust span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.svc-hero-trust svg { color: var(--red); }

/* Trust Badges Bar */
.svc-trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 0;
}
.svc-trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.svc-trust-bar-inner img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  transition: all 0.3s var(--ease);
}
.svc-trust-bar-inner img:hover {
  filter: grayscale(0%) opacity(1);
}
@media (max-width: 768px) {
  .svc-trust-bar-inner { gap: 1.5rem; }
  .svc-trust-bar-inner img { height: 36px; }
}

/* Service content + sidebar */
.svc-content-wrap {
  display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start;
  max-width: 1100px; margin: 0 auto;
}
@media (min-width: 1024px) { .svc-content-wrap { grid-template-columns: 1fr 300px; gap: 3rem; } }

.svc-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* CTA Card */
.svc-sidebar-card--cta {
  background: linear-gradient(145deg, var(--near-black), #0f172a);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--white);
  text-align: center;
}
.svc-sidebar-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.svc-sidebar-card--cta h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.svc-sidebar-card--cta p {
  color: var(--gray-400);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.svc-sidebar-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.25rem 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.svc-stat { display: flex; flex-direction: column; gap: 0.125rem; align-items: center; }
.svc-stat-num { color: var(--white); font-size: 1.5rem; font-weight: 800; }
.svc-stat-label { color: var(--gray-500); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; }
.svc-sidebar-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 0.75rem;
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: color 0.2s var(--ease);
}
.svc-sidebar-phone:hover { color: var(--white); }

/* Link Cards */
.svc-sidebar-card--links {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}
.svc-sidebar-card--links h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}
.svc-sidebar-card--links a {
  display: block;
  padding: 0.375rem 0;
  font-size: 0.85rem;
  color: var(--gray-700);
  transition: color 0.2s var(--ease);
  border-bottom: 1px solid var(--gray-100);
}
.svc-sidebar-card--links a:last-child { border-bottom: none; }
.svc-sidebar-card--links a:hover { color: var(--red); }

/* Inline stat callout — use in content as <div class="content-stat-bar"> */
.content-stat-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0;
  padding: 1.5rem;
  background: var(--near-black);
  border-radius: var(--radius-lg);
  text-align: center;
}
.content-stat-bar .stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.content-stat-bar .stat-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  color: var(--red);
  line-height: 1;
}
.content-stat-bar .stat-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Content image row — side by side images */
.content-img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2.5rem 0;
}
@media (max-width: 768px) { .content-img-row { grid-template-columns: 1fr; } }
.content-img-row img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 220px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.svc-sidebar-card h3 {
  font-family: 'Inter', sans-serif; font-size: 1.25rem; font-weight: 700;
  color: var(--black); margin-bottom: 0.5rem;
}
.svc-sidebar-card p {
  font-size: 0.875rem; color: var(--gray-500); margin-bottom: 1.5rem;
}
.svc-sidebar-stats {
  display: flex; gap: 1.25rem; margin-bottom: 1.25rem;
}
.svc-stat { display: flex; flex-direction: column; gap: 0.125rem; }
.svc-stat-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem; color: var(--black); line-height: 1;
}
.svc-stat-label {
  font-size: 0.6875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gray-400);
}
.svc-sidebar-phone {
  display: flex; align-items: center; gap: 0.5rem; justify-content: center;
  margin-top: 0.875rem;
  font-family: 'Inter', sans-serif; font-size: 0.875rem; font-weight: 600;
  color: var(--gray-500); transition: color 0.2s;
}
.svc-sidebar-phone:hover { color: var(--black); }

/* Process Steps */
.process-steps {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem;
}
@media (min-width: 1024px) { .process-steps { grid-template-columns: repeat(4,1fr); } }
.process-step {
  padding: 2rem 1.5rem;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); position: relative;
  transition: all 0.3s var(--ease);
}
.process-step:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--red);
}
.process-step-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 3rem; color: var(--red); line-height: 1;
  opacity: 0.3; margin-bottom: 0.875rem;
}
.process-step-title {
  font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700;
  color: var(--near-black); margin-bottom: 0.5rem;
}
.process-step-desc {
  font-size: 0.875rem; color: var(--gray-500); line-height: 1.7;
}
/* Dark variant (for sections with section-near-black) */
.section-near-black .process-step {
  background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.06);
}
.section-near-black .process-step:hover { border-color: var(--red); box-shadow: none; }
.section-near-black .process-step-title { color: var(--white); }
.section-near-black .process-step-desc { color: rgba(255,255,255,0.5); }

/* ============================================
   FAQ ACCORDION (Dynamic)
============================================ */
/* Dynamic FAQ (uses <details> on service/location pages — .faq-accordion context) */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}
.faq-accordion .faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq-accordion .faq-item:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow);
}
.faq-accordion .faq-item[open] {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red), var(--shadow-lg);
}
.faq-accordion .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--near-black);
  line-height: 1.5;
  list-style: none;
  gap: 1rem;
}
.faq-accordion .faq-question::-webkit-details-marker { display: none; }
.faq-accordion .faq-question::marker { content: ''; }
.faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--red);
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(180,35,29,0.08);
  transition: all 0.3s var(--ease);
}
.faq-accordion .faq-item[open] .faq-toggle {
  transform: rotate(45deg);
  background: var(--red);
  color: var(--white);
}
.faq-accordion .faq-answer {
  padding: 0 1.5rem 1.25rem;
}
.faq-accordion .faq-answer p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin: 0;
}

/* Homepage FAQ — dark section, button-based toggle (not <details>) */
.section-near-black .faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: transparent;
  border-radius: 0;
  margin-bottom: 0;
}
.section-near-black .faq-item:hover {
  box-shadow: none;
  border-color: rgba(255,255,255,0.15);
}
.section-near-black .faq-item.open {
  border-color: rgba(255,255,255,0.15);
  box-shadow: none;
}

/* ============================================
   AIO DEFINITION & COMPARISON BLOCKS
============================================ */
.aio-definition {
  background: var(--gray-50);
  border-left: 4px solid var(--red);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.aio-definition strong:first-child,
.aio-definition .aio-term {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.15rem;
  color: var(--near-black);
  margin-bottom: 0.5rem;
}
.aio-definition p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin: 0;
}
.aio-comparison {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9rem;
}
.aio-comparison th {
  background: var(--near-black);
  color: var(--white);
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
}
.aio-comparison td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}
.aio-comparison tr:nth-child(even) td {
  background: var(--gray-50);
}
.aio-stats-callout {
  background: var(--near-black);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  margin: 2rem 0;
  text-align: center;
}
.aio-stats-callout .stat-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.5rem;
  color: var(--red);
  display: block;
  margin-bottom: 0.25rem;
}
.aio-stats-callout .stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

/* ============================================
   LOCATION PAGE — VISUAL ENHANCEMENTS
============================================ */

/* Work Showcase Grid (used on service + location pages) */
.svc-showcase-section { padding: 4rem 0; }
.svc-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (max-width: 768px) { .svc-showcase-grid { grid-template-columns: 1fr; } }
.svc-showcase-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
}
.svc-showcase-item--wide {
  grid-column: span 2;
  aspect-ratio: 21 / 9;
}
@media (max-width: 768px) {
  .svc-showcase-item--wide {
    grid-column: span 1;
    aspect-ratio: 16 / 9;
  }
}
.svc-showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.svc-showcase-item:hover img { transform: scale(1.04); }
.svc-showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent 0%, rgba(0,0,0,0.75) 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.25rem;
}
.svc-showcase-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}
.svc-showcase-overlay p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  margin-top: 0.25rem;
  max-width: none;
}

/* Location Maps */
.loc-map-section { padding: 4rem 0; }
.loc-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: 2rem;
}
.loc-map-wrap iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}
@media (max-width: 768px) {
  .loc-map-wrap iframe { height: 300px; }
}
.loc-map-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  justify-content: center;
}

/* Location Zip Codes */
.loc-zip-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: center;
}
.loc-zip-badge {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 2rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: all 0.2s var(--ease);
}
.loc-zip-badge:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* Location Neighborhoods */
.loc-neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 768px) { .loc-neighborhood-grid { grid-template-columns: repeat(3, 1fr); } }
.loc-neighborhood-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.loc-neighborhood-item svg { color: var(--red); flex-shrink: 0; }

/* Location Landmarks */
.loc-landmarks { margin-top: 2rem; }
.loc-landmark-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 768px) { .loc-landmark-grid { grid-template-columns: repeat(3, 1fr); } }
.loc-landmark-card {
  background: var(--near-black);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--white);
}
.loc-landmark-card h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.loc-landmark-card p {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* ============================================
   SERVICE PAGE — VISUAL ENHANCEMENTS
============================================ */

/* (Before/After removed — replaced by .svc-showcase-* above) */

/* Service Pricing Cards */
.svc-pricing-section { padding: 4rem 0; }
.svc-pricing-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 640px)  { .svc-pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-pricing-grid { grid-template-columns: repeat(2, 1fr); } }
/* 3 cards = 3 columns on desktop */
.svc-pricing-grid--3 { }
@media (min-width: 1024px) { .svc-pricing-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.svc-pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s var(--ease);
  position: relative;
}
.svc-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.svc-pricing-card--popular {
  border-color: var(--red);
  box-shadow: 0 0 0 2px var(--red);
}
.svc-pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.svc-pricing-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.svc-pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.svc-pricing-price sup {
  font-size: 1rem;
  vertical-align: super;
}
.svc-pricing-desc {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Service Location Cross-Links */
.svc-locations-section { padding: 4rem 0; }
.svc-locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}
@media (min-width: 640px)  { .svc-locations-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .svc-locations-grid { grid-template-columns: repeat(4, 1fr); } }
.svc-location-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s var(--ease);
}
.svc-location-link:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.svc-location-link svg { color: var(--red); flex-shrink: 0; }
.svc-location-link:hover svg { color: var(--white); }

/* Related Services */
.svc-related-section { padding: 4rem 0; }
.svc-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 768px) { .svc-related-grid { grid-template-columns: 1fr; } }
.svc-related-card {
  background: var(--near-black);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--white);
  transition: transform 0.3s var(--ease);
  display: block;
}
.svc-related-card:hover { transform: translateY(-4px); }
.svc-related-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.svc-related-card p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.svc-related-arrow { color: var(--red); font-size: 1.25rem; }

/* ============================================
   HEADER — ENHANCEMENTS
============================================ */

/* Multi-column location dropdown */
.nav-dropdown--locations {
  min-width: 420px;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (min-width: 1024px) {
  .nav-dropdown--locations { min-width: 520px; grid-template-columns: repeat(3, 1fr); }
}
.nav-dropdown--locations a {
  white-space: nowrap;
  font-size: 0.8rem;
  padding: 0.4rem 0.75rem;
}

/* Mega dropdown — two-column with labels */
.nav-dropdown--mega {
  min-width: 420px;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
  padding: 1rem;
}
.nav-mega-col {
  display: flex;
  flex-direction: column;
}
.nav-mega-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  padding: 0.25rem 0.75rem 0.5rem;
  border-bottom: 1px solid var(--gray-700);
  margin-bottom: 0.25rem;
}
.nav-dropdown--mega a {
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
}

/* Find detailing near me link */
.header-find-near {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  color: var(--gray-400);
  transition: color 0.2s var(--ease);
}
.header-find-near:hover { color: var(--red); }
.header-find-near svg { color: var(--red); }

/* ============================================
   FOOTER — MAP & ENHANCEMENTS
============================================ */

.footer-map {
  margin: 3rem 0 0;
}
.footer-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.footer-map-wrap iframe {
  width: 100%;
  height: 250px;
  border: 0;
  display: block;
}
.footer-map-cta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  padding-bottom: 1rem;
}
.footer-map-cta a {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.85rem;
  color: var(--gray-400);
  transition: color 0.2s var(--ease);
}
.footer-map-cta a:hover { color: var(--red); }
