/* ==========================================================================
   Maple Drive Auto Parts - Modern Automotive Theme
   ========================================================================== */

:root {
  --primary: #e63946;
  --primary-hover: #ff4d5a;
  --primary-glow: rgba(230, 57, 70, 0.35);
  --secondary: #2a2e3d;
  --accent: #f59e0b;
  --accent-blue: #0ea5e9;
  
  --bg-darker: #090b10;
  --bg-dark: #0f131a;
  --bg-card: #161b26;
  --bg-card-hover: #1e2433;
  --bg-glass: rgba(22, 27, 38, 0.85);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: rgba(230, 57, 70, 0.45);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px var(--primary-glow);
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-darker);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Ambient Lighting */
body::before {
  content: '';
  position: fixed;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.12) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  bottom: 10%;
  left: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(230, 57, 70, 0.12);
  border: 1px solid rgba(230, 57, 70, 0.3);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

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

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

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

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #cbd5e1 70%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-red {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #c92a37 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
  box-shadow: 0 6px 25px rgba(230, 57, 70, 0.55);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-glow {
  animation: pulse-glow 2.5s infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 15px var(--primary-glow);
  }
  50% {
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.6);
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Top notification & direct contact bar */
.topbar {
  background: #06070a;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.55rem 0;
}

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

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

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

.topbar-item a:hover {
  color: var(--primary);
}

.topbar-badge {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Main Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
  width: 100%;
}

.navbar.scrolled {
  background: rgba(9, 11, 16, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  max-width: 1380px;
  width: 100%;
  padding: 0 1.5rem;
  margin: 0 auto;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  gap: 0.75rem;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

.brand-logo-img:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 0 12px rgba(230, 57, 70, 0.45));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 0.4rem 0.2rem;
  white-space: nowrap;
  display: inline-block;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

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

.nav-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.05rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-phone-btn:hover {
  background: rgba(230, 57, 70, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.nav-actions .btn {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.65rem 1.25rem;
  font-size: 0.92rem;
}

.nav-toggle {
  display: none;
  background: none;
  color: var(--text-main);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 5rem 0 6rem 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(30, 38, 54, 0.7) 0%, rgba(9, 11, 16, 1) 80%);
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  background: rgba(230, 57, 70, 0.12);
  border: 1px solid rgba(230, 57, 70, 0.3);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-badge i {
  color: var(--primary);
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.12rem;
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 580px;
}

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

.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.trust-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
}

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

/* Hero Widget (Quick Part Search Finder) */
.hero-finder-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-finder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent-blue));
}

.finder-header {
  margin-bottom: 1.5rem;
}

.finder-header h3 {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

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

.finder-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(9, 11, 16, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.18);
  background: rgba(9, 11, 16, 0.95);
}

.form-control option {
  background: #121620;
  color: #fff;
}

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

.finder-popular {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-dim);
}

.popular-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.popular-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.78rem;
}

.popular-tag:hover {
  background: rgba(230, 57, 70, 0.15);
  color: #fff;
  border-color: var(--primary);
}

/* ==========================================================================
   Categories Section
   ========================================================================== */
.categories-section {
  padding: 6rem 0;
  background: var(--bg-dark);
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.cat-tab {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
}

.cat-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.cat-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 18px var(--primary-glow);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cat-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5), 0 0 20px rgba(230, 57, 70, 0.15);
  background: var(--bg-card-hover);
}

.cat-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.15), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(230, 57, 70, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.cat-card:hover .cat-icon-wrap {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08) rotate(-3deg);
}

.cat-card-title {
  font-size: 1.22rem;
  margin-bottom: 0.5rem;
}

.cat-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.cat-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.cat-card-footer i {
  transition: var(--transition);
}

.cat-card:hover .cat-card-footer i {
  transform: translateX(5px);
}

/* ==========================================================================
   Featured Inventory Section
   ========================================================================== */
.inventory-section {
  padding: 6rem 0;
  background: var(--bg-darker);
  position: relative;
}

.search-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  background: var(--bg-card);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.inventory-search-input {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.inventory-search-input i {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
}

.inventory-search-input input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.8rem;
  background: var(--bg-darker);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: #fff;
}

.inventory-search-input input:focus {
  border-color: var(--primary);
}

.filter-badge-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 0.5rem 1rem;
  background: var(--bg-darker);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill.active, .filter-pill:hover {
  background: rgba(230, 57, 70, 0.15);
  color: #fff;
  border-color: var(--primary);
}

.parts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.part-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.part-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-md);
}

