/* ===================================
   LIBERA TU PROPÓSITO - CUSTOM STYLES
   Usando paleta específica del entrenamiento:
   --dark-color: #001314 (verde/azul muy oscuro)
   --accent-color: #0EBDC6 (turquesa/cyan)
   =================================== */

/* PARA QUIEN SECTION */
.para-quien-section {
    background: linear-gradient(135deg, #000000 0%, #001314 50%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.para-quien-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../../../images/background_2.jpg') center/cover;
    opacity: 0.08;
    z-index: 1;
}

.para-quien-content {
    position: relative;
    z-index: 2;
}

.para-quien-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.para-quien-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.para-quien-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.para-quien-card {
    background: rgba(1, 19, 20, 0.1);
    border: 1px solid rgba(14, 189, 198, 0.2);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.para-quien-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 189, 198, 0.1), transparent);
    transition: left 0.5s ease;
}

.para-quien-card:hover::before {
    left: 100%;
}

.para-quien-card:hover {
    transform: translateY(-10px);
    border-color: rgba(14, 189, 198, 0.5);
    box-shadow: 0 20px 40px rgba(14, 189, 198, 0.1);
}

.para-quien-icon {
    font-size: 2.5rem;
    color: #0EBDC6;
    margin-bottom: 1.5rem;
    display: block;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(14, 189, 198, 0.3);
}

.para-quien-card:hover .para-quien-icon {
    color: #ffffff;
    text-shadow: 
        0 0 20px rgba(14, 189, 198, 0.8),
        0 0 30px rgba(14, 189, 198, 0.6),
        0 0 40px rgba(14, 189, 198, 0.4);
    transform: scale(1.1);
}

.para-quien-card-title {
    font-size: 1.25rem;
    color: #0EBDC6;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.para-quien-card-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 0.9rem;
}

.para-quien-cta-section {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
}

.para-quien-cta-text {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.para-quien-cta-button {
    margin-top: 1.5rem;
}

/* QUE CONSEGUIRAS SECTION - DISEÑO MEJORADO */
.que-conseguiras-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.que-conseguiras-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 10%, rgba(14, 189, 198, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(0, 19, 20, 0.03) 0%, transparent 40%);
    z-index: 1;
}

.que-conseguiras-content {
    position: relative;
    z-index: 2;
}

.que-conseguiras-header {
    margin-bottom: 4rem;
}

.que-conseguiras-subtitle {
    font-size: 1.3rem;
    color: #001314;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.que-conseguiras-title {
    font-size: 3rem;
    color: #001314;
    font-weight: 900;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.2);
}

.logros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.logro-card {
    background: rgba(248, 250, 252, 0.8);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(14, 189, 198, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 19, 20, 0.08);
}

.logro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 189, 198, 0.1), transparent);
    transition: left 0.6s ease;
}

.logro-card:hover::before {
    left: 100%;
}

