/**
 * REPUESTOS.CSS
 * Estilos específicos para la página "Repuestos"
 * Diseño Minimalista & Smart
 */

/* ============================================
   HERO SECTION
   ============================================ */

.repuestos-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/recursos/imagenes/banners/hero-1.jpg');
  background-size: cover;
  background-position: center;
  padding: 160px 0 100px;
  position: relative;
  color: var(--color-white, #ffffff);
  text-align: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-badge .material-icons {
  font-size: 16px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

/* ============================================
   SECTIONS & LAYOUT
   ============================================ */

.repuestos-section {
  padding: 100px 0;
}

.section--primary {
  background: #ffffff;
}

.section--gray {
  background: #f8f9fa;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.section-badge {
  display: inline-block;
  padding: 4px 12px;
  background: transparent;
  color: var(--color-akt-red, #E20613);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  border: 1px solid rgba(226, 6, 19, 0.2);
  border-radius: 4px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

/* ============================================
   CARDS (Minimalist)
   ============================================ */

.beneficios-grid,
.categorias-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.beneficio-card,
.categoria-card {
  background: transparent;
  padding: 32px;
  border-radius: 12px;
  text-align: left;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.beneficio-card:hover,
.categoria-card:hover {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.05);
  transform: translateY(-5px);
}

.beneficio-icon,
.categoria-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: transparent;
  padding: 0;
}

/* Colors for icons */
.beneficio-icon { color: var(--color-akt-blue, #004F9E); }
.categoria-icon { color: var(--color-akt-red, #E20613); }

.beneficio-icon .material-icons,
.categoria-icon .material-icons {
  font-size: 32px;
}

.beneficio-title,
.categoria-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.beneficio-description,
.categoria-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #666;
}

/* ============================================
   PROCESO TIMELINE (Minimalist)
   ============================================ */

.proceso-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.proceso-timeline::before {
  content: '';
  position: absolute;
  left: 24px; /* Align with center of number */
  top: 0;
  bottom: 0;
  width: 2px;
  background: #f0f0f0;
  z-index: 0;
}

.proceso-step {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

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

.step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: #ffffff;
  color: var(--color-akt-blue, #004F9E);
  border: 2px solid var(--color-akt-blue, #004F9E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 0 0 8px #ffffff; /* Space around circle */
}

.step-content {
  padding-top: 8px;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.step-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

/* ============================================
   CONTACTO
   ============================================ */

.section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contacto-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  padding: 20px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #f0f0f0;
  transition: transform 0.2s ease;
}

.contacto-item:hover {
  transform: translateY(-2px);
  border-color: var(--color-akt-blue, #004F9E);
}

.contacto-item .material-icons {
  color: var(--color-akt-blue, #004F9E);
  font-size: 24px;
}

.contacto-item strong {
  display: block;
  color: #1a1a1a;
  font-weight: 600;
  margin-bottom: 4px;
}

.contacto-item p {
  color: #555555;
  margin: 0;
}

.contacto-item a {
  color: inherit;
  text-decoration: none;
}

.image-placeholder {
  background: #f0f0f0;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .repuestos-hero {
    padding: 120px 0 80px;
  }
  
  .section-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .proceso-timeline::before {
    left: 20px;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1rem;
  }
  
  .proceso-step {
    gap: 20px;
  }
  
  .contacto-item {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}
