/* ============================================
   RESET Y ESTILOS BASE
   ============================================ */

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ============================================
   SECCIÓN HERO
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #000 0%, #000 50%, rgba(88, 28, 135, 0.2) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 40px;
    width: 288px;
    height: 288px;
    background: #7c3aed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.1;
    mix-blend-mode: multiply;
}

.hero::after {
    content: '';
    position: absolute;
    top: 160px;
    right: 40px;
    width: 288px;
    height: 288px;
    background: #fbbf24;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.1;
    mix-blend-mode: multiply;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    width: 100%;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.hero-header-icon {
    font-size: 40px;
}

.hero-header-text {
    font-size: 24px;
    font-weight: 600;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    color: #fff;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 64px;
    }
}

.hero-subtitle {
    font-size: 20px;
    color: #d1d5db;
    line-height: 1.6;
}

.hero-subtitle strong {
    color: #fbbf24;
    font-weight: 700;
}

.hero-description {
    font-size: 18px;
    color: #9ca3af;
    font-style: italic;
}

.hero-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-form input {
    padding: 16px 24px;
    background: transparent;
    border: 2px solid #7c3aed;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.hero-form input::placeholder {
    color: #6b7280;
}

.hero-form input:focus {
    outline: none;
    border-color: #fbbf24;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.hero-date {
    font-size: 36px;
    padding-top: 16px;
    border-top: 1px solid rgba(124, 58, 237, 0.3);
}

.hero-date p {
    font-size: 20px !important;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-right {
    display: none;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-right {
        display: flex;
    }
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 450px;
    background: linear-gradient(135deg, #7c3aed 0%, #581c87 100%);
    border-radius: 1px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero-visual-flag {
    font-size: 96px;
    margin-bottom: 16px;
}

.hero-visual-text {
    color: #e5e7eb;
    font-weight: 600;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* ============================================
   BOTONES
   ============================================ */

.btn-purple {
    padding: 12px 32px;
    background: #7c3aed;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.btn-purple:hover {
    background: #6d28d9;
    transform: scale(1.05);
}

.btn-purple:active {
    transform: scale(0.95);
}

/* ============================================
   SECCIÓN DE PROBLEMAS
   ============================================ */

.problems {
    padding: 80px 0;
    background: #000;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
}

.problems-container {
    max-width: 768px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.problem-main {
    background: linear-gradient(to right, rgba(124, 58, 237, 0.2), rgba(124, 58, 237, 0.1));
    border-left: 4px solid #7c3aed;
    padding: 32px;
    border-radius: 8px;
}

.problem-main h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.4;
}

.problem-main h2 .highlight {
    color: #fbbf24;
}

.problem-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .problem-points {
        grid-template-columns: 1fr 1fr;
    }
}

.problem-point {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.problem-point-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 4px;
}

.problem-point-text {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.6;
}

.problem-cta {
    text-align: center;
    padding-top: 32px;
}

/* ============================================
   SECCIÓN DE CLASES
   ============================================ */

.classes {
    padding: 80px 0;
    background: linear-gradient(to bottom, #000, rgba(88, 28, 135, 0.1));
}

.classes-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 64px;
    color: #fff;
}

@media (min-width: 768px) {
    .classes-title {
        font-size: 40px;
    }
}

.classes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .classes-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .classes-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.class-card {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.class-card:hover {
    border-color: rgba(124, 58, 237, 0.6);
    box-shadow: 0 20px 25px -5px rgba(124, 58, 237, 0.2);
}

.class-day {
    color: #fbbf24;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.class-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.4;
}

.class-description {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.6;
}

.classes-cta {
    text-align: center;
}

/* ============================================
   SECCIÓN DE PRESENTADORA
   ============================================ */

.presenter {
    padding: 80px 0;
    background: #000;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
}

.presenter-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: #fff;
}

@media (min-width: 768px) {
    .presenter-title {
        font-size: 40px;
    }
}

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

.presenter-name {
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    color: #fff;
    margin-bottom: 8px;
}

.presenter-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #7c3aed, #fbbf24);
    margin: 0 auto 32px;
}

.presenter-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: #d1d5db;
    line-height: 1.8;
    margin-bottom: 48px;
}

.presenter-text p {
    font-size: 16px;
}

.presenter-text .highlight {
    color: #fff;
    font-weight: 600;
    font-size: 18px;
}

.presenter-text .question {
    color: #fbbf24;
    font-style: italic;
    font-weight: 600;
    font-size: 18px;
}

.presenter-cta {
    text-align: center;
}

/* ============================================
   SECCIÓN DE CIERRE
   ============================================ */

.closing {
    padding: 80px 0;
    background: linear-gradient(to bottom, #000, rgba(88, 28, 135, 0.1));
}

.closing-container {
    max-width: 768px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.closing-quote {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    font-style: italic;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .closing-quote {
        font-size: 32px;
    }
}

.closing-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #d1d5db;
    font-size: 18px;
    line-height: 1.8;
}

.closing-text p:nth-child(2) {
    color: #fff;
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: #000;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    padding: 32px 0;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.footer-content p:last-child {
    color: #fff;
    font-weight: 600;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 640px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .classes-title {
        font-size: 24px;
    }

    .presenter-title {
        font-size: 24px;
    }

    .closing-quote {
        font-size: 22px;
    }
}

/* ============================================
   UTILIDADES
   ============================================ */

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

.mt-12 {
    margin-top: 48px;
}

.py-20 {
    padding: 80px 0;
}
/* Quitar subrayado de todos los botones-enlaces */
.btn-purple {
    text-decoration: none !important;
}

.btn-purple:visited,
.btn-purple:hover,
.btn-purple:active,
.btn-purple:focus {
    text-decoration: none !important;
    outline: none;
}

/* ================================
   OPTIMIZACIÓN DE ESPACIADOS
   ================================ */

/* Secciones más compactas */
.hero {
    padding: 40px 0 !important;
}

.problems,
.classes,
.presenter,
.closing {
    padding: 50px 0 !important;
}

/* Reducir separación interna */
.problems-container,
.presenter-container,
.closing-container {
    gap: 28px !important;
}

/* Reducir márgenes largos */
.classes-title {
    margin-bottom: 32px !important;
}

.classes-grid {
    margin-bottom: 32px !important;
}

/* Cards más compactas */
.class-card {
    padding: 16px !important;
}

/* Optimizar bloque principal */
.problem-main {
    padding: 20px !important;
}

/* Espacios finales */
footer {
    padding: 20px 0 !important;
}
/* Mostrar la foto también en celulares */
.hero-right {
    display: flex !important;
}

/* Ajuste de tamaño para móviles */
@media (max-width: 640px) {
    .hero-right {
        justify-content: center !important;
    }

    .hero-visual {
        max-width: 280px !important;
        height: 280px !important;
        padding: 5px !important;
    }

    .hero-photo {
        object-fit: cover !important;
        border-radius: 12px !important;
    }
}

/* Mostrar primero la foto en versión móvil */
@media (max-width: 1024px) {

    .hero-content {
        display: flex !important;
        flex-direction: column-reverse !important; /* INVIERTE EL ORDEN */
        gap: 32px !important;
    }

    .hero-right {
        width: 100%;
        display: flex !important;
        justify-content: center;
    }

    .hero-visual {
        max-width: 320px !important;
        height: 320px !important;
        padding: 16px !important;
    }

    .hero-photo {
        border-radius: 16px !important;
        object-fit: cover !important;
    }
}
.hero-visual {
    padding: 10px !important;   /* antes 32px */
    border-radius: 12px !important;
}