@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f7f6;
}

.container {
  display: block;
  max-width: 1440px;
  margin: 0 auto;
}

img {
  max-width: 100%;
  display: block;
}

.main-header {
  background: white;
  padding: 15px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

.logo a, .logo a:active, .logo a:visited {
  display: flex;
  align-items: center;
  gap: 4px;
  color: unset;
  text-decoration: none;
}
.logo img {
  flex: 0 0 auto;
  max-width: 48px;
  max-height: 48px;
}
.logo span {
  flex: 1 0 max-content;
  line-height: 1;
  font-size: 2.4rem;
  font-weight: bold;
}

.nav-list ul {
  display: flex;
  list-style: none;
  gap: 30px;
  font-size: clamp(0.6rem, 1.5vw, 1rem);
  align-items: center;
}
.nav-list li a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-list li a:not(.prueba-gratuita) {
  padding: 12px 15px;
  border-radius: 6px;
}
.nav-list li a:not(.prueba-gratuita):hover {
  background-color: #f4f7f9;
  color: #1E488F;
}

.has-dropdown {
  position: relative;
}
.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  display: none;
  padding: 10px 0;
  border-radius: 8px;
}
.has-dropdown:hover .dropdown {
  display: block;
}

.btn-prueba {
  background: lch(57% 85.24 48.23deg);
  color: white;
  padding: 8px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
}

/* Contenedor principal del dropdown */
.nav-list ul li.dropdown {
  position: relative; /* Importante para posicionar el submenú */
}

/* Configuramos el contenedor del menú (el ul) */
ul.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  background-color: #ffffff;
  min-width: 600px;
  max-width: 90vw;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 15px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

/* Mostramos el menú al hacer hover */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Estilo de los items para que no se amontonen */
.dropdown-menu li {
  list-style: none;
  display: block;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  color: #444;
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap; /* Evita que el texto de un solo item se parta en dos líneas */
  border-radius: 6px;
  transition: background 0.2s;
}

.dropdown-menu li a:hover {
  background-color: #f4f7f9;
  color: #1E488F;
}

/* 4. Iconos alineados */
.dropdown-menu li a i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
  color: #1E488F;
}

/* 5. RESPONSIVIDAD: Si la pantalla es pequeña, pasamos a 2 o 1 columna */
@media (max-width: 768px) {
  .dropdown-menu {
    grid-template-columns: repeat(2, 1fr);
    min-width: 400px;
  }
}
@media (max-width: 480px) {
  .dropdown-menu {
    grid-template-columns: 1fr;
    min-width: 280px;
  }
}
/* Ajuste para que el link principal no se mueva */
.nav-list ul li.dropdown > a {
  display: flex;
  align-items: center;
  height: 45px;
}

.main-footer {
  background: #F0F0F0;
  border-top: 1px solid #CCC;
  padding: 15px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  top: 0;
  margin-top: 5rem;
  z-index: 1000;
}

.footer-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}
@media (max-width: 600px) {
  .footer-grid {
    flex-direction: column;
    align-content: center;
  }
}

.footer-col a {
  color: #1E488F;
  text-decoration: none;
}
.footer-col a:active, .footer-col a:visited {
  color: #1E488F;
}

.footer-col h4 {
  margin-bottom: 6px;
}

.footer-bottom {
  margin-top: 4rem;
  text-align: center;
}

.whatsapp-icon a {
  display: inline-flex;
  gap: 4px;
}

.whatsapp-icon img {
  width: 20px;
  height: 20px;
  border-radius: 2px;
}

