/* ============================================
   SOLUCIONES INTEGRALES - ESTILOS VISUALES
   Diseño con imagen, stats flotantes e iconos
   ============================================ */

/* Container Principal */
.soluciones-integrales-visual {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 3rem;
    align-items: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.soluciones-integrales-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--gold-accent), var(--success-color), var(--accent-color));
}

/* Decoraciones de fondo */
.soluciones-integrales-visual::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ============================================
   CONTENIDO PRINCIPAL
   ============================================ */

.soluciones-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Header con icono */
.soluciones-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.soluciones-header__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #0891b2 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.35);
    flex-shrink: 0;
}

.soluciones-header__text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.soluciones-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.soluciones-subtitle {
    font-size: 0.95rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* Descripción */
.soluciones-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ============================================
   FEATURES GRID
   ============================================ */

.soluciones-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}

.soluciones-feature {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.soluciones-feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-color: rgba(6, 182, 212, 0.3);
}

.soluciones-feature__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.soluciones-feature:hover .soluciones-feature__icon {
    transform: scale(1.1);
}

.soluciones-feature__icon--team {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0.1) 100%);
    color: var(--accent-color);
}

.soluciones-feature__icon--tech {
    background: linear-gradient(135deg, rgba(201, 168, 112, 0.2) 0%, rgba(201, 168, 112, 0.1) 100%);
    color: var(--gold-accent);
}

.soluciones-feature__icon--results {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
    color: var(--success-color);
}

.soluciones-feature__icon--support {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%);
    color: var(--info-color);
}

.soluciones-feature__text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.soluciones-feature__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
}

.soluciones-feature__desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   IMAGEN CON ELEMENTOS DECORATIVOS
   ============================================ */

.soluciones-image-section {
    position: relative;
}

.soluciones-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.soluciones-image-wrapper img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.soluciones-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.25rem;
}

.soluciones-image-badge {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: linear-gradient(135deg, var(--gold-accent) 0%, #b39760 100%);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(201, 168, 112, 0.4);
}

.soluciones-image-badge i {
    font-size: 1rem;
}

/* ============================================
   STATS FLOTANTES
   ============================================ */

.soluciones-floating-stats {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem 0;
    pointer-events: none;
}

.soluciones-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    transition: all 0.3s ease;
}

.soluciones-stat:hover {
    transform: translateX(5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.soluciones-stat__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.soluciones-stat--top .soluciones-stat__icon {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0369a1;
}

.soluciones-stat--bottom .soluciones-stat__icon {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.soluciones-stat__text {
    display: flex;
    flex-direction: column;
}

.soluciones-stat__number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.soluciones-stat__label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ============================================
   ANIMACIONES
   ============================================ */

@keyframes float-stat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.soluciones-stat--top {
    animation: float-stat 4s ease-in-out infinite;
}

.soluciones-stat--bottom {
    animation: float-stat 4s ease-in-out infinite 1s;
}

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

@media screen and (max-width: 1100px) {
    .soluciones-integrales-visual {
        grid-template-columns: 1fr 350px;
        gap: 2rem;
        padding: 2rem;
    }

    .soluciones-image-wrapper img {
        height: 300px;
    }

    .soluciones-floating-stats {
        left: -20px;
    }
}

@media screen and (max-width: 900px) {
    .soluciones-integrales-visual {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .soluciones-image-section {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    .soluciones-image-wrapper img {
        height: 280px;
    }

    .soluciones-floating-stats {
        left: auto;
        right: -15px;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        flex-direction: column;
        gap: 1rem;
        padding: 0;
    }

    .soluciones-stat {
        padding: 0.75rem 1rem;
    }

    .soluciones-stat__number {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 768px) {
    .soluciones-integrales-visual {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .soluciones-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .soluciones-header__icon {
        width: 55px;
        height: 55px;
        font-size: 1.35rem;
    }

    .soluciones-header__text {
        align-items: center;
    }

    .soluciones-title {
        font-size: 1.5rem;
    }

    .soluciones-description {
        text-align: center;
        font-size: 1rem;
    }

    .soluciones-features {
        grid-template-columns: 1fr;
    }

    .soluciones-feature {
        padding: 0.875rem 1rem;
    }

    .soluciones-image-section {
        max-width: 100%;
    }

    .soluciones-image-wrapper img {
        height: 220px;
    }

    .soluciones-floating-stats {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .soluciones-stat {
        flex: 1;
        max-width: 150px;
        justify-content: center;
    }

    .soluciones-stat--top,
    .soluciones-stat--bottom {
        animation: none;
    }
}

@media screen and (max-width: 480px) {
    .soluciones-integrales-visual {
        padding: 1.25rem;
        gap: 1.5rem;
    }

    .soluciones-header__icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        border-radius: 12px;
    }

    .soluciones-title {
        font-size: 1.35rem;
    }

    .soluciones-subtitle {
        font-size: 0.85rem;
    }

    .soluciones-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .soluciones-feature {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .soluciones-feature__icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        border-radius: 8px;
    }

    .soluciones-feature__title {
        font-size: 0.875rem;
    }

    .soluciones-feature__desc {
        font-size: 0.75rem;
    }

    .soluciones-image-wrapper img {
        height: 180px;
    }

    .soluciones-image-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .soluciones-floating-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .soluciones-stat {
        max-width: 100%;
        padding: 0.625rem 0.875rem;
    }

    .soluciones-stat__icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .soluciones-stat__number {
        font-size: 1rem;
    }

    .soluciones-stat__label {
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 350px) {
    .soluciones-integrales-visual {
        padding: 1rem;
    }

    .soluciones-header__icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .soluciones-title {
        font-size: 1.2rem;
    }

    .soluciones-description {
        font-size: 0.9rem;
    }

    .soluciones-feature {
        padding: 0.625rem;
    }

    .soluciones-feature__icon {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .soluciones-feature__title {
        font-size: 0.8rem;
    }

    .soluciones-feature__desc {
        font-size: 0.7rem;
    }

    .soluciones-image-wrapper img {
        height: 150px;
    }

    .soluciones-image-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.875rem;
    }

    .soluciones-stat {
        padding: 0.5rem 0.75rem;
    }

    .soluciones-stat__icon {
        width: 32px;
        height: 32px;
    }
}
