/* ==========================================================================
   Dynamic Collision Repair — Design System
   Provo, Utah | Premium Auto Body & Collision Repair
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Google Fonts
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@600;700;800&display=swap');

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Backgrounds */
  --bg-primary:   #0d1117;
  --bg-secondary: #161b22;
  --bg-surface:   #21262d;

  /* Accent palette */
  --accent:       #b91c1c;
  --accent-gold:  #dc2626;
  --accent-blue:  #58a6ff;

  /* Text */
  --text-primary:   #e6edf3;
  --text-secondary: #8b949e;

  /* Borders & neutrals */
  --border: #30363d;
  --white:  #ffffff;

  /* Semantic */
  --success: #3fb950;

  /* Overlays */
  --hero-overlay: rgba(0, 0, 0, 0.55);

  /* Shadows */
  --shadow-sm:  0 2px  8px rgba(0, 0, 0, 0.25);
  --shadow-md:  0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-lg:  0 8px 40px rgba(0, 0, 0, 0.45);
  --shadow-accent: 0 8px 30px rgba(185, 28, 28, 0.25);

  /* Radius */
  --radius-sm:  8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Typography scale */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  2rem;
  --fs-3xl:  2.5rem;
  --fs-4xl:  3rem;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
}

/* --------------------------------------------------------------------------
   2. CSS Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   3. Base Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-md); }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

strong { font-weight: 600; }

/* --------------------------------------------------------------------------
   4. Layout — Container
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* --------------------------------------------------------------------------
   5. Navigation
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition-base), box-shadow var(--transition-base);
  background: rgba(13, 17, 23, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(13, 17, 23, 0.92);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: var(--fs-xl);
  color: var(--white);
  white-space: nowrap;
}

.nav-logo img,
.nav-logo .logo-icon-img {
  height: 32px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  transition: transform var(--transition-fast);
}

.nav-logo:hover img,
.nav-logo:hover .logo-icon-img {
  transform: scale(1.05);
}

.nav-logo .logo-accent {
  color: var(--accent);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nav-mobile-phone {
  display: none;
}

.nav-mobile-phone a {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #ef4444;
  letter-spacing: 0.5px;
  line-height: 1.2;
  transition: color var(--transition-fast);
}

.nav-mobile-phone a:hover {
  color: #ffffff;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Phone CTA button in nav */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--accent);
  color: #ffffff !important;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: var(--fs-sm);
  white-space: nowrap !important;
  flex-shrink: 0;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.nav-cta::before {
  display: none !important;
}

.nav-cta::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%23ffffff'%3E%3Cpath d='M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.nav-cta:hover {
  background: #991b1b;
  transform: translateY(-1px);
}

/* Hamburger toggle */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 23, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1050;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.mobile-menu a:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero,
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 100px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--bg-primary) 0%,
    var(--hero-overlay) 40%,
    rgba(13, 17, 23, 0.5) 70%,
    var(--bg-primary) 100%
  );
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.hero-content h1 .accent {
  color: var(--accent);
}

