  * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Prompt', sans-serif;
      background-color: #fff;
      color: #3F3F3E;
      line-height: 1.6;
      padding-top: 10px;
      overflow-x: hidden;
    }

    .site-header {
      position: sticky;
      top: 0;
      width: 100%;
      background: #fff;
      color: #3F3F3E;
      z-index: 1000;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .container-header {
      max-width: 1200px;
      margin: auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      flex-wrap: wrap;
    }

    .logo {
      height: auto;
      width: auto;
      max-height: 40px;
    }

    nav {
      display: flex;
      gap: 2rem;
    }

    nav a {
      color: #3F3F3E;
      text-decoration: none;
      font-weight: 500;
      position: relative;
      padding: 0.5rem 0;
      transition: color 0.3s ease;
    }

    nav a::after {
      content: '';
      position: absolute;
      width: 0%;
      height: 2px;
      bottom: 0;
      left: 0;
      background: #E40E20;
      transition: width 0.3s ease;
    }

    nav a:hover { color: #E40E20; }
    nav a:hover::after { width: 100%; }

    .menu-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
    }

    .menu-toggle span {
      width: 25px;
      height: 3px;
      background: #3F3F3E;
      border-radius: 3px;
    }

    @media (max-width: 768px) {
      .container-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
      }

      .logo {
        max-width: 160px;
        height: auto;
      }

      .menu-toggle {
        display: flex;
      }

      nav {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        flex-direction: column;
        display: none;
        background: #fff;
        padding: 1rem 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        z-index: 999;
      }

      nav.active {
        display: flex;
      }

      nav a {
        font-size: 1rem;
        padding: 1rem;
        width: 100%;
        text-align: center;
      }
    }

/* redes sociales */
.menu-redes {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.redes-sociales {
  display: flex;
  gap: 1rem;
}

.redes-sociales a {
  color: #3F3F3E;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.redes-sociales a:hover {
  color: #E40E20;
}

@media (max-width: 768px) {
  .menu-redes {
    width: 100%;
    justify-content: space-between;
  }

  .redes-sociales {
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
    order: 3;
  }
}
   /* Enlaces que envuelven bloques no cambian el color al hacer clic */
    a.servicio-link {
      text-decoration: none;
      color: inherit;
    }

    a.servicio-link:visited,
    a.servicio-link:active,
    a.servicio-link:hover {
      color: inherit;
    }

    nav a:hover { color: #E40E20; }
    nav a:hover::after { width: 100%; }

    .menu-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
    }

    .menu-toggle span {
      width: 25px;
      height: 3px;
      background: #3F3F3E;
      border-radius: 3px;
    }

    @media (max-width: 768px) {
      nav {
        position: absolute;
        top: 70px;
        right: 0;
        background: #fff;
        flex-direction: column;
        width: 100%;
        display: none;
        text-align: center;
        padding: 1rem 0;
      }
      nav.active { display: flex; }
      .menu-toggle { display: flex; }
    }

    .hero-slider {
      position: relative;
      width: 100%;
      height: 600px;
      overflow: hidden;
    }

     .slide {
      position: absolute;
      width: 100%;
      height: 600px;
      display: none;
    }

    .slide.active { display: block; animation: fade 1.2s ease-in-out; }

    @keyframes fade {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .slide video, .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .slide-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 4rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 90%;
}

    .slider-dots {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
    }

    .dot {
      width: 15px;
      height: 15px;
      background: white;
      border-radius: 50%;
      cursor: pointer;
      opacity: 0.5;
    }

    .dot.active { opacity: 1; }

 <!-- 🔧 INICIA BLOQUE CSS -->
<style>
  /* --- BLOQUE GENERAL --- */
  .bloque-servicios,
  .bloque-casos,
  .bloque-beneficios {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: auto;
  }

  .titulo-seccion {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
  }

  .titulo-seccion::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #C62828;
    margin: 1rem auto 0;
    border-radius: 2px;
  }

  /* --- BLOQUE SERVICIOS --- */
  .bloque-servicios {
  background: linear-gradient(to bottom, #fdecea, #fff);
  background-size: cover;
  background-blend-mode: overlay;
  color: #3f3f3f;
  padding: 6rem 2rem 4rem; /* <-- más espacio arriba */
}

  /* --- AJUSTE DE GRID PARA DISTRIBUIR 3 Y LUEGO 2 --- */
.servicios-grid, .casos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
  align-items: start;
  max-width: 960px;
  margin: auto;
}

  .servicio-box {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(198, 40, 40, 0.1);
    border-bottom: 4px solid #C62828;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  }

  .servicio-box:hover {
    transform: scale(1.05);
    background: #fdecea;
    box-shadow: 0 12px 24px rgba(198, 40, 40, 0.2);
    border-bottom: 4px solid #8E0000;
  }

  .servicio-box i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #C62828;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .servicio-box h3 {
    color: #8E0000;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .servicio-box p {
    font-size: 1rem;
    color: #3F3F3F;
  }

  /* --- BLOQUE CASOS --- */
  /* --- NUEVO FONDO SUAVE PARA CASOS --- */
