﻿/* HERO SECTION MEJORADO */
.banner-PlanMedio {
    width: 100%;
    overflow: hidden;
    background-position: left;
    background: var(--color-white);
    
}

.bungee-spice-regular {
    font-family: "Bungee Spice", sans-serif;
    font-weight: 600;
    font-style: initial;
    color: var(--color-secondary);
}

    .banner-PlanMedio .wave {
        position: absolute;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--color-primary);
        box-shadow: inset 50px rgba(255, 255, 255, 0.1);
        transition: 0.5s;
        margin-bottom: 10px;
        color: var(--color-secondary) !important;
    }

        .banner-PlanMedio .wave span {
            position: absolute;
            width: 325vh;
            height: 255vh;
            top: 0;
            left: 50%;
            transform: translate(-50%, -75%);
            background: linear-gradient(135deg, #3a3a3a 0%, var(--color-secondary) 50%, var(--color-primary) 100%);
        }

    .banner-PlanMedio .content {
        position: relative;
        z-index: 2;
        animation: fadeInUp 1s ease-out;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-PlanMedio .wave span:nth-child(1) {
    border-radius: 45%;
    background: rgba(131, 58, 58, 0.8);
    animation: animate 5s linear infinite;
}

.banner-PlanMedio .wave span:nth-child(2) {
    border-radius: 40%;
    background: rgba(209, 198, 198, 0.6);
    animation: animate 10s linear infinite;
}

.banner-PlanMedio .wave span:nth-child(3) {
    border-radius: 42.5%;
    background: rgba(230, 228, 228, 0.4);
    animation: animate 15s linear infinite;
}

@keyframes animate {
    0% {
        transform: translate(-50%, -75%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -75%) rotate(360deg);
    }
}

.banner-PlanMedio .content h1,
.banner-PlanMedio .content p {
    color: var(--color-secondary) !important;
    text-align: left !important;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
}

.banner-PlanMedio .content h1 {
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.banner-PlanMedio .btn-white {
    background-color: var(--color-white) !important;
    color: var(--color-primary) !important;
    border: 2px solid var(--color-white) !important;
    padding: 12px 30px !important;
    font-size: 1.1rem;
    font-weight: bold;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

    .banner-PlanMedio .btn-white::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s;
    }

    .banner-PlanMedio .btn-white:hover::before {
        left: 100%;
    }

    .banner-PlanMedio .btn-white:hover {
        background-color: var(--color-primary) !important;
        color: var(--color-white) !important;
        border: 2px solid var(--color-primary) !important;
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 6px 20px rgba(210, 10, 17, 0.4);
    }

.hero-btn {
    position: absolute;
    top: 40%;
    left: 20%;
    transform: translateY(-50%);
    width: auto;
}

.banner-PlanMedio .btn-white {
    background-color: var(--color-white) !important;
    color: var(--color-primary) !important;
    border: 2px solid var(--color-white) !important;
    padding: clamp(10px, 2vw, 16px) clamp(20px, 4vw, 40px) !important;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    font-weight: bold;
    transition: var(--transition-bounce);
}

@media (max-width: 768px) {

    .banner-PlanMedio {
        height: auto;
    }

    .hero-btn {
        /*        position: static;*/
        transform: none;
        margin-top: 1.5rem;
        display: flex;
        justify-content: center;
        padding: 0 20px;
        top: 380px;
        left: 90px;
    }

    .banner-PlanMedio .btn-white {
        width: 100%;
        max-width: 320px;
        font-size: 1rem;
        padding: 12px 0 !important;
        color: var(--color-white) !important;
        background: var(--color-primary) !important;
    }
}


/* Estilos para la galería de Plan de Premios */

.gallery-grid {
    margin-top: 20px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    background: white;
}

    .gallery-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }

.gallery-image-container {
    position: relative;
    overflow: hidden;
    height: 320px;
    height: 250px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-info h5 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.gallery-info p {
    color: #f8f9fa;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.premio-badge {
    background: linear-gradient(to right, #D92534, #c0392b);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Detalles de premios */
.premio-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

    .premio-detail:hover {
        background: white;
        box-shadow: var(--box-shadow);
        transform: translateX(5px);
    }

    .premio-detail i {
        font-size: 1.5rem;
        margin-top: 5px;
    }

    .premio-detail h5 {
        color: var(--secondary-color);
        margin-bottom: 5px;
        font-size: 1rem;
    }

    .premio-detail p {
        color: var(--light-text);
        font-size: 0.9rem;
        margin-bottom: 0;
    }

/* Responsive para la galería */
@media (max-width: 768px) {
    .gallery-image-container {
        height: 200px;
    }

    .gallery-overlay {
        padding: 15px;
        opacity: 1;
        background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    }

    .gallery-info h5 {
        font-size: 1rem;
    }

    .gallery-info p {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .gallery-image-container {
        height: 180px;
    }

    .premio-detail {
        padding: 10px;
    }

        .premio-detail i {
            font-size: 1.2rem;
        }
}



/*boton Flotante*/
.flotante {
    position: fixed;
    bottom: 60px;
    right: 80px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}


.btn-flotante {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1e5ec9;
    color: white;
    border: none;
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    cursor: pointer;
    transition: all .3s ease;
    animation: pulso 2.5s infinite;
}

    .btn-flotante i {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(255,255,255,0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        transition: all .3s ease;
    }

    .btn-flotante:hover {
        background: #d20a11;
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    }

        .btn-flotante:hover i {
            background: rgba(255,255,255,0.3);
            transform: rotate(10deg) scale(1.1);
        }

.flotante {
    position: fixed;
    bottom: 60px;
    right: 80px;
    z-index: 9999;
}

.ondas-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.onda {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 3px solid #1e5ec9;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: expand-ring 2s ease-out infinite;
    opacity: 0;
}

.onda-2 {
    animation-delay: 1s;
    border-color: #ff6b35;
}

@keyframes expand-ring {
    0% {
        width: 60px;
        height: 60px;
        opacity: 0.8;
    }

    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

.btn-flotante {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1e5ec9;
    color: white;
    border: none;
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    cursor: pointer;
    transition: all .3s ease;
}

/* ===== CONTADOR RESPONSIVE ===== */
.contador-pro {
    padding: 30px 15px;
}

.contador-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.contador-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contador-box p {
    font-size: clamp(10px, 2vw, 14px);
    margin-top: 8px;
    color: white;
    font-weight: bold;
}

.digit-wrapper {
    display: flex;
    flex-direction: row;
    gap: 4px;
}

.digit {
    width: clamp(39px, 6vw, 55px);
    height: clamp(50px, 8vw, 85px);
    font-size: clamp(14px, 3vw, 28px);
}

.separador {
    font-size: clamp(20px, 4vw, 36px);
    color: white;
    font-weight: bold;
    align-self: center;
    padding-bottom: 50px;
}

@media (max-width: 480px) {
    .contador-container {
        gap: 5px;
    }

    .digit-wrapper {
        gap: 2px;
    }
}

/* ===== NÚMEROS RESULTADOS RESPONSIVE ===== */
.num-box {
    background: white;
    color: #1a1a1a;
    border-radius: 6px;
    font-weight: bold;
    font-size: clamp(20px, 4.5vw, 38px);
    width: clamp(42px, 9vw, 65px);
    height: clamp(46px, 9vw, 68px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.titulo-resultados h1 {
    font-size: clamp(3rem, 6vw, 4rem) !important;
}

/* ===== CONTADOR FONDO RESPONSIVE ===== */
.contador-pro {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    width: 100%;
    padding: 30px 15px;
}

@media (max-width: 768px) {

    /* OPCIÓN 1 - Zoom out para ver más imagen */
    .contador-pro {
        background-size: 130% !important;
        background-position: center center !important;
    }
}


/* ── Wrapper que limita el ancho total ── */
.estrategias-wrapper {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}
 
/* ── Tarjeta contenedora principal ── */
.estrategia-card {
    background: white;
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #D92534;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    overflow: hidden;
}
 
.estrategia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
 
/* ── Encabezado rojo ── */
.estrategia-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 28px;
    background: linear-gradient(135deg, #D92534 0%, #a81c27 100%);
    border-bottom: 2px solid rgba(255,255,255,0.1);
}
 
.estrategia-icon {
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}
 
.estrategia-title {
    color: white;
    font-family: "Shojumaru", system-ui;
    font-size: 1.4rem;
    margin: 0;
}
 
/* ── Cuerpo de la tarjeta ── */
.estrategia-body {
    padding: 28px 30px;
}
 
/* ── Descripción intro ── */
.estrategia-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    text-align: justify;
    margin-bottom: 20px;
}
 
/* ── Sublabels de sección (Cómo funciona / Condiciones / Objetivo) ── */
.estrategia-sublabel {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #D92534;
    font-family: "Shojumaru", system-ui;
    font-size: 1.1rem;
    margin: 22px 0 12px;
}
 
.estrategia-sublabel i {
    font-size: 1rem;
}
 
/* ── Lista de ítems con check ── */
.estrategia-items {
    display: grid;
    gap: 0;
}
 
.estrategia-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 14px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    transition: background 0.15s ease;
}
 
.estrategia-item:last-child {
    border-bottom: none;
}
 
.estrategia-item:hover {
    background: #fdf5f5;
}
 
.estrategia-item .item-icon {
    color: #D92534;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}
 
/* ── Grid de objetivos (4 tarjetas) ── */
.estrategia-objectives {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 4px;
}
 
.estrategia-objective {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease, background 0.3s ease;
}
 
.estrategia-objective:hover {
    transform: translateY(-3px);
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
 
.estrategia-obj-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #D92534, #a81c27);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
 
.estrategia-obj-icon i {
    color: white;
    font-size: 1rem;
}
 
.estrategia-obj-content h5 {
    color: #D92534;
    font-family: "Shojumaru", system-ui;
    font-size: 0.95rem;
    margin: 0 0 5px;
    line-height: 1.3;
}
 
.estrategia-obj-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}
 
/* ── Tarjetas de premios (Letra Millonaria) ── */
.estrategia-prizes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 4px;
}
 
.estrategia-prize-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 16px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #D92534;
    transition: transform 0.3s ease, background 0.3s ease;
}
 
.estrategia-prize-card:hover {
    transform: translateY(-3px);
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
 
.estrategia-prize-tag {
    display: inline-block;
    background: linear-gradient(135deg, #D92534, #a81c27);
    color: white;
    font-size: 0.78rem;
    font-weight: bold;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}
 
.estrategia-prize-amount {
    font-family: "Shojumaru", system-ui;
    font-size: 1.8rem;
    color: #D92534;
    line-height: 1.2;
    margin-bottom: 6px;
}
 
.estrategia-prize-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}
 
/* ── Responsive ── */
@media (max-width: 768px) {
    .estrategia-header {
        padding: 14px 20px;
        flex-direction: column;
        text-align: center;
    }
 
    .estrategia-title {
        font-size: 1.2rem;
    }
 
    .estrategia-body {
        padding: 20px 18px;
    }
 
    .estrategia-objectives {
        grid-template-columns: 1fr;
    }
 
    .estrategia-objective {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
 
    .estrategia-prizes {
        grid-template-columns: 1fr;
    }
}
 
@media (max-width: 576px) {
    .estrategia-description {
        font-size: 1rem;
    }
 
    .estrategia-item {
        font-size: 0.95rem;
        padding: 10px 10px;
    }
 
    .estrategia-prize-amount {
        font-size: 1.5rem;
    }
}