:root {

  --color-primario-oscuro: #011531;

  --color-secundario: #1844D8;

  --color-azul-claro: #89BAD7;

  --color-verde-brillante: #7bbb42;

  --gris-suave: #eeeeee;

  --texto: #011531;

  --fondo-oscuro: var(--color-primario-oscuro);

  --verde-principal: var(--color-verde-brillante);

  --blanco: #ffffff;

}



* {

  margin: 0;

  padding: 0;

  box-sizing: border-box;

}



html, body {

  margin: 0;

  padding: 0;

  width: 100%;

  overflow-x: hidden;

}









body {

  font-family: 'Montserrat', sans-serif;

  background: var(--gris-suave);

  margin: 0;

  color: var(--texto);

}



.navbar {

  position: fixed;

  top: 0;

  left: 0;

  width: 100%;

  background-color: rgba(0, 0, 0, 0.25); /* semi-transparente */

  backdrop-filter: blur(8px);

  z-index: 999;

  transition: background-color 0.3s ease, box-shadow 0.3s ease;

}



.navbar.scrolled {

  background-color: #011531; /* color sólido */

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);

}



.navbar .container {

  display: flex;

  justify-content: space-between;

  align-items: center;

  width: 100%;

  max-width: none;

  margin: 0;

  padding: 0 2rem; /* puedes ajustar a 1rem si quieres aún más a los bordes */

}



.menu-wrapper {

  display: flex;

  align-items: center;

  gap: 1.5rem;

}



.container {

  display: flex;

  justify-content: space-between;

  align-items: center;

  max-width: 1080px;

  margin: 0 auto;

}



.logo {

  font-size: 1.5rem;

  font-weight: bold;

  color: var(--verde-principal);

  text-decoration: none;

}



.menu {

  display: flex;

  gap: 1.5rem;

}



.menu a {

  color: var(--blanco);

  text-decoration: none;

  font-weight: 500;

  position: relative;

  transition: color 0.3s ease;

}



.menu a::after {

  content: "";

  display: block;

  height: 2px;

  background: var(--verde-principal);

  width: 0%;

  transition: width 0.3s;

  position: absolute;

  bottom: -4px;

  left: 0;

}



.menu a:hover::after {

  width: 100%;

}



.menu a:hover {

  color: var(--verde-principal);

}



.menu-toggle {

  display: none;

  background: none;

  border: none;

  color: var(--blanco);

  font-size: 1.5rem;

  cursor: pointer;

}





/* ========================================

   HERO SECTION PRINCIPAL

======================================== */



.hero {

  position: relative;

  z-index: 1;

  display: flex;

  flex-wrap: wrap;

  justify-content: space-between;

  align-items: center;

  padding: 4rem 2rem;

  color: var(--blanco);

  overflow: hidden;

  background: linear-gradient(90deg, var(--color-azul-claro), var(--verde-principal));

}



.hero-divider {

  position: relative;

  width: 100%;

  overflow: hidden;

  line-height: 0;

  margin-top: -1px;

  z-index: 2;

}



.hero-divider svg {

  display: block;

  width: 100%;

  height: 100px;

}



/* ========================================

   HERO CAPUCCINO CON CARRUSEL DE FONDO

======================================== */



.hero-capuccino {

  position: relative;

  height: 100vh;

  width: 100vw;

  overflow: hidden;

  display: flex;

  align-items: center;

  justify-content: center;

  background: none; /* evita solapamientos */

}



/* Capas del fondo alternado */

.hero-bg-layer {

  position: absolute;

  top: 0;

  left: 0;

  height: 100%;

  width: 100%;

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;

  opacity: 0;

  z-index: 0;

  transition: opacity 1.5s ease-in-out;

}



.hero-bg-layer.active {

  opacity: 1;

  z-index: 1;

}



/* Contenedor central del contenido */

.hero-container {

  position: relative;

  z-index: 10;

  width: 100%;

  max-width: 1200px;

  margin: 0 auto;

  padding: 2rem;

}



.hero-overlay {

  background: rgba(0, 0, 0, 0.4);

  padding: 4rem;

  width: 100%;

  display: flex;

  align-items: center;

  justify-content: flex-start;

}



/* ========================================

   CONTENIDO HERO (TÍTULO, BOTONES, ETC.)

======================================== */



.hero-title {

  font-size: 3.5rem;

  font-weight: 800;

  margin-bottom: 1.5rem;

  line-height: 1.1;

  text-transform: uppercase;

}



.hero-sub.subtitulo {

  font-size: 2.5rem;

  font-weight: 500;

  display: block;

  margin-top: 0.5rem;

  letter-spacing: 0.5px;

}



.hero-description {

  font-size: 1.125rem;

  line-height: 1.6;

  margin-bottom: 2rem;

  max-width: 480px;

}



.hero-content-left {

  max-width: 600px;

  padding: 2rem;

  color: white;

  text-align: left;

}



.hero-content,

.hero-content-left {

  max-width: 600px;

  flex: 1 1 300px;

}



.hero-content h1,

.hero-content-left h1 {

  font-size: 3rem;

  line-height: 1.2;

  margin-bottom: 1rem;

  text-transform: uppercase;

}



.hero-content-left .subtitulo {

  font-weight: 500;

  font-size: 2.5rem;

}



.hero-content p,

.hero-content-left p {

  font-size: 1rem;

  margin-bottom: 2rem;

}



/* ========================================

   BOTONES HERO

======================================== */



.hero-buttons {

  display: flex;

  gap: 1rem;

  flex-wrap: wrap;

}







.btn-primary,

.btn-secondary {

  padding: 0.9rem 1.8rem;

  font-size: 0.95rem;

  font-weight: 700;

  border-radius: 8px;

  text-decoration: none;

  transition: all 0.3s ease;

  text-align: center;

  min-width: 140px;

}



/* Botón primario */

.btn-primary {

   background-color: transparent;

  border: 2px solid white;

  color: white;

}



.btn-primary:hover {

   background-color: white;

  color: var(--color-primario-oscuro);

}



/* Botón secundario */

.btn-secondary {

  background-color: transparent;

  border: 2px solid white;

  color: white;

}



