/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f7f7fb;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* CONTENEDOR */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

/* LOGO */
.logo img {
    height: 42px;
}

/* MENU DESKTOP */
.menu-desktop a {
    margin-left: 20px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: 0.2s;
}

.menu-desktop a:hover {
    color: #ff7a00;
}

.btn-nav {
    background: #ff9933;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
}

/* BOTON MENU MOVIL */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: #5b21b6;
}

/* MENU LATERAL */
.menu-lateral {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100%;
    background: linear-gradient(180deg, #5b21b6, #ff7a00);
    padding: 30px 20px;
    transition: 0.3s;
    z-index: 1000;
}

.menu-lateral.activo {
    left: 0;
}

.menu-lateral a {
    display: block;
    color: white;
    padding: 14px 0;
    text-decoration: none;
    font-size: 18px;
}

/* FONDO OSCURO */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    z-index: 900;
}

.overlay.activo {
    display: block;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #ff7a00, #5b21b6);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 38px;
    margin-bottom: 20px;
}

.hero p {
    max-width: 650px;
    margin: auto;
    margin-bottom: 30px;
}

/* BOTON PRINCIPAL */
.btn-primary {
    background: white;
    color: #5b21b6;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 25px;
    transition: 0.25s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* SECCIONES */
section {
    padding: 70px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 30px;
    color: #4c1d95;
}

/* GRID */
.grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.grid-3 {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

/* TARJETAS */
.card {
    background: white;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, #ff7a00, #5b21b6);
    color: white;
    text-align: center;
}

/* FOOTER */
.footer {
    background: #1f1b2e;
    color: #bbb;
    padding: 60px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer h3,
.footer h4 {
    color: white;
    margin-bottom: 15px;
}

.footer a {
    display: block;
    color: #bbb;
    text-decoration: none;
    margin-bottom: 6px;
}

.copy {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    opacity: 0.6;
}

/* ============================= */
/* NUEVO: SECCION ALIANZAS */
/* ============================= */

.alianzas {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.alianza-card {
    background: white;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.alianza-card h2 {
    margin-bottom: 20px;
}

.alianza-card p {
    margin-bottom: 15px;
    color: #444;
}

.alianza-actions {
    margin-top: 25px;
}

/* ============================= */
/* NUEVO: POPUP VIDEO */
/* ============================= */

.popup-video {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.popup-video.activo {
    display: flex;
}

.popup-content {
    background: #000;
    padding: 10px;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    position: relative;
}

/* ============================= */
/* BANNER SLIDER */
/* ============================= */

.banner-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    /* Proporción exacta de las imágenes: 1982 x 696 px */
    aspect-ratio: 1982 / 696;
    cursor: pointer;
    padding: 0;
}

.banner-slider.paused::after {
    content: "⏸";
    position: absolute;
    bottom: 40px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 10;
    pointer-events: none;
}

/* FLECHAS */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.banner-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.banner-arrow-left {
    left: 12px;
}

.banner-arrow-right {
    right: 12px;
}

/* CELULAR */
@media (max-width: 600px) {
    .banner-slider {
        /* Misma proporción 1982x696 en móvil, el ancho es 100% del dispositivo */
        aspect-ratio: 1982 / 696;
    }

    .banner-arrow {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

.banner-slider+.hero {
    padding-top: 20px;
}

.banner-track {
    display: flex;
    height: 100%;
    transition: transform 1.2s ease;
}

.banner-slide {
    flex: 0 0 100%;
    height: 100%;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* DOTS */
.banner-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.banner-dots span.active {
    background: white;
}

.banner-dots span.active {
    background: white;
}

.popup-content iframe {
    width: 100%;
    height: 420px;
    border-radius: 8px;
}

.cerrar {
    position: absolute;
    top: -12px;
    right: -12px;
    background: white;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* ============================= */
/* NUEVO: FORMULARIOS MODERNOS */
/* ============================= */

form {
    max-width: 700px;
    margin: auto;
}

input,
textarea {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    font-family: inherit;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

button {
    border: none;
    cursor: pointer;
}

/* RESPONSIVE */
@media(max-width:900px) {

    .menu-desktop {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 28px;
    }

    .popup-content iframe {
        height: 240px;
    }
}

.contacto-redes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.redes a {
    font-size: 22px;
    margin-left: 10px;
    transition: 0.3s;
}

/* COLORES OFICIALES */
.redes .fb {
    color: #1877F2;
}

.redes .ig {
    color: #E4405F;
}

.redes .yt {
    color: #FF0000;
}

.redes .ln {
    color: #0A66C2;
}

.redes a:hover {
    transform: scale(1.2);
    opacity: 0.85;
}

/* FORZAR COLORES REDES SOCIALES */
.redes a.fb i {
    color: #1877F2 !important;
}

.redes a.ig i {
    color: #E4405F !important;
}

.redes a.yt i {
    color: #FF0000 !important;
}

.redes a.ln i {
    color: #0A66C2 !important;
}

/* REDES SOCIALES FOOTER */
.redes a {
    font-size: 22px;
    margin-right: 12px;
    text-decoration: none;
    transition: 0.3s;
}

/* COLORES OFICIALES */
.redes a.fb i {
    color: #1877F2 !important;
}

/* Facebook */
.redes a.ig i {
    color: #E4405F !important;
}

/* Instagram */
.redes a.yt i {
    color: #FF0000 !important;
}

/* YouTube */
.redes a.ln i {
    color: #0A66C2 !important;
}

/* LinkedIn */

/* EFECTO HOVER */
.redes a:hover i {
    transform: scale(1.2);
    opacity: 0.85;
}

/* VIDEO THUMBNAIL */
.video-thumbnail {
    width: 100%;
    max-width: 200px;
    border-radius: 10px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease;
}


/* VIDEO THUMBNAIL LARGE (30% LARGER) */
.video-thumbnail-large {
    width: 100%;
    max-width: 260px;
    /* 200px + 30% = 260px */
    border-radius: 10px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease;
}

.video-thumbnail-large:hover {
    transform: scale(1.05);
}

/* VIDEO CONTAINER SIDE-BY-SIDE */
.video-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* ============================= */
/* NUEVO: POPUP IMAGEN PRODUCTOS */
/* ============================= */

.producto-thumbnail {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.producto-thumbnail:hover {
    transform: scale(1.05);
}

.popup-img-container {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.popup-img-container.activo {
    display: flex;
}

.popup-img-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.popup-img-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    display: block;
}

/* ============================= */
/* ZOOM MODAL BANNER (MOVIL)     */
/* ============================= */

.banner-zoom-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    touch-action: pan-x pan-y pinch-zoom;
    overflow: auto;
}

.banner-zoom-modal.activo {
    display: flex;
}

.banner-zoom-modal img {
    max-width: 100%;
    max-height: 100vh;
    object-fit: contain;
    display: block;
    touch-action: pinch-zoom;
    user-select: none;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.2s ease;
}

.banner-zoom-cerrar {
    position: fixed;
    top: 14px;
    right: 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 22px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100000;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
}

.banner-zoom-cerrar:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Solo mostrar hint de zoom en movil */
.banner-zoom-hint {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    padding: 6px 16px;
    border-radius: 20px;
    pointer-events: none;
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

/* ============================= */
/* TARJETAS SOLUCIONES & MODAL   */
/* ============================= */

.solucion-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid #eef0f5;
    position: relative;
    overflow: hidden;
}

.solucion-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(91, 33, 182, 0.12);
    border-color: rgba(255, 122, 0, 0.3);
}

.solucion-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.1), rgba(91, 33, 182, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #ff7a00;
    font-size: 26px;
    transition: background 0.3s ease, color 0.3s ease;
}

.solucion-card:hover .solucion-icon-wrap {
    background: linear-gradient(135deg, #ff7a00, #5b21b6);
    color: #ffffff;
}

.solucion-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d1b4e;
    margin-bottom: 12px;
    line-height: 1.3;
}

.solucion-bajada {
    font-size: 0.93rem;
    color: #555566;
    line-height: 1.55;
    margin-bottom: 24px;
    flex-grow: 1;
}

.btn-solucion {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: #f4f4fa;
    color: #5b21b6;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 25px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-solucion i {
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

.btn-solucion:hover {
    background: linear-gradient(135deg, #ff7a00, #5b21b6);
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(255, 122, 0, 0.25);
}

.btn-solucion:hover i {
    transform: translateX(4px);
}

/* MODAL DE DETALLE SOLUCION */
.solucion-modal-container {
    position: fixed;
    inset: 0;
    background: rgba(15, 12, 29, 0.75);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solucion-modal-container.activo {
    display: flex;
    opacity: 1;
}

.solucion-modal-card {
    background: #ffffff;
    border-radius: 20px;
    max-width: 750px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.solucion-modal-header {
    background: linear-gradient(135deg, #ff7a00, #5b21b6);
    color: #ffffff;
    padding: 30px 35px 25px;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.solucion-modal-header .modal-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
}

.solucion-modal-header h2 {
    color: #ffffff;
    text-align: left;
    font-size: 1.6rem;
    margin-bottom: 0;
}

.solucion-modal-cerrar {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.solucion-modal-cerrar:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg);
}

.solucion-modal-body {
    padding: 30px 35px;
    color: #444455;
    font-size: 0.98rem;
    line-height: 1.7;
}

/* MINIATURA CON OVERLAY DE VIDEO EN TARJETA */
.card-video-thumb-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 18px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.card-video-thumb-wrap img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.card-video-thumb-wrap:hover img {
    transform: scale(1.05);
}

.card-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 122, 0, 0.9);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: background 0.25s ease, transform 0.25s ease;
}

.card-video-thumb-wrap:hover .card-video-play-btn {
    background: #5b21b6;
    transform: translate(-50%, -50%) scale(1.1);
}

/* SECCIONES EN EL MODAL */
.modal-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2d1b4e;
    margin: 25px 0 14px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #f0f0f8;
    padding-bottom: 8px;
}

.modal-section-title i {
    color: #ff7a00;
}

.modal-description-text {
    color: #444455;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.modal-benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
    list-style: none;
    padding: 0;
}

.modal-benefit-item {
    background: #f8f9fe;
    padding: 12px 16px;
    border-radius: 10px;
    border-left: 4px solid #5b21b6;
    font-size: 0.92rem;
    color: #333344;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 500;
}

.modal-benefit-item i {
    color: #10b981;
    font-size: 1rem;
    margin-top: 3px;
}

/* CAJA DE REDUCCION DE COSTOS / ROI */
.modal-roi-box {
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    border: 1px solid #a7f3d0;
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 24px;
}

.modal-roi-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 10px;
}

.modal-roi-header i {
    font-size: 1.3rem;
    color: #059669;
}

.modal-roi-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-roi-item {
    font-size: 0.93rem;
    color: #047857;
    line-height: 1.6;
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.modal-roi-item i {
    color: #10b981;
    margin-top: 4px;
}

/* CONTENEDOR DE VIDEO DE DEMOSTRACIÓN */
.modal-video-wrapper {
    width: 100%;
    height: 400px;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: #000000;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
}

.modal-video-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .modal-video-wrapper,
    .modal-video-wrapper iframe {
        height: 240px;
        min-height: 240px;
    }
}

.solucion-modal-footer {
    padding: 20px 35px 30px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    border-top: 1px solid #f0f0f5;
}

.btn-modal-action {
    background: linear-gradient(135deg, #ff7a00, #5b21b6);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-modal-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.3);
}

.btn-modal-secundario {
    background: #eef0f5;
    color: #555566;
    padding: 12px 20px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.btn-modal-secundario:hover {
    background: #e2e4ed;
}

/* ============================================== */
/* NUEVO: TARJETAS SHOWCASE DESTACADAS (PILOTO)  */
/* ============================================== */
.solucion-showcase-section {
    padding: 20px 0 50px;
}

.solucion-showcase-intro {
    text-align: center;
    margin-bottom: 30px;
}

.solucion-showcase-intro h2 {
    font-size: 28px;
    color: #4c1d95;
    margin-bottom: 8px;
}

.solucion-showcase-intro p {
    color: #64748b;
    font-size: 1rem;
    max-width: 650px;
    margin: 0 auto;
}

.solucion-showcase-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1e9fe;
    color: #5b21b6;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.solucion-showcase-badge-pill i {
    color: #ff7a00;
}

.solucion-showcase-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(91, 33, 182, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(91, 33, 182, 0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solucion-showcase-card:hover {
    box-shadow: 0 20px 50px rgba(91, 33, 182, 0.14), 0 8px 25px rgba(0, 0, 0, 0.06);
}

@media (min-width: 992px) {
    .solucion-showcase-card {
        flex-direction: row;
        align-items: stretch;
    }
}

/* Columna Izquierda: Multimedia */
.solucion-showcase-media {
    background: #0f0d1b;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
    position: relative;
}

@media (min-width: 992px) {
    .solucion-showcase-media {
        width: 36%;
        min-width: 36%;
        max-width: 36%;
    }
}

/* Switcher Pestañas de Media (Foto / Video) */
.solucion-media-tabs {
    display: flex;
    gap: 8px;
    z-index: 2;
}

.solucion-media-tab-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: inherit;
}

.solucion-media-tab-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.solucion-media-tab-btn.active {
    background: linear-gradient(135deg, #ff7a00, #ff9933);
    border-color: #ff7a00;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.4);
}

.solucion-media-view {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #181528;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    aspect-ratio: 16 / 9;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solucion-media-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.solucion-showcase-card:hover .solucion-media-img {
    transform: scale(1.02);
}

.solucion-media-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(15, 13, 27, 0.95) 0%, rgba(15, 13, 27, 0.7) 60%, rgba(15, 13, 27, 0) 100%);
    color: #ffffff;
    padding: 22px 18px 14px;
    font-size: 0.84rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.solucion-media-caption span {
    font-weight: 500;
    color: #e2e8f0;
}

.solucion-media-caption a {
    color: #ff9933;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.solucion-media-caption a:hover {
    color: #ffffff;
}

/* Video Wrapper */
.solucion-video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: #000000;
    display: none;
}

.solucion-video-container.active {
    display: block;
}

.solucion-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Columna Derecha: Contenido (Más ancho y rectangular) */
.solucion-showcase-content {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

@media (min-width: 992px) {
    .solucion-showcase-content {
        width: 64%;
        padding: 35px 45px;
    }
}

.solucion-showcase-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #4c1d95;
    margin-bottom: 4px;
    line-height: 1.25;
}

.solucion-showcase-subtitle {
    font-size: 1.02rem;
    color: #ff7a00;
    font-weight: 600;
    margin-bottom: 14px;
}

.solucion-showcase-desc {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.68;
    margin-bottom: 18px;
}

/* Fila de métricas rápidas compactas */
.solucion-quick-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.solucion-quick-stat-badge {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.solucion-quick-stat-badge strong {
    color: #5b21b6;
    font-weight: 700;
}

/* Botones de acción */
.solucion-showcase-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.btn-showcase-primary {
    background: linear-gradient(135deg, #ff7a00, #ff9933);
    color: #ffffff;
    padding: 11px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-showcase-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.35);
    color: #ffffff;
}

/* Botón Más Información / Toggle Expandible */
.btn-toggle-info {
    background: #f3f0ff;
    color: #5b21b6;
    border: 1.5px solid #d8b4fe;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.btn-toggle-info:hover {
    background: #5b21b6;
    color: #ffffff;
    border-color: #5b21b6;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(91, 33, 182, 0.25);
}

.btn-toggle-info i {
    transition: transform 0.3s ease;
    font-size: 0.82rem;
}

.btn-toggle-info.abierto i {
    transform: rotate(180deg);
}

.btn-showcase-secondary {
    background: #ffffff;
    color: #64748b;
    border: 1px solid #cbd5e1;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-showcase-secondary:hover {
    background: #f8fafc;
    color: #1e293b;
    border-color: #94a3b8;
    transform: translateY(-2px);
}

/* ============================================== */
/* CONTENEDOR EXPANDIBLE CON INFORMACIÓN COMPLETA */
/* ============================================== */
.solucion-showcase-expandable {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, margin 0.35s ease;
    margin-top: 0;
}

.solucion-showcase-expandable.abierto {
    max-height: 1000px;
    opacity: 1;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

/* Puntos Clave / Highlights */
.solucion-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.solucion-highlight-item {
    background: #f8fafc;
    border-left: 3px solid #ff7a00;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #334155;
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.solucion-highlight-item i {
    color: #ff7a00;
    margin-top: 3px;
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* ROI Badges */
.solucion-roi-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
}

.solucion-roi-stat {
    background: #faf5ff;
    border: 1px solid #e9d5ff;
    border-radius: 10px;
    padding: 8px 14px;
    flex: 1;
    min-width: 125px;
}

.solucion-roi-stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #5b21b6;
    display: block;
}

.solucion-roi-stat-label {
    font-size: 0.76rem;
    color: #64748b;
    line-height: 1.2;
}