﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
}

.hero {
    position: relative;
    width: 100%;
    min-height: 120vh;
    background: url('../imagen/img_landing_pcplus_hero.jpg') no-repeat center top;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 4rem 2rem 8rem 2rem;
}

/* Capa de oscurecimiento suave para mejorar el contraste */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(90deg, #60c3e1 0%, #a262fe 100%);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 700;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title span {
    display: block;
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    font-weight: 300;
    line-height: 1.4;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: 1.5rem;
    }
    
    .hero-badge {
        padding: 0.6rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        margin-bottom: 1.5rem;
    }
}

/* Sección Todo en un solo lugar */
.section-all-in-one {
    background-color: #eaecf0;
    padding: 100px 20px;
    text-align: center;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    color: #4b2d71;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 30px;
}

.section-desc {
    color: #555;
    font-size: clamp(1rem, 2vw, 1.4rem);
    line-height: 1.6;
    max-width: 850px;
    margin: 0 auto 50px auto;
}

.section-desc strong {
    color: #4b2d71;
    font-weight: 700;
}

.features-image {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.features-image img {
    width: 100%;
    height: auto;
}

.features-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
}

.features-list li {
    color: #4b2d71;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.features-list li:not(:last-child)::after {
    content: '•';
    margin-left: 15px;
    color: #4b2d71;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .section-all-in-one {
        padding: 60px 20px;
    }
    
    .section-all-in-one .container {
        display: flex;
        flex-direction: column;
    }

    .features-image {
        order: -1;
        margin-bottom: 30px;
    }

    .features-list {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .features-list li:not(:last-child)::after {
        display: none;
    }
}

/* Sección Dividida */
.section-split {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 200px;
}

.split-left {
    flex: 1;
    min-width: 50%;
    background: linear-gradient(135deg, #60c3e1 0%, #a262fe 100%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 5px 60px;
    color: #fff;
}

.split-right {
    flex: 1;
    min-width: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
}

.split-text-container {
    max-width: 500px;
}

.split-pretitle {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
}

.split-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1;
}

.split-description {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    font-weight: 300;
    line-height: 1.6;
}

.split-image-container {
    width: 100%;
}

.split-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 992px) {
    .split-left {
        min-width: 100%;
        justify-content: center;
        text-align: center;
        padding: 60px 20px;
        order: 2;
    }
    
    .split-right {
        min-width: 100%;
        justify-content: center;
        padding: 0;
        order: 1;
    }
}

/* Sección Reminder (Ciego) */
.section-reminder {
    background-color: #eaecf0;
    padding: 80px 20px;
    text-align: center;
}