.btn-secondary:hover {

  background-color: white;

  color: var(--color-primario-oscuro);

}





/* ========================================

   TECNOLOGIA

======================================== */



.tecnologia-container {

  display: flex;

  flex-wrap: wrap;

  gap: 40px;

  align-items: center;

  justify-content: center;

  padding: 40px 20px;

}



.tecnologia-imagen img {

  max-width: 100%;

  height: auto;

  border-radius: 8px;

}



.tecnologia-texto {

  max-width: 400px;

  text-align: left;

}



.tecnologia-texto h2 {

  font-size: 32px;

  font-weight: bold;

  text-transform: uppercase;

  color: #001133;

  margin-bottom: 10px;

}



.tecnologia-texto p {

  font-size: 16px;

  color: #333;

  margin-bottom: 20px;

}



/* Botón negro */

.btn-black {

  background: #001133;

  color: white;

  padding: 12px 24px;

  border-radius: 6px;

  text-decoration: none;

  font-weight: bold;

  display: inline-block;

  margin-top: 20px;

}



.btn-black:hover {

  background: #000;

}



/* Acordeones */

.accordion-item {

  margin-bottom: 12px;

}



.accordion-header {

  background: none;

  border: none;

  font-size: 16px;

  font-weight: bold;

  display: flex;

  justify-content: space-between;

  width: 100%;

  padding: 10px 0;

  border-bottom: 1px solid #ccc;

  cursor: pointer;

}



.accordion-content {

  max-height: 0;

  overflow: hidden;

  transition: max-height 0.4s ease, opacity 0.4s ease;

  opacity: 0;

  padding: 0 0;

}



.accordion-content.active {

  max-height: 500px; /* valor suficientemente grande */

  opacity: 1;

  padding: 10px 0;

}















/* Sección Funcionamiento con estilo tarjeta */

