/* ==========================================================================
   SOLUTIONS CAR CLINIC - RED, GREY, BLACK & WHITE DESIGN SYSTEM
   Location: 3316 Portage Ave, Winnipeg, MB | Westwood Village Shopping Centre
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Speedometer Red, Metallic Steel Grey, Deep Black & Pure White */
  --bg-dark: #0a0c10;
  --bg-card: #121620;
  --bg-card-hover: #191f2c;
  --bg-elevated: #1e2534;
  --bg-input: #0d1017;
  
  --accent-red: #e92225;
  --accent-red-bright: #e92225;
  --accent-red-hover: #ff3b3e;
  --accent-red-dark: #e92225;
  --accent-red-glow: rgba(233, 34, 37, 0.4);
  
  --accent-grey: #8d99ae;
  --accent-grey-light: #edf2f4;
  --accent-grey-dark: #2b3240;
  
  --accent-green: #00e676;
  --accent-green-glow: rgba(0, 230, 118, 0.25);

  --text-main: #ffffff;
  --text-muted: #8d99ae;
  --text-dim: #5c677d;

  --border-metallic: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(141, 153, 174, 0.1) 50%, rgba(233, 34, 37, 0.35) 100%);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-active: rgba(233, 34, 37, 0.7);

  --font-heading: 'Chakra Petch', sans-serif;
  --font-body: 'Outfit', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(233, 34, 37, 0.35);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.7);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  max-width: 100%;
  overflow-x: clip;
  touch-action: manipulation;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
  touch-action: manipulation;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(rgba(233, 34, 37, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: #ffffff;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  user-select: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-red-bright) 0%, var(--accent-red-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(233, 34, 37, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--accent-red-hover) 0%, var(--accent-red-bright) 100%);
  box-shadow: 0 6px 25px rgba(233, 34, 37, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(239, 35, 60, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-red-bright);
  border: 2px solid var(--accent-red-bright);
}

.btn-outline:hover {
  background: var(--accent-red-bright);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.1rem;
}

/* Badges & Tags */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: rgba(233, 34, 37, 0.12);
  color: var(--accent-red-bright);
  border: 1px solid rgba(233, 34, 37, 0.35);
}

.badge-open {
  background: rgba(0, 230, 118, 0.12);
  color: var(--accent-green);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.badge-closed {
  background: rgba(233, 34, 37, 0.15);
  color: var(--accent-red-bright);
  border: 1px solid rgba(233, 34, 37, 0.4);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}

/* Header & Navigation */
.header-topbar {
  background: #060709;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.header-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 3px solid var(--accent-red-bright);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition-normal);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 2rem;
  max-width: 1480px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  color: #0a0c10;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 3rem;
}

.brand-logo img {
  height: 105px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.2px;
}

.brand-text .brand-red {
  color: var(--accent-red-bright);
}

.brand-text .brand-black {
  color: #0a0c10;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin-right: auto;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #2b3240;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-red-bright);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent-red-bright);
  box-shadow: 0 0 8px rgba(233, 34, 37, 0.5);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.autovalue-nav-logo {
  height: 85px;
  width: auto;
  object-fit: contain;
  margin-left: 2.5rem;
  margin-right: 1.25rem;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: #0a0c10;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
}

/* Layout Containers */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-darker {
  background-color: #07080a;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  color: var(--accent-red-bright);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* HERO SECTION */
.hero {
  position: relative;
  padding: 4rem 0 6rem 0;
  overflow: hidden;
  background: radial-gradient(circle at 70% 30%, rgba(217, 4, 41, 0.15) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-tag {
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-title .highlight {
  color: var(--accent-red-bright);
  background: linear-gradient(135deg, var(--accent-red-bright) 0%, var(--accent-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-red-bright);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero Showcase Frame */
.hero-visual {
  position: relative;
  z-index: 2;
}

.industrial-frame {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 10px;
  border: 1px solid rgba(233, 34, 37, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9), var(--shadow-glow);
}

.industrial-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-md) + 2px);
  background: linear-gradient(135deg, var(--accent-red-bright), transparent 60%, rgba(255, 255, 255, 0.2));
  z-index: -1;
  opacity: 0.6;
}

.frame-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #090c10;
  border-radius: 6px 6px 0 0;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.frame-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a3140;
}

.dot.red { background: #ff4d4d; }
.dot.yellow { background: #ffc107; }
.dot.green { background: #00e676; }

.frame-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.shop-image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 9;
}

.shop-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.shop-image-container:hover img {
  transform: scale(1.03);
}

.image-overlay-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(10, 12, 16, 0.9);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(233, 34, 37, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* REAL CUSTOMER HIGHLIGHT / DAVID'S PHILOSOPHY */
.story-card {
  background: linear-gradient(145deg, #161b26 0%, #0d1017 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
}

.about-card-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 3rem;
  position: relative;
  box-shadow: var(--shadow-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-slider-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 3rem;
  position: relative;
  box-shadow: var(--shadow-subtle);
  min-height: 400px;
}

.brakes-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

@media (max-width: 992px) {
  .about-card-container, .service-slider-container {
    padding: 1.75rem 1.25rem;
  }
  .about-grid, .brakes-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .about-card-container, .service-slider-container {
    padding: 1.25rem 0.85rem;
  }
  .about-grid, .brakes-grid {
    gap: 1.5rem;
  }
}

.story-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 10rem;
  color: rgba(233, 34, 37, 0.06);
  line-height: 1;
  pointer-events: none;
}

.story-tag {
  color: var(--accent-red-bright);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.story-quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.story-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.1rem;
}

.author-info p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.story-badge {
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--accent-green);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
}

/* FORM ELEMENTS */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.form-select, .form-input, .form-textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-select:focus, .form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-red-bright);
  box-shadow: 0 0 0 3px rgba(233, 34, 37, 0.25);
}

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

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(233, 34, 37, 0.6);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  background: var(--bg-card-hover);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(233, 34, 37, 0.12);
  border: 1px solid rgba(233, 34, 37, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-red-bright);
  margin-bottom: 1.25rem;
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  margin-bottom: 1.25rem;
}

.service-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.service-features li::before {
  content: none;
}

/* REVIEWS GRID */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.review-card:hover {
  border-color: rgba(217, 4, 41, 0.5);
  transform: translateY(-3px);
}

.review-stars {
  color: #ffb400;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  display: flex;
  gap: 2px;
}

.review-text {
  font-size: 0.98rem;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.review-meta {
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.reviewer-name {
  font-weight: 700;
  color: #ffffff;
}

.review-time {
  color: var(--text-dim);
}

/* LOCATION & HOURS */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem;
}

.info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(217, 4, 41, 0.12);
  border: 1px solid rgba(217, 4, 41, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-red-bright);
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.info-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.hours-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

.hours-table td {
  padding: 0.75rem 0;
  font-size: 0.95rem;
}

.hours-table tr.today {
  font-weight: 700;
  color: var(--accent-red-bright);
}

.hours-table tr.today td:first-child::after {
  content: ' (TODAY)';
  font-size: 0.75rem;
  color: var(--accent-red-bright);
}

/* BRAKE FAQ ACCORDION STYLES */
.brake-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-fast);
}

.brake-faq-question {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.brake-faq-question i {
  color: var(--accent-red-bright);
  transition: transform 0.3s ease;
}

.brake-faq-item.active .brake-faq-question i {
  transform: rotate(180deg);
}

.brake-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.brake-faq-item.active .brake-faq-answer {
  max-height: 350px;
  padding: 0 1.5rem 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* MODAL DIALOG */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid rgba(233, 34, 37, 0.5);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2.25rem 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), var(--shadow-glow);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-sizing: border-box;
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(233, 34, 37, 0.2);
  border: 1px solid rgba(233, 34, 37, 0.5);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  background: var(--accent-red-bright);
  color: #ffffff;
}

/* FOOTER */
.footer {
  background: #050608;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a:hover {
  color: var(--accent-red-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN & COMPREHENSIVE MOBILE OPTIMIZATION
   ========================================================================== */

/* Laptop / Medium Desktops (<= 1360px) */
@media (max-width: 1360px) {
  .navbar .container {
    max-width: 100%;
    padding: 0.75rem 1.5rem;
  }

  .brand-logo {
    margin-right: 1.5rem;
    font-size: 2.2rem;
  }

  .brand-logo img {
    height: 100px;
  }

  .autovalue-nav-logo {
    height: 80px;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.85rem;
  }
}

/* Tablet Landscape & Desktop Breakpoint (<= 1140px) */
@media (max-width: 1140px) {
  .header-topbar {
    display: none;
  }

  .brand-logo {
    margin-right: 1rem;
    font-size: 1.6rem;
    gap: 0.75rem;
  }

  .brand-logo img {
    height: 70px;
  }

  .autovalue-nav-logo {
    height: 55px;
  }

  .nav-links {
    display: none; /* Collapses into mobile drawer */
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 1.5rem 2rem;
    border-bottom: 3px solid var(--accent-red-bright);
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    z-index: 999;
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.5rem 0;
  }

  .mobile-menu-btn {
    display: block;
  }
}

/* Tablets (<= 992px) */
@media (max-width: 992px) {
  .hero-grid, .location-grid, .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  #service-slider-card {
    padding: 2rem 1.5rem;
  }
}

/* Small Tablets & Large Phones (<= 768px) */
@media (max-width: 768px) {
  .navbar .container {
    padding: 0.6rem 1rem;
  }

  .brand-logo {
    font-size: 1.35rem;
    gap: 0.6rem;
  }

  .brand-logo img {
    height: 55px;
  }

  .autovalue-nav-logo {
    height: 42px;
  }

  .hero {
    padding: 2.5rem 0;
  }

  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    line-height: 1.25;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

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

  .modal-content {
    padding: 1.5rem 1.25rem;
    max-height: 85vh;
  }
}

/* Mobile Phones (<= 480px) */
@media (max-width: 480px) {
  .navbar .container {
    padding: 0.5rem 0.6rem;
  }

  .brand-logo {
    font-size: 1.05rem;
    gap: 0.4rem;
    margin-right: 0.5rem;
  }

  .brand-logo img {
    height: 42px;
  }

  .autovalue-nav-logo {
    height: 32px;
    margin-right: 0;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .nav-actions .btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
  }

  #service-slider-card {
    padding: 1.25rem 0.85rem;
  }

  .hours-table td {
    font-size: 0.85rem;
    padding: 0.5rem 0;
  }

  .modal-backdrop {
    padding: 0.5rem;
    align-items: center;
  }

  .modal-content {
    padding: 1.25rem 1rem;
    max-height: 82vh;
    border-radius: var(--radius-sm);
  }

  .modal-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    background: rgba(233, 34, 37, 0.25);
    border: 1px solid var(--accent-red-bright);
  }

  .modal-header-block {
    padding-right: 2.5rem;
    margin-bottom: 0.75rem !important;
  }

  .form-group {
    margin-bottom: 0.75rem;
  }

  .form-select, .form-input, .form-textarea {
    padding: 0.6rem 0.75rem;
    font-size: 0.92rem;
  }
}

/* ==========================================================================
   SCROLL REVEAL & INTERACTIVE MOTION ANIMATIONS
   ========================================================================== */
.reveal, .reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
  will-change: transform, opacity;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-45px);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
  will-change: transform, opacity;
}

.reveal-right {
  opacity: 0;
  transform: translateX(45px);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
  will-change: transform, opacity;
}

@media (max-width: 768px) {
  .reveal-left, .reveal-right {
    transform: translateY(30px);
  }
  .reveal-left.active, .reveal-right.active {
    transform: translateY(0);
  }
  .about-storefront-img {
    height: 170px !important;
  }
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.92);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
  will-change: transform, opacity;
}

/* Active State when element enters viewport */
.reveal.active, .reveal-up.active, .reveal-left.active, .reveal-right.active, .reveal-zoom.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger Delays for Grid Elements */
.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; }
