/* =========================================
   1. RESET BÁSICO Y SEGURIDAD
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    position: relative;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   2. ESTILOS GENERALES
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700;800&family=Playfair+Display:wght@400;700&display=swap');

:root {
    --mv-gold: #D4AF37;
    --mv-gold-dark: #aa8c2c;
    --mv-turquoise: #008B8B;
    --mv-turquoise-dark: #006666;
    --mv-turquoise-light: #E0F7FA;
    --mv-coral: #FF6B6B;
    --mv-bg-body: #F0F4F5;
    --mv-bg-alt: #E6EEEE;
    --mv-text: #2c3e50;
    --mv-white: #ffffff;
    --mv-hero-gradient: linear-gradient(135deg, #006666 0%, #008B8B 100%);
    --mv-gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F4C430 100%);
    --shadow-soft: 0 15px 35px rgba(0, 139, 139, 0.08);
    --shadow-hover: 0 25px 50px rgba(0, 139, 139, 0.15);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--mv-text);
    background-color: var(--mv-bg-body);
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    color: var(--mv-turquoise);
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
    padding: 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ANIMACIONES (DINAMISMO) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

@media (max-width: 768px) {
    .reveal-left {
        transform: translateY(30px);
    }

    .reveal-right {
        transform: translateY(30px);
    }
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* --- NAV --- */
.navbar {
    background: rgba(240, 244, 245, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    border-bottom: 3px solid var(--mv-gold);
    width: 100%;
    transition: transform 0.3s ease-in-out;
    /* CLAVE PARA EL MOVIMIENTO DEL NAV */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--mv-gold);
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-left: auto;
}

.nav-links a {
    color: var(--mv-turquoise);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 10px;
}

.nav-links a:hover {
    color: var(--mv-gold);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--mv-turquoise);
    cursor: pointer;
}

.btn-nav {
    background-image: linear-gradient(to right, #FF6B6B 0%, #FF8E53 51%, #FF6B6B 100%);
    background-size: 200% auto;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 35px;
    min-height: 50px;
    line-height: normal;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    transition: 0.5s;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    white-space: nowrap;
    border: none;
}

.btn-nav:hover {
    background-position: right center;
    transform: translateY(-2px);
}

/* --- HERO --- */
.hero {
    position: relative;
    color: white;
    text-align: center;
    min-height: 1vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--mv-blue-deep);
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 40, 70, 0.75);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px 80px;
    width: 100%;
    max-width: auto;
}

.hero-logo-img {
    display: block;
    margin: 0 auto 0px auto;
    height: auto;
    width: 100%;
    max-width: 250px;
    object-fit: contain;
    background: transparent;
    border: none;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 5;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 15px;
    color: var(--mv-gold);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
}

.hero h2 {
    font-family: 'Montserrat', sans-serif;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 40px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 50px;
    opacity: 0.95;
    font-weight: 300;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.btn-hero {
    background: var(--mv-gold-gradient);
    color: white;
    padding: 18px 45px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    text-align: center;
}

.btn-hero:hover {
    transform: scale(1.05) translateY(-3px);
}

.botones-container {
    display: flex;
    justify-content: center;
    /* Centra horizontalmente */
    align-items: center;
    /* Centra verticalmente si es necesario */
    gap: 20px;
    /* Espacio entre botones */
    flex-wrap: wrap;
    /* Permite que se apilen en móviles */
}

/* Versión móvil - se apilan verticalmente */
@media (max-width: 768px) {
    .botones-container {
        flex-direction: column;
        /* Apila verticalmente */
        gap: 15px;
        /* Espacio entre botones apilados */
    }

    .btn-hero {
        width: 100%;
        /* Ocupa todo el ancho disponible */
        max-width: 300px;
        /* Opcional: limita el ancho máximo */
        padding: 16px 30px;
        /* Puedes ajustar el padding para móvil si lo deseas */
    }
}

/* --- SECCIONES --- */
.section {
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bg-light {
    background-color: var(--mv-bg-alt);
}

.bg-turquoise {
    background-color: var(--mv-turquoise-light);
}

.section-title,
.section-Esencia {
    text-align: center;
    margin-bottom: 15px;
}

.section-title h2,
.section-Esencia h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--mv-turquoise);
}