.funcionamiento-nuevo {

  background-color: var(--gris-suave, #f5f5f5);

  padding: 6rem 1rem;

  text-align: center;

}

.funcionamiento-header.alineado-izquierda {

  text-align: left;

  width: 100%;

  max-width: 1050px;

  margin: 0 auto 1rem auto;

  padding-left: 1rem;

}



.funcionamiento-wrapper {

  max-width: 1200px;

  margin: 0 auto;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 4rem;

}



.funcionamiento-header {

  margin-bottom: 1rem;

}



.funcionamiento-titulo {

  font-size: 2.5rem;

  font-weight: 800;

  color: var(--azul-oscuro, #011531);

  margin-bottom: 0.5rem;

}



.funcionamiento-subtitulo {

  font-size: 1.1rem;

  color: var(--texto-secundario, #444);

}



.funcionamiento-tarjetas-superiores {

  display: flex;

  flex-direction: row;

  justify-content: center;

  align-items: stretch;

  gap: 2rem;

  width: 100%;

  flex-wrap: wrap;

}



.funcionamiento-card {

  background-color: white;

  padding: 2rem;

  border-radius: 16px;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);

  display: flex;

  flex-direction: row;

  align-items: flex-start;

  gap: 1.5rem;

  text-align: left;

  flex: 1 1 350px;

  max-width: 400px;

  min-height: 200px;

}



.card-icono {

  flex-shrink: 0;

  width: 72px;

  height: 72px;

  display: flex;

  align-items: center;

  justify-content: center;

}



.card-icono img {

  width: 100%;

  height: auto;

  display: block;

}



.card-contenido {

  flex: 1;

}



.card-titulo {

  font-weight: 800;

  font-size: 1.4rem;

  margin-bottom: 0.5rem;

  color: var(--azul-oscuro, #011531);

}



.card-texto {

  font-size: 1rem;

  color: var(--texto-normal, #333);

  line-height: 1.6;

}



.card-grande {

  width: 100%;

  max-width: 1050px;

}



.funcionamiento-destacado {

  text-align: center;

  max-width: 800px;

  margin: 0 auto;

}



.destacado-titulo {

  font-size: 1.8rem;

  font-weight: 800;

  color: var(--azul-oscuro, #011531);

  line-height: 1.3;

  margin-bottom: 1rem;

}



.destacado-texto {

  font-size: 1rem;

  color: var(--texto-normal, #333);

  line-height: 1.6;

}



/* Responsive */

@media (max-width: 768px) {

  .funcionamiento-titulo {

    font-size: 2rem;

  }

    .funcionamiento-header.alineado-izquierda {

    padding-left: 0;

    text-align: center;

  }



  .funcionamiento-card {

    flex-direction: column;

    align-items: center;

    text-align: center;

  }



  .card-icono {

    margin-bottom: 1rem;

  }



  .card-contenido {

    text-align: center;

  }



  .destacado-titulo {

    font-size: 1.4rem;

  }

}









/* SECCION PRECISION*/

.seccion-precision {

  background-image: url('../img/fondoprecision.png');

  background-size: cover;

  background-position: center;

  position: relative;

  padding: 6rem 2rem;

  color: white;

  display: flex;

  align-items: center;

  min-height: 400px;

}



.seccion-precision::before {

  content: '';

  position: absolute;

  inset: 0;

  background: rgba(0, 0, 0, 0.4);

  z-index: 1;

}



.contenedor-precision {

  position: relative;

  z-index: 2;

  max-width: 600px;

  text-align: left;

  margin-left: 2rem;

}



.precision-titulo {

  font-size: 2.4rem;

  font-weight: 800;

  line-height: 1.3;

  margin-bottom: 1rem;

}



.precision-texto {

  font-size: 1rem;

  line-height: 1.6;

  color: #f0f0f0;

  max-width: 540px;

}



@media (max-width: 768px) {

  .contenedor-precision {

    margin: 0 auto;

    text-align: center;

  }



  .precision-titulo {

    font-size: 1.8rem;

  }



  .precision-texto {

    font-size: 0.95rem;

  }

}





/* DISEÑO DEL CONTADOR */

.impacto-section {

  background-color: var(--gris-suave);

  padding: 5rem 1rem;

  text-align: center;

}



.impacto-container {

  max-width: 1000px;

  margin: 0 auto;

}



.impacto-textos {

  margin-bottom: 3rem;

}



.impacto-titulo {

  font-size: 2rem;

  font-weight: 700;

  color: #111;

}



.impacto-subtitulo {

  font-size: 1rem;

  color: #333;

  margin-top: 0.5rem;

  max-width: 650px;

  margin-left: auto;

  margin-right: auto;

}



.impacto-tarjetas {

  display: flex;

  gap: 1.5rem;

  justify-content: center;

  flex-wrap: wrap;

  margin-top: 2rem;

}



.impacto-card {

  background-color: white;

  padding: 1.5rem;

  border-radius: 12px;

  flex: 1 1 250px;

  max-width: 300px;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);

}



.impacto-card-label {

  font-size: 0.9rem;

  color: #666;

  margin-bottom: 0.5rem;

}



.impacto-card-valor {

  font-size: 1.8rem;

  font-weight: 700;

  color: #111;

}

.impacto-boton {

  background-color: transparent;

  color: #1CA617; /* Verde institucional */

  padding: 12px 24px;

  font-weight: 600;

  font-size: 1rem;

  border: 2px solid #1CA617;

  border-radius: 12px;

  transition: all 0.3s ease;

  text-align: center;

  display: inline-block;

  text-decoration: none;

}



.impacto-boton:hover {

  background-color: #1CA617;

  color: #ffffff;

  transform: translateY(-2px);

  box-shadow: 0 4px 12px rgba(28, 166, 23, 0.3);

}





.impacto-boton:active {

  transform: scale(0.97);

}





/* SOLUCION */

/* ==== SECCIÓN SOLUCIÓN ==== */

.solucion-section {

  background-color: var(--gris-suave);

  padding: 60px 0;

}



.solucion-container {

  display: flex;

  flex-wrap: wrap;

  max-width: 1200px;

  margin: 0 auto;

  align-items: stretch; /* Igual altura entre texto e imagen */

  justify-content: space-between;

  gap: 40px;

  padding: 0 20px;

}



.solucion-textos {

  flex: 1;

  min-width: 350px;

  max-width: 650px;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

}



.solucion-titulo {

  font-size: 2.5rem;

  font-weight: 800;

  margin-bottom: 10px;

  color: #121212;

  text-align: left;

}



.solucion-subtitulo {

  font-size: 1.2rem;

  margin-bottom: 30px;

  color: #4a4a4a;

  text-align: left;

}



.solucion-lista {

  position: relative;

  display: flex;

  flex-direction: column;

  justify-content: space-between; /* Distribuye verticalmente */

  flex: 1;

  height: 100%; /* Igual altura que imagen */

  padding: 20px 0;

}



.solucion-linea {

  position: absolute;

  left: 25px;

  top: 0;

  bottom: 0;

  width: 2px;

  background-color: #ccc;

  z-index: 0;

}



.solucion-item {

  display: flex;

  gap: 20px;

  align-items: flex-start;

  position: relative;

  z-index: 1;

}



.solucion-icono {

  min-width: 50px;

  min-height: 50px;

  background-color: #1CA617;

  border-radius: 50%;

  display: flex;

  justify-content: center;

  align-items: center;

}



.solucion-icono img {

  width: 24px;

  height: 24px;

  filter: brightness(0) invert(1);

}



.solucion-descripcion {

  flex: 1;

}



.solucion-label {

  font-weight: 700;

  font-size: 1.1rem;

  margin-bottom: 5px;

  color: #121212;

  text-align: left;

}



.solucion-texto {

  color: #4a4a4a;

  font-size: 1rem;

  line-height: 1.5;

  text-align: left;

}



.solucion-imagen {

  flex: 1;

  min-width: 300px;

  max-width: 500px;

  display: flex;

  justify-content: center;

  align-items: center;

}



.solucion-imagen img {

  max-width: 100%;

  height: auto;

  border-radius: 12px;

  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);

}



@keyframes fadeInUp {

  from {

    opacity: 0;

    transform: translateY(30px);

  }

  to {

    opacity: 1;

    transform: translateY(0);

  }

}



.solucion-item {

  opacity: 0;

  transform: translateY(30px);

  animation: fadeInUp 0.6s ease-out forwards;

}



.solucion-item:nth-child(2) {

  animation-delay: 0.2s;

}

.solucion-item:nth-child(3) {

  animation-delay: 0.4s;

}

.solucion-item:nth-child(4) {

  animation-delay: 0.6s;

}





/* RESPONSIVE */

@media (max-width: 960px) {

  .solucion-container {

    flex-direction: column;

    align-items: center;

  }



  .solucion-textos,

  .solucion-imagen {

    max-width: 100%;

    text-align: center;

  }



  .solucion-lista {

    padding: 0;

  }



  .solucion-linea {

    display: none;

  }



  .solucion-item {

    flex-direction: column;

    align-items: center;

    text-align: center;

    gap: 10px;

    padding-bottom: 30px;

  }



  .solucion-icono {

    margin-bottom: 10px;

  }



  .solucion-descripcion {

    text-align: center;

  }

}







/* BENEFICIO */

.beneficios-section {

  background-color: var(--gris-suave);

  padding: 60px 20px;

  text-align: center;

}



.beneficios-titulo {

  font-size: 2rem;

  font-weight: 800;

  color: #121212;

  margin-bottom: 40px;

}



.beneficios-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 30px;

  max-width: 1200px;

  margin: 0 auto;

}



.beneficio-card {

  background-color: white;

  border-radius: 12px;

  overflow: hidden;

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);

  transition: transform 0.3s ease, box-shadow 0.3s ease;

  animation: fadeInUp 0.8s ease forwards;

  opacity: 0;

  transform: translateY(20px);

}



.beneficio-card img {

  width: 100%;

  height: auto;

  object-fit: cover;

}



.beneficio-label {

  font-size: 1.1rem;

  font-weight: 700;

  margin: 15px 0 5px;

  color: #121212;

}



.beneficio-texto {

  font-size: 0.95rem;

  color: #4a4a4a;

  margin-bottom: 15px;

  padding: 0 10px;

}



/* Animación al cargar */

@keyframes fadeInUp {

  to {

    opacity: 1;

    transform: translateY(0);

  }

}





/* FICHA TECNICA */

/* Sección Ficha Técnica Rediseñada */





.ficha {

  background-color: var(--gris-suave);

  padding: 60px 20px;

  text-align: center;

}



.titulo-ficha {

  font-size: 2rem;

  font-weight: 800;

  color: #121212;

  margin-bottom: 50px;

}



.ficha-grid {

  display: flex;

  justify-content: center;

  align-items: flex-start;

  flex-wrap: wrap;

  gap: 60px;

  max-width: 1200px;

  margin: 0 auto 40px auto;

}



.card-ficha {

  max-width: 220px;

  text-align: center;

}



.card-ficha .icono {

  width: 120px;

  height: 120px;

  border-radius: 50%;

  background-color: #eaeaea;

  margin: 0 auto 20px auto;

  display: flex;

  align-items: center;

  justify-content: center;

}



.card-ficha .icono img {

  width: 100px;

  height: 100px;

  object-fit: contain;

}



.card-ficha .titulo {

  font-weight: 600;

  font-size: 1rem;

  color: #121212;

  margin-bottom: 6px;

}



.card-ficha .texto {

  font-size: 0.9rem;

  color: #444444;

  line-height: 1.3;

}



/* Texto debajo de las tarjetas */

.ficha-detalle-label {

  font-size: 0.85rem;

  color: #444;

  margin-bottom: 20px;

}



/* Botón negro estilo mockup */

.btn-descarga {

  background-color: #000;

  color: white;

  border: none;

  padding: 12px 24px;

  font-size: 0.95rem;

  font-weight: 500;

  border-radius: 6px;

  cursor: pointer;

  transition: background-color 0.3s ease;

}



.btn-descarga:hover {

  background-color: #222;

}



/* Responsive para pantallas pequeñas */

@media (max-width: 768px) {

  .ficha-grid {

    flex-direction: column;

    align-items: center;

    gap: 40px;

  }

}





/* HERO DIFERENCIA */

.hero-diferencia {

  position: relative;

  width: 100%;

  height: 300px;

  background-image: url('../img/herodiferencia.png'); /* 🔁 Cambia por la ruta real */

  background-size: cover;

  background-position: center;

  display: flex;

  align-items: center;

  justify-content: flex-end;

  padding: 0 40px;

  color: white;

}



.hero-diferencia::before {

  content: "";

  position: absolute;

  top: 0; left: 0;

  width: 100%;

  height: 100%;

  background-color: rgba(0, 0, 0, 0.4); /* oscurecimiento del fondo */

  z-index: 0;

}



.hero-contenido {

  position: relative;

  max-width: 600px;

  text-align: right;

  z-index: 1;

}



.hero-contenido h2 {

  font-size: 1.8rem;

  font-weight: 800;

  margin-bottom: 10px;

  color: white;

  line-height: 1.3;

}



.hero-contenido p {

  font-size: 0.95rem;

  color: #e0e0e0;

}



/* Responsive para móviles */

@media (max-width: 768px) {

  .hero-diferencia {

    height: 250px;

    justify-content: center;

    padding: 0 20px;

  }



  .hero-contenido {

    text-align: center;

  }



  .hero-contenido h2 {

    font-size: 1.5rem;

  }



  .hero-contenido p {

    font-size: 0.9rem;

  }

}









/* DESCRIPCIÓN OSCURA */

.hero-description-dark {

  background: var(--color-primario-oscuro);

  color: white;

  padding: 4rem 2rem;

}



.hero-description-wrapper {

  max-width: 1080px;

  margin: 0 auto;

  display: flex;

  flex-wrap: wrap;

  align-items: center;

  justify-content: space-between;

}



.description-text {

  flex: 1 1 50%;

  padding-right: 2rem;

}



.description-text h2 {

  font-size: 1.8rem;

  margin-bottom: 1rem;

  font-weight: 700;

}



.description-text p {

  font-size: 1rem;

  line-height: 1.6;

}



.description-image {

  flex: 1 1 40%;

  text-align: center;

}



.description-image img {

  max-width: 100%;

  height: auto;

  filter: drop-shadow(0px 0px 8px rgba(0,0,0,0.3));

}





.hero-image {

  flex: 1 1 300px;

  text-align: center;

}



.hero-image img {

  max-width: 360px; /* o lo que prefieras */

  width: 100%;

  height: auto;

  display: block;

  margin: 0 auto;

  border-radius: 0;

  box-shadow: none;

}



section {

  padding: 3rem 2rem;

  text-align: center;

}



.descripcion p {

  max-width: 800px;

  margin: 0 auto;

}









.ficha-grid .card {

  background: white;

  border: 2px solid var(--verde-principal);

  color: var(--fondo-oscuro);

  padding: 1.5rem;

  border-radius: 10px;

  width: 250px;

  font-weight: 600;

  box-shadow: 0 2px 6px rgba(0,0,0,0.1);

  text-align: center;

  transition: transform 0.3s ease;

}



.ficha-grid .card:hover {

  transform: translateY(-5px);

}



.ficha .card {

  background: white;

  border: 2px solid var(--verde-principal);

  color: var(--fondo-oscuro);

  padding: 1.5rem;

  border-radius: 10px;

  width: 250px;

  font-weight: 700;

  box-shadow: 0 2px 6px rgba(0,0,0,0.1);

  text-align: center;

  transition: transform 0.3s ease;

}



.ficha .card:hover {

  transform: translateY(-5px);

}

.ficha-detalle.hidden {

  display: none;

}

.ficha-detalle {

  margin-top: 2rem;

  animation: slideDown 0.5s ease forwards;

}



@keyframes slideDown {

  from { opacity: 0; transform: translateY(-10px); }

  to   { opacity: 1; transform: translateY(0); }

}



.ficha-tabla {

  width: 100%;

  max-width: 700px;

  margin: 0 auto;

  border-collapse: collapse;

  background: white;

  border-radius: 8px;

  overflow: hidden;

  box-shadow: 0 2px 6px rgba(0,0,0,0.1);

}



.ficha-tabla th, .ficha-tabla td {

  padding: 0.8rem 1rem;

  border: 1px solid #ccc;

  text-align: left;

}



.ficha-tabla th {

  background: var(--verde-principal);

  color: white;

  text-align: center;

}



.ficha-toggle {

  margin-top: 2rem;

  display: flex;

  justify-content: center;

}



#toggleFichaDetalle {

  background-color: var(--blanco);

  color: var(--verde-principal);

  border: 2px solid var(--verde-principal);

  font-size: 1rem;

  font-weight: bold;

  padding: 0.75rem 2rem;

  border-radius: 50px;

  cursor: pointer;

  transition: all 0.3s ease;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

}



#toggleFichaDetalle:hover {

  background-color: var(--verde-principal);

  color: var(--blanco);

  transform: translateY(-2px);

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);

}