.hero-subtitle,
.hero-content p {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: #ffffff;
  background: rgba(0,0,0,0.6);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero CTA group */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Floating stat badges */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stat-card .stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.stat-card .stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   7. Section Styles
   -------------------------------------------------------------------------- */
.section-padding {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.bg-dark {
  background-color: var(--bg-primary);
}

.bg-darker {
  background-color: var(--bg-secondary);
}

.bg-surface {
  background-color: var(--bg-surface);
}

/* Section heading pattern */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .overline {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 2.5rem;
}

.section-header .overline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
}

/* Utility: section title with accent overline (inline variant) */
.section-title {
  position: relative;
  padding-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.section-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3rem;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title.text-center::before {
  left: 50%;
  transform: translateX(-50%);
}

/* --------------------------------------------------------------------------
   8. Service Cards
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.section-cta {
  text-align: center;
  margin-top: 2rem;
  width: 100%;
}

.service-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-accent);
  border-color: rgba(185, 28, 28, 0.3);
}

.service-card .icon-circle {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: rgba(185, 28, 28, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--accent);
  transition: background var(--transition-base);
}

.service-card:hover .icon-circle {
  background: rgba(185, 28, 28, 0.22);
}

.service-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   9. Testimonial Cards
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.testimonial-card:hover {
  border-color: rgba(185, 28, 28, 0.2);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
  color: var(--accent-gold);
  font-size: var(--fs-md);
}

.testimonial-card blockquote,
.testimonial-card .quote {
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent);
}

.testimonial-card .reviewer {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-card .reviewer-source {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   10. Team Cards
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.team-card {
  text-align: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 28, 28, 0.25);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent), var(--accent-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--white);
}

.team-card h4 {
  margin-bottom: 0.25rem;
}

.team-card .role {
  font-size: var(--fs-sm);
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.team-card p {
  font-size: var(--fs-sm);
}

/* --------------------------------------------------------------------------
   11. Timeline
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1rem 2.5rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 3rem;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 3rem;
}

.timeline-dot {
  position: absolute;
  top: 1.5rem;
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  background: var(--accent);
  border: 3px solid var(--bg-primary);
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.timeline-card h4 {
  margin-bottom: 0.5rem;
}

.timeline-card .step-number {
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

/* --------------------------------------------------------------------------
   12. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border: none;
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #991b1b;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(185,28,28,0.4);
}

.btn-secondary {
  background: #991b1b;
  color: #ffffff;
  border: none;
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: #7f1d1d;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(185,28,28,0.4);
}

/* Hero and CTA button groups — centered */
.hero-buttons,
.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  padding: 0.6rem 1rem;
}

.btn-ghost:hover {
  color: var(--accent);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: var(--fs-base);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-xs);
}

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: var(--fs-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.15);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b949e' d='M6 8.825L1.175 4 2.238 2.938 6 6.7 9.763 2.938 10.825 4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   14. FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question .faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 1.25rem;
  color: var(--text-secondary);
  transition: transform var(--transition-base), color var(--transition-base);
  flex-shrink: 0;
}

.faq-item.open .faq-question .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding-bottom: 1.25rem;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.footer,
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}

.footer-brand-section {
  text-align: center;
  margin-bottom: 2.75rem;
}

.footer-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.footer-logo-img {
  width: 110px;
  max-width: 110px;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  transition: transform var(--transition-fast);
}

.footer-logo-img:hover {
  transform: scale(1.03);
}

.footer-logo .logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  display: inline-block;
  text-align: center;
}

.footer-logo .logo-accent {
  color: var(--accent);
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 820px;
  margin: 2.5rem auto 2.5rem;
}