.whatsapp-btn {
  position: fixed;
  z-index: 100;
  line-height: 1.2rem;
  text-decoration: none;
  right: 1rem;
  bottom: 2rem;
  padding: 0.8rem 0.8rem;
  color: white;
  border-radius: 20px;
  background-color: #1DAA61;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

html {
  scroll-behavior: smooth !important;
}

.hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}
.hero > .hero-image {
  background-image: url(/assets/img/inicio_cabecera_01.png);
  height: 360px;
  background-size: 1440px auto;
  background-repeat: no-repeat;
  background-color: #444;
  background-position: center 33%;
}
.hero .hero-panel {
  position: absolute;
  top: 8.2rem;
  left: 1rem;
  width: 380px;
  border-radius: 5px;
  background-color: rgba(21.3157894737, 51.1578947368, 101.6052631579, 0.925);
  text-align: center;
  font-weight: bold;
  font-size: 24pt;
  letter-spacing: 0.2pt;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 2px 8px -2px hsla(0, 0%, 9%, 0.3), 0 8px 12px -2px hsla(0, 0%, 9%, 0.5);
}
.hero a {
  display: inline-block;
  padding: 1rem;
  font-size: 1.2rem;
  text-decoration: none;
}
.hero a:hover .btn-prueba {
  transform: translateY(-2px);
}
.hero .hero-titulo {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
  text-align: left;
  font-weight: bold;
  font-size: 18pt;
  color: white;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.hero .btn-prueba {
  display: inline-block;
  position: relative;
  box-shadow: 0 0 2px lch(40% 85.24 48.23deg);
  transition: transform 0.3s ease;
}
.hero .hero-detalles {
  display: flex;
  gap: 1rem;
  color: white;
  background-color: #1E488F;
  justify-content: center;
}
.hero .hero-detalles > div {
  margin: 1rem 0;
  padding: 0 1rem;
  max-width: 300px;
}
@media (max-width: 600px) {
  .hero .hero-detalles > div {
    margin: 0 1rem;
    padding: 1rem 1rem 1rem 0;
    max-width: 1000vw;
  }
}
@media (max-width: 600px) {
  .hero .hero-detalles {
    flex-direction: column;
  }
}
@media (min-width: 601px) {
  .hero .hero-detalles > div:not(:last-child) {
    border-right: 1px solid white;
  }
}
@media (max-width: 600px) {
  .hero .hero-detalles > div:not(:last-child) {
    border-bottom: 1px solid white;
  }
}
.hero__content {
  max-width: 600px;
}
.hero__content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero__content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

#seccion-soporte {
  text-align: center;
  margin: 3rem 0;
  scroll-margin-top: 120px;
  outline: none;
}

#seccion-soporte > div {
  display: inline-block;
  border: 1px solid #d1d9e6;
  padding: 2.5rem 0;
  border-radius: 15px;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
#seccion-soporte > div a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 3rem;
  gap: 15px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
  margin-top: 20px;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.solution-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 30px;
  box-shadow: 0 12px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.solution-card:active, .solution-card:visited {
  color: unset;
}
.solution-card:hover {
  transform: translateY(-2px);
}
.solution-card img {
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  border-radius: 2px;
  height: 225px;
  -o-object-fit: cover;
     object-fit: cover;
}
.solution-card i {
  font-size: 3rem;
  color: #1E488F;
}
.solution-card h3 {
  position: relative;
  margin: 15px 0;
  margin-top: -2.5rem;
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6784313725);
  z-index: 1;
}
.solution-card p {
  margin-bottom: 4px;
}

.logo-exito-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
}

.logo-exito {
  width: 100%;
  height: auto;
  max-height: 120px;
  -o-object-fit: contain;
     object-fit: contain;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.logo-exito:hover {
  transform: scale(1.15);
}

/* Contenedor principal de los módulos */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Forzamos exactamente 3 columnas del mismo tamaño */
  gap: 60px 40px; /* Espacio entre tarjetas (puedes subirlo a 50px si quieres más aire) */
  margin-bottom: 80px; /* Espacio grande antes de Casos de Éxito */
  max-width: 1200px; /* Ajusta esto al ancho de tu web para que no se estiren de más */
  margin-left: auto;
  margin-right: auto;
}

/* Estilo de cada tarjeta para que no se vean pegadas al borde */
.solution-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 2px 8px -2px hsla(0, 0%, 9%, 0.08), 0 8px 12px -2px hsla(0, 0%, 9%, 0.16); /* Sombra suave para que se vean separadas del fondo */
  transition: transform 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-5px); /* Pequeño salto al pasar el mouse */
}

/* Ajuste para celulares: que pasen a ser 1 sola columna si la pantalla es pequeña */
@media (max-width: 900px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
  }
}
@media (max-width: 600px) {
  .solutions-grid {
    grid-template-columns: 1fr; /* 1 columna en móviles */
  }
}
.card-prueba-pro {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #d1d9e6;
  border-radius: 15px;
  overflow: hidden;
  text-align: left;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card-prueba-pro:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(30, 72, 143, 0.15);
  border-color: #1E488F;
}