/* ================================

   SECCIÓN: Seguridad para el Usuario

   Estilo Moderno Profesional (Versión Final)

================================== */



/* ======================= */

/* SEGURIDAD (Creampros)   */

/* ======================= */

.safety-section {

  background: var(--gris-suave);

  padding: 6rem 2rem;

}



.safety-grid {

  display: flex;

  flex-direction: column;

  align-items: center;

  max-width: 1200px;

  margin: 0 auto;

}



.safety-title {

  font-size: 2.8rem;

  font-weight: 800;

  color: #0A1830;

  margin-bottom: 0.5rem;

  text-align: center;

}



.safety-subtitle {

  font-size: 1.2rem;

  color: #555;

  margin-bottom: 3rem;

  text-align: center;

}



.safety-cards-enhanced {

  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 2rem;

  margin-bottom: 4rem;

}



.safety-feature-card {

  background: #fff;

  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;

  padding: 2rem;

  border-radius: 1.5rem;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);

  flex: 1 1 260px;

  transition: transform 0.3s ease, box-shadow 0.3s ease;

}



.safety-feature-card:hover {

  transform: translateY(-6px);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

}



.safety-feature-card .icon {

  font-size: 3rem;

  color: #1CA617;

  margin-bottom: 1rem;

}



.safety-feature-card h3 {

  font-size: 1.3rem;

  font-weight: 700;

  color: #1CA617;

  margin-bottom: 0.5rem;

}



