/* ==========================================
   HERO STATS - SOLUCIONES
========================================== */

.hero-stats {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    padding: 15px 8% 10px;
    background: transparent;
    position: relative;
    z-index: 2;
    margin-top: -50px;
}

/* --- Card: icono izquierda, textos derecha --- */

.hero-stat-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;

    flex: 1 1 0;
    min-width: 0;
    background-color: var(--blanco);
    border: 1px solid var(--gris-borde);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 16px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(10, 18, 38, 0.15);
}

.hero-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-stat-icon-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: invert(28%) sepia(93%) saturate(1443%) hue-rotate(200deg) brightness(94%) contrast(88%);
}

.hero-stat-texts {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.hero-stat-title {
    color: var(--azul-secundario);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
}

.hero-stat-subtitle {
    color: var(--gris-texto);
    font-size: 0.8rem;
    line-height: 1.5;
}


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

@media (max-width: 1024px) {
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-stat-card {
        flex: 1 1 calc(50% - 20px);
        max-width: 480px;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 20px 5% 10px;
    }

    .hero-stat-card {
        width: 100%;
        padding: 12px 14px;
    }

    .hero-stat-icon-img {
        width: 32px;
        height: 32px;
    }

    .hero-stat-title {
        font-size: 0.85rem;
    }

    .hero-stat-subtitle {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }
}


/* ==========================================
   SECCIÓN CATEGORÍAS DE EQUIPOS - SOLUCIONES
   Imagen de categoría, título y subtítulo.
========================================== */

.catagoria-equipos {
    padding: 5px 5%;
    margin-bottom: 10px;
    text-align: center;
    background: transparent;
}

.catagoria-equipos h2 {
    color: var(--azul-oscuro);
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.catagoria-equipos > p {
    color: var(--gris-texto);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.equipo-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}

/* --- Categoría card --- */

.equipo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;

    background-color: var(--blanco);
    border: 1px solid var(--gris-borde);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.equipo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(10, 18, 38, 0.15);
}

.equipo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
}

.equipo-icon-img {
    width: 100%;
    max-width: 260px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    background: transparent;
}

.equipo-texts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.equipo-title {
    display: block;
    color: var(--azul-oscuro);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
}

.equipo-subtitle {
    display: block;
    color: var(--gris-texto);
    font-size: 0.7rem;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .equipo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .equipo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .equipo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 320px;
        margin: 0 auto;
    }

    .equipo-card {
        padding: 12px;
    }

    .equipo-icon-img {
        height: 100px;
    }
}


/* ==========================================
   SECCIÓN CATÁLOGO DE PRODUCTOS - SOLUCIONES
   Imagen arriba, luego title/subtitle/items a la izquierda,
   botón "Ver detalle" abajo a la derecha en azul secundario.
========================================== */

.categoria-productos {
    padding: 10px 5%;
    margin-bottom: 10px;
    text-align: center;
    background: transparent;
}

.categoria-productos h2 {
    color: var(--azul-oscuro);
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.categoria-productos > p {
    color: var(--gris-texto);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.productos-card {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Producto card --- */

.producto-card {
    display: flex;
    flex-direction: column;
    text-align: left;

    background-color: var(--blanco);
    border: 1px solid var(--gris-borde);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.producto-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(10, 18, 38, 0.15);
}

.producto-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    padding: 16px 16px 0;
}

.producto-img {
    width: 100%;
    height: 130px;
    object-fit: contain;
    background: transparent;
}

.producto-texts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 16px 12px;
}

.producto-title {
    display: block;
    color: var(--azul-oscuro);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
}

.producto-subtitle {
    display: block;
    color: var(--gris-texto);
    font-size: 0.8rem;
    line-height: 1.3;
}

.producto-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
}

.producto-item {
    position: relative;
    padding-left: 20px;
    color: var(--gris-texto);
    font-size: 0.78rem;
    line-height: 1.4;
}

.producto-item::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--azul-oscuro);
    font-size: 0.8rem;
    font-weight: 700;
}

.producto-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    margin: 12px 16px 16px;
    padding: 8px 18px;
    background-color: var(--azul-secundario);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.producto-btn:hover {
    background-color: #1c4fc0;
}

