@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');

/* Global Reset & Box Sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Global Font Enforcement */
.landing-page-evolution body,
.landing-page-evolution h1,
.landing-page-evolution h2,
.landing-page-evolution h3,
.landing-page-evolution h4,
.landing-page-evolution h5,
.landing-page-evolution h6,
.landing-page-evolution p,
.landing-page-evolution span,
.landing-page-evolution a,
.landing-page-evolution li,
.landing-page-evolution input,
.landing-page-evolution button,
.landing-page-evolution textarea {
    font-family: 'Open Sans', sans-serif !important;
}

/* Estilos específicos para esta landing */
.evolution-wrapper {
    background: url('imagenes/fondo-evolution.jpg') no-repeat center center;
    background-size: cover;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 10%;
    position: relative;
    z-index: 2;
    /* Ensure it sits on top */
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    border-radius: 0 0 50% 50% / 0 0 100px 100px;
    /* Borde circular */
    overflow: hidden;
    /* Ensure content doesn't spill if needed */
}

.evolution-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

/* Columna Izquierda: Texto */
.evolution-text {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.evolution-text h1 {
    font-size: 4rem;
    /* Aumentado de 3rem */
    letter-spacing: 5px;
    margin-bottom: 15px;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    /* Más grueso */
}

.evolution-text h2 {
    font-size: 1.6rem;
    /* Aumentado de 1.2rem */
    text-transform: uppercase;
    margin-bottom: 30px;
    font-weight: 600;
    /* Un poco más de peso */
    font-family: 'Open Sans', sans-serif;
}

.evolution-text p {
    line-height: 1.6;
    font-size: 1.2rem;
    /* Aumentado de 0.95rem */
    margin-bottom: 25px;
    font-family: 'Open Sans', sans-serif;
}

/* Columna Derecha: Formulario */
.evolution-form-card {
    flex: 1;
    min-width: 300px;
    background: rgba(20, 10, 30, 0.65);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    color: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.start-transformation-footer-text p {
    margin: 0;
    color: #fff;
}

.evolution-form-card h3 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus {
    outline: none;
    border-color: #7b2cbf;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(123, 44, 191, 0.3);
}

.btn-submit {
    background: linear-gradient(135deg, #9d4edd 0%, #7b2cbf 100%);
    border: none;
    padding: 16px 30px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: all 0.3s ease;
    border-radius: 8px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.4);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #b065e8 0%, #8e3ccb 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(123, 44, 191, 0.6);
}

#mensaje-exito {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* .evolution-wave eliminada, usamos border-radius en el wrapper */

.evolution-content-continuation {
    background-color: #7b2cbf;
    min-height: 150px;
    margin-top: -100px;
    /* Pull up to cover the curve gap */
    padding-top: 100px;
    /* Push content down so it starts after the curve */
    position: relative;
    z-index: 1;
}

.evolution-features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px 80px 20px;
    text-align: center;
}

/* Top Pills */
.evolution-pills {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.evolution-pills .pill {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: default;
}

.evolution-pills .pill:hover {
    background: #fff;
    color: #7b2cbf;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-color: #fff;
}

.section-title {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Main Cards Container */
.evolution-features-card {
    background: transparent;
    box-shadow: none;
    padding: 0;
    display: flex;
    gap: 30px;
    align-items: stretch;
}

/* Individual Cards */
.feature-item {
    flex: 1;
    background: #fff;
    border-radius: 24px;
    padding: 30px 20px;
    /* Reducido de 50px 30px */
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: #fdf5ff;
    /* Very light purple */
    border-radius: 50%;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: #7b2cbf;
    transform: scale(1.1);
}

.feature-icon svg {
    width: 45px;
    height: 45px;
    stroke: #7b2cbf;
    transition: stroke 0.3s ease;
}

.feature-item:hover .feature-icon svg {
    stroke: #fff;
}

.feature-item h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.feature-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Transformation Section */
.evolution-transformation-section {
    background: #fff;
    padding: 100px 20px;
    color: #333;
    position: relative;
}

.evolution-container-flex {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
}

.evolution-text-content {
    flex: 1;
    min-width: 300px;
}

.transformation-title {
    font-size: 2.5rem;
    color: #555;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 1.2;
}

.transformation-subtitle {
    font-size: 1.5rem;
    color: #888;
    font-weight: 300;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.evolution-text-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
}

.evolution-text-content strong {
    color: #7b2cbf;
    font-weight: 700;
}

.highlight-text {
    font-weight: 700;
    color: #555 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Video Column */
.evolution-video-content {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.video-placeholder {
    background: #000;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.play-button {
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.video-placeholder:hover .play-button {
    background: #7b2cbf;
    transform: scale(1.1);
}

.video-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #9d4edd;
    color: #fff;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(157, 78, 221, 0.4);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Portals Section */
.evolution-portals-section {
    background: #f0f4f8;
    /* Light blue/grey background like the image */
    padding: 40px 20px 100px 20px;
    text-align: center;
}

.section-title-dark {
    color: #555;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portals-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    /* Added wrap for 7 items */
    gap: 40px;
    justify-content: center;
    align-items: stretch;
}

.portal-item {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portal-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
}

.portal-icon svg {
    width: 100%;
    height: 100%;
    stroke: #7b2cbf;
    /* Primary Purple */
    stroke-width: 1.5;
}

.portal-item h3 {
    color: #555;
    font-size: 1.25rem;
    font-weight: 700;
    /* Bold title */
    margin-bottom: 20px;
}

.portal-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.btn-portal {
    margin-top: auto;
    /* Push to bottom */
    background: #fff;
    border: 2px solid #7b2cbf;
    /* Purple border */
    color: #7b2cbf;
    /* Purple text */
    padding: 12px 25px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(123, 44, 191, 0.1);
    border-radius: 50px;
    /* Rounded pill style */
}

.btn-portal .icon-plus {
    background: #7b2cbf;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    transition: all 0.3s ease;
}

.btn-portal:hover {
    background: #7b2cbf;
    /* Purple bg on hover */
    color: #fff;
    /* White text on hover */
    box-shadow: 0 5px 20px rgba(123, 44, 191, 0.3);
    transform: translateY(-2px);
}

.btn-portal:hover .icon-plus {
    background: #fff;
    color: #7b2cbf;
}

/* Responsivo Global */
@media (max-width: 768px) {

    /* Hero Section */
    .evolution-text h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
        text-align: center;
    }

    .evolution-text h2 {
        font-size: 1.2rem;
        text-align: center;
    }

    .evolution-text p {
        text-align: center;
    }

    .evolution-container {
        flex-direction: column;
        padding-top: 10px;
        /* Reduced from 50px */
        gap: 30px;
        /* Reduced gap between title and form */
    }

    .evolution-form-card {
        width: 100%;
        /* Wider form */
    }

    .evolution-features-container {
        padding-top: 30px;
        /* Reduced from 80px */
    }

    .section-title {
        margin-bottom: 20px;
        /* Further Reduced from 30px */
    }

    /* Features */
    .evolution-pills {
        flex-direction: column;
        gap: 15px;
    }

    .evolution-features-card {
        flex-direction: column;
        padding: 20px 20px;
        /* Reduced padding container */
        gap: 30px;
    }

    .feature-item {
        padding: 20px 15px;
        /* Further reduced for mobile */
    }

    /* Transformation */
    .evolution-transformation-section {
        padding: 60px 20px;
    }

    .evolution-container-flex {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .transformation-title {
        font-size: 2rem;
        text-align: center;
        line-height: 1.1;
    }

    .transformation-subtitle {
        font-size: 1.2rem;
        text-align: center;
    }

    .evolution-text-content {
        text-align: center;
    }

    .video-badge {
        white-space: normal;
        width: 90%;
        font-size: 0.8rem;
        padding: 8px 15px;
        line-height: 1.3;
        bottom: -30px;
    }

    /* Portals */
    .evolution-portals-section {
        padding: 60px 20px;
    }

    .portals-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-content: center;
    }

    .portal-item {
        border-bottom: none;
        padding-bottom: 0;
        width: auto;
        min-width: 0;
        align-items: center;
        text-align: center;
        margin-bottom: 0;
        /* Grid handles gap */
        display: flex;
        flex-direction: column;
    }

    .portal-item h3 {
        font-size: 1rem;
        min-height: 40px;
        /* Align titles */
    }

    .portal-item p {
        font-size: 0.85rem;
        display: none;
        /* Hide text on mobile to save space if needed based on design, OR keep it. User said just 2 columns. Lets keep text but small */
    }

    /* Restaurar visualización de texto si se desea, o ajustar */
    .portal-item p {
        display: block;
    }

    .portal-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .portal-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
        width: auto;
        max-width: none;
        margin: 0;
        grid-column: span 2;
        /* Make the last item centered/full width */
    }


    .section-title-dark {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .btn-portal {
        padding: 8px 15px;
        /* Reduced from 12px 25px */
        font-size: 0.8rem;
        /* Reduced from 0.9rem */
        gap: 6px;
    }

    .btn-portal .icon-plus {
        width: 18px;
        height: 18px;
        font-size: 1rem;
    }
}

/* Modal Styles */
.portal-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    /* Black w/ opacity */
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.portal-modal.show {
    display: flex;
    opacity: 1;
}

.portal-modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portal-modal.show .portal-modal-content {
    transform: translateY(0);
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
    color: #7b2cbf;
    text-decoration: none;
    cursor: pointer;
}

#modal-body-content h3 {
    color: #7b2cbf;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
}

#modal-body-content ul {
    padding-left: 20px;
    list-style: none;
    /* Custom bullets */
}

#modal-body-content li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
    line-height: 1.5;
    color: #555;
}

#modal-body-content li::before {
    content: "•";
    color: #7b2cbf;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: -10px;
    top: -2px;
}

/* Guarantee Section */
.guarantee-section {
    background-color: #fff;
    padding: 80px 20px;
    text-align: left;
    /* Left align by default for desktop */
    border-top: 1px solid #f0f0f0;
}

.guarantee-container {
    max-width: 900px;
    /* Wider for side-by-side */
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    /* Row for desktop */
    align-items: center;
    gap: 50px;
    justify-content: center;
}

.guarantee-image-wrapper {
    flex: 0 0 auto;
    /* Don't shrink/grow */
}

.guarantee-content {
    flex: 1;
    /* Take remaining space */
}

.guarantee-seal {
    width: 220px;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.guarantee-seal:hover {
    transform: scale(1.05) rotate(2deg);
}

.guarantee-title {
    font-size: 2.5rem;
    color: #333;
    /* Dark/Black title as in image */
    font-weight: 800;
    margin-bottom: 5px;
    text-transform: none;
    /* Image shows sentence case/title case not uppercase */
    letter-spacing: -0.5px;
}

.guarantee-subtitle {
    font-size: 1.3rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.guarantee-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    max-width: 100%;
}

.guarantee-content strong {
    color: #333;
    font-weight: 700;
}

/* Mobile responsive for Guarantee */
@media (max-width: 768px) {
    .guarantee-section {
        text-align: center;
        /* Center on mobile */
    }

    .guarantee-container {
        flex-direction: column;
        /* Stack on mobile */
        gap: 30px;
    }

    .guarantee-title {
        font-size: 2rem;
    }

    .guarantee-seal {
        width: 160px;
    }

    .guarantee-subtitle {
        font-size: 1.1rem;
    }


    .guarantee-content p {
        font-size: 0.95rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 20px;
    background-color: #7b2cbf;
    /* Purple background */
    position: relative;
    overflow: hidden;
    color: #fff;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Override title color for this section */
.testimonials-container .section-title-dark {
    color: #fff;
}

.slider-wrapper {
    position: relative;
    padding: 0 40px;
    /* Space for arrows */
}

.slider-track-container {
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    padding: 0;
    margin: 0;
    list-style: none;
}

.slider-slide {
    flex: 0 0 25%;
    /* 4 items per row on desktop */
    max-width: 25%;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    /* Transparent/Frosted effect */
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    height: 100%;
    min-height: 300px;
    /* Consistent height */
    text-align: center;
}

.testimonial-profile svg {
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    /* Lighter bg for icon */
    padding: 5px;
    fill: #fff;
    /* White icon */
}

.stars {
    color: #ffc107;
    /* Star yellow */
    letter-spacing: 2px;
}

.testimonial-quote {
    font-style: italic;
    color: #fff;
    /* White text */
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    /* Push name to bottom */
}

.testimonial-name {
    font-weight: 700;
    color: #fff;
    /* White name */
    margin: 0;
    opacity: 0.9;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    /* Semi-transparent white */
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: #fff;
    color: #7b2cbf;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Mobile responsive for Testimonials */
@media (max-width: 768px) {
    .slider-slide {
        flex: 0 0 100%;
        /* 1 item per row on mobile */
        max-width: 100%;
    }

    .slider-wrapper {
        padding: 0;
        /* Full width on mobile */
    }

    .slider-btn {
        background: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .section-title-dark {
        font-size: 1.5rem;
        /* Smaller title on mobile */
    }
}

/* For You Section */
.for-you-section {
    padding: 80px 20px;
    background-color: #fff;
    text-align: center;
}

.for-you-container {
    max-width: 1000px;
    margin: 0 auto;
}

.for-you-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
    text-align: left;
}

.for-you-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fdfdfd;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.for-you-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.check-icon {
    background: rgba(123, 44, 191, 0.1);
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon svg {
    width: 24px;
    height: 24px;
}

.for-you-item p {
    margin: 0;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
}

/* Mobile responsive for For You */
@media (max-width: 768px) {

    /* For You Grid reduced gap */
    .for-you-grid {
        grid-template-columns: 1fr;
        gap: 5px;
        /* Reduced further to 5px */
        margin-top: 30px;
    }

    /* For You Section padding */
    .for-you-section {
        padding: 40px 20px;
    }

    .for-you-container .section-title-dark {
        margin-bottom: 20px;
    }

    /* Guarantee adjustments */
    .guarantee-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .guarantee-content p:last-child {
        margin-bottom: 10px;
    }

    /* Testimonials adjustments */
    .testimonials-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .testimonials-container .section-title-dark {
        margin-bottom: 30px;
    }

    /* Fix Slider Arrows Visibility on Mobile */
    .slider-btn {
        background: #fff;
        color: #7b2cbf !important;
        /* Force purple color on white background */
        opacity: 1;
        /* Ensure visible */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    /* Master Class CTA responsive */
    .master-class-cta-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .master-class-cta-text {
        text-align: center;
        max-width: 100%;
        font-size: 1.3rem;
    }
}

/* Master Class CTA Section */
.master-class-cta-section {
    background-color: #7b2cbf;
    padding: 50px 20px;
    text-align: center;
}

.master-class-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.master-class-cta-text {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0;
    text-align: left;
    max-width: 60%;
    line-height: 1.3;
}

.master-class-cta-btn {
    background-color: #fff;
    color: #7b2cbf;
    padding: 15px 30px;
    border-radius: 4px;
    /* Slightly rounded corners */
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    white-space: nowrap;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.master-class-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-color: #f0f0f0;
}

/* About Pia Section */
.about-pia-section {
    padding: 100px 20px;
    background-color: #fff;
    overflow: hidden;
}

.about-pia-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: space-between;
}

.about-pia-text {
    flex: 1;
    text-align: left;
    /* Default desktop alignment */
}

.pia-title {
    font-size: 2.2rem;
    color: #000;
    font-weight: 400;
    /* Looks lighter in design */
    margin-bottom: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pia-subtitle {
    font-size: 1.4rem;
    color: #555;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: #444;
}

.about-pia-text p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
    /* Nice block text */
}

.about-pia-image-wrapper {
    flex: 0 0 450px;
    /* Fixed width for desktop container */
    display: flex;
    justify-content: center;
    align-items: center;
}

.pia-photo {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Mobile responsive for About Pia */
@media (max-width: 900px) {

    /* Breakpoint earlier for side-by-side */
    .about-pia-container {
        flex-direction: column-reverse;
        /* Image on top */
        gap: 40px;
        text-align: center;
    }

    .about-pia-text {
        text-align: center;
    }

    .about-pia-text p {
        text-align: center;
        /* Center text on mobile */
    }

    .about-pia-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
    }

    .pia-photo {
        width: 250px;
        height: 250px;
    }

    .pia-title {
        font-size: 1.8rem;
    }

    .pia-subtitle {
        font-size: 1.1rem;
    }
}

/* Specific Master Class CTA Mobile Fixes */
@media (max-width: 768px) {
    .master-class-cta-text {
        text-align: center !important;
        /* Force center on mobile */
        font-size: 1.1rem;
        /* Reduced to fit in 3 lines */
    }

    /* Reduce About Pia image top margin */
    /* Since flex-direction is column-reverse, image is at top. 
       Reducing section padding-top moves it up. */
    .about-pia-section {
        padding-top: 40px;
        /* Reduced from 100px */
        padding-bottom: 60px;
    }

    /* Transformation Section Mobile */
    .start-transformation-section {
        padding: 40px 20px;
        /* Reduced from 80px */
    }

    .start-transformation-container {
        flex-direction: column;
        gap: 10px;
        /* Further reduced from 15px */
        width: 100%;
    }

    .start-transformation-image {
        max-width: 95%;
        margin-top: -30px;
        /* Pull image up more aggressively to reduce top margin feeling */
        margin-bottom: -10px;
        /* Reduce bottom margin */
    }

    .start-transformation-image img {
        width: 100%;
        max-width: 380px;
    }

    .start-transformation-content {
        text-align: center;
        align-items: center;
        padding: 0 10px;
    }

    .start-transformation-title {
        font-size: 2rem !important;
        /* Increased to 2x as requested */
        word-wrap: break-word;
        line-height: 1.1;
        /* Tighter line height for large text */
    }

    .start-transformation-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
}


/* Start Transformation Section */
.start-transformation-section {
    background-color: #7b2cbf;
    padding: 80px 20px;
    color: #fff;
    text-align: center;
}

.start-transformation-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.start-transformation-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    /* Push image towards text */
}

.start-transformation-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.start-transformation-content {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.separator-line {
    width: 30px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.start-transformation-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #fff !important;
    /* Force white */
}

.start-transformation-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff !important;
    /* Force white */
}

.start-transformation-btn {
    background-color: #fff;
    color: #7b2cbf;
    padding: 15px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.start-transformation-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-color: #f0f0f0;
}

.start-transformation-footer-text {
    margin-top: 50px;
    font-size: 1.1rem;
    font-weight: 600;
}

.start-transformation-footer-text p {
    margin: 0;
    color: #fff;
}

/* FIX: Forzar fondo y estilo del footer de WordPress si no carga correctamente */
footer,
#colophon,
.site-footer,
.footer-wrap,
.footer-widgets,
.site-info {
    background-color: #111 !important;
    /* Fondo oscuro genérico */
    color: #fff !important;
    /* Texto blanco */
    position: relative;
    z-index: 10;
}

footer a,
#colophon a,
.site-footer a {
    color: #fff !important;
}

/* FIX: Menu Hamburgesa y Header Z-Index */
header,
#masthead,
.site-header,
.main-header,
.navbar {
    position: relative;
    z-index: 9999 !important;
    /* Asegurar que el header este siempre arriba */
}

/* Forzar color del botón del menú (hamburguesa) */
.menu-toggle,
.mobile-menu-toggle,
.navbar-toggler,
button[aria-controls="primary-menu"],
.site-header button,
.site-header .toggle {
    color: #7b2cbf !important;
    /* Violeta principal */
    background: transparent;
    /* Evitar fondos blancos forzados */
    opacity: 1 !important;
    visibility: visible !important;
}

/* Si usa SVG o íconos dentro del botón */
.menu-toggle svg,
.menu-toggle span,
.mobile-menu-toggle svg,
.mobile-menu-toggle span,
button[aria-controls="primary-menu"] svg,
button[aria-controls="primary-menu"] span {
    fill: #7b2cbf !important;
    stroke: #7b2cbf !important;
    color: #7b2cbf !important;
    background-color: #7b2cbf !important;
    /* Para lineas hechas con spans */
}

/* Si usa SVG o íconos dentro del botón */
.menu-toggle svg,
.menu-toggle span,
.mobile-menu-toggle svg,
.mobile-menu-toggle span,
button[aria-controls="primary-menu"] svg,
button[aria-controls="primary-menu"] span {
    fill: #7b2cbf !important;
    stroke: #7b2cbf !important;
    color: #7b2cbf !important;
    background-color: #7b2cbf !important;
    /* Para lineas hechas con spans */
    pointer-events: none;
    /* Asegurar que el click pase al botón */
}

/* Permitir clicks en el botón padre */
.menu-toggle,
.mobile-menu-toggle,
.navbar-toggler,
button[aria-controls="primary-menu"] {
    pointer-events: auto !important;
    position: relative;
    z-index: 10000 !important;
    cursor: pointer !important;
    display: block !important;
    /* Asegurar que no esté oculto */
}

/* Asegurar que el menú desplegable se vea encima de todo */
.main-navigation,
.bg-primary-menu,
#primary-menu,
.menu-primary-container,
.mobile-menu-container,
.off-canvas-menu,
#mobile-menu {
    z-index: 10000 !important;
    position: relative;
}

/* Fix para Astra/OceanWP/Otros temas populares si el menú se abre como overlay */
.ast-mobile-menu-wrap,
.ocean-mobile-menu-icon,
.mobile-menu-wrapper {
    z-index: 10001 !important;
}

/* Fix generic overflow issues that might hide the menu */
html,
body {
    overflow-x: hidden;
}

/* =========================================
   CUSTOM HEADER & FOOTER STYLES (NO-WP)
   ========================================= */

/* Header */
.main-header-custom {
    position: absolute;
    /* Overlap the hero bg */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
    display: flex;
    justify-content: center;
    background: transparent;
    /* Initially transparent */
    transition: background 0.3s ease;
}

.main-header-custom.scrolled {
    background: rgba(20, 10, 30, 0.95);
    /* Dark background on scroll */
    position: fixed;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 5%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    /* Adjust as needed */
    width: auto;
    object-fit: contain;
}

/* Desktop Nav */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.desktop-nav ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.desktop-nav ul li a:hover {
    color: #fff;
}

.btn-header {
    background: linear-gradient(135deg, #9d4edd 0%, #7b2cbf 100%);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.3);
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 44, 191, 0.5);
    color: #fff;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-menu-btn .bar {
    width: 30px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    /* Hidden */
    width: 100%;
    height: 100vh;
    background: rgba(20, 10, 30, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav-overlay.active {
    right: 0;
}

.close-mobile-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-nav-links li {
    margin-bottom: 30px;
}

.mobile-nav-links a {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
}

.btn-mobile-cta {
    background: #7b2cbf;
    padding: 15px 40px;
    border-radius: 50px;
    display: inline-block;
}

/* Footer Layout matching image */
.main-footer-custom-image {
    background-color: #111;
    /* Dark background */
    color: #fff;
    padding: 60px 40px 20px;
    font-size: 0.95rem;
    position: relative;
    z-index: 10;
}

.footer-content-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

/* Columna Izquierda: Logo */
.footer-logo-section {
    flex: 1;
    min-width: 200px;
    display: flex;
    justify-content: flex-start;
}

.footer-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

/* Columna Central: Redes */
.footer-social-section {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.social-title {
    color: #e67e22;
    /* Approximate orange/terra-cotta color from image */
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1rem;
}

.social-icons-row {
    display: flex;
    gap: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon:hover {
    transform: translateY(-3px);
}

/* Columna Derecha: Contacto */
.footer-contact-section {
    flex: 1;
    min-width: 250px;
    text-align: right;
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-contact-section p {
    margin: 2px 0;
    color: #ddd;
}

/* Copyright Bar */
.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

.footer-copyright p {
    margin: 5px 0;
}

.developer-credit {
    font-size: 0.75rem;
    opacity: 0.7;
}


/* WhatsApp Floating Button */
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.float-whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}


/* Responsive Footer */
@media (max-width: 900px) {
    .footer-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-logo-section {
        justify-content: center;
    }

    .footer-contact-section {
        text-align: center;
    }
}

/* Header & Nav Adjustments for Mobile (Keep existing) */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .main-header-custom {
        padding: 15px 20px;
    }
}