/* ═══════════════════════════════════════════════════════════════
   TrueLVL — Shared Stylesheet
   Design tokens from truelvl-build skill v1.0
   ═══════════════════════════════════════════════════════════════ */

/* ─── Self-hosted Fonts (variable WOFF2) ────────────────────── */
@font-face {
  font-family: 'Outfit';
  src: url('/assets/fonts/Outfit-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('/assets/fonts/Sora-Variable.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* ─── CSS Custom Properties ─────────────────────────────────── */
:root {
  --black:    #252422;
  --charcoal: #403D39;
  --stone:    #CCC5B9;
  --offwhite: #FFFCF2;
  --red:      #B03A2E;
  --red-dark: #A93324;
}

/* ─── Reset & Base ──────────────────────────────────────────── */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--black);
  color: var(--offwhite);
  font-family: 'Sora', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── Touch ─────────────────────────────────────────────────── */
a, button, [role="button"] {
  touch-action: manipulation;
}

/* ─── Skip Link ─────────────────────────────────────────────── */
.skip-link { transition: none; }

/* ─── Typography Helpers ────────────────────────────────────── */
.font-display { font-family: 'Outfit', sans-serif; }
.font-body    { font-family: 'Sora', sans-serif; }

/* ─── Rule Lines (brand graphic element) ────────────────────── */
.rule-red  { display: block; height: 2px; background: var(--red); }
.rule-stone{ display: block; height: 1px; background: var(--stone); opacity: 0.25; }

/* ─── Keyframe Animations ───────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Duration: 400ms max per spec. Easing: spec spring-approximation. */
.anim-fadeUp     { animation: fadeUp   0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }
.anim-fadeIn     { animation: fadeIn   0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }
.anim-slideRight { animation: slideRight 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }

.delay-100 { animation-delay: 0.10s; }
.delay-200 { animation-delay: 0.20s; }
.delay-300 { animation-delay: 0.30s; }
.delay-400 { animation-delay: 0.40s; }
.delay-500 { animation-delay: 0.50s; }
.delay-600 { animation-delay: 0.60s; }
.delay-700 { animation-delay: 0.70s; }
.delay-800 { animation-delay: 0.80s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay:    0.01ms !important;
    transition-duration:0.01ms !important;
  }
  .reveal,
  [class*="anim-"] {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ─── Marquee (homepage) ────────────────────────────────────── */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

/* ─── Scroll Reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Noscript fallback (pair with <noscript> tag in HTML) ──── */
/* Applied via noscript style block in each page */

/* ─── SVG Icons ─────────────────────────────────────────────── */
.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ─── Hero Grid Layout (shared: homepage + service pages) ──── */
@media (max-width: 767px) {
  .hero-image-col  { order: 3; }
  .hero-stats-row  { order: 2; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-grid-container {
    grid-template-columns: 45% 55%;
    grid-template-rows: auto 1fr;
  }
  .hero-copy-top  { grid-column: 1; grid-row: 1; }
  .hero-image-col { grid-column: 2; grid-row: 1 / 3; }
  .hero-stats-row { grid-column: 1; grid-row: 2; }
}
@media (min-width: 1024px) {
  .hero-grid-container {
    grid-template-columns: 40% 60%;
    grid-template-rows: auto 1fr;
  }
  .hero-copy-top  { grid-column: 1; grid-row: 1; }
  .hero-image-col { grid-column: 2; grid-row: 1 / 3; }
  .hero-stats-row { grid-column: 1; grid-row: 2; }
}

/* ─── Service Page Imagery (hero placeholder + identity photo) ─── */
.hero-photo-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}
.hero-photo-placeholder .label {
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(204, 197, 185, 0.65);
}
.hero-photo-placeholder .sub {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  color: rgba(204, 197, 185, 0.4);
}

.identity-photo {
  width: 120px;
  height: 120px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid rgba(204, 197, 185, 0.15);
}
@media (min-width: 768px) {
  .identity-photo { width: 300px; height: 300px; }
}

/* ─── Label / UI Text ───────────────────────────────────────── */
.label-ui {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ─── Numeric Utility ───────────────────────────────────────── */
.tabular-nums { font-variant-numeric: tabular-nums; }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   z-index scale: sticky-bar 30 · nav 40 · overlay 45 · flyout 50
   ═══════════════════════════════════════════════════════════════ */

nav[aria-label="Main navigation"] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--black);
}

/* ─── Nav Links ─────────────────────────────────────────────── */
.nav-link {
  color: rgba(255,252,242,0.65);
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.15s ease;
}
.nav-link:hover  { color: var(--stone); }
.nav-link:focus-visible { outline: 2px solid var(--stone); outline-offset: 2px; }
.nav-link:active { color: var(--offwhite); }
.nav-link.active { color: var(--offwhite); }

/* ─── Nav CTA ───────────────────────────────────────────────── */
.nav-cta {
  background: var(--red);
  color: var(--offwhite);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.15s ease;
}
.nav-cta:hover  { background: var(--red-dark); transform: scale(1.02); }
.nav-cta:focus-visible { outline: 2px solid var(--stone); outline-offset: 3px; }
.nav-cta:active { transform: scale(0.98); }
.mobile-overlay .nav-cta {
  display: inline-flex;
  font-size: 12px;
  padding: 10px 20px;
  border-bottom: none;
  color: var(--offwhite);
  align-self: flex-start;
}

/* ─── Services Flyout ───────────────────────────────────────── */
.nav-flyout-trigger {
  position: relative;
}
.nav-flyout-trigger::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  height: 12px;
}
.nav-flyout-trigger:hover .nav-flyout,
.nav-flyout-trigger:focus-within .nav-flyout {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-flyout {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  background: var(--charcoal);
  border: 1px solid rgba(204,197,185,0.12);
  border-radius: 4px;
  padding: 8px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 50;
}
.nav-flyout a {
  display: block;
  padding: 10px 20px;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-flyout a:hover,
.nav-flyout a:focus-visible {
  color: var(--offwhite);
  background: rgba(255,252,242,0.05);
  outline: none;
}
.nav-flyout a:focus-visible {
  outline: 1px solid var(--red);
  outline-offset: -1px;
}
.nav-flyout a:active {
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS — Spec: 14px, 0.08em tracking, ALL-CAPS Sora 600
   ═══════════════════════════════════════════════════════════════ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--offwhite);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  min-height: 44px;
  border: 2px solid var(--red);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}
.btn-primary:focus-visible {
  outline: 2px solid var(--stone);
  outline-offset: 3px;
}
.btn-primary:active { transform: scale(0.97); }

/* Hero CTA — hover scale only, no halo (per brand HARD ASSERT: no shadows/glows) */
.hero-cta {
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, color 0.22s ease;
}
.hero-cta:hover {
  background: #8B1A1A;
  border-color: #8B1A1A;
  color: #ffffff;
  transform: scale(1.045);
}
.hero-cta:active {
  transform: scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--offwhite);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  min-height: 44px;
  border: 1.5px solid rgba(204,197,185,0.35);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.15s ease;
}
.btn-secondary:hover {
  background: var(--black);
  border-color: var(--offwhite);
  color: var(--offwhite);
}
.btn-secondary:focus-visible {
  outline: 2px solid var(--stone);
  outline-offset: 3px;
}
.btn-secondary:active { transform: scale(0.97); }