@media (max-width: 1024px) {
    .productos-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .productos-card {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}


/* ==========================================
   SECCIÓN PASOS - SOLUCIONES
   Icono a la izquierda, title y subtitle a la derecha.
   Numeral en círculo azul secundario en la esquina superior del icono.
   Sin puntos ni flechas entre cards.
========================================== */

.proceso-section {
    padding: 10px 5%;
    text-align: center;
    margin-top: 10px;
}

.proceso-section h2 {
    color: var(--azul-oscuro);
    font-size: 1.6rem;
    margin-bottom: 30px;
}

.pasos-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
}

/* --- Flecha punteada (entre tarjetas) --- */

.paso-arrow {
    position: relative;
    flex-shrink: 0;
    width: 50px;
    height: 20px;
    margin: 0;
    align-self: center;
}

.paso-arrow::before {
    content: "";
    position: absolute;
    left: 0;
    right: 9px;
    top: 50%;
    border-top: 2px dashed var(--azul-secundario);
}

.paso-arrow::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-left: 8px solid var(--azul-secundario);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.paso-card {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    text-align: left;
    padding: 20px;
    background-color: var(--blanco);
    border: 1px solid var(--gris-borde);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.paso-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.paso-icon-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: invert(28%) sepia(93%) saturate(1443%) hue-rotate(200deg) brightness(94%) contrast(88%);
}

.paso-badge {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 20px;
    height: 20px;
    background-color: var(--azul-secundario);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paso-texts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    min-width: 0;
    flex: 1;
}

.paso-title {
    color: var(--azul-oscuro);
    font-size: 0.8rem;
    font-weight: 600;
    text-align: left;
}

.paso-subtitle {
    color: var(--gris-texto);
    font-size: 0.65rem;
    line-height: 1.4;
    text-align: left;
}

@media (max-width: 1024px) {
    .pasos-grid {
        flex-wrap: wrap;
        gap: 15px;
    }

    .paso-arrow {
        display: none;
    }

    .paso-card {
        flex: 1 1 calc(50% - 15px);
        max-width: 480px;
    }
}

@media (max-width: 768px) {
    .pasos-grid {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .paso-card {
        flex: 1 1 100%;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }
}


/* ==========================================
   SECCIÓN EXHIBICIÓN - SOLUCIONES
   Mismo diseño que la sección elección de inicio,
   con primera columna más grande, icono más grande
   y fondo azul claro.
========================================== */

.exhibicion-section {
    padding: 5px 5%;
}

.exhibicion-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    background-color: var(--blanco);
    border: 1px solid var(--gris-borde);
    border-radius: 16px;
    background: #e8f1fd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px 24px;
}

.exhibicion-card {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 0;
    text-align: left;
    padding: 12px 20px;
    border-right: 1px solid var(--gris-borde);
}

.exhibicion-card:last-child {
    border-right: none;
}

.exhibicion-card--featured {
    flex: 1.6;
}

.exhibicion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.exhibicion-icon-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: invert(28%) sepia(93%) saturate(1443%) hue-rotate(200deg) brightness(94%) contrast(88%);
}

.exhibicion-card--featured .exhibicion-icon-img {
    width: 70px;
    height: 70px;
}

.exhibicion-texts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.exhibicion-title {
    display: block;
    width: 150px;
    line-height: 1.2;
    text-align: left;
    color: var(--azul-oscuro);
    font-size: 0.95rem;
    font-weight: 600;
}

.exhibicion-card--featured .exhibicion-title {
    width: 280px;
    font-size: 1.1rem;
}

.exhibicion-subtitle {
    display: block;
    width: 100%;
    text-align: left;
    color: var(--gris-texto);
    font-size: 0.8rem;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .exhibicion-grid {
        flex-wrap: wrap;
    }

    .exhibicion-card,
    .exhibicion-card--featured {
        flex: 1 1 calc(50% - 20px);
        max-width: 480px;
    }
}

@media (max-width: 768px) {
    .exhibicion-section {
        padding: 30px 5%;
    }

    .exhibicion-card,
    .exhibicion-card--featured {
        flex: 1 1 100%;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }

    .exhibicion-title,
    .exhibicion-card--featured .exhibicion-title {
        width: 100%;
        max-width: 260px;
    }
}