.safety-feature-card p {

  font-size: 1rem;

  color: #333;

}



/* Acordeón */

.safety-protocols {

  width: 100%;

  max-width: 800px;

}



.safety-protocol-title {

  font-size: 1.75rem;

  font-weight: 700;

  color: #0A1830;

  text-align: center;

  margin-bottom: 2rem;

}



.accordion-item {

  background-color: #fff;

  border-radius: 0.5rem;

  margin-bottom: 1rem;

  overflow: hidden;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);

}



.accordion-header {

  padding: 1rem 1.5rem;

  font-weight: 600;

  display: flex;

  justify-content: space-between;

  align-items: center;

  cursor: pointer;

}



.accordion-header:hover {

  background-color: #f3f3f3;

}



.accordion-content {

  padding: 0 1.5rem;

  max-height: 0;

  overflow: hidden;

  transition: max-height 0.4s ease;

}



.accordion-content.active {

  padding: 1rem 1.5rem;

}



.accordion-content p {

  margin: 0;

  color: #333;

  line-height: 1.6;

}



.plus {

  font-size: 1.5rem;

  font-weight: 700;

  color: #1CA617;

}





/* Responsive */

@media (max-width: 768px) {

  .safety-grid {

    flex-direction: column;

    align-items: center;

  }



  .safety-card {

    max-width: 90%;

  }



  .safety-protocols {

    max-width: 90%;

  }



  .safety-title, .safety-subtitle {

    text-align: center;

  }

}

















/* === MULTIMEDIA SECTION === */

/* === ESTILOS GALERÍA MULTIMEDIA SWIPER COVERFLOW === */



.multimedia {

  padding: 5rem 2rem;

  background-color: var(--gris-claro);

  text-align: center;

  position: relative;

}



.multimedia-header h2 {

  font-size: 2.4rem;

  font-weight: 800;

  color: var(--color-azul-oscuro);

  margin-bottom: 0.5rem;

}



.multimedia-header p {

  font-size: 1.2rem;

  color: #444;

  margin-bottom: 2rem;

}



/* === CARRUSEL === */

.swiper {

  width: 100%;

  max-width: 1200px;

  margin: 0 auto;

  padding-bottom: 5rem;

  background-color: transparent;

  position: relative;

  overflow: visible;

}



.swiper-wrapper {

  align-items: center;

}



.swiper-slide {

  width: 75%;

  max-width: 900px;

  aspect-ratio: 16 / 9;

  background-color: transparent;

  border-radius: 2rem;

  overflow: hidden;

  display: flex;

  align-items: center;

  justify-content: center;

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);

  transition: transform 0.3s ease;

  transform-origin: center center;

}



.swiper-slide video {

  width: 100%;

  height: 100%;

  object-fit: cover;

  border-radius: 2rem;

  background-color: black;

}



/* === PAGINACIÓN === */

.swiper-pagination {

  position: absolute;

  bottom: -2.5rem;

  left: 50%;

  transform: translateX(-50%);

  display: flex;

  gap: 10px;

  z-index: 10;

}



.swiper-pagination-bullet {

  width: 10px;

  height: 10px;

  background-color: #ccc;

  opacity: 1;

  border-radius: 50%;

  transition: all 0.3s ease;

}



.swiper-pagination-bullet-active {

  background-color: var(--verde-principal, #11BF0B);

}



/* === FLECHAS ABAJO JUNTO A PAGINACIÓN === */

.swiper-button-prev,

.swiper-button-next {

  position: absolute;

  bottom: -2.5rem;

  top: auto;

  transform: translateY(0%);

  background: none;

  color: #888;

  font-size: 1.6rem;

  width: auto;

  height: auto;

  margin: 0;

  z-index: 11;

}



.swiper-button-prev {

  left: calc(50% - 100px);

}



.swiper-button-next {

  right: calc(50% - 100px);

}



.swiper-button-prev::after,

.swiper-button-next::after {

  font-size: 1.6rem;

  color: #888;

}



/* === RESPONSIVE === */

@media (max-width: 768px) {

  .swiper-slide {

    width: 90%;

  }

  .swiper-button-prev {

    left: calc(50% - 90px);

  }

  .swiper-button-next {

    right: calc(50% - 90px);

  }

}











/*MAPAS*/

/* Estilo de la sección */

#mapa-section {

  padding: 2rem;

  background-color: var(--gris-suave);

}