.reminder-title {
    color: #4b2d71;
    font-size: clamp(1.8rem, 5vw, 3.8rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.reminder-text {
    color: #444;
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 300;
}

.reminder-text strong {
    font-weight: 700;
}

.reminder-text sup {
    font-size: 0.6em;
}

/* Sección Estadísticas */
.section-stats {
    background: linear-gradient(90deg, #60c3e1 0%, #a262fe 100%);
    padding: 100px 20px;
    color: #fff;
    text-align: center;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item {
    flex: 1;
    min-width: 250px;
}

.stat-number {
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1;
}

.stat-text {
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    font-weight: 400;
    line-height: 1.4;
    max-width: 300px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-stats {
        padding: 60px 20px;
    }
    
    .stats-grid {
        gap: 50px;
    }
}

/* Sección Transformación (Sobrevivir a vivir) */
.section-transform {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.transform-left {
    flex: 1.2;
    min-width: 50%;
    position: relative;
    overflow: hidden;
    background-color: #4b2d71; /* Fallback */
}

.transform-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.transform-right {
    flex: 0.8;
    min-width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background-color: #fff;
}

.transform-content {
    max-width: 600px;
}

.transform-title {
    color: #4b2d71;
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 40px;
}

.transform-text {
    color: #444;
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    line-height: 1.5;
    font-weight: 300;
}

.transform-text strong {
    font-weight: 700;
    color: #333;
}

@media (max-width: 992px) {
    .transform-left {
        min-width: 100%;
        height: auto;
    }
    
    .transform-left img {
        height: auto;
    }
    
    .transform-right {
        min-width: 100%;
        padding: 60px 20px;
        text-align: center;
    }
}

/* Sección Ritmo (Aprendes a tu ritmo) */
.section-pace {
    background: linear-gradient(90deg, #60c3e1 0%, #a262fe 100%);
    padding: 60px 20px;
    text-align: center;
}

.pace-title {
    color: #fff;
    font-size: clamp(1.4rem, 4.5vw, 3rem);
    font-weight: 800;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.2;
}

/* Sección Talleres (Workshops) */
.section-workshops {
    background-color: #eaecf0;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
}

.workshops-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 60px;
}

.workshops-left {
    flex: 1.2;
}

.zoom-mockup {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.zoom-mockup img {
    width: 100%;
    display: block;
}

.workshops-right {
    flex: 1;
}

.workshops-title {
    color: #3598b5;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 40px;
}

.workshops-list {
    list-style: none;
    padding: 0;
}

.workshops-list li {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
    position: relative;
    padding-left: 25px;
}

.workshops-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333;
    font-weight: 700;
}

.workshops-list li strong {
    color: #333;
    font-weight: 700;
}

@media (max-width: 992px) {
    .workshops-container {
        flex-direction: column;
        text-align: left;
        gap: 40px;
    }

    .workshops-title {
    text-align: center;
    }
    
    .workshops-list li {
        padding-left: 0;
    }
    
    .workshops-list li::before {
        display: none;
    }
}

/* Sección NARA */
.section-nara {
    background-color: #eaecf0;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
}

.nara-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 60px;
}

.nara-left {
    flex: 1;
}

.nara-title {
    color: #3598b5;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
}

.nara-text {
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    color: #444;
    line-height: 1.5;
    font-weight: 300;
    text-align: left;
}

.nara-right {
    flex: 1;
}

.nara-mockup {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
}

.nara-mockup img {
    width: 100%;
    display: block;
}

@media (max-width: 992px) {
    .nara-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }
    
    .nara-mockup {
        border-radius: 20px;
    }
}

/* Sección Recursos (60+ recursos) */
.section-resources {
    background-color: #eaecf0;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

.resources-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 60px;
}

.resources-left {
    flex: 1;
    display: flex;
    justify-content: center;
}

.resources-left img {
    max-width: 100%;
    height: auto;
    display: block;
}

.resources-right {
    flex: 1;
}

.resources-title {
    color: #3598b5;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
}

.resources-text {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    color: #444;
    line-height: 1.6;
    font-weight: 300;
}

@media (max-width: 992px) {
    .resources-container {
        flex-direction: column; /* Imagen arriba en móvil */
        text-align: center;
        gap: 40px;
    }
    .resources-title {
        text-align: center;
    }
    .resources-text {
    text-align: left;
    }
}

/* Sección Comunidad */
.section-community {
    width: 100%;
    background: linear-gradient(90deg, #4b2d71 0%, #7a4bbd 100%);
    padding: 60px 20px;
    text-align: center;
}

.community-container {
    max-width: 1200px;
    margin: 0 auto;
}

.community-title {
    color: #fff;
    font-size: clamp(1.7rem, 5vw, 3.8rem);
    font-weight: 700;
    letter-spacing: 1px;
}

/* Sección Community Feature (Nueva) */
.section-community-feature {
    background-color: #e6e4ef;
    padding: 80px 0 0 0; /* Padding inferior a 0 para que la imagen toque el borde */
    overflow: hidden;
}

.community-feature-container {
    display: flex;
    align-items: center; /* Alineación centrada para que el texto respire */
    justify-content: space-between;
    gap: 20px;
}

.community-feature-left {
    flex: 1.5; /* Aumentado para que la imagen sea mucho más grande */
    align-self: flex-end; /* La imagen se apoya en el fondo */
    line-height: 0;
}

.community-feature-left img {
    width: 100%;
    height: auto;
    display: block;
    transform: translateY(2px); /* Pegada al borde inferior */
}

.community-feature-right {
    flex: 1; /* Proporción reducida para dar más espacio a la imagen */
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.community-quote-box {
    position: relative;
    border: 1px solid #a0a0a0;
    padding: 35px 50px; /* Reducido el padding vertical para bajar la altura */
    width: 100%;
    max-width: 550px; /* Reducido para que no sea tan masivo, pero sigue siendo alargado */
    text-align: left;
}

.community-quote-text {
    font-size: 1.4rem; /* Fuente reducida para que sea más elegante */
    font-weight: 500;
    color: #5c5c5c;
    line-height: 1.2;
    margin: 0;
}

.community-quote-mark {
    position: absolute;
    font-size: 4rem; /* Tamaño de comillas ajustado al nuevo tamaño de caja */
    color: #5c5c5c;
    background-color: #e6e4ef;
    line-height: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Times New Roman', serif;
    padding: 10px 20px; /* Aumentado para dejar más espacio de vacío sobre las líneas del cuadro */
}

.community-quote-mark.mark-left {
    top: -16px; /* Bajada para que no esté tan separada del borde superior */
    left: -20px; 
}

.community-quote-mark.mark-right {
    bottom: -16px; /* Subida para mantener la simetría */
    right: -20px;
}

@media (max-width: 992px) {
    .section-community-feature {
        padding: 60px 20px 0 20px;
    }
    .community-feature-container {
        flex-direction: column-reverse; /* Imagen abajo para que nazca del borde */
        text-align: center;
        gap: 30px;
    }
    .community-feature-left {
        width: 100%;
        max-width: 450px; /* Tamaño controlado para móvil */
        margin: 0 auto; /* Centrado de la imagen */
    }
    .community-feature-right {
        width: 100%;
        padding-bottom: 20px;
    }
    .community-quote-box {
        margin: 0 auto;
        padding: 30px 40px; /* Proporciones reducidas */
        max-width: 100%;
    }
    .community-quote-text {
        font-size: 1.3rem; /* Texto más legible en móvil */
        line-height: 1.4;
    }
    .community-quote-mark {
        font-size: 2.5rem; /* Comillas más pequeñas */
        padding: 5px 12px; /* Menos vacío lateral para no salirse */
    }
    .community-quote-mark.mark-left {
        top: -12px;
        left: -15px; 
    }
    .community-quote-mark.mark-right {
        bottom: -12px;
        right: -15px;
    }
}

/* Sección Detalles (Dos columnas) */
.section-details {
    background-color: #fff;
    padding: 120px 20px;
}

.details-container {
    max-width: 1100px;
    margin: 0 auto;
}

.details-grid {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    justify-content: space-between;
}

.details-left,
.details-right {
    flex: 1;
    min-width: 280px;
}

.details-left p,
.details-right p {
    color: #333;
    font-size: clamp(1rem, 1.6vw, 1.125rem);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 1rem;
}

.details-left p strong,
.details-right p strong {
    font-weight: 700;
    color: #111;
}

@media (max-width: 992px) {
    .details-grid {
        flex-direction: column;
        gap: 30px;
        text-align: left;
    }

    .section-details {
        padding: 80px 20px;
    }
}

/* Sección Cita (Quote) */
.section-quote {
    background: linear-gradient(90deg, #4b2d71 0%, #7a4bbd 100%);
    color: #fff;
    padding: 80px 20px; /* reduced 20% */
    text-align: center;
    position: relative;
    overflow: visible;
}

.quote-container {
    max-width: 1200px;
    margin: 0 auto;
}

.quote-box {
    display: inline-block;
    position: relative;
    padding: 40px 48px; /* reduced ~20% */
    background: transparent;
}

/* top and bottom lines with gaps on both sides so quotes can sit in the corners */
.quote-box::before,
.quote-box::after {
    content: '';
    position: absolute;
    left: 48px; /* smaller gap so quotes are closer to the box edge */
    right: 48px; /* smaller gap so quotes are closer to the box edge */
    height: 1px;
    background: rgba(255,255,255,0.22);
    z-index: 1;
}

.quote-box::before { top: 16px; }
.quote-box::after { bottom: 16px; }

/* subtle inner horizontal accents to mimic the double-line feel */
.quote-box .inner-line {
    position: absolute;
    left: 56px;
    right: 56px;
    height: 1px;
    background: rgba(255,255,255,0.12);
    z-index: 1;
}

.quote-text {
    font-size: 2.5rem; /* Fixed per request */
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.quote-mark {
    position: absolute;
    color: rgba(255,255,255,0.98);
    font-family: 'Manrope', sans-serif;
    font-weight: 900;
    z-index: 3;
    line-height: 1;
}

.quote-mark-left {
    left: -20px; /* moved closer */
    top: -6px;   /* moved closer */
    font-size: 6.4rem;
}

.quote-mark-right {
    right: -20px; /* moved closer */
    bottom: -6px; /* moved closer */
    font-size: 6.4rem;
}

@media (max-width: 992px) {
    .section-quote {
        padding: 48px 12px; /* reduced 20% */
    }

    .quote-box {
        padding: 28px 26px; /* reduced ~20% */
    }

    .quote-box::before,
    .quote-box::after {
        left: 16px; /* reduced gap so quote sits very close on mobile */
        right: 16px;
    }

    .quote-mark-left {
        font-size: 3rem;
        left: -5px;
        top: -10px;
    }

    .quote-mark-right {
        font-size: 3rem;
        right: -5px;
        bottom: -10px;
    }

    .quote-text {
        font-size: 1.25rem; /* larger on mobile */
    }
}

/* Sección Pricing (Inversión accesible) */
.section-pricing {
    background: linear-gradient(90deg, #4b2d71 0%, #7a4bbd 100%);
    color: #fff;
    text-align: center;
    padding: 120px 20px;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-title {
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
}

.pricing-subtitle {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 28px;
    color: #fff;
}

.pricing-tabs {
    width: 520px; /* match card width */
    margin: 0 auto 12px; /* closer to card */
    display: flex;
    justify-content: flex-start; /* left align within the same width as the card */
    gap: 18px;
    padding-left: 10px; /* small offset so it sits near the card's left rounded corner */
}

.pricing-tab {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.95);
    font-weight: 700;
    margin: 0;
    font-size: 1.05rem;
    cursor: pointer;
    padding: 6px 8px;
}

.pricing-tab.active {
    color: #48d0e8;
}

@media (max-width: 992px) {
    .pricing-tabs { width: 100%; margin-bottom: 20px; padding-left: 6px; justify-content: flex-start; }
}

.pricing-cards {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: stretch;
}

.pricing-card {
    flex: 0 0 520px;
    background: linear-gradient(90deg, #60c3e1 0%, #a262fe 100%);
    padding: 56px 72px;
    border-radius: 36px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    text-align: center;
    color: #fff;
    max-width: 520px;
    width: 100%;
    display: none; /* hide by default, show active */
}

.pricing-card.active {
    display: block;
}

.pricing-card .btn-primary {
    background: rgba(75,39,119,0.95);
}

@media (max-width: 992px) {
    .pricing-cards { flex-direction: column; gap: 20px; }
    .pricing-card { flex: 1; padding: 36px 28px; border-radius: 20px; }
}

.price-value {
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    font-weight: 800;
    margin-bottom: 10px;
}

.price-unit {
    font-size: 1.05rem;
    font-weight: 700;
    margin-left: 8px;
}

.price-caption {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255,255,255);
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    background: #4b2d71;
    color: #fff;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
}

@media (max-width: 992px) {
    .section-pricing { padding: 80px 16px; }
    .pricing-card { padding: 36px 28px; border-radius: 20px; }
    .price-value { font-size: 2rem; }
}

/* Sección Anuncio */
.section-announce {
    background: #eaecf0; /* light gray */
    padding: 80px 20px;
    text-align: center;
}

.announce-container {
    max-width: 1200px;
    margin: 0 auto;
}

.announce-title {
    color: #4b2d71;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    margin: 0 auto;
    max-width: 1100px;
}

@media (max-width: 768px) {
    .section-announce { padding: 60px 16px; }
    .announce-title { font-size: clamp(1.6rem, 4.5vw, 2.2rem); line-height: 1.2; }
}

/* Sección Video (full width responsive) */
.section-video {
    width: 100%;
    background: #000; /* dark background until video is ready */
    padding: 0;
    overflow: hidden;
}

.section-video.video-ready {
    background: transparent; /* remove background once iframe is loaded */
}

.video-wrapper {
    width: 100vw; /* full viewport width for full-bleed */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw; /* makes the wrapper edge-to-edge */
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

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

@media (max-width: 768px) {
    .video-wrapper { padding-top: 56.25%; left: 0; margin-left: 0; margin-right: 0; width: 100%; }
}

/* Sección Join (Recursos + CTA) */
.section-join {
    width: 100%;
    padding: 40px 0; /* remove side padding so full-bleed can work */
    position: relative;
    overflow: visible;
}

/* full-bleed gradient on the right half */
.section-join::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 50%; /* start gradient at midpoint of the section */
    background: linear-gradient(90deg, #60c3e1 0%, #a262fe 100%);
    z-index: 0;
}

.join-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 0; /* remove gap so gradient touches image edge */
    align-items: stretch; /* make right panel full height */
    position: relative;
    z-index: 1; /* ensure content sits above the pseudo-element */
}

.join-left {
    flex: 1 1 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff; /* keep image area white like the reference */
}

.join-left img {
    max-width: 100%;
    height: auto;
    display: block;
}

.join-right {
    flex: 1 1 50%;
    padding: 40px 30px; /* inner padding for content */
    background: transparent; /* transparent because gradient is on parent pseudo-element */
    border-radius: 0; /* no rounded border so gradient is flush */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 320px;
}

.join-text {
    font-size: 1.6rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.95);
    margin-bottom: 5px;
}

.btn-join {
    display: block;
    width: 70%; /* reduce width by 20% */
    max-width: 280px;
    margin: 2rem 0 0 0; /* left aligned inside parent */
    text-align: center;
    background: rgba(75,39,119,0.95);
    color: #fff;
    padding: 10px 0; /* slightly larger vertical padding for larger font */
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    box-sizing: border-box;
    font-size: 1.7rem; /* increased font size */
}

@media (max-width: 992px) {
    .section-join { padding: 0; }
    .section-join::before { display: none; }
    
    .join-container { 
        flex-direction: column; 
        gap: 0; 
        text-align: center; 
        width: 100%;
        max-width: 100%;
    }

    .join-left {
        width: 100%;
        padding: 40px 20px;
        background: #fff;
    }

    .join-right { 
        width: 100%; 
        padding: 40px 20px; 
        border-radius: 0; 
        background: linear-gradient(90deg, #60c3e1 0%, #a262fe 100%);
        text-align: left;
    }

    .join-left img { max-width: 90%; }

    .btn-join {
        margin: 2rem auto 0 auto;
    }
}

/* Sección Ecosistema */
.section-ecosystem {
    background-color: #eaecf0;
    padding: 100px 20px;
    text-align: center;
}

.ecosystem-container {
    max-width: 1200px;
}

.ecosystem-title {
    color: #4b2d71;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 50px;
}

.ecosystem-desc {
    color: #444;
    font-size: clamp(1.1rem, 2vw, 1.7rem);
    line-height: 1.35;
    max-width: 1000px;
    margin: 0 auto 60px auto;
    font-weight: 400;
}

.ecosystem-desc p {
    margin: 0 0 0.5rem 0;
}

.ecosystem-desc strong {
    color: #333;
    font-weight: 800;
}

.ecosystem-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.ecosystem-card {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    border-radius: 40px;
    overflow: hidden;
    color: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.ecosystem-card .card-header {
    background-color: #4b2d71;
    padding: 15px 10px;
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 800;
    border-bottom: 6px solid #fff;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.ecosystem-card .card-body {
    background-color: #553582;
    padding: 50px 30px;
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    font-weight: 300;
    line-height: 1.4;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 768px) {
    .section-ecosystem {
        padding: 60px 20px;
    }
    .ecosystem-cards {
        gap: 30px;
    }
    .ecosystem-card {
        max-width: 100%;
        border-radius: 20px;
    }
    .ecosystem-card .card-header {
        padding: 20px;
    }
    .ecosystem-card .card-body {
        padding: 30px 20px;
    }
    .ecosystem-desc {
    text-align: left;
    }
}

/* Sección Testimonios */
.section-testimonials {
    background: linear-gradient(135deg, #4cb8d1 20%, #8e6ef5 80%);
    padding: 100px 20px;
    text-align: center;
}

.testimonials-title {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 70px;
}

.testimonials-carousel-wrapper {
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.testimonial-card {
    background: #fff;
    border-radius: 40px;
    padding: 50px 40px;
    flex: 0 0 100%; /* Show one by default, JS will adjust if needed */
    max-width: 600px;
    margin: 0 25px; /* Spacing between cards */
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    box-sizing: border-box;
    cursor: grab;
}

.testimonial-card:active {
    cursor: grabbing;
}

.testimonial-quote {
    color: #444;
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 40px;
    text-align: left;
    font-style: italic;
    min-height: 100px;
}

.testimonial-author {
    color: #000;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: right;
    margin: 0;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.3);
}

.testimonials-cta {
    margin-top: 60px;
}

.btn-testimonial {
    background-color: #4b2d71;
    color: #fff;
    padding: 18px 80px;
    border-radius: 15px;
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-testimonial:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

@media (max-width: 992px) {
    .section-testimonials {
        padding: 60px 20px;
    }
    .testimonial-card {
        padding: 30px 20px;
        border-radius: 30px;
        margin: 0 10px;
    }
    .testimonial-quote {
        margin-bottom: 20px;
        font-size: 1.1rem;
    }
    .btn-testimonial {
        width: 80%;
        max-width: 340px;
        padding-left: 0;
        padding-right: 0;
    }
}

/* Sección Checkout (Compra) */
.section-checkout {
    background-color: #f7f9fc;
    padding: 100px 20px;
    font-family: 'Manrope', sans-serif;
}

.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Planes en Horizontal */
.checkout-info {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.plan-card {
    background: #fff;
    border: 2px solid #eaecf0;
    border-radius: 20px;
    padding: 35px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-card.plan-annual {
    border-color: #eaecf0;
}

.plan-card.active {
    box-shadow: 0 10px 30px rgba(162, 98, 254, 0.15);
    border-color: #a262fe;
}

.plan-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #00bec1;
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
}

.plan-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.plan-card.plan-monthly .plan-header {
    margin-top: 0;
}

.plan-title-box {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
}

.plan-name {
    color: #4b2d71;
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.price-big {
    color: #47cf3b; /* Green from reference */
    font-size: 2.8rem;
    font-weight: 800;
}

.price-currency {
    color: #4b2d71;
    font-size: 1.1rem;
    font-weight: 700;
}

.plan-details {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.4;
}

.plan-price-total {
    margin-top: 10px;
    font-size: 1rem;
    color: #666;
}

.btn-plan {
    width: 100%;
    margin-top: 25px;
    background: #00bec1;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.3s ease;
}

.plan-card .btn-plan {
    background: #e0e0e0;
}

.plan-card.active .btn-plan {
    background: #00bec1;
}

/* Formulario */
.checkout-form-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.form-card {
    background: #fff;
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.form-title {
    color: #1a1a1a;
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.purchase-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group label {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a1a;
}

.form-group input, 
.form-group select {
    padding: 16px;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    font-size: 1.1rem;
    background: #fff;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus {
    border-color: #a262fe;
    box-shadow: 0 0 0 4px rgba(162, 98, 254, 0.1);
}

.btn-submit {
    background: #d13438;
    color: #fff;
    border: none;
    padding: 22px;
    border-radius: 15px;
    font-size: 1.6rem;
    font-weight: 800;
    cursor: pointer;
    margin-top: 15px;
    box-shadow: 0 10px 25px rgba(209, 52, 56, 0.3);
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #b52c30;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(209, 52, 56, 0.4);
}

/* Responsive */
@media (max-width: 992px) {
    .section-checkout {
        padding: 60px 16px;
    }
    .checkout-info {
        flex-direction: column;
        gap: 20px;
    }
    .form-card {
        padding: 40px 20px;
    }
    .form-title {
        font-size: 1.8rem;
    }
    .plan-name {
        font-size: 1.8rem;
    }
    .price-big {
        font-size: 2.2rem;
    }
}

/* Footer Cierre */
.footer-suscripcionplus {
    background: linear-gradient(90deg, #60c3e1 0%, #a262fe 100%);
    padding: 60px 20px 60px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-tagline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.footer-subtext {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    margin-bottom: 20px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-footer-cta {
    display: inline-block;
    background: #fff;
    color: #a262fe;
    padding: 20px 60px;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.btn-footer-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 45px rgba(0,0,0,0.25);
    background: #fff;
    color: #4b2d71;
}

.footer-bottom {
    margin-top: 120px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-copyright {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-suscripcionplus {
        padding: 100px 20px 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 30px;
        margin-top: 80px;
    }
    .footer-tagline {
        font-size: 2.8rem;
    }
    .btn-footer-cta {
        width: 100%;
        padding: 20px;
        font-size: 1.4rem;
    }
    .footer-logo-img {
        height: 50px;
    }
}

/* Success Page Styles */
.hero-success.hero::before {
    display: none;
}

.hero-success.hero {
    min-height: auto;
    padding: 0;
    background: #fff;
}

.hero-success-container {
    display: flex;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 70vh;
}

.hero-success-left {
    flex: 0.7; /* Reducimos más el espacio del texto */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 5% 60px 8%;
    background: linear-gradient(90deg, #60c3e1 0%, #a262fe 100%);
    color: #fff;
    text-align: left;
}

.hero-success-left .hero-title,
.hero-success-left .hero-subtitle {
    text-shadow: none;
    text-align: left;
    margin-left: 0;
    max-width: 500px;
}

.hero-success-left .hero-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);  
    margin-bottom: 1.5rem;
}

.hero-cta-group {
    margin-top: 30px;
}

.hero-cta-group .btn-primary {
    padding-top: 10px;
}

.hero-success-right {
    flex: 1.3;  
    display: flex;
    background: #4b2d71;
}

.hero-success-image {
    width: 100%;
    height: 100%;
}

.hero-success-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: left center; /* Priorizamos el lado izquierdo donde está el texto */
}

.success-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: #fff;
    backdrop-filter: blur(10px);
    width: fit-content; /* Asegura que no se estire de más */
}

.success-badge i {
    color: #4ade80;
    font-size: 1.2rem;
}

.section-success-details {
    padding: 100px 20px;
    background: #f8fafc;
}

.success-card {
    background: #fff;
    border-radius: 40px;
    padding: 60px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.success-header {
    text-align: center;
    margin-bottom: 60px;
}

.success-header h2 {
    font-size: 2.8rem;
    color: #1a1a1a;
    font-weight: 800;
    margin-bottom: 15px;
}

.success-header p {
    color: #666;
    font-size: 1.3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 60px;
}

.step-item {
    text-align: center;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(90deg, #60c3e1 0%, #a262fe 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.6rem;
    margin: 0 auto 30px;
    box-shadow: 0 10px 25px rgba(162, 98, 254, 0.3);
}

.step-item h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    font-weight: 800;
    margin-bottom: 15px;
}

.step-item p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

.success-footer-note {
    background: #f8fafc;
    padding: 30px;
    border-radius: 25px;
    text-align: center;
    color: #475569;
    font-size: 1.1rem;
    border: 1px solid #edf2f7;
}

.success-footer-note i {
    color: #60c3e1;
    margin-right: 10px;
}

@media (max-width: 992px) {
    .hero-success-container {
        flex-direction: column;
        min-height: auto;
    }
    .hero-success-left {
        padding: 80px 20px;
        text-align: center;
        order: 2;
    }
    .hero-success-left .hero-title,
    .hero-success-left .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-success-right {
        height: 400px;
        order: 1;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .success-card {
        padding: 50px 25px;
    }
    .success-header h2 {
        font-size: 2.2rem;
    }
}


