/* Japanese Auto Specialist - Custom Bootstrap Theme */
/* Корпоративный и строгий стиль с белым/угольным фоном и красными акцентами */

/* Color Variables - Japanese Auto Specialist Brand Colors */
:root {
  --japanese-red: #DC143C;
  --japanese-red-dark: #B71C1C;
  --japanese-red-light: #FF5252;
  --charcoal: #2C2C2C;
  --charcoal-light: #4A4A4A;
  --charcoal-dark: #1A1A1A;
  --steel-gray: #6C757D;
  --light-gray: #F8F9FA;
  --accent-metallic: #B8B8B8;
  --neon-red: #FF1744;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F9FA;
  --text-primary: #212529;
  --text-secondary: #6C757D;
}

/* Global Styles - Mobile First */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Typography - Japanese Auto Specialist Style */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

h5 {
  font-size: 1.25rem;
  font-weight: 600;
}

h6 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Button Styles - Corporate Japanese Auto Style */
.btn-primary {
  background: linear-gradient(135deg, var(--japanese-red) 0%, var(--japanese-red-dark) 100%);
  border: 2px solid var(--japanese-red);
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
  white-space: normal;
  min-width: 140px;
  max-width: 100%;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.9rem;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--neon-red) 0%, var(--japanese-red) 100%);
  border-color: var(--neon-red);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--charcoal);
  color: var(--charcoal);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  white-space: normal;
  min-width: 140px;
  max-width: 100%;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.9rem;
}

.btn-secondary:hover {
  background: var(--charcoal);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(44, 44, 44, 0.3);
}

.hero-section .btn-secondary,
.contact-section .btn-secondary 
{
  color: white;
  border: 2px solid white;
}

.btn-outline-danger {
  background: transparent;
  border: 2px solid var(--japanese-red);
  color: var(--japanese-red);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  white-space: normal;
  min-width: 140px;
  max-width: 100%;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.9rem;
}

.btn-outline-danger:hover {
  background: var(--japanese-red);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

/* Header Styles - Identical on all pages */
.brake-header {
  background: var(--bg-primary);
  box-shadow: 0 2px 20px rgba(44, 44, 44, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: all 0.3s ease;
}

.brake-nav {
  padding: 1rem 0;
}

.brand-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--charcoal);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.brand-logo .logo-icon {
  color: var(--japanese-red);
  font-size: 1.75rem;
}

.brand-logo:hover {
  color: var(--japanese-red);
}

.navbar-nav .nav-link {
  color: var(--text-primary);
  font-weight: 600;
  padding: 0.75rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

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

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--japanese-red);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* Mobile Menu */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--charcoal);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle:hover {
  color: var(--japanese-red);
  background: rgba(220, 20, 60, 0.1);
}

.mobile-menu {
  background: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(44, 44, 44, 0.15);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.mobile-menu .nav-link {
  color: var(--text-primary);
  font-weight: 600;
  padding: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
  display: block;
  min-height: 44px;
  line-height: 1.4;
}

.mobile-menu .nav-link:hover {
  color: var(--japanese-red);
  background: rgba(220, 20, 60, 0.05);
}

.mobile-menu .nav-link:last-child {
  border-bottom: none;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-dark) 100%);
  color: white;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 44, 44, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 100%;
}

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

.hero-buttons .btn {
  flex: 1;
  min-width: 120px;
  max-width: 200px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--japanese-red);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Service Cards */
.service-card {
  background: var(--bg-primary);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(44, 44, 44, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  height: 100%;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(44, 44, 44, 0.15);
  border-color: var(--japanese-red);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--japanese-red) 0%, var(--japanese-red-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--charcoal);
}

.service-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.9rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--japanese-red);
  margin-bottom: 1rem;
}

/* About Section */
.about-section {
  background: var(--bg-secondary);
  padding: 3rem 0;
}

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

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(44, 44, 44, 0.15);
}

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