/* Contenedor general */

.mapa-wrapper {

  position: relative;

  border-radius: 1rem;

  overflow: hidden;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);

}



/* Mapa en sí */

.mapa-contenedor {

  width: 100%;

  height: 75vh;

}



/* Botones para capitales (estilo profesional) */

.capitales-botones {

  position: absolute;

  bottom: 2rem;

  right: 2rem;

  z-index: 1000;

  display: flex;

  flex-direction: column;

  gap: 0.5rem;

  background: rgba(255, 255, 255, 0.2);

  padding: 0.8rem;

  border-radius: 1rem;

  backdrop-filter: blur(10px);

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);

  border: 1px solid rgba(255, 255, 255, 0.4);

}



.capitales-botones button {

  all: unset;

  display: inline-block;

  background-color: rgba(255, 255, 255, 0.85);

  color: #1CA617;

  border-radius: 9999px;

  padding: 0.55rem 1.2rem;

  font-size: 0.85rem;

  font-weight: 600;

  text-align: center;

  cursor: pointer;

  border: 1px solid rgba(28, 166, 23, 0.4);

  transition: all 0.2s ease-in-out;

}



.capitales-botones button:hover {

  background-color: #1CA617;

  color: #fff;

  transform: translateY(-1px);

  box-shadow: 0 4px 12px rgba(28, 166, 23, 0.3);

}



.capitales-botones button:focus {

  outline: none;

  box-shadow: 0 0 0 3px rgba(28, 166, 23, 0.3);

}





/* CAMINO */

/* === Sección Nuestro Camino === */

.camino-section {

  background-color: #061636;

  color: white;

  padding: 40px 20px;

}



.camino-container {

  max-width: 1200px;

  margin: 0 auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  flex-wrap: wrap;

  gap: 20px;

}



.camino-left {

  display: flex;

  align-items: center;

  flex: 1;

  min-width: 100px;

}



.camino-logo {

  width: 120px;

  height: auto;

}



.camino-center {

  flex: 3;

  min-width: 250px;

  text-align: left;

}



.camino-titulo {

  font-weight: 700;

  font-size: 1.1rem;

  margin-bottom: 5px;

}



.camino-texto {

  font-size: 0.9rem;

  opacity: 0.8;

  margin: 0;

}



.camino-right {

  flex: 1;

  display: flex;

  justify-content: flex-end;

  min-width: 120px;

}



.camino-btn {

  background-color: black;

  color: white;

  padding: 10px 20px;

  border-radius: 6px;

  text-decoration: none;

  font-weight: 500;

  transition: background-color 0.3s ease;

}



.camino-btn:hover {

  background-color: #1CA617;

  color: #fff;

}



@media (max-width: 768px) {

  .camino-container {

    flex-direction: column;

    align-items: center;

    text-align: center;

  }



  .camino-left,

  .camino-center,

  .camino-right {

    justify-content: center;

  }



  .camino-right {

    margin-top: 15px;

  }

}









/*COMPARACION*/

.comparativa {

  padding: 60px 20px;

  background: var(--gris-suave);

  text-align: center;

}



.comparativa-title {

  font-size: 2rem;

  margin-bottom: 40px;

  color: #0a1b2a;

}



.comparativa-wrapper {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 40px;

  flex-wrap: wrap;

  position: relative;

}



.comparativa-box {

  width: 280px;

  border-radius: 20px;

  padding: 30px 25px;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

  text-align: left;

  transition: transform 0.3s ease;

  background-color: var(--gris-suave);

}



.comparativa-box:hover {

  transform: translateY(-6px);

}



.comparativa-box h3 {

  font-size: 1.3rem;

  margin-bottom: 20px;

  color: #0a1b2a;

  font-weight: 700;

}



.comparativa-box ul {

  list-style: none;

  padding: 0;

}



.comparativa-box ul li {

  margin-bottom: 14px;

  display: flex;

  align-items: center;

  color: #333;

  font-size: 1rem;

}



.comparativa-box ul li i {

  color: #11bf0b;

  margin-right: 10px;

  font-size: 1rem;

}



.comparativa-box.negativo {

  background-color: #ffffff;

}



.comparativa-box.positivo {

  background-color: #11BF0B;

  color: #fff;

}



.comparativa-box.positivo ul li i {

  color: #fff;

}



.comparativa-box.positivo h3 {

  color: #fff;

}



.comparativa-box.positivo ul li span {

  color: #fff;

}



.versus-circle {

  font-size: 1.1rem;

  background: #0a1b2a;

  color: #fff;

  padding: 12px 18px;

  border-radius: 50%;

  font-weight: 700;

  box-shadow: 0 4px 10px rgba(0,0,0,0.2);

}



@media (max-width: 768px) {

  .comparativa-wrapper {

    flex-direction: column;

    gap: 20px;

  }



  .versus-circle {

    order: -1;

  }

}





.comparacion-grid {

  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 2rem;

  margin-top: 2rem;

}







.col {

  flex: 1 1 250px;

  background: #fff;

  padding: 1.5rem;

  border-radius: 10px;

  box-shadow: 0 2px 6px rgba(0,0,0,0.1);

}



.col.destacado {

  background: var(--verde-principal);

  color: white;

}



.col ul {

  list-style: none;

  padding: 0;

}



.col ul li {

  margin-bottom: 0.5rem;

}





/*TIMELINE*/

.timeline {

  background-color: var(--gris-suave);

  padding: 4rem 1rem;

}