.logro-card:hover {
    transform: translateY(-10px);
    border-color: rgba(14, 189, 198, 0.4);
    box-shadow: 0 20px 40px rgba(14, 189, 198, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.logro-card-destacado {
    background: rgba(0, 19, 20, 0.9);
    border-color: rgba(14, 189, 198, 0.5);
    color: white;
    transform: scale(1.05);
}

.logro-card-destacado .logro-titulo {
    color: #0EBDC6;
}

.logro-card-destacado .logro-descripcion {
    color: rgba(255, 255, 255, 0.9);
}

.logro-card-destacado:hover {
    background: rgba(0, 19, 20, 1);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 50px rgba(14, 189, 198, 0.3);
}

.logro-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0EBDC6, #089499);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.logro-card-destacado .logro-icon-wrapper {
    background: linear-gradient(135deg, #0EBDC6, #ffffff);
}

.logro-card:hover .logro-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(14, 189, 198, 0.4);
}

.logro-icon {
    font-size: 2rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.logro-card-destacado .logro-icon {
    color: #001314;
}

.logro-titulo {
    font-size: 1.4rem;
    color: #001314;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.logro-descripcion {
    font-size: 1rem;
    color: rgba(0, 19, 20, 0.8);
    line-height: 1.6;
    font-weight: 500;
}

.que-conseguiras-cta {
    padding: 3rem 2rem;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 20px;
    border: 2px solid rgba(14, 189, 198, 0.2);
    box-shadow: 0 4px 15px rgba(0, 19, 20, 0.08);
}

.que-conseguiras-cta-text {
    font-size: 1.5rem;
    color: #001314;
    font-weight: 600;
    margin-bottom: 2rem;
    font-weight: 600;
    line-height: 1.4;
}

/* TESTIMONIOS SECTION - DISEÑO RENOVADO */
.testimonios-section {
    background: linear-gradient(135deg, #001314 0%, #002a2d 50%, #001314 100%);
    position: relative;
    overflow: hidden;
}

.testimonios-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(14, 189, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(14, 189, 198, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.testimonios-content {
    position: relative;
    z-index: 2;
}

.testimonios-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 1060px;
    margin: 0 auto 4rem;
}

.testimonios-title {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.testimonios-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* SWIPER TESTIMONIOS */
.testimonios-swiper-container {
    margin: 4rem 0;
    position: relative;
}

.testimonios-swiper {
    padding: 2rem 0 3rem;
}

.testimonios-swiper .swiper-slide {
    width: 400px;
    max-width: 90vw;
}

.testimonio-card-compact {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(14, 189, 198, 0.3);
    border-radius: 25px;
    padding: 2.5rem;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.testimonio-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 189, 198, 0.1), transparent);
    transition: left 0.6s ease;
}

.testimonio-card-compact:hover::before {
    left: 100%;
}

.testimonio-card-compact:hover {
    transform: translateY(-10px);
    border-color: rgba(14, 189, 198, 0.6);
    box-shadow: 0 25px 50px rgba(14, 189, 198, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.testimonio-quote {
    text-align: left;
    margin-bottom: 1rem;
}

.testimonio-quote i {
    font-size: 2rem;
    color: #0EBDC6;
    opacity: 0.7;
}

.testimonio-card-compact .testimonio-text {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
    flex-grow: 1;
}

.testimonio-author {
    border-top: 1px solid rgba(14, 189, 198, 0.2);
    padding-top: 1rem;
}

.author-name {
    color: #0EBDC6;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.author-location {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
}

/* NAVEGACIÓN SWIPER PERSONALIZADA */
.testimonios-next,
.testimonios-prev {
    width: 50px !important;
    height: 50px !important;
    background: rgba(14, 189, 198, 0.2) !important;
    border: 2px solid rgba(14, 189, 198, 0.4) !important;
    border-radius: 50% !important;
    color: #0EBDC6 !important;
    font-size: 1.2rem !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
}

.testimonios-next:hover,
.testimonios-prev:hover {
    background: rgba(14, 189, 198, 0.4) !important;
    border-color: rgba(14, 189, 198, 0.8) !important;
    transform: scale(1.1) !important;
}

.testimonios-next::after {
    content: '→' !important;
    font-size: 1.2rem !important;
    font-weight: bold !important;
    color: #0EBDC6 !important;
}

.testimonios-prev::after {
    content: '←' !important;
    font-size: 1.2rem !important;
    font-weight: bold !important;
    color: #0EBDC6 !important;
}

.testimonios-pagination {
    bottom: 0 !important;
}

.testimonios-pagination .swiper-pagination-bullet {
    background: rgba(14, 189, 198, 0.4) !important;
    opacity: 1 !important;
    width: 12px !important;
    height: 12px !important;
    transition: all 0.3s ease !important;
}

.testimonios-pagination .swiper-pagination-bullet-active {
    background: #0EBDC6 !important;
    transform: scale(1.3) !important;
}

/* VIDEOS TESTIMONIOS */
.testimonios-videos {
    margin: 6rem 0 4rem;
    text-align: center;
}

.videos-title {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.videos-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-testimonial {
    position: relative;
    transition: all 0.3s ease;
}

.video-testimonial:hover {
    transform: translateY(-5px);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 177.78%; /* 9:16 aspect ratio for shorts */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(14, 189, 198, 0.2);
    border: 2px solid rgba(14, 189, 198, 0.3);
}

.video-wrapper:hover {
    box-shadow: 0 20px 45px rgba(14, 189, 198, 0.3);
    border-color: rgba(14, 189, 198, 0.5);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.testimonios-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: rgba(14, 189, 198, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(14, 189, 198, 0.3);
    backdrop-filter: blur(10px);
}

.testimonios-cta-text {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.testimonios-cta .btn-main {
    background: linear-gradient(135deg, #0EBDC6, #089499);
    border: 2px solid transparent;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.testimonios-cta .btn-main:hover {
    background: linear-gradient(135deg, #089499, #067f82);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(14, 189, 198, 0.4);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .para-quien-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .para-quien-title,
    .que-conseguiras-title,
    .testimonios-title {
        font-size: 2.5rem;
    }
    
    .que-conseguiras-subtitle {
        font-size: 1.1rem;
    }
    
    .para-quien-grid,
    .testimonios-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .logros-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .logro-card {
        padding: 2rem 1.5rem;
    }
    
    .logro-card-destacado {
        transform: none;
    }
    
    .logro-card-destacado:hover {
        transform: translateY(-5px);
    }
    
    .para-quien-card,
    .testimonio-card {
        padding: 2rem;
    }
    
    .que-conseguiras-cta {
        padding: 2rem 1rem;
    }
    
    .que-conseguiras-cta-text {
        font-size: 1.3rem;
    }
    
    /* Testimonios responsive */
    .testimonio-card-compact {
        height: auto;
        padding: 2rem 1.5rem;
    }
    
    .videos-title {
        font-size: 1.8rem;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonios-next,
    .testimonios-prev {
        width: 40px !important;
        height: 40px !important;
    }
    
    .testimonios-cta {
        padding: 2rem 1rem;
    }
    
    .testimonios-cta-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .para-quien-title,
    .que-conseguiras-title,
    .testimonios-title {
        font-size: 2rem;
    }
    
    .que-conseguiras-quote {
        font-size: 1.5rem;
    }
    
    .para-quien-card,
    .testimonio-card {
        padding: 1.5rem;
    }
    
    .para-quien-icon {
        font-size: 2.5rem;
    }
    
    .logro-icon {
        font-size: 2rem;
    }
}

/* ANIMATION UTILITIES */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-delay-1 { animation-delay: 0.2s; }
.animate-delay-2 { animation-delay: 0.4s; }
.animate-delay-3 { animation-delay: 0.6s; }
.animate-delay-4 { animation-delay: 0.8s; }