/* Secondary button on light backgrounds */
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--black);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  min-height: 44px;
  border: 1.5px solid rgba(37,36,34,0.35);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.15s ease;
}
.btn-outline-dark:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--offwhite);
}
.btn-outline-dark:focus-visible {
  outline: 2px solid var(--charcoal);
  outline-offset: 3px;
}
.btn-outline-dark:active { transform: scale(0.97); }

/* Gallery button (homepage/pricing) */
.btn-gallery {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--offwhite);
  color: var(--black);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  min-height: 44px;
  border: 2px solid var(--offwhite);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}
.btn-gallery:hover {
  background: var(--stone);
  border-color: var(--stone);
}
.btn-gallery:focus-visible {
  outline: 2px solid var(--stone);
  outline-offset: 3px;
}
.btn-gallery:active { transform: scale(0.97); }

/* ═══════════════════════════════════════════════════════════════
   MOBILE OVERLAY
   ═══════════════════════════════════════════════════════════════ */

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 45;
  display: flex;
  flex-direction: column;
  padding: 80px 32px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-overlay a {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--stone);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(204,197,185,0.1);
  transition: color 0.15s ease;
}
.mobile-overlay a:hover,
.mobile-overlay a:focus-visible {
  color: var(--offwhite);
  outline: none;
}
.mobile-overlay a:focus-visible {
  outline: 1px solid var(--red);
  outline-offset: 2px;
}
.mobile-overlay a:active {
  opacity: 0.7;
}