.timeline h2 {

  text-align: center;

  font-size: 2rem;

  margin-bottom: 3rem;

  color: var(--primary-dark, #0b1f33);

}



.timeline-container {

  position: relative;

  max-width: 800px;

  margin: auto;

  padding-left: 20px;

}



.timeline-container::before {

  content: "";

  position: absolute;

  left: 30px;

  top: 0;

  bottom: 0;

  width: 3px;

  background: #11BF0B;

  z-index: 1;

}



.timeline-item {

  position: relative;

  padding-left: 60px;

  margin-bottom: 3rem;

}



.timeline-dot {

  position: absolute;

  left: 21px;

  top: 8px;

  width: 18px;

  height: 18px;

  background-color: #11BF0B;

  border-radius: 50%;

  z-index: 2;

  animation: pulseDot 2s infinite;

}



.timeline-content {

  background: white;

  padding: 1rem 1.5rem;

  border-radius: 10px;

  box-shadow: 0 5px 15px rgba(0,0,0,0.05);

  position: relative;

  z-index: 3;

  transition: transform 0.3s ease;

}



.timeline-content:hover {

  transform: translateY(-5px);

}



.timeline-content h3 {

  margin: 0 0 0.5rem;

  font-size: 1.25rem;

  color: #0b1f33;

}



.timeline-content p {

  margin: 0;

  font-size: 1rem;

  color: #444;

}



/* Ocultar por defecto */

.timeline.oculto {

  max-height: 0;

  overflow: hidden;

  opacity: 0;

  transition: max-height 0.7s ease, opacity 0.7s ease;

}



/* Mostrar con animación */

.timeline.mostrar {

  max-height: 1000px; /* Ajusta según la altura esperada */

  opacity: 1;

}





/* Pulse animation for dots */

@keyframes pulseDot {

  0% {

    box-shadow: 0 0 0 0 rgba(17, 191, 11, 0.7);

  }

  70% {

    box-shadow: 0 0 0 12px rgba(17, 191, 11, 0);

  }

  100% {

    box-shadow: 0 0 0 0 rgba(17, 191, 11, 0);

  }

}



/* Responsive */

@media (max-width: 600px) {

  .timeline-container::before {

    left: 20px;

  }



  .timeline-item {

    padding-left: 50px;

  }



  .timeline-dot {

    left: 13px;

  }



}











.video-placeholder img {

  max-width: 100%;

  height: auto;

  margin-top: 1.5rem;

  border-radius: 8px;

  opacity: 0.85;

}









/* POPUP MODAL DE IMAGEN */

.popup {

  display: none;

  position: fixed;

  inset: 0;

  z-index: 1000;

  background-color: rgba(0, 0, 0, 0.8);

  justify-content: center;

  align-items: center;

  padding: 2rem;

  backdrop-filter: blur(4px);

}



.popup.open,

.popup:not(.hidden) {

  display: flex;

}



.popup-content {

  background-color: #fff;

  border-radius: 1rem;

  overflow: hidden;

  max-width: 90vw;

  max-height: 90vh;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);

  position: relative;

  display: flex;

  justify-content: center;

  align-items: center;

  padding: 0;

}



.popup-content img {

  width: 100%;

  height: auto;

  max-height: 90vh;

  object-fit: contain;

  border-radius: 1rem;

}



.popup-close {

  position: absolute;

  top: 1rem;

  right: 1rem;

  font-size: 2rem;

  background: transparent;

  border: none;

  color: #fff;

  cursor: pointer;

  z-index: 10;

  transition: transform 0.2s ease;

}



.popup-close:hover {

  transform: scale(1.2);

}







/*FOOTER*/ 

.footer-contacto {

  background-color: #f2f2f2;

  padding: 60px 20px 30px;

  font-family: 'Inter', sans-serif;

}



.footer-wrapper {

  max-width: 1200px;

  margin: 0 auto;

  display: flex;

  flex-wrap: wrap;

  justify-content: space-between;

  gap: 2rem;

  align-items: center;

  text-align: center;

}



.footer-column {

  flex: 1 1 300px;

  min-width: 250px;

}



.logo-column {

  display: flex;

  flex-direction: column;

  align-items: center;

}



.footer-logo {

  width: 160px;

  margin-bottom: 10px;

}



.footer-tagline {

  font-size: 1rem;

  color: #555;

}



.contacto-column h2 {

  color: #1CA617;

  font-size: 1.6rem;

  margin-bottom: 0.5rem;

}



.contacto-column p {

  color: #333;

  font-size: 1rem;

  margin-bottom: 1rem;

}



.footer-button {

  background: #1CA617;

  color: #fff;

  padding: 12px 24px;

  border-radius: 30px;

  font-weight: 600;

  text-decoration: none;

  display: inline-flex;

  align-items: center;

  gap: 10px;

  transition: background 0.3s ease;

}



.footer-button:hover {

  background: #11BF0B;

}



.footer-info {

  list-style: none;

  padding: 0;

  margin: 0;

  font-size: 0.95rem;

  color: #444;

}



.footer-info li {

  margin-bottom: 10px;

  display: flex;

  align-items: center;

  gap: 10px;

  justify-content: center;

}



.footer-info i {

  color: #1CA617;

}



.footer-copy {

  text-align: center;

  font-size: 0.85rem;

  color: #777;

  margin-top: 40px;

  border-top: 1px solid #ddd;

  padding-top: 15px;

}



/* Responsive */

@media (max-width: 768px) {

  .footer-wrapper {

    flex-direction: column;

    text-align: center;

  }

}









.btn-lang {

  background: transparent;

  border: none;

  font-size: 1.2rem;

  color: var(--blanco);

  cursor: pointer;

  margin-left: 1rem;

}



.lang-selector {

  display: flex;

  align-items: center;

  margin-left: 1rem;

}



.btn-lang {

  background: transparent;

  border: none;

  color: var(--blanco);

  font-size: 1rem;

  font-weight: bold;

  cursor: pointer;

  display: flex;

  align-items: center;

  gap: 0.4rem;

  padding: 0.4rem 0.6rem;

  border-radius: 4px;

  transition: background 0.3s;

}



.btn-lang:hover {

  background-color: rgba(255, 255, 255, 0.1);

}



.logo-img {

  height: 75px;

  object-fit: contain;

  vertical-align: middle;

  display: block;

}