.footer-col h4,
.footer-col h5,
.footer h5 {
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-col ul,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li,
.footer-links li {
  margin-bottom: 0.6rem;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.footer-col ul li a,
.footer-links a {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-col ul li a:hover,
.footer-links a:hover {
  color: var(--accent);
  padding-left: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-bottom p {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  margin: 0;
  text-align: center;
}

.footer-bottom a {
  color: var(--text-secondary);
  font-size: var(--fs-xs);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   16. Scroll Animations
   -------------------------------------------------------------------------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* --------------------------------------------------------------------------
   17. Trust Bar & Stats
   -------------------------------------------------------------------------- */
.trust-bar {
  padding: 2rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-content: center;
}

.trust-item {
  text-align: center;
  border-right: 1px solid var(--border);
}

.trust-item:last-child {
  border-right: none;
}

.trust-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}

.trust-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   18. Contact Cards
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.contact-card:hover {
  border-color: rgba(185, 28, 28, 0.25);
  transform: translateY(-4px);
}

.contact-card .card-emoji {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.contact-card h4 {
  font-size: var(--fs-base);
  margin-bottom: 0.35rem;
}

.contact-card p,
.contact-card a {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.contact-card a:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   19. Service Area — City Badges / Pills
   -------------------------------------------------------------------------- */
.area-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.area-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-primary);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.area-badge:hover {
  border-color: var(--accent);
  background: rgba(185, 28, 28, 0.08);
}

/* --------------------------------------------------------------------------
   20. Page Hero (Inner Pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-secondary);
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 17, 23, 0.6) 0%,
    var(--bg-primary) 100%
  );
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   21. Scroll To Top Button
   -------------------------------------------------------------------------- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition-base), visibility var(--transition-base),
    transform var(--transition-base), background var(--transition-fast);
  z-index: 900;
  box-shadow: var(--shadow-md);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: #991b1b;
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   22. Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* Tablet: < 992px */
@media (max-width: 992px) {
  .navbar {
    padding: 0.85rem 0;
  }

  .nav-logo {
    font-size: var(--fs-lg);
  }

  .nav-links {
    gap: 1.25rem;
  }

  .nav-links a {
    font-size: var(--fs-xs);
  }

  .nav-cta {
    padding: 0.5rem 1rem;
    font-size: var(--fs-xs);
  }

  .hero,
  .hero-section {
    padding-top: 110px;
    padding-bottom: 4rem;
    min-height: auto;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .timeline::before {
    left: 1.5rem;
  }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    left: 0;
    padding-left: 3.5rem;
    padding-right: 0;
    text-align: left;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 16px;
    right: auto;
  }
}

/* Mobile: < 768px */
@media (max-width: 768px) {
  .site-header {
    height: auto;
  }

  .navbar {
    padding: 0.75rem 0;
    background: rgba(13, 17, 23, 0.95);
  }

  .navbar .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 0.35rem 0.75rem;
  }

  .nav-logo {
    font-size: 1.15rem;
    gap: 0.5rem;
    flex: 1 1 auto;
  }

  .nav-logo img,
  .nav-logo .logo-icon-img {
    height: 24px;
    max-width: 48px;
  }

  .nav-mobile-phone {
    display: none;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(13, 17, 23, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--border);
    flex-direction: column;
    padding: 1.5rem 1rem;
    gap: 1.25rem;
    z-index: 999;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    text-align: center;
    width: 100%;
  }

  .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap !important;
    border-radius: 6px;
    letter-spacing: 0.3px;
    order: 3;
    margin-left: auto;
    margin-top: 0.15rem;
  }

  .nav-cta::before {
    display: none !important;
  }

  .nav-cta::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%23ffffff'%3E%3Cpath d='M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
  }

  .hamburger {
    display: flex;
    order: 2;
    flex-shrink: 0;
  }

  .mobile-menu {
    display: none;
  }
  .mobile-menu.open {
    display: flex;
  }

  /* Hero Section Mobile Polish */
  .hero,
  .hero-section {
    padding-top: 90px;
    padding-bottom: 3.5rem;
    min-height: auto;
  }

  .hero-content {
    padding: 0 0.5rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1rem;
  }

  .hero-content h1 {
    font-size: clamp(1.6rem, 6vw, 2.3rem);
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .hero-subtitle,
  .hero-content p {
    font-size: 0.95rem;
    line-height: 1.55;
    padding: 0.85rem 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 0.75rem;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary,
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }

  /* Hero Stats Badges on Mobile */
  .hero-stats {
    flex-direction: row;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
    width: 100%;
  }

  .stat-card {
    flex: 1;
    min-width: 90px;
    padding: 0.65rem 0.4rem;
    border-radius: 8px;
  }

  .stat-card .stat-number {
    font-size: 1.15rem;
  }

  .stat-card .stat-label {
    font-size: 0.68rem;
    letter-spacing: 0.5px;
  }

  /* Trust Bar Mobile 2x2 Grid */
  .trust-bar {
    padding: 1.5rem 0;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.75rem;
  }

  .trust-item {
    border-right: none;
    padding: 0.5rem;
  }

  .trust-item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .trust-number {
    font-size: 1.6rem;
  }

  .trust-label {
    font-size: 0.75rem;
  }

  /* Grids Stack cleanly */
  .services-grid,
  .testimonials-grid,
  .team-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  /* Section Headings */
  .section-padding {
    padding: 3rem 0;
  }

  .section-title {
    margin-bottom: 2rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  /* CTA Section on Mobile */
  .cta-section {
    padding: 3rem 1rem;
  }

  .cta-content h2 {
    font-size: 1.45rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 1.5rem auto 0;
    gap: 0.75rem;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary,
  .cta-buttons .btn {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1.25rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Small mobile: < 480px */
@media (max-width: 480px) {
  .nav-logo {
    font-size: 1rem;
    gap: 0.4rem;
  }

  .nav-logo img,
  .nav-logo .logo-icon-img {
    height: 22px;
    max-width: 44px;
  }

  .nav-cta {
    padding: 0.3rem 0.75rem;
    font-size: 0.78rem;
    gap: 0.35rem;
    margin-top: 0.1rem;
    margin-left: auto;
  }

  .nav-cta::before {
    display: none !important;
  }

  .nav-cta::after {
    width: 11px;
    height: 11px;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.35rem; }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 0.5rem;
  }

  .stat-card {
    width: 100%;
  }

  .btn-lg {
    padding: 0.75rem 1.25rem;
    font-size: var(--fs-xs);
  }

  .page-hero {
    min-height: 25vh;
    padding-top: 80px;
  }
}

/* --------------------------------------------------------------------------
   23. Utility Classes
   -------------------------------------------------------------------------- */

/* Text alignment */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

/* Text color */
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-secondary); }
.text-white   { color: var(--white); }

/* Margin top */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

/* Margin bottom */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

/* Grid utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Flexbox helpers */
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-col    { flex-direction: column; }
.gap-1       { gap: 0.5rem; }
.gap-2       { gap: 1rem; }
.gap-3       { gap: 1.5rem; }

/* --------------------------------------------------------------------------
   24. Keyframe Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(185, 28, 28, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(185, 28, 28, 0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Pulse ring on primary CTA */
.btn-primary.pulse {
  animation: pulse 2.5s infinite;
}

/* --------------------------------------------------------------------------
   25. Checkmark List
   -------------------------------------------------------------------------- */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--success);
  font-size: var(--fs-base);
}

/* --------------------------------------------------------------------------
   26. Values Cards
   -------------------------------------------------------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.value-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.value-card .value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.value-card h4 {
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: var(--fs-sm);
}

/* --------------------------------------------------------------------------
   27. Miscellaneous Components
   -------------------------------------------------------------------------- */

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  border: none;
  margin: 2rem 0;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--radius-xl);
  background: rgba(185, 28, 28, 0.12);
  color: var(--accent);
}