/* Hamburger */
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--offwhite);
}
.hamburger-btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.hamburger-btn:active {
  opacity: 0.7;
}
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--offwhite);
  transition: opacity 0.15s ease, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Mobile Accordion (Services / Service Areas) ───────────── */
.mobile-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(204,197,185,0.1);
  padding: 14px 0;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--stone);
  text-align: left;
  text-transform: uppercase;
  transition: color 0.15s ease;
}
.mobile-accordion-trigger:hover,
.mobile-accordion-trigger:focus-visible {
  color: var(--offwhite);
  outline: none;
}
.mobile-accordion-trigger:focus-visible {
  outline: 1px solid var(--red);
  outline-offset: 2px;
}
.mobile-accordion-trigger:active {
  opacity: 0.7;
}
.mobile-accordion-toggle {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: var(--stone);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-accordion-trigger[aria-expanded="true"] .mobile-accordion-toggle {
  transform: rotate(45deg);
}

.mobile-services-panel,
.mobile-areas-panel,
.mobile-standard-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-services-panel.open,
.mobile-areas-panel.open,
.mobile-standard-panel.open {
  max-height: 600px;
}
.mobile-services-panel a,
.mobile-areas-panel a,
.mobile-standard-panel a {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--stone);
  text-decoration: none;
  padding: 11px 0 11px 16px;
  border-bottom: 1px solid rgba(204,197,185,0.06);
  transition: color 0.15s ease;
}
.mobile-services-panel a:hover,
.mobile-services-panel a:focus-visible,
.mobile-areas-panel a:hover,
.mobile-areas-panel a:focus-visible,
.mobile-standard-panel a:hover,
.mobile-standard-panel a:focus-visible {
  color: var(--offwhite);
  outline: none;
}
.mobile-services-panel a:focus-visible,
.mobile-areas-panel a:focus-visible,
.mobile-standard-panel a:focus-visible {
  outline: 1px solid var(--red);
  outline-offset: 2px;
}
.mobile-services-panel a:active,
.mobile-areas-panel a:active,
.mobile-standard-panel a:active {
  opacity: 0.7;
}
nav[aria-label="Mobile navigation"] > a {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

.footer-link {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.15s ease;
  display: inline-block;
  padding: 4px 0;
}
.footer-link:hover {
  color: var(--offwhite);
}
.footer-link:focus-visible {
  color: var(--offwhite);
  outline: 1px solid var(--red);
  outline-offset: 2px;
}
.footer-link:active {
  opacity: 0.7;
}
.footer-link.active {
  color: var(--offwhite);
}

/* ─── Stat Badge ───────────────────────────────────────────── */
.stat-badge {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 24px;
  border-left: 2px solid var(--red);
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   GHOST LINKS — lightweight inline links with arrow icon
   ═══════════════════════════════════════════════════════════════ */

.ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  min-height: 44px;
  transition: color 0.15s ease;
}
.ghost-link:hover {
  opacity: 0.75;
}
.ghost-link:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.ghost-link:active {
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════════
   TIER CARDS — shared across homepage and pricing page
   Context variants: --dark (homepage), --light (pricing)
   ═══════════════════════════════════════════════════════════════ */

.tier-card {
  border: 1px solid rgba(204,197,185,0.3);
  border-radius: 4px;
  padding: 36px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}
.tier-card:focus-within {
  border-color: var(--stone);
}
.tier-card.featured {
  border-color: var(--red);
  border-width: 2px;
}
/* Featured variant: red accent line + Most Popular badge slot auto-rendered.
   Pages add <span class="tier-card__badge">Most Popular</span> inside .featured. */
.tier-card.featured::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  pointer-events: none;
}
.tier-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: 'Sora', sans-serif;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  pointer-events: none;
}
.tier-card__badge--stone { color: var(--stone); }