a.logo:focus,

a.logo:active,

a.logo img:focus,

a.logo img:active {

  outline: none;

  border: none;

  box-shadow: none;

}



.menu a {

  color: var(--blanco);

  text-decoration: none;

  font-weight: 500;

  position: relative;

  transition: color 0.3s ease;

  font-size: 0.95rem;

}



.video-wrapper {

  max-width: 960px;

  margin: 2rem auto;

  aspect-ratio: 16 / 9;

  background: #000;

  border-radius: 8px;

  overflow: hidden;

  box-shadow: 0 4px 12px rgba(0,0,0,0.2);

}



.video-wrapper video {

  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;

}















@media (max-width: 768px) {

  /* MENÚ */

  .menu {

    display: none;

    flex-direction: column;

    background: var(--fondo-oscuro);

    position: absolute;

    top: 60px;

    right: 2rem;

    width: 200px;

    padding: 1rem;

    border-radius: 8px;

    box-shadow: 0 4px 8px rgba(0,0,0,0.3);

    z-index: 999;

  }



  .menu.active {

    display: flex;

  }



  .menu-toggle {

    display: block;

  }



  .menu a {

    margin-left: 1rem;

    margin-bottom: 0.5rem;

  }



  /* HERO GENERAL */

  .hero {

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 3rem 1rem;

    text-align: center;

  }



  .hero-content,

  .hero-image,

  .hero-content-left {

    max-width: 100%;

    width: 100%;

    padding: 0 1rem;

  }



  .hero-title {

    font-size: 2.2rem;

  }



  .hero-sub.subtitulo {

    font-size: 1.8rem;

  }



  .hero-description {

    font-size: 1rem;

    margin-bottom: 1.5rem;

  }



  /* BOTONES */

  .hero-buttons {

    flex-direction: column;

    align-items: center;

    gap: 0.75rem;

  }



  .btn-primary,

  .btn-secondary {

    width: 100%;

    max-width: 280px;

    text-align: center;

    font-size: 1rem;

    padding: 0.9rem 1.5rem;

  }



  /* FUNCIONAMIENTO */

  .funcionamiento-container {

    flex-direction: column-reverse;

    text-align: center;

    padding: 2rem 1rem;

  }



  /* COMPARACIÓN Y FICHA */

  .comparacion-grid,

  .ficha {

    flex-direction: column;

    padding: 1rem;

  }



  /* CARRUSEL */

  .nav-btn {

    font-size: 1.5rem;

    width: 40px;

    height: 40px;

  }



  /* LOGO */

  .logo-img {

    max-width: 140px;

    height: auto;

  }

}





/* BUTTONIZER */

/* Contenedor principal del buttonizer */

.buttonizer-container {

  position: fixed;

  bottom: 20px;

  left: 20px;

  z-index: 9999;

  display: flex;

  flex-direction: column;

  align-items: flex-start;

}



.buttonizer-main-btn.light {

  border: 2px solid var(--color-azul-claro);

  color: var(--color-azul-claro);

  background: transparent;

}



.buttonizer-main-btn.dark {

  border: 2px solid black;

  color: black;

  background: transparent;

}

/* Botón principal (toggle) */

.buttonizer-main-btn {

  background: transparent;

  color: var(--color-azul-claro);

  font-size: 20px;

  width: 50px;

  height: 50px;

  border: 2px solid var(--color-primario-oscuro);

  border-radius: 25px;

  display: flex;

  align-items: center;

  justify-content: center;

  cursor: pointer;

  margin-top: 10px;

  transition: all 0.3s ease;

}





.buttonizer-main-btn:hover {

  background: rgba(255, 255, 255, 0.1);

}



/* Opciones desplegables ocultas por defecto */

.buttonizer-options {

  display: flex;

  flex-direction: column;

  gap: 10px;

  opacity: 0;

  pointer-events: none;

  transform: translateY(10px);

  transition: opacity 0.3s ease, transform 0.3s ease;

}



/* Mostrar opciones cuando está activo */

.buttonizer-container.active .buttonizer-options {

  opacity: 1;

  pointer-events: auto;

  transform: translateY(0);

}



/* Botones individuales */

.buttonizer-options a {

  width: auto;

  padding: 8px 16px;

  background: transparent;

  border: 2px solid var(--color-azul-claro);

  color: var(--color-azul-claro);

  font-size: 14px;

  text-decoration: none;

  border-radius: 25px;

  display: flex;

  align-items: center;

  gap: 8px;

  transition: all 0.3s ease;

  font-weight: 600;

}



.buttonizer-options a i {

  font-size: 16px;

}



.buttonizer-options a:hover {

  background-color: white;

  color: #1CA617;

}



/* Responsive */

@media (max-width: 600px) {

  .buttonizer-container {

    bottom: 15px;

    left: 15px;

    gap: 10px;

  }



  .buttonizer-main-btn,

  .buttonizer-options a {

    font-size: 13px;

    padding: 6px 14px;

  }



  .buttonizer-options a i {

    font-size: 14px;

  }



  .buttonizer-main-btn {

    width: 52px;

    height: 52px;

    font-size: 20px;

  }



  .buttonizer-options a {

    width: 44px;

    height: 44px;

    font-size: 17px;

  }

}







.scroll-top-btn {

  position: fixed;

  bottom: 20px;

  right: 20px;

  z-index: 9999;

  background: transparent;

  color: var(--color-azul-claro);

  border: 2px solid var(--color-azul-claro);

  border-radius: 25px;

  width: 50px;

  height: 50px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 20px;

  text-decoration: none;

  transition: all 0.3s ease;

  opacity: 0;

  pointer-events: none;

}



.scroll-top-btn:hover {

  background-color: white;

  color: var(--color-azul-claro);

}



/* Mostrar solo cuando se hace scroll */

.scroll-top-btn.show {

  opacity: 1;

  pointer-events: auto;

}



/* Responsive */

@media (max-width: 600px) {

  .scroll-top-btn {

    width: 45px;

    height: 45px;

    font-size: 18px;

    bottom: 15px;

    right: 15px;

  }

}



* {

  -webkit-tap-highlight-color: transparent;

}