.bloque-casos {
  background: #f3f3f3;
  color: #3F3F3F;
}

  .casos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }

  .caso-box {
    background: #fff;
    color: #3F3F3F;
    border-left: 5px solid #C62828;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .caso-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  }

  .caso-box h3 {
    margin-bottom: 1rem;
    color: #C62828;
  }

  /* --- BLOQUE BENEFICIOS --- */
  .bloque-beneficios {
    background: #fdecea;
    color: #3F3F3F;
  }

  .beneficios-lista {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: auto;
  }

  .beneficios-lista li {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    padding: 1rem;
    background: #fff;
    border-left: 5px solid #C62828;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: background 0.3s ease, transform 0.2s ease;
  }

  .beneficios-lista li:hover {
    background: #fff0f0;
    transform: translateX(5px);
  }

  .beneficios-lista i {
    margin-right: 1rem;
    color: #C62828;
    font-size: 1.5rem;
  }

<!-- 🔧 FIN BLOQUE CSS -->

/* --- FORMULARIO DE CONTACTO --- */
.bloque-contacto {
  background: #fff7f7;
  padding: 4rem 2rem;
}

.formulario-contacto {
  background: #fff;
  max-width: 700px;
  margin: auto;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: grid;
  gap: 1.5rem;
}

.formulario-contacto label {
  font-weight: 600;
  color: #C62828;
}

.formulario-contacto input,
.formulario-contacto textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  transition: border-color 0.3s ease;
}

.formulario-contacto input:focus,
.formulario-contacto textarea:focus {
  border-color: #C62828;
  outline: none;
}

.formulario-contacto button {
  background-color: #C62828;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.formulario-contacto button:hover {
  background-color: #a30c1a;
}


.beneficio-item {
  display: flex;
  align-items: center;
  background: #fdecea;
  border-left: 5px solid #C62828;
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* --- BENEFICIOS --- */
.bloque-beneficios-alt {
  background: #fff7f7;
  padding: 6rem 2rem;
  text-align: center;
}

.bloque-beneficios-alt .titulo-seccion {
  font-size: 3rem;
  color: #C62828;
  margin-bottom: 5rem;
  position: relative;
}

.bloque-beneficios-alt .titulo-seccion::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #C62828;
  margin: 1rem auto 0;
  border-radius: 2px;
}

.beneficio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 5rem;
  flex-wrap: wrap;
}

.beneficio.reverso {
  flex-direction: row-reverse;
}

.beneficio img {
  width: 50%;
  max-width: 600px;
  border-radius: 1rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.beneficio-texto {
  font-size: 2rem;
  color: #3F3F3E;
  flex: 1;
  text-align: center;
  font-weight: 600;
  padding: 2rem;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  max-width: 600px;
}

@media (max-width: 768px) {
  .beneficio {
    flex-direction: column !important;
  }

  .beneficio img {
    width: 90%;
  }

  .beneficio-texto {
    font-size: 1.4rem;
  }
}

/* --- FOOTER ACTUALIZADO --- */
footer {
  background: #E40E20;
  color: #ffffff;
  padding: 2rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
}

footer p {
  margin: 0.3rem 0;
}

/* --- BOTÓN WHATSAPP --- */
.whatsapp-floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  padding: 12px 18px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  text-decoration: none;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease;
}

.whatsapp-floating:hover {
  transform: scale(1.05);
}

.bloque-contacto {
  background: #fff7f7;
  padding: 4rem 2rem;
}

.formulario-contacto {
  background: #fff;
  max-width: 700px;
  margin: auto;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: grid;
  gap: 1.5rem;
}

.formulario-contacto label {
  font-weight: 600;
  color: #C62828;
}

.formulario-contacto input,
.formulario-contacto textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  transition: border-color 0.3s ease;
}

.formulario-contacto input:focus,
.formulario-contacto textarea:focus {
  border-color: #C62828;
  outline: none;
}

.formulario-contacto button {
  background-color: #C62828;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.formulario-contacto button:hover {
  background-color: #a30c1a;
}

.boton-whatsapp-contacto {
  background-color: #25D366;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  display: inline-block;
  margin-top: 1rem;
  text-align: center;
  transition: background-color 0.3s ease;
}

.boton-whatsapp-contacto:hover {
  background-color: #1ebe5a;
}