.hero-stats {
  width: 100%;
  padding: 40px 20px;
  background-color: #ffffff; /* Ajusta según el fondo de tu web */
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

/* 1. El contenedor circular con fondo azul y sombra */
.data-item-icon {
  width: 60px;
  height: 60px;
  background-color: #0056fb; 
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px auto;
  box-shadow: 0 4px 10px rgba(0, 86, 251, 0.3);
}

/* 2. La imagen del icono por dentro (vuelve blanco el icono) */
.trayectoria-item-icon-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(0) invert(1); 
}

.data-item-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.data-item-subtitle {
  display: block;
  font-size: 13px;
  color: #666666;
  line-height: 1.4;
  max-width: 250px;
  margin: 0 auto;
}

/* ==========================================
   SECCIÓN MÓDULOS
========================================== */

.section-modulo {
    padding: 40px 5% 10px;
    text-align: center;
}

.section-modulo h4 {
    color: var(--azul-secundario);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.section-modulo h2 {
    color: var(--azul-oscuro);
    font-size: 1.7rem;
    margin-bottom: 30px;
}

.modulo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.modulo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--blanco);
    border-radius: 12px;
    border: 1px solid var(--gris-borde);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    padding: 22px 14px;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modulo-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(10, 18, 38, 0.14);
}

.modulo-item-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--blanco);
    border: 1px solid var(--gris-borde);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modulo-item-icon-img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: invert(28%) sepia(93%) saturate(1443%) hue-rotate(200deg) brightness(94%) contrast(88%);
}

.modulo-item-title {
    color: var(--azul-oscuro);
    font-size: 0.9rem;
    font-weight: 600;
}

.modulo-item-subtitle {
    color: var(--gris-texto);
    font-size: 0.7rem;
    line-height: 1.5;
}

/* --- Responsive módulos --- */

@media (max-width: 1440px) {
    .modulo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .modulo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .modulo-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }
}

/* ==========================================
   SECCIÓN VIÑETAS
   ========================================== */

.vineta-section {
    padding: 20px 5% 40px;
}

.vineta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.vineta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--blanco);
    border-radius: 12px;
    border: 1px solid var(--gris-borde);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    padding: 22px 14px;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vineta-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(10, 18, 38, 0.14);
}

.vineta-item-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--azul-secundario);
    box-shadow: 0 4px 10px rgba(0, 86, 251, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vineta-item-icon-img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.vineta-item-title {
    color: var(--azul-oscuro);
    font-size: 0.95rem;
    font-weight: 600;
}

.vineta-item-subtitle {
    color: var(--gris-texto);
    font-size: 0.75rem;
    line-height: 1.5;
}

/* --- Responsive viñetas --- */

@media (max-width: 1440px) {
    .vineta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .vineta-grid {
        grid-template-columns: repeat(1, 1fr);
        max-width: 420px;
        margin: 0 auto;
    }
}

.negocio-selector {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 20px 20px;
    text-align: center;
}

.negocio-selector h2 {
    color: var(--azul-oscuro);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.negocio-selector > p {
    color: var(--gris-texto);
    font-size: 0.95rem;
    margin-bottom: 35px;
}

.negocio-selector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.negocio-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 30px 20px;
    background-color: var(--blanco);
    border: 1px solid var(--gris-borde);
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.negocio-card:hover {
    transform: translateY(-4px);
    border-color: var(--azul-secundario);
    box-shadow: 0 10px 22px rgba(10, 18, 38, 0.14);
}

.negocio-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--blanco);
    border: 1px solid var(--gris-borde);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.negocio-card-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: invert(28%) sepia(93%) saturate(1443%) hue-rotate(200deg) brightness(94%) contrast(88%);
}

.negocio-card-title {
    color: var(--azul-oscuro);
    font-size: 1.05rem;
    font-weight: 700;
}

.negocio-card-subtitle {
    color: var(--gris-texto);
    font-size: 0.8rem;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .negocio-selector-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .negocio-selector-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }
}

.info-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.info-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
}

.info-container--reverse {
  flex-direction: row-reverse;
}

.info-content {
  flex: 1;
  max-width: 480px;
}

.info-title {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.2;
  margin-bottom: 15px;
}

.info-subtitle {
  font-size: 15px;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 25px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
}

.info-check-icon {
  width: 15px;
  height: 15px;
  object-fit: contain;
  filter: invert(35%) sepia(85%) saturate(1200%) hue-rotate(190deg);
}

.info-btn {
  display: inline-block;
  background-color: #0056fb;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 86, 251, 0.3);
  transition: background-color 0.2s ease;
}

.info-btn:hover {
  background-color: #0043c7;
}

.info-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.info-image img {
  width: 480px;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

/* Responsive hero-grid */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 5%;
  }

  .data-item-title {
    font-size: 14px;
  }

  .data-item-subtitle {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .hero-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
}

/* Diseño responsivo para pantallas medianas y móviles */
@media (max-width: 900px) {
  .info-container {
    flex-direction: column;
    text-align: left;
  }
  .info-content {
    max-width: 100%;
  }
  .info-image img {
    width: 100%;
    height: auto;
  }
}

/* ==========================================
   CLIENTES - CARRUSEL DE MARCAS
========================================== */

.clientes-section {
    width: 100%;
    padding: 24px 5%;
    box-sizing: border-box;
    overflow: hidden;
    margin-top: 20px;
}

.clientes-section h2 {
    text-align: center;
    margin: 0 0 16px;
    font-size: 1.2rem;
    color: var(--azul-secundario);
    letter-spacing: 2px;
}

.cliente-carousel {
    width: 100%;
    box-sizing: border-box;
}

.cliente-carousel-title {
    text-align: center;
    margin: 0 0 10px;
    font-size: 1rem;
}

.cliente-carousel-inner {
    display: flex;
    align-items: center;
}

.cliente-carousel-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 40px;
    background: none;
    border: none;
    color: var(--azul-oscuro);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.cliente-carousel-arrow:hover {
    color: var(--azul-secundario);
}

.cliente-carousel-viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.cliente-carousel-track {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cliente-carousel-slide {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    box-sizing: border-box;
}

.cliente-carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.25s ease;
}


/* ==========================================
   RESPONSIVE PLATAFORMAS / CLIENTES
========================================== */

@media (max-width: 1024px) {
    .plataformas-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .plataformas-section h2 {
        width: 100%;
    }

    .plataformas-list {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .plataformas-list img {
        height: 42px;
    }

    .clientes-section {
        padding: 16px 4%;
    }

    .cliente-carousel-slide {
        height: 45px;
    }

    .cliente-carousel-arrow {
        width: 24px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .plataformas-list {
        gap: 12px;
    }

    .plataformas-list img {
        height: 34px;
    }

    .cliente-carousel-slide {
        height: 35px;
    }

    .cliente-carousel-arrow {
        width: 20px;
        font-size: 1rem;
    }
}