.section-title .divider,
.section-Esencia .divider {
    width: 80px;
    height: 4px;
    background: var(--mv-coral);
    margin: 0 auto;
    border-radius: 2px;
}

.section-intro {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-weight: 400;
    text-align: center;
}

/* GRIDS Y CARDS */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card-premium {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border-top: 5px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-premium:hover {
    transform: translateY(-15px);
    border-top-color: var(--mv-turquoise);
    box-shadow: var(--shadow-hover);
}

.card-premium h3 {
    color: var(--mv-turquoise);
    margin-bottom: 20px;
}

/* AVALES */
.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    margin-bottom: 15px;
    width: 100%;
}

.endorsement-logo {
    height: auto;
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: transform 0.3s ease;
}

.endorsement-logo:hover {
    transform: scale(1.1) rotate(3deg);
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: 0.3s;
    border-bottom: 4px solid var(--mv-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.info-card h4 {
    color: var(--mv-turquoise);
    margin-bottom: 5px;
    font-size: 1.2rem;
    font-weight: 700;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* PRECIOS */
.course-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: visible;
    text-align: center;
    padding-bottom: 40px;
    width: 100%;
    border: 1px solid #eee;
    margin-top: 30px;
}

.course-header {
    background: var(--mv-turquoise);
    color: white;
    padding: 30px 20px;
    border-radius: 20px 20px 0 0;
}

.course-header h3 {
    color: var(--mv-gold);
    margin-bottom: 10px;
    font-size: 1.8rem;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0px 2px 5px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
    margin-top: 40px;
}

.price-tag {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    border: 2px solid #eee;
    min-width: 300px;
    box-sizing: border-box;
    transition: 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;

}

.price-tag:hover {
    border-color: var(--mv-turquoise);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.price-tag.active-tag {
    transform: translateY(-10px);
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.active-tag {
    border: 2px solid #f4d340;
    background: #fff;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.discount-bubble {
    position: absolute;
    top: -20px;
    right: -20px;
    background-color: var(--mv-coral);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: rotate(15deg);
    z-index: 10;
}

.bubble-text {
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 2px;
}

.price-label {
    font-size: 0.9rem;
    color: #555;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.old-price-small {
    font-size: 1.3rem;
    color: #aaa;
    text-decoration: line-through;
    font-weight: 600;
    margin-bottom: -5px;
    display: block;
}

.price-amount {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--mv-text);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.1;
}

.price-sub {
    font-size: 1rem;
    color: #888;
    font-weight: 500;
}

.price-save-text {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--mv-coral);
    font-weight: 700;
}

.btn-wide {
    background-image: linear-gradient(to right, #FF6B6B 0%, #FF4757 51%, #FF6B6B 100%);
    background-size: 200% auto;
    color: white;
    font-size: 1.1rem;
    padding: 18px 60px;
    display: inline-block;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.3);
    transition: 0.5s;
    margin-top: 10px;
}

.btn-wide:hover {
    background-position: right center;
    transform: translateY(-3px);
}

/* --- DOCENTES (ESTILO "SPLIT CARD" MODERNO) --- */
.teachers-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.teacher-box {
    background: white;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.4s;
    width: 100%;
    min-height: 300px;
}

.teacher-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.teacher-img-area {
    width: 35%;
    position: relative;
    padding: 0;
    background: var(--mv-turquoise);
}

.teacher-img-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.teacher-img-area i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.5);
}

