/* ============================= */
/* SERVICIOS - ESTILO COMPLETO */
/* ============================= */

/* CARD BASE */
.nuvoll-servicios-home .gsc-icon-box-classic {
  position: relative;
  border: 1px solid #dcdcdc;
  background: #fff;
  padding: 10px 30px 30px 30px;
  transition: all 0.3s ease;
  height: 100%;
  min-height:235px;
}

/* ESQUINAS TIPO MARCO */
.nuvoll-servicios-home .gsc-icon-box-classic::before,
.nuvoll-servicios-home .gsc-icon-box-classic::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border-style: solid;
  border-color: #dcdcdc;
  transition: all 0.3s ease;
}

.nuvoll-servicios-home .gsc-icon-box-classic::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.nuvoll-servicios-home .gsc-icon-box-classic::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

/* ICONO SOBRE EL BORDE */
.nuvoll-servicios-home .highlight-icon {
  position: absolute;
  top: -32px;
  left: 30px;
  background: #fff;
  padding: 8px 14px;
  z-index: 2;
}

/* ICONO GRANDE */
.nuvoll-servicios-home .highlight-icon i {
  font-size: 40px;
  color: #bfbfbf;
  transition: all 0.3s ease;
}

/* TITULO AL LADO DEL ICONO */
.nuvoll-servicios-home .gsc-icon-box-classic .highlight_content .title {
  font-size: 30px;
  font-weight: 600;
  margin-left: 80px;
  margin-bottom: 15px;
  color: #6b6b6b;
  transition: all 0.3s ease;
}

/* DESCRIPCION */
.nuvoll-servicios-home .desc {
  font-size: 20px;
  color: #7a7a7a;
  line-height: 1.6;
}

/* ============================= */
/* HOVER EFFECT */
/* ============================= */

.nuvoll-servicios-home .gsc-icon-box-classic:hover {
  border-color: #00bfff;
}

.nuvoll-servicios-home .gsc-icon-box-classic:hover::before,
.nuvoll-servicios-home .gsc-icon-box-classic:hover::after {
  border-color: #00bfff;
}

.nuvoll-servicios-home .gsc-icon-box-classic:hover .title {
  color: #e53935; /* rojo */
}

.nuvoll-servicios-home .gsc-icon-box-classic:hover .highlight-icon i {
  color: #00bfff;
}

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

@media (max-width: 991px) {

  .nuvoll-servicios-home .highlight-icon {
    left: 20px;
  }

  .nuvoll-servicios-home .title {
    margin-left: 70px;
  }

}

.servicios-wrapper {
  display: flex;
  flex-direction: row;
  gap: 50px;
  align-items: center;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Grilla de Iconos */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  min-width: 320px;
}

.icono-item {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  max-width: 250px;
}

/* Intercambio de imágenes */
.icono-item .img-color { display: none; width: 100%; height: auto; }
.icono-item .img-gris { display: block; width: 100%; height: auto; }

.icono-item.active .img-color { display: block; }
.icono-item.active .img-gris { display: none; }

.icono-item:hover { transform: translateY(-5px); }

/* Textos */
.servicios-info { flex: 1; min-height: 250px; }
.servicio-txt { display: none; animation: fadeIn 0.6s ease forwards; }
.servicio-txt.active { display: block; }

.servicio-txt h2 { font-size: 2.5rem; color: #333; margin-bottom: 15px; }
.servicio-txt h2 span { color: #007bff; /* Cambia al color de tu marca */ }
.servicio-txt p { font-size: 1.1rem; color: #666; line-height: 1.6; }

.btn-mas {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 30px;
  background-color: #e60000; /* Rojo según tu imagen */
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(230,0,0,0.3);
}

/* RESPONSIVE: Para tablets y celulares */
@media (max-width: 768px) {
  .servicios-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .servicios-grid {
    grid-template-columns: repeat(2, 130px);
    justify-content: center;
  }
  .servicio-txt h2 { font-size: 1.8rem; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}





/*********************************************************/
/*** Servicios home***********/
    * { box-sizing: border-box; margin: 0; padding: 0; }

   

    /* ── GRID PRINCIPAL ── */
    .services-block {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
     
      width: 100%;
    }

    /* ── TARJETA ── */
    .service-card {
      background: #ffffff;
      border-radius: 12px;
      padding: 20px 18px 42px 18px;
      position: relative;
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      gap: 14px;
      cursor: pointer;
      transition: box-shadow 0.22s ease, transform 0.22s ease;
      box-shadow: 0 2px 10px rgba(0,0,0,0.08);
      text-decoration: none;
    }

    .service-card:hover {
      box-shadow: 0 8px 28px rgba(0,0,0,0.13);
      transform: translateY(-2px);
    }

    /* ── ICONO: simplemente cambia el src="..." de cada img ── */
    .service-icon {
      flex-shrink: 0;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: flex-start;
    }

    .service-icon img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }

    /* ── TEXTO ── */
    .service-text {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

    .service-title {
      font-size: 26px;
      font-weight: 700;
      color: #1a1a1a;
      line-height: 1.3;
    }

    .service-title .red { color: #d90429; }

    .service-desc {
      font-size: 16px;
      color: #888;
      line-height: 1.5;
    }

    /* ── FLECHA ↗ roja simple ── */
    .service-arrow {
      position: absolute;
      bottom: 0px;
      right: 0px;
      font-size: 20px;
      color: #d90429;
      line-height: 1;
      transition: transform 0.2s ease;
      background: #d3191d2b;
    padding: 10px 10px 10px 10px;
    border-radius: 10px 0px 10px 0px;
    }

    .service-card:hover .service-arrow {
      transform: translate(2px, -2px);
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 680px) {
      .services-block { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 420px) {
      .services-block { grid-template-columns: 1fr; }
    }
    
    