/* Compact modifier: smaller padding for sub-decision cards (e.g., soundbar placement on /soundbar-installation).
   Pair with .tier-card .tier-card--light. Do NOT combine with .featured. */
.tier-card--compact {
  padding: 24px 28px;
}

/* Dark context (homepage — cards on dark section) */
.tier-card--dark {
  background: var(--charcoal);
}
.tier-card--dark:hover {
  border-color: rgba(204,197,185,0.45);
  transform: translateY(-4px);
}
.tier-card--dark.featured:hover {
  border-color: var(--red);
}
.tier-card--dark.gallery {
  background: var(--black);
  border-color: rgba(204,197,185,0.4);
}
.tier-card--dark.gallery:hover {
  border-color: rgba(204,197,185,0.65);
  transform: translateY(-4px);
}
.tier-card--dark.gallery:focus-within {
  border-color: var(--stone);
}

/* Light context (pricing — cards on light section) */
.tier-card--light {
  background: rgba(204,197,185,0.08);
}
.tier-card--light:hover {
  border-color: rgba(64,61,57,0.55);
  transform: translateY(-4px);
}
.tier-card--light.featured:hover {
  border-color: var(--red);
}
.tier-card--light.gallery {
  background: var(--charcoal);
  border-color: rgba(204,197,185,0.2);
}
.tier-card--light.gallery:hover {
  border-color: rgba(204,197,185,0.55);
  transform: translateY(-4px);
}
.tier-card--light.gallery:focus-within {
  border-color: var(--stone);
}

/* ═══════════════════════════════════════════════════════════════
   SCREEN READER ONLY — independent of Tailwind CDN
   ═══════════════════════════════════════════════════════════════ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════════════════════════ */

.faq-item {
  border-bottom: 1px solid rgba(64,61,57,0.12);
}
.faq-item:first-child {
  border-top: 1px solid rgba(64,61,57,0.12);
}
.faq-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  color: var(--black);
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  touch-action: manipulation;
  transition: color 0.15s ease;
}
.faq-toggle:hover { color: var(--red); }
.faq-toggle:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}
.faq-toggle:active { opacity: 0.7; }

/* Toggle icon — plus/x */
.faq-toggle-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1.5px solid rgba(64,61,57,0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: border-color 0.15s ease, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-toggle[aria-expanded="true"] .faq-toggle-icon {
  transform: rotate(45deg);
  border-color: var(--red);
}

/* Answer panel */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.2s ease;
}
.faq-answer.open {
  opacity: 1;
}
.faq-answer-inner {
  padding-bottom: 24px;
}

/* Dark context FAQ (on dark backgrounds) */
.faq-toggle--dark {
  color: var(--offwhite);
}
.faq-toggle--dark:hover { color: var(--stone); }


/* ═══════════════════════════════════════════════════════════════
   REUSABLE COMPONENTS
   ═══════════════════════════════════════════════════════════════ */

/* ─── Process Steps ────────────────────────────────────── */
.process-step-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: var(--red);
  line-height: 1;
  opacity: 0.7;
}
@media (min-width: 768px) {
  .process-step-num { font-size: 48px; }
}
.process-step + .process-step {
  border-top: 1px solid rgba(255,252,242,0.08);
}

/* ─── Process Timeline (Homepage) ─────────────────────── */
.process-timeline {
  position: relative;
}
.process-timeline-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  position: relative;
}
.process-timeline-step:first-child { padding-top: 0; }
.process-timeline-step:last-child  { padding-bottom: 0; }