.teacher-content {
    padding: 40px 50px;
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.teacher-content h3 {
    text-transform: uppercase;
    color: var(--mv-turquoise);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.teacher-content p {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.teacher-content ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
    color: #555;
}

.teacher-content ul li::before {
    content: '✓';
    color: var(--mv-coral);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* AYUDA */
.help-section {
    background-color: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.help-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 35px 30px;
    border-radius: 20px;
    background: white;
    transition: 0.3s;
    border: 1px solid transparent;
    box-shadow: var(--shadow-soft);
    height: 100%;
    box-sizing: border-box;
}

.help-item:hover {
    border-color: var(--mv-turquoise);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 139, 139, 0.15);
}

.help-icon {
    width: 70px;
    height: 70px;
    background: var(--mv-turquoise) !important;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: 0.3s;
}

.help-item:hover .help-icon {
    transform: rotate(360deg);
    background: var(--mv-gold) !important;
}

.help-text {
    flex: 1;
    text-align: left;
}

.help-text h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: var(--mv-turquoise);
    font-weight: 700;
}

.help-text p,
.help-text a {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    text-decoration: none;
}

.help-text a:hover {
    color: var(--mv-gold);
}

/* FOOTER */
footer {
    background-color: var(--mv-turquoise);
    color: rgba(255, 255, 255, 0.9);
    padding: 80px 0 30px;
    border-top: 5px solid var(--mv-gold);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-brand h3 {
    color: var(--mv-gold);
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

.footer-brand p {
    line-height: 1.6;
    max-width: 300px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: white;
    opacity: 0.7;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.footer-links-list a:hover {
    color: var(--mv-gold);
    opacity: 1;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: white;
    font-size: 1.2rem;
    transition: 0.3s;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-icon:hover {
    background: var(--mv-gold);
    color: var(--mv-turquoise);
    transform: translateY(-3px);
}

/* BOTONES FLOTANTES */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    text-decoration: none;
}

.float-wa:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

.float-up {
    position: fixed;
    width: 42px;
    height: 42px;
    bottom: 100px;
    right: 35px;
    background-color: var(--mv-gold);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.float-up.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.float-up:hover {
    background-color: var(--mv-turquoise);
    transform: scale(1.1);
}

/* ESTILOS DEL PROGRAMA ACADÉMICO */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.module-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--mv-turquoise);
}

.module-header {
    background: var(--mv-turquoise);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.module-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1;
}

.module-header h4 {
    color: white;
    margin: 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.module-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.module-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.module-body ul li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.module-body ul li::before {
    content: '•';
    color: var(--mv-gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.module-hours {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--mv-turquoise);
    text-align: right;
    display: block;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* =========================================
   MEDIA QUERIES (RESPONSIVE) - AL FINAL
   ========================================= */

@media (max-width: 992px) {
    .section {
        padding: 60px 0;
        min-height: auto;
    }

    .hero {
        padding: 100px 20px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--mv-bg-body);
        padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        text-align: center;
        border-top: 1px solid #eee;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid #eee;
    }

    .btn-nav {
        display: inline-block;
        margin-top: 15px;
    }

    .grid-2,
    .grid-3,
    .help-grid,
    .pricing-grid,
    .footer-grid,
    .modules-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pricing-grid {
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
    }

    .price-tag {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        transform: none !important;
    }

    .discount-bubble {
        right: -10px;
        width: 60px;
        height: 60px;
        font-size: 0.9rem;
    }

    .help-item {
        padding: 30px;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.75rem;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .btn-nav {
        padding: 14px 25px;
        font-size: 0.8rem;
        line-height: normal;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    /* Docentes Full Size en Movil */
    .teacher-box {
        flex-direction: column;
    }

    .teacher-img-area {
        width: 100%;
        height: 300px;
        padding: 0;
    }

    .teacher-content {
        width: 100%;
        padding: 30px 20px;
        box-sizing: border-box;
    }

    .endorsement-logo {
        height: 70px;
    }

    .logo-fgu {
        height: 100px;
    }

    .float-wa {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }

    .float-up {
        width: 40px;
        height: 40px;
        font-size: 18px;
        bottom: 80px;
        right: 25px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 1rem;
    }

    .menu-toggle {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .price-tag,
    .card-premium {
        min-width: 100% !important;
        padding: 20px !important;
    }

    .discount-bubble {
        width: 50px;
        height: 50px;
        font-size: 0.8rem;
        right: -5px;
        top: -10px;
    }
}

/* --- MARCO DE VIDEO VERTICAL --- */
/* --- MARCO DE VIDEO VERTICAL (Actualizado) --- */
.video-frame {
    width: 100%;
    max-width: 320px;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid var(--mv-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    background-color: black;
    z-index: 10;
    /* ESTO ASEGURA QUE ESTÉ ENCIMA DE TODO */
}

.video-frame video {
    width: 100%;
    height: auto;
    display: block;
}

/* Ajuste para móvil: Centrar el texto también */
@media (max-width: 768px) {
    .video-frame {
        max-width: 280px;
        /* Un poco más chico en móvil */
        margin-top: 30px;
    }

    /* Si quieres centrar el texto en móvil añade esto: */
    .reveal-left h2,
    .reveal-left h4,
    .reveal-left p,
    .reveal-left ul {
        text-align: center;
    }

    .reveal-left .divider {
        margin: 0 auto 20px auto !important;
    }
}

/* Agrega esto a tu Style.css */
.navbar-hidden {
    transform: translateY(-100%);
    box-shadow: none;
    /* Opcional: quita la sombra al subir */
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.btn-cta {
    padding: 14px 26px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

/* Botón principal */
.btn-cta.primary {
    background: linear-gradient(135deg, var(--mv-coral), #ff4757);
    color: white;
}

/* Botón secundario */
.btn-cta.secondary {
    background: white;
    color: var(--mv-turquoise);
    border: 2px solid var(--mv-turquoise);
}

/* Botón de cierre - similar al hero pero más suave */
.btn-cta.accent {
    background: linear-gradient(135deg, #e0ba3f);
    color: white;
    font-family: 'Times New Roman', Times, serif;
    padding: 16px 42px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: block;
    width: fit-content;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    min-width: 500px;
}

.btn-cta.accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
    background: linear-gradient(135deg, #e0ba3a, #c49d21);
}

/* Hover */
.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .2);
}

/* Mobile */
@media (max-width: 768px) {
    .cta-group {
        flex-direction: column;
    }

    .btn-cta {
        width: 100%;
    }
}

.malla-intro-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 60px;
}

/* Video docente */
.docente-video-box {
    position: sticky;
    top: 120px;
}

.docente-label {
    color: var(--mv-gold);
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.75rem;
    margin-bottom: 10px;
}

.docente-name {
    color: var(--mv-turquoise);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.docente-video video {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}

.docente-quote {
    margin: 20px 0;
    font-style: italic;
    color: #555;
    text-align: center;
}

/* Mobile */
@media (max-width: 992px) {
    .malla-intro-grid {
        grid-template-columns: 1fr;
    }

    .docente-video-box {
        position: static;
        text-align: center;
    }
}

.section-benefits {
    background: linear-gradient(to bottom, #fff, var(--mv-turquoise-light));
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.benefit-box {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
    border-left: 6px solid var(--mv-gold);
}

.benefit-box h3 {
    color: var(--mv-turquoise);
    margin-bottom: 20px;
}

.benefit-box.highlight {
    border-left: 6px solid var(--mv-gold);
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.benefit-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--mv-gold);
    font-weight: bold;
}

.benefits-cta {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefits-cta {
        flex-direction: column;
    }
}

/* WhatsApp flotante con texto */
.whatsapp-float-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.whatsapp-label {
    background: #000;
    color: var(--mv-gold);
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.float-wa {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .3);
    transition: transform .3s ease;
}

.float-wa:hover {
    transform: scale(1.08);
}

/* Contador flotante */
.countdown-float {
    position: fixed;
    bottom: 110px;
    right: 30px;
    background: #000;
    color: white;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .35);
    z-index: 9998;
}

.countdown-float span {
    color: var(--mv-gold);
    margin-left: 5px;
}

/* Mobile */
@media (max-width: 768px) {
    .countdown-float {
        right: 20px;
        bottom: 100px;
        font-size: 0.75rem;
    }

    .whatsapp-float-container {
        right: 20px;
        bottom: 20px;
    }
}

/* CONTENEDOR GENERAL */
.floating-stack {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

/* BOTÓN SUBIR */
.float-up {
    width: 40px;
    height: 40px;
    background: var(--mv-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    transition: transform .3s ease;
}

.float-up:hover {
    transform: translateY(-4px);
}

/* COUNTDOWN */
.countdown-float {
    background: #000;
    color: white;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}

.countdown-float span {
    color: var(--mv-gold);
    margin-left: 6px;
}

/* WHATSAPP CTA */
.whatsapp-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 18px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .35);
    transition: transform .3s ease;
}

.whatsapp-cta i {
    font-size: 22px;
}

.whatsapp-cta:hover {
    transform: scale(1.05);
}

/* MOBILE */
@media (max-width: 768px) {
    .floating-stack {
        right: 20px;
        bottom: 20px;
    }

    .countdown-float {
        font-size: 0.75rem;
    }
}

/* ==============================
   MARE VITAE – FLOATING ACTIONS
   ============================== */

.mv-floating-stack {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

/* Scroll top */
.mv-scroll-top {
    width: 40px;
    height: 40px;
    background: var(--mv-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
}

.mv-scroll-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* WhatsApp CTA */
.mv-whatsapp-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 14px 15px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .35);
    transition: transform .3s ease;
}

.mv-whatsapp-cta i {
    font-size: 22px;
}

.mv-whatsapp-cta:hover {
    transform: scale(0.75);
}

/* Countdown */
.mv-countdown {
    background: #000;
    color: #fff;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
    text-align: right;
}

.mv-countdown span {
    color: var(--mv-gold);
    margin-left: 6px;
}

/* Mobile */
@media (max-width: 768px) {
    .mv-floating-stack {
        right: 20px;
        bottom: 20px;
    }

    .mv-countdown {
        font-size: 0.75rem;
    }
}

.mv-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.mv-modal.active {
    display: flex;
}

.mv-modal-content {
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    max-width: 420px;
    width: 90%;
    position: relative;
    text-align: center;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mv-modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mv-bank-logo {
    max-width: 120px;
    margin-bottom: 15px;
}

.mv-payment-data p {
    font-size: .9rem;
    margin-bottom: 6px;
    color: #444;
}

.mv-send-proof {
    margin-top: 20px;
    width: 100%;
}

.btn-pay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    background: var(--mv-coral);
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-pay:hover {
    transform: translateY(-2px);
    background: #ff5c5c;
}

.btn-pay.outline {
    background: transparent;
    color: black;
    border: 2px solid #efcf41;
    box-shadow: none;
}

.btn-pay.outline:hover {
    background: var(--mv-coral);
    color: #fff;
}

.new-year-header {
    background: linear-gradient(135deg,

            #e3c439 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.new-year-header h3 {
    color: #1f3a4d;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.new-year-header::after {
    content: "✨";
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    opacity: 0.15;
}

.course-date {
    color: #4b6b7a;
    font-size: 1rem;
    margin-bottom: 20px;
}

.promo-badge {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 30px;
    background: linear-gradient(135deg, #ff7a7a, #ff4d4d);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    box-shadow: 0 10px 20px rgba(255, 77, 77, 0.35);
}

.promo-legal {
    font-size: 0.85rem;
    color: #e05a5a;
    font-weight: 600;
}

.new-year-header-v2 {
    background: #000000;
    border-radius: 22px;
    padding: 45px 30px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
}

/* TÍTULO */
.course-title {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #163c3f;
    margin-bottom: 6px;
}

.course-title span {
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
}

/* FECHA */
.course-date {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 22px;
}

/* PROMOCIÓN (NO BOTÓN) */
.promo-tag {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 12px;
    background: rgba(255, 77, 77, 0.12);
    color: #e84c4c;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.6px;
    margin-bottom: 14px;
}

/* LEGAL */
.promo-legal {
    font-size: 0.8rem;
    color: #c75a5a;
    font-weight: 600;
}

/* TÍTULO PRINCIPAL */
.new-year-header-v2 .course-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: white;
    /* DORADO LIMPIO */
    margin-bottom: 6px;

    /* LIMPIEZA TOTAL */
    text-transform: none;
    text-shadow: none;
    -webkit-text-stroke: 0;
}

/* (120H) */
.new-year-header-v2 .course-title span {
    font-size: 1rem;
    font-weight: 500;
    color: #D4AF37;
}

/* FECHA */
.new-year-header-v2 .course-date {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

/* TAG PROMOCIÓN */
.new-year-header-v2 .promo-tag {
    background: #fff;
    border: 1px solid #D4AF37;
    color: #000;
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 14px;
    padding: 6px 16px;
    display: inline-block;
    margin-bottom: 10px;
}

/* TEXTO LEGAL */
.new-year-header-v2 .promo-legal {
    font-size: 0.8rem;
    color: #df2c2c;
}