/* =========================================
   1. CONFIGURACIÓN BASE (Fondo y Fuentes)
   ========================================= */
body, html {
    margin: 0; 
    padding: 0;
    height: 100vh; 
    width: 100vw;
    overflow: hidden;
    background-color: #E5B5BB;
    font-family: 'Poppins', sans-serif;
}

/* =========================================
   2. NAVBAR (Menú Superior)
   ========================================= */
.navbar-full {
    position: fixed; top: 0; left: 0; width: 100%; height: 80px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 5%; z-index: 1000; background: rgba(229, 181, 187, 0.95);
}
.nav-left .nav-logo { height: 50px; border-radius: 50%; }
.nav-center .course-title { font-family: 'Playfair Display', serif; color: #fff; font-size: 1.2rem; text-transform: uppercase; margin: 0;}
.nav-center .course-title span { color: #b0845a; }
.nav-right .nav-links-white { display: flex; list-style: none; gap: 20px; margin: 0; padding: 0;}
.nav-right .nav-links-white a { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: 0.3s; }
.btn-direct { background: #333; padding: 8px 20px; border-radius: 25px; color: #fff !important; }

/* =========================================
   3. ESTRUCTURA DEL CARRUSEL
   ========================================= */
.presentation-viewport {
    width: 100vw; height: 100vh; padding-top: 80px; box-sizing: border-box;
}
.slider-track {
    display: flex; height: 100%; width: 100%; transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}
.slide {
    min-width: 100vw; height: 100%; display: flex; justify-content: center; align-items: center;
    padding: 40px; box-sizing: border-box;
}
.slide-content {
    display: flex; background: white; width: 90%; max-width: 1100px; height: 85%;
    border-radius: 30px; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

/* =========================================
   4. DISEÑO DE LAS TARJETAS (MOVIMIENTO NATURAL)
   ========================================= */
.text-side { 
    flex: 1; 
    padding: 40px 30px 50px 40px; /* Espaciado normal */
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; 
    overflow-y: auto !important; /* Toda la caja permite scroll natural */
}

/* Si usas scroll-container, se comporta igual que text-side */
.scroll-container {
    overflow-y: auto !important; 
    max-height: 100%; 
    display: flex !important; 
    flex-direction: column;
}

.slide-title { 
    font-family: 'Playfair Display', serif; 
    font-size: 2.5rem; 
    color: #333; 
    line-height: 1.1; 
    margin-top: 0;
    margin-bottom: 20px; 
}
.slide-title span { color: #d4a373; font-style: italic; }

.text-side p { color: #666; line-height: 1.7; font-size: 1.2rem; margin-bottom: 15px; }

.image-side { flex: 1; background: #eee; }
.img-pc { width: 100%; height: 100%; object-fit: cover; }
.img-movil { display: none; }

.simple-list { list-style: none; padding: 0; margin-top: 10px; }
.simple-list li { margin-bottom: 10px; color: #444; font-weight: 500; font-size: 1.1rem; }

/* =========================================
   5. TARJETAS ESPECIALES (Temario, Kit, Testimonios)
   ========================================= */
.full-width-text {
    flex: 1 !important; width: 100% !important; max-width: 100% !important;
}

/* Encabezados del Temario y Kit (Fluyen natural) */
.temario-header, .kit-header {
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    border-bottom: 2px solid #f8f1e9; 
    width: 100%;
    margin-bottom: 25px;
    padding-bottom: 15px;
}

.full-width-text .slide-title, .kit-header .slide-title {
    font-size: 2.5rem !important; 
    text-align: center !important; 
    width: 100% !important; 
    margin-bottom: 15px !important;
}

.temario-badges { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 15px; flex-wrap: wrap; }
.badge-dark { background: #333; color: #fff; padding: 5px 12px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; }
.badge-gold { text-align: center; color: #b0845a; font-size: 0.9rem; font-weight: 700; }

.full-grid { display: flex; gap: 40px; padding-bottom: 30px; }
.full-grid ul { list-style: none; padding: 0; margin: 0; flex: 1; }
.full-grid li { margin-bottom: 14px; font-size: 1.15rem; color: #444; line-height: 1.5; }

/* Kit Básico interno */
.kit-header p { font-size: 1.1rem !important; margin-bottom: 0 !important; color: #888; }
.simple-list li { font-size: 1.15rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }

/* Galería de Testimonios */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; padding: 10px 0 40px 0; }
.testimonial-grid img { width: 100%; height: auto; border-radius: 15px; box-shadow: 0 8px 20px rgba(0,0,0,0.08); transition: transform 0.3s ease; border: 1px solid #f0f0f0; }
.testimonial-grid img:hover { transform: scale(1.03); }

/* =========================================
   6. CONTROLES (Flechas y Puntos)
   ========================================= */
.nav-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: #fff; border: none; width: 50px; height: 50px; border-radius: 50%; z-index: 100; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: 0.3s; }
.nav-arrow:hover { background: #333; color: white; }
.prev { left: 30px; } .next { right: 30px; }
.dots-container { position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 100; }
.dot { width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; cursor: pointer; transition: 0.3s;}
.dot.active { background: #fff; width: 30px; border-radius: 10px; }

/* =========================================
   7. RESPONSIVE (Celulares y Tablets)
   ========================================= */
.menu-check, .hamburger { display: none; }

@media (max-width: 768px) {
    .navbar-full { height: 70px; padding: 0 20px; }
    .nav-center .course-title { font-size: 0.85rem; max-width: 140px; }
    .nav-right, .nav-arrow { display: none; }
    
    .slide { padding: 10px; padding-top: 20px; }
    .slide-content { flex-direction: column; height: 96%; width: 100%; border-radius: 20px; }
    
    .text-side { 
        padding: 25px 20px; /* Espacio natural en móviles */
        flex: 1; 
        overflow-y: auto; /* Permite el scroll de toda la tarjeta */
    }
    
    .slide-title { font-size: 2.5rem !important; margin-bottom: 15px !important; }
    .text-side p { font-size: 0.95rem; }

    /* Temario en móvil */
    .full-grid li { font-size: 0.95rem; }
    .full-grid { flex-direction: column; gap: 0; }
    .temario-header { flex-direction: column; gap: 10px; }

    /* Kit en móvil */
    .kit-header .slide-title { font-size: 2.5rem !important; }
    .kit-header p { font-size: 0.9rem !important; }
    .simple-list li { font-size: 0.95rem; }

    /* Testimonios en móvil */
    .testimonial-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
    .testimonial-grid img { border-radius: 10px; }

    /* Imagen Móvil */
    .image-side { flex: none; height: 220px; width: 100%; background: transparent; }
    .img-pc { display: none !important; }
    .img-movil { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0 0 20px 20px; }

    /* Menú Hamburguesa */
    .hamburger { display: flex; flex-direction: column; gap: 4px; z-index: 1100; cursor: pointer; }
    .hamburger span { width: 22px; height: 3px; background: #fff; border-radius: 2px; transition: 0.3s; }
    
    /* 🔴🔴🔴 MENÚ MÓVIL (CORREGIDO Y CENTRADO) 🔴🔴🔴 */
    .nav-right {
        display: flex !important; 
        flex-direction: column;
        justify-content: center; /* Centra todo verticalmente */
        align-items: center; /* Centra todo horizontalmente */
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: 75%; 
        height: 100vh; 
        background: linear-gradient(180deg, #E5B5BB 0%, #d8a0a7 100%); /* Degradado premium */
        padding: 0; /* Quitamos el padding feo que desacomodaba */
        transition: 0.4s; 
        z-index: 1050; 
        box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    }
    .menu-check:checked ~ .nav-right { right: 0; }
    .menu-check:checked ~ .hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background: #333; }
    .menu-check:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
    .menu-check:checked ~ .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); background: #333; }
    
    .nav-links-white { 
        display: flex;
        flex-direction: column; 
        align-items: center !important; /* Centrado total */
        padding: 0 !important; 
        margin: 0 !important; 
        list-style: none !important; 
        gap: 30px !important; /* Espacio simétrico */
    }
    
    .nav-links-white li { 
        width: auto !important; 
        list-style: none !important; 
        text-align: center;
    }
    
    .nav-links-white a { 
        color: #333 !important; 
        font-size: 1.3rem !important; /* Letra clara y visible */
        font-weight: 500;
        letter-spacing: 1px;
        text-transform: uppercase; /* Aire más pro */
    }
    
    .nav-right .nav-links-white a.btn-direct {
        color: #ffffff !important; 
        background-color: #333 !important;
        padding: 14px 35px; /* Botón con más cuerpo */
        margin-top: 10px !important; 
        display: inline-block; 
        border-radius: 50px; /* Bordes bien redondeados */
        text-align: center;
        font-size: 1.1rem !important;
        letter-spacing: 1px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Sombra elegante al botón */
    }
}
.slide-kit-basic .text-side::-webkit-scrollbar,
.slide-kit-basic .scroll-container::-webkit-scrollbar {
    display: none !important;
}

/* Para Firefox y Edge */
.slide-kit-basic .text-side,
.slide-kit-basic .scroll-container {
    -ms-overflow-style: none !important;  /* IE y Edge */
    scrollbar-width: none !important;     /* Firefox */
}