/* Divider between steps */
.process-timeline-step + .process-timeline-step {
  border-top: 1px solid rgba(255,252,242,0.08);
}

/* Oversized step number */
.process-timeline-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 48px;
  color: var(--red);
  line-height: 1;
  width: 56px;
  text-align: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .process-timeline-num { font-size: 72px; width: 72px; }
  .process-timeline-step {
    grid-template-columns: 72px 1fr;
    gap: 24px;
    padding: 28px 0;
  }
}

.process-timeline-content {
  padding-top: 6px;
}
@media (min-width: 768px) {
  .process-timeline-content { padding-top: 14px; }
}

/* ─── Differentiator Cards ─────────────────────────────── */
.diff-card {
  padding: 32px;
  border: 1px solid rgba(204,197,185,0.15);
  border-radius: 4px;
  transition: border-color 0.2s ease;
}
.diff-card:hover {
  border-color: rgba(204,197,185,0.35);
}
.diff-card--on-stone {
  border-color: rgba(37,36,34,0.12);
}
.diff-card--on-stone:hover {
  border-color: rgba(37,36,34,0.3);
}
.diff-card--guarantee {
  border-left: 3px solid var(--red);
}

/* ─── Approval Callout ─────────────────────────────────── */
.approval-callout {
  border-left: 3px solid var(--red);
  padding: 24px 28px;
  border-radius: 4px;
  background: rgba(204,197,185,0.06);
}

/* ─── Inclusion Check Icons ────────────────────────────── */
.inclusion-check {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1.5px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.inclusion-check svg {
  width: 14px;
  height: 14px;
}

/* ─── Trust Bar Icons ──────────────────────────────────── */
.trust-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(37,36,34,0.15);
  border-radius: 4px;
  flex-shrink: 0;
}
.trust-icon svg {
  width: 18px;
  height: 18px;
  stroke: #B03A2E;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── Inline Text Links (with transition) ──────────────── */
.text-link-transition {
  transition: color 0.15s ease;
}
.text-link-transition:active {
  opacity: 0.7;
}

/* ─── Mobile Sticky Bar ─────────────────────────────────────── */
@media (max-width: 767px) {
  body {
    padding-bottom: 76px;
  }
}

/* F.7 — the PQE funnel carries its own primary CTAs, so the sitewide bar is
   suppressed on /quote/* (decision-frontend-stack.md § Component Shell).
   PQE pages opt in via the pqe-funnel body class on their template. */
body.pqe-funnel #site-mobile-sticky-bar {
  display: none;
}
@media (max-width: 767px) {
  body.pqe-funnel {
    padding-bottom: 0;
  }
}

/* ═══════════════════════════════════════════════════════════════
   SERVICE-AREA TEMPLATE
   Reusable styles for /tv-mounting-{city} pages. Each city page
   may override --flag-label (default: 'RH · SPEC') on the
   .idx-row--flag element to set a user-facing specialty label.
   ═══════════════════════════════════════════════════════════════ */

/* ─── Hero: Centered Monumental (text-only service-area pattern) ─── */
.hero-sa {
  position: relative;
  overflow: hidden;
  padding: 120px 24px 64px;
}
@media (min-width: 768px) {
  .hero-sa { padding: 140px 40px 80px; }
}
.hero-sa-inner {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}
/* Coordinate label bar (adapted from Variant C) — desktop-only, tightened. */
.hero-sa-coord {
  display: none;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px 24px;
  max-width: 1040px;
  margin: 0 auto 20px;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #CCC5B9;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 768px) {
  .hero-sa-coord { display: flex; }
}
/* 2.3: zone label stays in stone color; "active" indication is decorative-only via the red dot
   provided in the markup (small inline-block circle), not via a red text fill. */