.card-body-text {
  flex: 1;
  padding: 2rem;
}

.card-title-pro {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1E488F;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.card-description-pro {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.card-button-pro {
  display: inline-block;
  padding: 12px 25px;
  background-color: lch(57% 85.24 48.23deg);
  color: white;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px -2px hsla(0, 0%, 9%, 0.08), 0 8px 12px -2px hsla(0, 0%, 9%, 0.16);
}

.card-image-side {
  flex: 0 0 50%;
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin: 1rem;
  border-left: 1px solid #edf2f7;
}

.card-image-side img {
  max-width: 100%;
  height: 265px;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Ajuste para que en celulares se vea uno arriba de otro */
@media (max-width: 768px) {
  .card-prueba-pro {
    flex-direction: column;
  }
  .card-body-text {
    text-align: center;
    padding: 2rem;
  }
  .card-image-side {
    width: 100%;
    border-left: none;
    border-top: 1px solid #edf2f7;
  }
}
.success-stories {
  text-align: center;
  margin: 3rem 0;
}
.success-stories__badge {
  display: inline-block;
  border: 1px solid #333;
  padding: 1.5rem 3rem;
  border-radius: 20px;
  background-color: #f9f9f9;
}

.support-section {
  text-align: center;
  margin: 3rem 0;
}
.support-section__container {
  display: inline-block;
  border: 1px solid #1E488F;
  padding: 2.5rem 0;
  border-radius: 20px;
  background-color: white;
}
.support-section__flex {
  display: flex;
  justify-content: center;
}
.support-section__item {
  padding: 0 3rem;
}

.soluciones-contenedor {
  padding: 4rem 20px 2rem;
}
.soluciones-contenedor h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #333;
  margin: 0;
}
.soluciones-contenedor h1 span {
  color: #1E488F;
}
.soluciones-contenedor p {
  font-size: 1.2rem;
  color: #666;
  margin-top: 1rem;
  max-width: 850px;
  line-height: 1.6;
}

.hero-soluciones {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}
.hero-soluciones > .hero-image {
  background-image: url(/assets/img/soluciones/soluciones-efactory-hero.png);
  height: 360px;
  background-size: 1440px auto;
  background-repeat: no-repeat;
  background-color: #444;
  background-position: center 70%;
}
.hero-soluciones .hero-panel {
  position: absolute;
  top: 8.2rem;
  left: 1rem;
  width: 380px;
  border-radius: 5px;
  background-color: rgba(21.3157894737, 51.1578947368, 101.6052631579, 0.925);
  text-align: center;
  font-weight: bold;
  font-size: 24pt;
  letter-spacing: 0.2pt;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 2px 8px -2px hsla(0, 0%, 9%, 0.3), 0 8px 12px -2px hsla(0, 0%, 9%, 0.5);
}
.hero-soluciones a {
  display: inline-block;
  padding: 1rem;
  font-size: 1.2rem;
  text-decoration: none;
}
.hero-soluciones a:hover .btn-prueba {
  transform: translateY(-2px);
}
.hero-soluciones .hero-titulo {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
  text-align: left;
  font-weight: bold;
  font-size: 18pt;
  color: white;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.hero-soluciones .btn-prueba {
  display: inline-block;
  position: relative;
  box-shadow: 0 0 2px lch(40% 85.24 48.23deg);
  transition: transform 0.3s ease;
}
.hero-soluciones .hero-detalles {
  height: 16px;
  display: flex;
  gap: 1rem;
  color: white;
  background-color: #1E488F;
  justify-content: center;
}
.hero-soluciones__content {
  max-width: 600px;
}
.hero-soluciones__content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero-soluciones__content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

/* Estilos de los Pilares (Cuadros de arriba) */
.pilares-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.card-pilar {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 18px;
  padding: 15px 15px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.card-pilar:hover {
  transform: translateY(-8px);
}

.pilar-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  border-bottom: 1px rgba(0, 0, 0, 0.2) solid;
}

.pilar-icon i {
  padding: 0.4rem;
  border-radius: 4px;
  color: #1E488F;
}

.card-pilar h4 {
  color: #1E488F;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.card-pilar p {
  color: #777;
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}

/* Estilos de las Ventajas (Cuadros de abajo con borde de color) */
.planes-grid-link {
  text-decoration: none;
  color: unset;
}

.planes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  font-family: Arial Rounded MT Bold, Helvetica Rounded, Arial, sans-serif;
}
.planes-grid > div {
  transition: transform 0.3s ease;
}
.planes-grid > div:hover {
  transform: translateY(-5px);
}
.planes-grid .bg-plan-basico {
  --color1: #0169a1;
  --color2: #3498DB;
}
.planes-grid .bg-plan-popular {
  --color1: #6e228b;
  --color2: #9B59B6;
}
.planes-grid .bg-plan-crecimiento {
  --color1: #00846a;
  --color2: #1ABC9C;
}
.planes-grid .bg-plan-onpremise {
  --color1: #D35400;
  --color2: #F39C12;
}
.planes-grid .bg-plan-basico, .planes-grid .bg-plan-popular, .planes-grid .bg-plan-crecimiento, .planes-grid .bg-plan-onpremise {
  background: var(--color2);
  background: linear-gradient(0deg, var(--color1) 0%, var(--color2) 100%);
  --color3: color-mix(in oklab, var(--color2) 60%, #000000);
  --color4: color-mix(in oklab, var(--color2) 40%, #000000);
  --color5: color-mix(in oklab, var(--color2) 30%, #000000);
}
.planes-grid .plan-enterprice__tarjeta {
  border: 1px solid var(--color3);
  border-top-width: 12px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.planes-grid .plan-enterprice__cuerpo {
  display: flex;
  flex-direction: column;
  padding: 16px 16px;
  text-align: center;
  color: var(--color5);
  height: 360px;
}
.planes-grid .plan-enterprice__cuerpo > * {
  flex: 0 0 auto;
}
.planes-grid .plan-enterprice__cuerpo h3 {
  margin-top: 0.4rem;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}
.planes-grid .plan-enterprice__cuerpo .plan-enterprice-empresas {
  border-top: 2px solid white;
  border-bottom: 2px solid white;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
  padding: 0.5rem 0;
  margin: 0.5rem 0;
  font-size: 1.6rem;
  font-weight: 600;
}
.planes-grid .plan-enterprice__cuerpo .plan-enterprice-pago {
  flex: 1 1 auto;
  color: #FFFFFF;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 110%;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}
.planes-grid .plan-enterprice__cuerpo .plan-enterprice-pago span {
  display: block;
  font-size: 1.6rem;
  font-weight: normal;
}
.planes-grid .plan-enterprice__cuerpo .plan-enterprice-plan {
  color: #FFFFFF;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 1.2pt;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}
.planes-grid .plan-enterprice__cuerpo .plan-enterprice-detalle {
  color: #34495E;
}
.planes-grid .plan-enterprice__iconos {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.planes-grid .plan-enterprice__icono {
  display: inline-block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--color4);
  font-weight: bold;
  background-color: white;
}
.planes-grid .plan-enterprice__icono i {
  width: 48px;
  font-size: 28px;
  height: 48px;
  display: grid;
  justify-content: center;
  align-items: center;
}
.planes-grid .plan-enterprice__informacion {
  margin: 8px 0;
  padding: 4px 16px;
  height: 112px;
  text-align: center;
  font-size: 1.2rem;
  color: white;
  background: var(--color1);
  border: 1px solid var(--color3);
  border-bottom-width: 12px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}
.planes-grid .plan-enterprice__informacion strong {
  letter-spacing: 1pt;
}
.planes-grid .plan-enterprice__general {
  grid-column: 1/-1;
  padding: 1rem;
  color: white;
  font-family: Verdana;
  font-size: 2rem;
  letter-spacing: 0.6pt;
  text-wrap: balance;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #1E488F;
}

/* bloques de sistemas */
.card-soluciones-horizontal {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid #d1d9e6;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  scroll-margin-top: 100px; /*  */
}
.card-soluciones-horizontal .card-img-container {
  flex: 0 0 400px;
  padding: 30px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.card-soluciones-horizontal .card-img-container img {
  width: 100%;
  height: 260px;
  -o-object-fit: cover;
     object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.13);
}
.card-soluciones-horizontal {
  /* CONTENEDOR QUE "SUSPENDE" LA LÍNEA */
}
.card-soluciones-horizontal .divider-container {
  display: flex;
  align-items: center;
  padding: 30px 0; /* Espacio arriba y abajo para que la línea no toque el borde */
}
.card-soluciones-horizontal .vertical-line {
  width: 3px; /* Grosor de la línea */
  height: 100%;
  background-color: #1E488F; /* Azul corporativo */
  border-radius: 10px;
}
.card-soluciones-horizontal .card-content-container {
  flex: 1;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  justify-content: start;
}
.card-soluciones-horizontal .title-header h3 {
  font-size: 2rem;
  color: #1E488F;
  font-weight: 800;
  margin: 0 0 25px 0;
}
.card-soluciones-horizontal .details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.card-soluciones-horizontal .info-block h4 {
  color: #333;
  font-size: 0.95rem;
  font-weight: 800;
  border-bottom: 2px solid #d1d9e6;
  display: inline-block;
  margin-bottom: 10px;
}
.card-soluciones-horizontal .info-block li {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 1024px) {
  .card-soluciones-horizontal {
    flex-direction: column;
  }
}
@media (max-width: 1024px) {
  .card-soluciones-horizontal .card-modulo-horizontal {
    flex-direction: column;
    align-items: center;
  }
  .card-soluciones-horizontal .divider-container {
    width: 80%;
    height: auto;
    padding: 0;
    margin: 20px 10%;
  }
  .card-soluciones-horizontal .vertical-line {
    width: 100%;
    height: 3px;
  }
  .card-soluciones-horizontal .card-img-container img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 400px;
    -o-object-fit: cover;
       object-fit: cover;
  }
}

/* Aseguramos que el card sea el contenedor relativo del botón */
.card-modulo-horizontal {
  position: relative;
  display: flex;
  flex-wrap: wrap; /* Permite que el panel de detalles baje a la siguiente fila */
  align-items: flex-start;
  padding-top: 45px; /* Espacio para que el botón no tape el contenido */
}

/* Botón estilizado con tus colores */
.expand-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background-color: #1E488F;
  color: white;
  border: none;
  padding: 0.8rem 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: bold;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.2rem;
}

.expand-btn:hover {
  background-color: #e67e22; /* El naranja de tus botones de demo */
}

/* Panel de detalles que ocupa todo el ancho */
.module-details-panel {
  flex: 0 0 100%; /* Obliga al panel a ocupar toda la fila inferior */
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  background-color: #fbfcfe;
  border-radius: 0 0 15px 15px;
}

.module-details-panel.active {
  max-height: 2000px; /* Suficiente para el contenido */
  padding: 30px 20px;
  border-top: 1px solid #eee;
  margin-top: 20px;
}

/* Estilos del Slider */
.system-slider {
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}

.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  padding: 15px 5px;
}

.slide {
  position: relative;
  overflow: hidden; /* Crucial: recorta el texto que sobra */
  height: 400px;
  min-width: calc(33.33% - 20px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.slide:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(30, 72, 143, 0.15);
}

.slide img {
  width: 100%;
  height: 238px;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 5px;
  border: 1px solid #efefef;
  transition: transform 0.5s ease, filter 0.3s ease;
}

.card-content {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  box-sizing: border-box;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 2;
}

.slide:hover .card-content {
  transform: translateY(-60%);
}

.slide:hover img {
  filter: brightness(0.8) blur(1px);
  transform: scale(1.05);
}

.slide p {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  margin-top: 10px;
}

/* Texto publicitario */
.ad-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.ad-description h3 {
  color: #1E488F;
  margin-bottom: 10px;
}

.full-text {
  display: none; /* Oculto por defecto */
  font-size: 0.85rem;
  color: #555;
  margin-top: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slide:hover .full-text {
  display: block; /* Aparece en hover */
  opacity: 1;
}

.slider-nav-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
}

.slider-arrow {
  background: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 10;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.dot {
  width: 8px;
  height: 8px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: #1E488F;
  width: 20px;
  border-radius: 5px;
}

/* Estilos de la Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 40px;
}

.modal-content {
  max-width: min(1200px, 80vw);
  margin: auto;
  color: white;
  text-align: center;
}

.modal-content img {
  border-radius: 8px;
}

.modal-text {
  background-color: #111;
  padding: 10px 20px;
  border-radius: 20px;
  margin-top: 20px;
}/*# sourceMappingURL=style.css.map */