.about-text h2 {
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--japanese-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.feature-text {
  font-weight: 600;
  color: var(--charcoal);
  font-size: 0.9rem;
}

/* Testimonials */
.testimonial-card {
  background: var(--bg-primary);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(44, 44, 44, 0.1);
  border-left: 4px solid var(--japanese-red);
  margin-bottom: 2rem;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--japanese-red);
  flex-shrink: 0;
}

.author-info h4 {
  margin: 0;
  color: var(--charcoal);
  font-size: 1rem;
}

.author-info p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
  background: var(--charcoal);
  color: white;
  padding: 3rem 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-info h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--japanese-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-text h4 {
  margin: 0;
  color: white;
  font-size: 1rem;
}

.contact-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Forms */
.brake-form {
  background: var(--bg-primary);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(44, 44, 44, 0.15);
}

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

.form-label {
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 44px;
}

.form-control:focus {
  outline: none;
  border-color: var(--japanese-red);
  box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

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

/* Footer - Identical on all pages */
.brake-footer {
  background: var(--charcoal-dark);
  color: white;
  padding: 2rem 0 1.5rem;
}

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

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-section a:hover {
  color: var(--japanese-red);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--charcoal-light);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* Cookie Consent Banner - Identical on all pages - MOBILE FIXED */
.cookie-consent-banner {
  position: fixed;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: var(--charcoal);
  color: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(44, 44, 44, 0.3);
  z-index: 1050;
  max-width: calc(100vw - 20px);
  border: 2px solid var(--japanese-red);
  overflow: hidden;
}

.cookie-consent-content h4 {
  color: white;
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
}

.cookie-consent-content p {
  margin: 0 0 1rem 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-consent-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.cookie-consent-buttons .btn {
  flex: 1;
  min-width: 100px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  min-height: 44px;
}

.cookie-consent-buttons .btn-secondary {
  background: var(--charcoal);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(44, 44, 44, 0.3);
}

.cookie-consent-links {
  margin-top: 0.75rem;
  font-size: 0.75rem;
}

.cookie-consent-links a {
  color: var(--japanese-red);
  text-decoration: none;
}

.cookie-consent-links a:hover {
  text-decoration: underline;
}

/* Gallery Styles - For brake-service-gallery.html */
.gallery-categories {
  margin-bottom: 2rem;
}

.category-card {
  background: var(--bg-primary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(44, 44, 44, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  height: 100%;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(44, 44, 44, 0.15);
  border-color: var(--japanese-red);
}

.category-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.category-card:hover .category-image img {
  transform: scale(1.05);
}

.category-content {
  padding: 1rem;
}

.category-content h4 {
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.category-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.service-count {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--japanese-red);
  background: rgba(220, 20, 60, 0.1);
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  display: inline-block;
}

/* Before & After Gallery */
.before-after-gallery {
  margin-bottom: 2rem;
}

.project-item {
  background: var(--bg-primary);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 30px rgba(44, 44, 44, 0.1);
  border: 1px solid #f0f0f0;
}

.project-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.before-image,
.after-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(44, 44, 44, 0.1);
}

.before-image img,
.after-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.before-image:hover img,
.after-image:hover img {
  transform: scale(1.02);
}

.image-label {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--japanese-red);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 2;
}

.project-details h4 {
  color: var(--charcoal);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.project-details p {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.6;
  font-size: 0.9rem;
}

.project-details strong {
  color: var(--charcoal);
  font-weight: 600;
}

/* Utility Classes - FIXED WITHOUT !important */
.text-japanese-red {
  color: var(--japanese-red);
}

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

.text-charcoal {
  color: var(--charcoal);
}

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

.section-padding {
  padding: 3rem 0;
}

.text-center {
  text-align: center;
}

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fw-bold {
  font-weight: 700;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

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

.pulse {
  animation: pulse 2s infinite;
}

/* Responsive Design - Mobile First */
@media (min-width: 576px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-buttons .btn {
    flex: none;
    min-width: 160px;
  }
  
  .cookie-consent-banner {
    left: 20px;
    right: auto;
    max-width: 400px;
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.75rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .about-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .project-images {
    grid-template-columns: 1fr 1fr;
  }
  
  .brand-logo {
    font-size: 1.75rem;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
  
  .hero-content {
    padding: 100px 0 60px;
  }
}

@media (min-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 1.375rem;
  }
  
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .brand-logo .logo-icon {
    font-size: 2rem;
  }
  
  .service-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .about-text h2 {
    font-size: 2rem;
  }
  
  .service-card {
    padding: 2rem;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
  
  .hero-title {
    font-size: 4.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .service-price {
    font-size: 1.75rem;
  }
}

/* Process Overview Section - Timeline Styles */
.process-timeline {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--japanese-red), var(--japanese-red-light));
  border-radius: 2px;
  z-index: 1;
}

.process-step {
  position: relative;
  margin-bottom: 4rem;
  padding-left: 80px;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--japanese-red) 0%, var(--japanese-red-dark) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 8px 25px rgba(220, 20, 60, 0.3);
  z-index: 2;
  border: 4px solid var(--bg-primary);
  transition: all 0.3s ease;
}

.process-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(220, 20, 60, 0.4);
}

.step-content {
  background: var(--bg-primary);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(44, 44, 44, 0.1);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--japanese-red) 0%, var(--japanese-red-light) 100%);
}

.process-step:hover .step-content {
  transform: translateY(-8px);
  box-shadow: 0 15px 45px rgba(44, 44, 44, 0.15);
  border-color: var(--japanese-red);
}

.step-title {
  color: var(--charcoal);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.step-image {
  margin: 1.5rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(44, 44, 44, 0.15);
  position: relative;
}

.step-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.process-step:hover .step-image img {
  transform: scale(1.02);
}

.step-description {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.step-details {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 1.5rem;
  border-left: 4px solid var(--japanese-red);
}

.step-details h5 {
  color: var(--charcoal);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-details li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.step-details li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--japanese-red);
  font-weight: 700;
  font-size: 1rem;
}

.step-details li:last-child {
  margin-bottom: 0;
}

/* Responsive Design for Process Timeline */
@media (max-width: 767px) {
  .process-timeline::before {
    left: 20px;
  }
  
  .process-step {
    padding-left: 60px;
    margin-bottom: 3rem;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
  }
  
  .step-content {
    padding: 1.5rem;
  }
  
  .step-title {
    font-size: 1.25rem;
  }
  
  .step-image img {
    height: 150px;
  }
  
  .step-details {
    padding: 1rem;
  }
  
  .step-details h5 {
    font-size: 1rem;
  }
  
  .step-details li {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .step-image img {
    height: 250px;
  }
  
  .process-step:nth-child(even) .step-content {
    margin-left: 0;
  }
  
  .process-step:nth-child(odd) .step-content {
    margin-right: 0;
  }
}

@media (min-width: 992px) {
  .step-image img {
    height: 280px;
  }
  
  .step-content {
    padding: 2.5rem;
  }
  
  .step-title {
    font-size: 1.75rem;
  }
}

/* Emergency Process Section - Specific Styles for Response Process */
.emergency-process {
  position: relative;
  margin-top: 2rem;
}

.emergency-process::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--japanese-red) 0%, var(--japanese-red-light) 100%);
  border-radius: 2px;
  z-index: 1;
}