.part-img-wrap {
  height: 200px;
  background: linear-gradient(180deg, #181d29 0%, #10141c 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}

.part-svg-visual {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: #94a3b8;
  opacity: 0.85;
  transition: var(--transition);
}

.part-card:hover .part-svg-visual {
  transform: scale(1.1);
  color: var(--primary);
  opacity: 1;
}

.part-badge-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.65rem;
  background: rgba(230, 57, 70, 0.9);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.part-condition-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.65rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-light);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.part-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.part-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.part-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.part-compat {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.part-compat i {
  color: #22c55e;
}

.part-specs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.spec-pill {
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  color: var(--text-muted);
}

.part-footer {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.part-price-box {
  display: flex;
  flex-direction: column;
}

.part-price-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.part-price-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-heading);
}

.part-price-value span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.btn-part-action {
  padding: 0.6rem 1.1rem;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Why Choose Us & Brand Showcase
   ========================================================================== */
.why-section {
  padding: 6rem 0;
  background: var(--bg-dark);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 4.5rem;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  text-align: left;
  position: relative;
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.feature-num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.5rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: rgba(255, 255, 255, 0.04);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(230, 57, 70, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.feature-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Supported Vehicle Brands */
.brands-banner {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.08) 0%, rgba(15, 19, 26, 0.8) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
}

.brands-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.brands-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  background: rgba(9, 11, 16, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.brand-badge:hover {
  background: rgba(230, 57, 70, 0.15);
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* ==========================================================================
   Part Request / Quote Form Section
   ========================================================================== */
.quote-section {
  padding: 6rem 0;
  background: var(--bg-darker);
  position: relative;
}

.quote-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.quote-info-side {
  background: linear-gradient(160deg, #1a202c 0%, #0d1117 100%);
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.quote-info-side::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  background: var(--border-light);
}

.quote-info-header h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.quote-info-header p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.quote-perks {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.quote-perk {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.quote-perk-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(230, 57, 70, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quote-perk-text h5 {
  font-size: 0.95rem;
  font-weight: 700;
}

.quote-perk-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.direct-call-box {
  background: rgba(230, 57, 70, 0.1);
  border: 1px dashed rgba(230, 57, 70, 0.4);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.direct-call-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.direct-call-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.direct-call-text a {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-heading);
}

.direct-call-text a:hover {
  color: var(--primary);
}

.quote-form-side {
  padding: 3.5rem 3rem;
}

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

.form-submit-row {
  margin-top: 1.5rem;
}

.form-status-msg {
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 1rem;
  display: none;
}

.form-status-msg.success {
  display: block;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.form-status-msg.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* ==========================================================================
   Reviews / Testimonials
   ========================================================================== */
.reviews-section {
  padding: 6rem 0;
  background: var(--bg-dark);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

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

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.2rem;
}

.review-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

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

/* ==========================================================================
   Location & Contact Map Section
   ========================================================================== */
.contact-section {
  padding: 6rem 0;
  background: var(--bg-darker);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(230, 57, 70, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-card-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.contact-card-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-card-content a {
  color: #fff;
  font-weight: 600;
}

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

.map-container {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 420px;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #06070a;
  border-top: 1px solid var(--border-light);
  padding: 5rem 0 2rem 0;
  position: relative;
}

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

.footer-about p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 1.25rem 0 1.5rem 0;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.newsletter-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.88rem;
  flex: 1;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

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

/* ==========================================================================
   Modals & Floating Elements
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

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

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--primary);
}

/* Floating Action Trigger */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.float-call {
  background: linear-gradient(135deg, var(--primary) 0%, #a81c27 100%);
}

.float-call:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px var(--primary-glow);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: #0f131a;
  z-index: 1500;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: var(--transition);
  border-left: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.drawer-link:hover, .drawer-link.active {
  color: var(--primary);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 2100;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  padding: 1rem 1.5rem;
  background: #161b26;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: #fff;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: slideInLeft 0.3s ease;
}

.toast.toast-success {
  border-left: 4px solid #22c55e;
}

.toast.toast-error {
  border-left: 4px solid var(--primary);
}

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1240px) {
  .nav-container {
    gap: 0.85rem;
  }
  .nav-menu {
    gap: 0.85rem;
  }
  .nav-link {
    font-size: 0.86rem;
  }
  .brand-logo-img {
    height: 44px;
    width: auto;
    max-width: 190px;
  }
  .nav-phone-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.82rem;
  }
  .nav-actions .btn {
    padding: 0.55rem 1rem;
    font-size: 0.86rem;
  }
}

@media (max-width: 1024px) {
  .nav-menu, .nav-actions .nav-phone-btn {
    display: none;
  }
  
  .nav-toggle {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .quote-wrapper {
    grid-template-columns: 1fr;
  }
  
  .quote-info-side::after {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row-2, .form-grid-2 {
    grid-template-columns: 1fr;
  }
  
  .hero-trust-bar {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
