/* =================================================
   APILADORES ELÉCTRICOS — SERVICE PAGE
   Mismo sistema visual que los demás servicios
   ================================================= */


/* =================================================
   CONTENEDOR GENERAL
   ================================================= */

.service-page {
  background: #111;
  color: white;
  overflow-x: hidden;
}



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

.service-hero-apiladores {
  position: relative;

  height: 70vh;
  min-height: 520px;

  display: flex;
  align-items: center;

  background-image: url("../images/apiladores-bg.jpg"); /* tu foto */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  overflow: hidden;
}



/* overlay industrial */
.service-hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(0,0,0,.9) 0%,
    rgba(0,0,0,.75) 40%,
    rgba(0,0,0,.45) 70%,
    rgba(0,0,0,.15) 100%
  );
}



/* contenido texto */
.service-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}



/* =================================================
   TITULO
   ================================================= */

.service-hero h1 {
  font-family: 'bebas_regular', sans-serif;
  font-size: 78px;
  letter-spacing: 2px;

  margin-bottom: 18px;

  text-shadow:
    0 6px 18px rgba(0,0,0,.9),
    0 3px 8px rgba(0,0,0,.8);
}

.service-hero span {
  color: var(--primary);
}



/* =================================================
   TEXTO
   ================================================= */

.service-lead {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: .95;
}



/* =================================================
   BOTÓN
   ================================================= */

.service-cta {
  display: inline-block;

  background: var(--primary);
  color: white;

  padding: 15px 34px;
  border-radius: 6px;

  font-family: 'bebas_regular', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;

  text-decoration: none;

  transition: .25s ease;
}

.service-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.5);
}



/* =================================================
   CONTENIDO
   ================================================= */

.service-content {
  padding: 90px 0 110px;
}



/* =================================================
   GRID
   ================================================= */

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}



/* =================================================
   CARD
   ================================================= */

.service-card {
  background: #1c1c1c;

  padding: 32px;

  border-radius: 8px;

  border: 1px solid rgba(255,255,255,.05);

  text-align: center;

  transition: .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  background: #222;
  box-shadow: 0 15px 35px rgba(0,0,0,.55);
}

.service-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  opacity: .85;
}



/* =================================================
   ICONO
   ================================================= */

.service-icon {
  width: 90px;
  margin-bottom: 18px;

  filter: drop-shadow(0 10px 14px rgba(0,0,0,.6));

  transition: .25s;
}

.service-card:hover .service-icon {
  transform: scale(1.08);
}



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

@media (max-width: 900px) {

  .service-hero-apiladores {
    height: 60vh;
    min-height: 420px;
    text-align: center;
  }

  .service-hero h1 {
    font-size: 44px;
  }

  .service-lead {
    font-size: 16px;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .service-content {
    padding: 70px 0 90px;
  }

}
