/* ============================================================
   REPARACION.CSS — Página de servicio: Reparación
   Depende de: estilos.css + clases compartidas de instalacion.css

   00. HERO (override imagen)
   01. FALLAS COMUNES
   02. PROCESO (reutiliza clases de instalacion.css)
   03. EQUIPOS (reutiliza clases de instalacion.css)
   04. CTA BAND (reutiliza clases de instalacion.css)
   05. FAQ (reutiliza clases de instalacion.css)
   06. OVERRIDES CONTACTO
   07. NAV ACTIVE STATE
   08. RESPONSIVE
   ============================================================ */


/* ============================================================
   00. HERO — override imagen de fondo
   ============================================================ */

.srv-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 80px 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  animation: heroZoom 12s ease-in-out infinite alternate;
}

.srv-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at left,
    rgba(0, 188, 212, 0.55),
    transparent 55%
  );
  z-index: 1;
  pointer-events: none;
}

.rep-hero {
  background-image:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.75) 40%,
      rgba(0, 0, 0, 0.3) 70%,
      rgba(0, 0, 0, 0.05) 100%
    ),
    url("../img/reparacion-hero.webp");
}

.srv-hero-content {
  max-width: 620px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.srv-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.srv-breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.srv-breadcrumb a:hover { color: #00e5ff; }

.srv-breadcrumb-current {
  color: #00e5ff;
  font-weight: 600;
}

.srv-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #00e5ff;
  margin: 0;
}

.srv-hero h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin: 0;
  animation: fadeUp 0.8s ease-out both;
}

.srv-hero-desc {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  opacity: 0.85;
  margin: 0;
  animation: fadeUp 0.8s ease-out 0.15s both;
}

.srv-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  animation: fadeUp 0.8s ease-out 0.25s both;
}

.badge {
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: #00e5ff;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.srv-hero-cta {
  align-self: flex-start;
  animation: fadeUp 0.8s ease-out 0.35s both;
}


/* ============================================================
   01. FALLAS COMUNES
   ============================================================ */

.rep-fallas {
  padding: 100px 80px;
  background: #111824;
  text-align: center;
}

.fallas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.falla-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 28px;
  transition: 0.3s;
}

.falla-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.1);
}

.falla-icono {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.falla-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin: 0 0 10px;
}

.falla-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 0;
}


/* ============================================================
   02. PROCESO — reutiliza estilos de instalacion.css
   ============================================================ */

.srv-proceso {
  padding: 100px 80px;
  background: #0d131c;
  text-align: center;
}

.proceso-steps {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.proceso-step {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.proceso-connector {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(0, 229, 255, 0.5), rgba(0, 229, 255, 0.15));
  margin-left: 29px;
}

.paso-numero {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(0, 229, 255, 0.5);
  background: rgba(0, 229, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #00e5ff;
  transition: 0.3s;
}

.proceso-step:hover .paso-numero {
  background: rgba(0, 229, 255, 0.18);
  border-color: #00e5ff;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
}

.paso-content {
  padding-top: 12px;
  padding-bottom: 8px;
}

.paso-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin: 0 0 8px;
}

.paso-content p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin: 0;
}


/* ============================================================
   03. EQUIPOS
   ============================================================ */

.srv-equipos {
  padding: 100px 80px;
  background: #111824;
  text-align: center;
}

.srv-equipos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  text-align: left;
}

.srv-equipos-grid .srv-equipo-card:nth-child(1) { grid-column: 1 / 3; }
.srv-equipos-grid .srv-equipo-card:nth-child(2) { grid-column: 3 / 5; }
.srv-equipos-grid .srv-equipo-card:nth-child(3) { grid-column: 5 / 7; }
.srv-equipos-grid .srv-equipo-card:nth-child(4) { grid-column: 2 / 4; }
.srv-equipos-grid .srv-equipo-card:nth-child(5) { grid-column: 4 / 6; }

.srv-equipo-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s;
}

.srv-equipo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.12);
}