/* Skip to content (a11y) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
}

/* Selection color */
::selection {
  background: rgba(185, 28, 28, 0.3);
  color: var(--white);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-surface);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border);
}

/* --------------------------------------------------------------------------
   28. CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  padding: 4rem 0;
}

.cta-content {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(185, 28, 28, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(185, 28, 28, 0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Pulse ring on primary CTA */
.btn-primary.pulse {
  animation: pulse 2.5s infinite;
}

/* --------------------------------------------------------------------------
   25. Checkmark List
   -------------------------------------------------------------------------- */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--success);
  font-size: var(--fs-base);
}

/* --------------------------------------------------------------------------
   26. Values Cards
   -------------------------------------------------------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.value-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.value-card .value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.value-card h4 {
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: var(--fs-sm);
}

/* --------------------------------------------------------------------------
   27. Miscellaneous Components
   -------------------------------------------------------------------------- */

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  border: none;
  margin: 2rem 0;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--radius-xl);
  background: rgba(185, 28, 28, 0.12);
  color: var(--accent);
}

/* Skip to content (a11y) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
}

/* Selection color */
::selection {
  background: rgba(185, 28, 28, 0.3);
  color: var(--white);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-surface);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border);
}

/* --------------------------------------------------------------------------
   28. CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  padding: 4rem 0;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   29. Modal & Interactive Quote Flowchart Styles
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: #161b22;
  border: 1px solid rgba(185, 28, 28, 0.35);
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(185, 28, 28, 0.2);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-backdrop.active .modal-window {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.5rem 2rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: #161b22;
  z-index: 10;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.45rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.modal-close-btn:hover {
  background: #b91c1c;
  color: #ffffff;
}

.modal-body {
  padding: 1.75rem 2rem;
  color: #e2e8f0;
}

/* Nav Register Button */
.nav-register-btn {
  border: 1px solid #b91c1c;
  color: #ffffff !important;
  background: rgba(185, 28, 28, 0.15);
  padding: 0.4rem 1rem !important;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.nav-register-btn:hover {
  background: #b91c1c !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(185, 28, 28, 0.4);
}

/* Wizard Progress Bar */
.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.wizard-progress::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-50%);
  z-index: 1;
}

