/* ============================================
   SERVICIOS - ESTILOS ESPECÍFICOS
   ============================================ */

/* Breadcrumb */
.breadcrumb {
  background-color: #f8f9fa;
  padding: 1rem 0;
  border-bottom: 1px solid #dee2e6;
}

.breadcrumb a {
  color: var(--brand-red);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--brand-orange);
}

.breadcrumb .separator {
  margin: 0 0.5rem;
  color: #6c757d;
}

.breadcrumb .current {
  color: #495057;
}

/* Hero Banner de Página */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--brand-red);
}

.page-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(227, 6, 19, 0.95) 0%, rgba(234, 91, 12, 0.7) 50%, rgba(227, 6, 19, 0.4) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 900px;
  width: 100%;
  padding: 3rem 2rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
}

.page-hero-subtitle {
  font-size: clamp(1.9rem, 2vw, 1.7rem);
  line-height: 1.6;
  font-weight: 500;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  max-width: 750px;
  margin: 0 auto;
}

/* Introducción de Servicios */
.services-intro {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--brand-red);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.intro-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(227, 6, 19, 0.2);
}

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--brand-red);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Servicios Detallados */
.detailed-services {
  padding: 5rem 0;
  background-color: white;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  color: var(--brand-red);
  margin-bottom: 4rem;
  letter-spacing: 1px;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  margin-bottom: 3rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.service-detail:hover {
  box-shadow: 0 8px 20px rgba(227, 6, 19, 0.15);
  transform: translateY(-3px);
}

/* Imagen a la izquierda (50%) */
.service-image {
  background: linear-gradient(135deg, var(--brand-red), var(--brand-orange));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  height: 100%;
}

.service-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.service-image-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Información a la derecha (50%) */
.service-info {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-detail-header {
  margin-bottom: 2rem;
}

.service-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: #212529;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  line-height: 1.2;
}

.service-description {
  font-size: 1.05rem;
  color: #495057;
  line-height: 1.7;
}

.service-detail-body {
  flex: 1;
}

.service-features {
  margin-bottom: 2rem;
}

.service-features h4,
.service-benefits h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: #212529;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.service-features ul {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.65rem 0;
  padding-left: 1.75rem;
  position: relative;
  border-bottom: 1px solid #f1f3f5;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #495057;
}

.service-features li:last-child {
  border-bottom: none;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-red);
  font-weight: bold;
  font-size: 1.1rem;
}

.service-benefits {
  margin-bottom: 2rem;
}

.benefits-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.benefit-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-orange));
  color: #212529;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: var(--brand-red);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.125rem;
  letter-spacing: 1px;
  display: inline-block;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.btn-primary:hover {
  background: var(--brand-orange);
  transform: translateX(5px);
  box-shadow: 0 4px 10px rgba(227, 6, 19, 0.3);
}

/* Proceso de Trabajo */
.work-process {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(227, 6, 19, 0.15);
}

.step-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  color: var(--brand-red);
  opacity: 0.2;
  margin-bottom: 1rem;
  line-height: 1;
}

.step-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: #212529;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.step-description {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.6;
}

/* Industrias */
.industries {
  padding: 5rem 0;
  background-color: white;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.industry-card {
  background: #f8f9fa;
  padding: 2.5rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.industry-card:hover {
  background: white;
  border-color: var(--brand-red);
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(227, 6, 19, 0.15);
}

.industry-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.industry-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  color: #212529;
  letter-spacing: 0.5px;
}

/* CTA Final */
.cta-final {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-orange) 100%);
  color: white;
  text-align: center;
}

.cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.cta-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 2.5rem;
  font-weight: 300;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline-light:hover {
  background: white;
  color: var(--brand-red);
}

/* Responsive */
@media (max-width: 768px) {
  .page-hero {
    min-height: 40vh;
  }
  
  .page-hero-content {
    padding: 1.5rem;
  }
  
  .services-intro,
  .detailed-services,
  .work-process,
  .industries,
  .cta-final {
    padding: 3rem 0;
  }
  
  .service-detail {
    grid-template-columns: 1fr;
  }
  
  .service-image {
    min-height: 300px;
  }
  
  .service-info {
    padding: 2rem;
  }
  
  .service-title {
    font-size: 1.8rem;
  }
  
  .stats-grid,
  .process-timeline,
  .industries-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-large {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .breadcrumb {
    font-size: 0.9rem;
  }
  
  .service-image {
    min-height: 250px;
    padding: 2rem;
  }
  
  .service-info {
    padding: 1.5rem;
  }
  
  .service-title {
    font-size: 1.5rem;
  }
  
  .service-features li {
    font-size: 0.9rem;
  }
  
  .benefits-tags {
    justify-content: center;
  }
  
  .benefit-tag {
    font-size: 0.8rem;
  }
}