.process-step {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 80px;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--japanese-red) 0%, var(--japanese-red-dark) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 8px 25px rgba(220, 20, 60, 0.3);
  z-index: 2;
  border: 4px solid var(--bg-primary);
  transition: all 0.3s ease;
}

.process-step:hover .step-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(220, 20, 60, 0.4);
}

.step-content {
  background: var(--bg-primary);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(44, 44, 44, 0.1);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--japanese-red) 0%, var(--japanese-red-light) 100%);
}

.process-step:hover .step-content {
  transform: translateY(-8px);
  box-shadow: 0 15px 45px rgba(44, 44, 44, 0.15);
  border-color: var(--japanese-red);
}

.step-content h5 {
  color: var(--charcoal);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
  font-weight: 400;
}

/* Emergency-specific emergency features styling */
.emergency-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.emergency-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.emergency-feature::before {
  content: '⚡';
  font-size: 1rem;
  flex-shrink: 0;
}

/* Emergency notice styling */
.emergency-notice {
  background: linear-gradient(135deg, #FFF3E0 0%, #FFECB3 100%);
  border: 2px solid var(--japanese-red);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.emergency-notice::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--japanese-red);
}

.emergency-notice h4 {
  color: var(--japanese-red);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.emergency-notice p {
  color: var(--charcoal);
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Service coverage cards */
.service-coverage-card {
  background: var(--bg-primary);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(44, 44, 44, 0.1);
  border: 1px solid #f0f0f0;
  height: 100%;
  transition: all 0.3s ease;
}

.service-coverage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(44, 44, 44, 0.15);
  border-color: var(--japanese-red);
}

.service-coverage-card h4 {
  color: var(--charcoal);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.coverage-areas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.coverage-item {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  padding-left: 1rem;
  position: relative;
}

.coverage-item::before {
  content: '📍';
  position: absolute;
  left: 0;
  top: 0;
}

/* Emergency guarantee section */
.emergency-guarantee {
  background: var(--bg-primary);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(44, 44, 44, 0.1);
  border: 1px solid #f0f0f0;
}

.emergency-guarantee h4 {
  color: var(--charcoal);
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

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

.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 12px;
  border-left: 4px solid var(--japanese-red);
  transition: all 0.3s ease;
}

.guarantee-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(44, 44, 44, 0.1);
}

.guarantee-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.guarantee-item h6 {
  color: var(--charcoal);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.guarantee-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Emergency contact info styling */
.emergency-contact-info {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.emergency-contact-info h3 {
  color: var(--japanese-red);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.phone-number {
  margin: 1.5rem 0;
}

.phone-number .btn {
  font-size: 1.25rem;
  padding: 1rem 2rem;
  font-weight: 800;
  min-width: 200px;
}

.emergency-contact-info p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.emergency-contact-info p:last-child {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Mobile Responsive for Emergency Process */
@media (max-width: 767px) {
  .emergency-process::before {
    left: 20px;
  }
  
  .process-step {
    padding-left: 60px;
    margin-bottom: 2.5rem;
  }
  
  .step-icon {
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
  }
  
  .step-content {
    padding: 1.5rem;
  }
  
  .step-content h5 {
    font-size: 1.25rem;
  }
  
  .emergency-notice {
    padding: 1.5rem;
  }
  
  .emergency-notice h4 {
    font-size: 1.25rem;
  }
  
  .emergency-notice p {
    font-size: 1rem;
  }
  
  .service-coverage-card {
    padding: 1.5rem;
  }
  
  .guarantee-items {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .guarantee-item {
    padding: 1rem;
  }
  
  .emergency-contact-info {
    padding: 1.5rem;
  }
  
  .emergency-contact-info h3 {
    font-size: 1.5rem;
  }
  
  .phone-number .btn {
    font-size: 1.125rem;
    padding: 0.875rem 1.5rem;
  }
}

@media (min-width: 768px) {
  .step-content {
    padding: 2.5rem;
  }
  
  .step-content h5 {
    font-size: 1.75rem;
  }
  
  .guarantee-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .step-content {
    padding: 3rem;
  }
  
  .emergency-process::before {
    left: 35px;
  }
  
  .process-step {
    padding-left: 90px;
  }
  
  .step-icon {
    width: 70px;
    height: 70px;
    font-size: 1.75rem;
  }
}

/* Print Styles */
@media print {
  .brake-header,
  .brake-footer,
  .cookie-consent-banner {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
}