.hero-sa-coord .zone { color: #CCC5B9; display: inline-flex; align-items: baseline; gap: 8px; }
.hero-sa-coord .zone-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--red); display: inline-block; transform: translateY(-1px); }
/* Ghost wordmark behind headline */
.hero-sa-ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.hero-sa-ghost span {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(180px, 28vw, 420px);
  letter-spacing: -0.06em;
  color: rgba(204, 197, 185, 0.06);
  text-transform: uppercase;
  line-height: 0.85;
  white-space: nowrap;
}
/* Sub-copy under headline */
.hero-sa-sub {
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #CCC5B9;
  max-width: 56ch;
  margin: 32px auto 0;
}
@media (min-width: 768px) {
  .hero-sa-sub { font-size: 18px; line-height: 1.7; }
}
/* CTAs cluster */
.hero-sa-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}
/* Stat strip — horizontal on desktop, 2x2 on mobile */
.hero-sa-stats {
  max-width: 880px;
  margin: 56px auto 0;
  border-top: 1px solid rgba(204, 197, 185, 0.15);
  border-bottom: 1px solid rgba(204, 197, 185, 0.15);
}
@media (min-width: 768px) {
  .hero-sa-stats { margin-top: 72px; }
}
.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(204, 197, 185, 0.2);
}

/* ─── Google Maps Embed Container ─── */
.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(64, 61, 57, 0.12);
  background: rgba(204, 197, 185, 0.08);
}
@media (min-width: 768px) {
  .map-embed { aspect-ratio: 1 / 1; }
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─── Indexed Service Catalogue ─── */
/* 2.1/2.2: hover uses transform (not padding — never-animate-layout) and the brand spring curve. */
.idx-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(64, 61, 57, 0.15);
  text-decoration: none;
  color: var(--black);
  transition: background-color 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform        180ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  will-change: auto;
}
@media (min-width: 768px) {
  .idx-row {
    grid-template-columns: 96px 1.1fr 1.4fr auto;
    gap: 40px;
    padding: 36px 8px;
  }
}
.idx-row:last-child { border-bottom: 1px solid rgba(64, 61, 57, 0.15); }
.idx-row:hover { background: rgba(204, 197, 185, 0.22); transform: translateX(8px); }
.idx-row:hover .idx-arrow { color: var(--red); transform: translateX(4px); }
.idx-row:hover .idx-name  { color: var(--red); }
.idx-row:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  background: rgba(204, 197, 185, 0.22);
}
.idx-row:active { opacity: 0.85; }
.idx-num {
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(64, 61, 57, 0.5);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 768px) {
  .idx-num { font-size: 12px; }
}
.idx-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1.15;
  transition: color 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@media (min-width: 768px) {
  .idx-name { font-size: 28px; }
}
.idx-desc {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(64, 61, 57, 0.75);
}
.idx-arrow {
  color: rgba(64, 61, 57, 0.5);
  transition: color 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  flex-shrink: 0;
}
.idx-row--flag::after {
  content: var(--flag-label, 'RH · SPEC');
  position: absolute;
  top: 10px;
  right: 0;
  font-family: 'Sora', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--red);
}
@media (min-width: 768px) {
  .idx-row--flag::after { top: 14px; right: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .idx-row, .idx-arrow, .idx-name { transition: none; }
  .idx-row:hover, .idx-row:hover .idx-arrow { transform: none; }
}

/* ─── Dark FAQ (charcoal surface variant) ─── */
.faq-dark .faq-item,
.faq-dark .faq-item:first-child {
  border-color: rgba(204, 197, 185, 0.15);
}
.faq-dark .faq-toggle { color: var(--offwhite); }
.faq-dark .faq-toggle:hover { color: var(--red); }
.faq-dark .faq-toggle-icon { border-color: rgba(204, 197, 185, 0.30); }
.faq-dark .faq-toggle[aria-expanded="true"] .faq-toggle-icon { border-color: var(--red); }
/* Constrain answer width to reading measure inside the wider right column. */
/* 2.16: spacing between answer paragraphs lives here, not in utility classes on the markup. */
.faq-dark .faq-answer-inner { max-width: 62ch; }
.faq-dark .faq-answer-inner > * + * { margin-top: 16px; }

/* Reduced-motion: disable FAQ accordion transitions */
@media (prefers-reduced-motion: reduce) {
  .faq-answer { transition: none; }
  .faq-toggle-icon { transition: none; }
}