.srv-equipo-img {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.srv-equipo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.srv-equipo-card:nth-child(1) .srv-equipo-img img { object-position: center bottom; }
.srv-equipo-card:nth-child(2) .srv-equipo-img img { object-position: center bottom; }
.srv-equipo-card:nth-child(3) .srv-equipo-img img { object-position: center top; }
.srv-equipo-card:nth-child(1) .srv-equipo-img img {
  object-position: center bottom;
  transform: scale(0.98);
}
  
.srv-equipo-card:hover .srv-equipo-img img {
  transform: scale(1.06);
}

.srv-equipo-body {
  padding: 24px 24px 28px;
}

.srv-equipo-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin: 0 0 10px;
}

.srv-equipo-body > p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  margin: 0 0 16px;
}

.equipo-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.equipo-features li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  padding-left: 16px;
  position: relative;
}

.equipo-features li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #00e5ff;
  font-weight: 700;
}


/* ============================================================
   04. CTA BAND
   ============================================================ */

.srv-cta-band {
  padding: 80px;
  background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
  text-align: center;
}

.srv-cta-band-content {
  max-width: 600px;
  margin: 0 auto;
}

.srv-cta-band h2 {
  font-size: 38px;
  font-weight: 700;
  color: #0a0d12;
  margin-bottom: 14px;
}

.srv-cta-band p {
  font-size: 17px;
  color: rgba(0, 0, 0, 0.75);
  margin-bottom: 32px;
  line-height: 1.6;
}

.srv-cta-band .btn.primary {
  background: #0a0d12;
  color: #00e5ff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.srv-cta-band .btn.primary:hover {
  background: #111824;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}


/* ============================================================
   05. FAQ
   ============================================================ */

.srv-faq {
  padding: 100px 80px;
  background: #0d131c;
  text-align: center;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 0;
  gap: 20px;
  text-align: left;
}

.faq-question span:first-child {
  font-size: 16px;
  font-weight: 600;
  color: white;
  line-height: 1.4;
  transition: color 0.2s;
}

.faq-item:hover .faq-question span:first-child,
.faq-item.open .faq-question span:first-child {
  color: #00e5ff;
}

.faq-icon {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 300;
  color: #00e5ff;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  padding-bottom: 22px;
  margin: 0;
}


/* ============================================================
   06. OVERRIDES CONTACTO
   ============================================================ */

.srv-contact {
  background: #0a0d12 !important;
}


/* ============================================================
   07. LABELS Y TÍTULOS DE SECCIÓN
   ============================================================ */

.srv-section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #00bcd4;
  margin-bottom: 12px;
}

.srv-section-title {
  font-size: 40px;
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 14px;
}

.srv-section-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 580px;
  line-height: 1.7;
  margin: 0 auto 60px;
}


/* ============================================================
   08. NAV ACTIVE STATE
   ============================================================ */

.nav-active {
  color: #00e5ff !important;
  position: relative;
}

.nav-active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #00e5ff;
  border-radius: 2px;
}


/* ============================================================
   09. RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {

  .fallas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .srv-equipos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .srv-equipos-grid .srv-equipo-card:nth-child(n) {
    grid-column: auto;
  }

  .srv-equipos-grid .srv-equipo-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

}

@media (max-width: 768px) {

  .srv-hero {
    padding: 120px 20px 60px;
    min-height: auto;
  }

  .srv-hero h1 {
    font-size: 38px;
    letter-spacing: -0.5px;
  }

  .srv-hero-desc { font-size: 16px; }

  .srv-hero-cta {
    align-self: stretch;
    text-align: center;
    justify-content: center;
  }

  .rep-fallas,
  .srv-proceso,
  .srv-equipos,
  .srv-faq {
    padding: 70px 20px;
  }

  .srv-section-title { font-size: 28px; }

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

  .srv-equipos-grid {
    grid-template-columns: 1fr;
  }

  .srv-equipos-grid .srv-equipo-card:nth-child(n) {
    grid-column: auto;
  }

  .srv-cta-band {
    padding: 60px 20px;
  }

  .srv-cta-band h2 { font-size: 28px; }

  .faq-list { max-width: 100%; }

  .proceso-steps { max-width: 100%; }

}