.wizard-progress-bar {
  position: absolute;
  top: 50%;
  left: 0;
  height: 3px;
  background: #dc2626;
  transform: translateY(-50%);
  z-index: 2;
  transition: width 0.3s ease;
}

.wizard-step-node {
  position: relative;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0d1117;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.wizard-step-node.active {
  background: #b91c1c;
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.wizard-step-node.completed {
  background: #15803d;
  border-color: #22c55e;
  color: #ffffff;
}

/* Flowchart Step Card Choices */
.wizard-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-align: center;
}

.wizard-subtitle {
  font-size: 0.9rem;
  color: #94a3b8;
  text-align: center;
  margin-bottom: 1.75rem;
}

.flow-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.flow-choice-card {
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.flow-choice-card:hover {
  border-color: #b91c1c;
  background: rgba(185, 28, 28, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.flow-choice-card.selected {
  border-color: #ef4444;
  background: rgba(185, 28, 28, 0.18);
  box-shadow: 0 0 15px rgba(185, 28, 28, 0.35);
}

.flow-choice-icon {
  font-size: 2.25rem;
  line-height: 1;
}

.flow-choice-label {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.flow-choice-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* Photo Upload Layout */
.photo-guide-section {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.photo-guide-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.photo-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
}

.photo-slot {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 1rem 0.5rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  min-height: 105px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.photo-slot:hover {
  border-color: #ef4444;
  background: rgba(185, 28, 28, 0.08);
}

.photo-slot.has-image {
  border-style: solid;
  border-color: #22c55e;
  padding: 0;
}

.photo-slot.has-image .slot-car-icon,
.photo-slot.has-image > span {
  display: none !important;
}

.photo-slot.has-image .slot-preview-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  border-radius: 8px;
  z-index: 2;
}

.photo-slot .slot-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-top: 0.35rem;
  line-height: 1.2;
}

.photo-slot .slot-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.75);
  color: #ef4444;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  z-index: 5;
}

.photo-slot.has-image .slot-remove {
  display: flex;
}

/* Modal Actions */
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 1rem;
}

.modal-actions .btn {
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-help {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.modal-alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-alert-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
}

.modal-alert-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}

.wizard-step-pane {
  display: none;
}

.wizard-step-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* Dedicated Estimate Page Layout & Controls */
.estimate-page-container {
  max-width: 680px;
  margin: 0 auto;
  background: #161b22;
  border: 1px solid rgba(185, 28, 28, 0.35);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(185, 28, 28, 0.15);
}

.estimate-card-section {
  background: rgba(13, 17, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 1.75rem;
  transition: border-color 0.2s ease;
}

.estimate-card-section:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.estimate-section-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  letter-spacing: -0.3px;
}

.estimate-section-subtitle {
  font-size: 0.92rem;
  color: #94a3b8;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* Bold & larger question highlights */
.estimate-question-highlight {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 1.25rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  display: block;
}

/* Horizontal Checkbox Row */
.checkbox-options-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
  margin-top: 0.75rem;
}

.custom-check-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  user-select: none;
}

.custom-check-inline input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: #b91c1c;
  cursor: pointer;
  margin: 0;
}

/* Horizontal Radio Row */
.radio-options-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
  margin-top: 0.75rem;
}

.custom-radio-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  user-select: none;
}

.custom-radio-inline input[type="radio"] {
  width: 19px;
  height: 19px;
  accent-color: #b91c1c;
  cursor: pointer;
  margin: 0;
}

/* Constrained Contact Fields */
.contact-fields-container {
  max-width: 520px;
  width: 100%;
}

.contact-fields-container .form-group {
  margin-bottom: 1.15rem;
}

.contact-fields-container .form-control {
  max-width: 520px;
  width: 100%;
}

/* Damage Photos Placeholder - Grey Car on Black Background */
.damage-photos-placeholder {
  max-width: 520px;
  width: 100%;
  margin-top: 1.25rem;
}

.placeholder-car-card {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.placeholder-car-card .grey-car-img {
  max-width: 320px;
  width: 100%;
  height: auto;
  display: block;
}

.btn-save {
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(185, 28, 28, 0.35);
  transition: all 0.25s ease;
}

.btn-save:hover {
  background: #991b1b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.5);
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .estimate-page-container {
    padding: 1.5rem 1rem;
  }

  .estimate-card-section {
    padding: 1.25rem 1rem;
  }

  .paired-input-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .checkbox-options-grid,
  .radio-options-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .modal-window {
    max-height: 95vh;
  }

  .modal-header,
  .modal-body {
    padding: 1.25rem 1.25rem;
  }

  .flow-choice-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .photo-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ============================================
   Paint Color Selection Tool & Estimate Enhancements
   ============================================ */
.color-swatches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.color-swatch-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #e5e7eb;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 0.85rem;
  text-align: left;
}

.color-swatch-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.color-swatch-btn.active {
  background: rgba(185, 28, 28, 0.15);
  border-color: var(--accent, #b91c1c);
  box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.35);
  color: #ffffff;
  font-weight: 600;
}

.swatch-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.photo-upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.photo-upload-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
}

.photo-upload-card:hover {
  border-color: var(--accent, #b91c1c);
  background: rgba(185, 28, 28, 0.05);
}

.photo-upload-card.has-photo {
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.2);
  padding: 0;
}

.photo-upload-card img.preview-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.photo-upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  pointer-events: none;
}

.photo-upload-content .upload-icon {
  font-size: 1.5rem;
}

.photo-upload-content .upload-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e5e7eb;
}

.photo-upload-content .upload-hint {
  font-size: 0.75rem;
  color: #9ca3af;
}

.photo-remove-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  z-index: 5;
  transition: background 0.2s;
}

.photo-upload-card.has-photo .photo-remove-btn {
  display: flex;
}

.photo-remove-btn:hover {
  background: #dc2626;
}

.ticket-badge-box {
  background: rgba(0, 0, 0, 0.4);
  border: 2px dashed rgba(239, 68, 68, 0.5);
  border-radius: 10px;
}

/* ============================================
   Paragraph Spacers & Image Separation (Site-Wide)
   ============================================ */
.paragraph-spacer {
  height: 2.5rem;
  min-height: 2.5rem;
  margin: 2rem 0;
  width: 100%;
  display: block;
  clear: both;
}

.history-grid {
  display: block;
  max-width: 960px;
  margin: 0 auto;
}

.history-content {
  margin-bottom: 1.5rem;
}

.history-content p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary, #d1d5db);
}

.history-visual {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.shop-image-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.shop-image-wrapper img.rounded-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  display: block;
  margin: 0 auto;
}

/* Remove bottom empty dark bar under history image */
.history-section {
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
}

.team-after-history {
  padding-top: 2.5rem;
  padding-bottom: 5rem;
}

/* Site-wide image & text spacing */
.service-detail-grid {
  gap: 2.5rem;
}

.service-detail-visual {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.damage-photos-placeholder,
.damage-photos-wrapper {
  margin-top: 1.75rem;
}




