/* ======== VARIABLES Y ESTILOS GLOBALES - Diseño Profesional y Escala Optimizada ======== */
:root {
    /* -- COLORES PRINCIPALES (Deep Violet / Electric Blue) -- */
    --header-height: 70px;
    --color-primary: #6C5CE7; /* Violeta/Morado profundo */
    --color-secondary: #0984E3; /* Azul brillante */
    --color-black: #1E272E; /* Azul Oscuro (Deep Navy) */
    --color-white: #FFFFFF;
    --color-off-white: #F9F9FB; /* Fondo muy claro y profesional */
    --color-light-gray: #E8EBF3; /* Gris claro para el neumorfismo base */
    --color-dark-gray: #5A6A7D; /* Gris de texto suave */
    --color-text-dark: #1E272E;
    --color-rating: #FFD700; /* Dorado para estrellas */
    --color-ribbon: #FF7B00; /* Naranja/Oro para la cinta de prestigio */
    /* NUEVO COLOR PARA EL OVERLAY DEL VIDEO */
    --color-overlay-dark: rgba(0, 0, 0, 0.45); 


    /* -- FUENTES -- */
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Montserrat', sans-serif;

    /* -- DEGRADADOS -- */
    --gradient-main: linear-gradient(90deg, var(--color-primary), var(--color-secondary)); 
    --gradient-featured: linear-gradient(135deg, #A29BFE, var(--color-secondary)); 

    /* -- EFECTOS (Shadows & Transitions) -- */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* 3D / Neumorfismo / Soft UI Shadows */
    --shadow-soft: 
        5px 5px 10px rgba(0, 0, 0, 0.05),
        -5px -5px 10px rgba(255, 255, 255, 0.8);
        
    --shadow-card-hover: 
        0 12px 25px rgba(0, 0, 0, 0.1),
        0 0 0 3px rgba(108, 92, 231, 0.1); 
        
    --shadow-featured: 0 18px 40px rgba(108, 92, 231, 0.5); 
}
/* -- RESET Y BASE -- */
*, *::before, ::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html { 
    scroll-behavior: smooth; 
    /* CORRECCIÓN DE ESCALA: Base 15px (93.75% de 16px) */
    font-size: 93.75%; 
}
body {
    font-family: var(--font-primary);
    color: var(--color-dark-gray);
    background-color: var(--color-off-white); 
    padding-top: var(--header-height);
    line-height: 1.65;
}
/* --- UTILIDADES --- */
.container {
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: 20px;
}
.section { padding: clamp(80px, 10vw, 100px) 0; }
.section__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3rem); 
    font-weight: 900; 
    color: var(--color-text-dark);
    text-align: center;
    margin-bottom: 60px; 
    text-wrap: balance;
    letter-spacing: -1px;
}
/* ESTILO DEGRADADO CON TEXTURA DINÁMICA (Aplica el ruido) */
.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}
/* CLASE JS PARA EL EFECTO DE BRILLO EN EL TÍTULO */
.gradient-text.title-hover-glow {
    filter: drop-shadow(0 0 5px rgba(108, 92, 231, 0.5));
    transition: filter 0.2s ease-out;
}

.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.legal-text { font-size: 0.85rem; color: var(--color-dark-gray); } 

/* ======== BOTONES GENERALES ======== */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px; 
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600; 
    font-size: 0.95rem; 
    transition: var(--transition-smooth);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}
.button i { margin-left: 8px; margin-right: -4px; }
.button--primary {
    background: var(--gradient-main);
    color: var(--color-white);
    box-shadow: 0 8px 18px rgba(108, 92, 231, 0.4); 
}
.button--primary:hover {
    transform: translateY(-4px); 
    box-shadow: 0 12px 28px rgba(108, 92, 231, 0.6);
}
.button--secondary {
    background-color: var(--color-off-white);
    color: var(--color-black);
    border: 1px solid var(--color-light-gray);
    box-shadow: var(--shadow-soft);
}
.button--secondary:hover {
    background-color: var(--color-light-gray);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-4px);
}
.button--small { padding: 9px 20px; font-size: 0.85rem; }
.button[disabled] {
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
    box-shadow: none !important;
}

/* ======== HEADER Y NAVEGACIÓN ======== */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    transition: var(--transition-smooth);
    background-color: var(--color-off-white);
    box-shadow: none;
}
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); 
    backdrop-filter: blur(10px);
}
.nav { height: var(--header-height); display: flex; justify-content: space-between; align-items: center; }
.nav__logo {
    font-weight: 800;
    font-size: 1.5rem; 
    color: var(--color-text-dark);
}
.nav__logo i { 
    margin-right: 8px; 
    font-size: 1.4em; 
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.nav__list { display: flex; list-style: none; gap: 25px; align-items: center; }
.nav__link {
    color: var(--color-dark-gray);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 7px;
    transition: var(--transition-smooth);
}
.nav__link:hover { color: var(--color-primary); }
.nav__link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px; 
    bottom: 0;
    left: 0;
    background: var(--gradient-main);
    transition: width 0.3s ease;
}
.nav__link:hover::after { width: 100%; }
.nav__toggle, .nav__close { font-size: 1.6rem; color: var(--color-text-dark); cursor: pointer; background: none; border: none; display: none; }
.nav__link--cta { margin-left: 20px; }

/* --- SELECTOR DE IDIOMA --- */
.language-selector select {
    padding: 7px 10px;
    border-radius: 8px;
    border: 1px solid var(--color-light-gray);
    background-color: var(--color-white);
    font-size: 0.9rem;
    box-shadow: var(--shadow-soft);
    font-weight: 500;
    transition: var(--transition-smooth);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235A6A7D'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
}
.language-selector select:focus {
    border-color: var(--color-primary);
}
.language-selector--desktop { margin-left: 15px; display: none; }
.nav__item--lang-mobile { display: none; }

/* ======== SECCIÓN HERO (INICIO) - CON FONDO DE VIDEO (Estilos base PC) ======== */
.hero {
    padding-top: var(--header-height);
    height: 100vh;
    min-height: 600px;
    background-color: var(--color-black); /* Fondo oscuro para el video (PC) */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: center;
}

/* ESTILOS DEL VIDEO DE FONDO (Solo PC) */
.hero__video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover; 
}

/* OVERLAY PARA CONTRASTE DEL TEXTO (Solo PC) */
.hero__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--color-overlay-dark); /* Color oscuro semitransparente */
    z-index: 1;
}

/* CONTENEDOR DE TEXTO (Asegurarse que esté encima del video) */
.hero__container {
    position: relative;
    z-index: 2; 
}
.hero__text { max-width: 700px; margin-inline: auto; }

/* AJUSTES DE COLOR DEL TEXTO PARA EL FONDO OSCURO DEL VIDEO (PC) */
.hero__subtitle {
    background: var(--gradient-main);
    color: var(--color-white);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 4.5rem); 
    font-weight: 900;
    line-height: 1.05;
    color: var(--color-white); /* Texto principal en blanco para contraste */
    margin-bottom: 25px;
    letter-spacing: -2px;
}
.hero__description {
    font-size: clamp(1.05rem, 2.5vw, 1.25rem); 
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8); /* Gris claro para el fondo oscuro */
    max-width: 650px;
    margin-inline: auto;
}
.hero__buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
/* Asegurar que el botón secundario tenga contraste con el fondo oscuro (PC) */
.hero__buttons .button--secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: none;
}
.hero__buttons .button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

.hero__wave { display: none; } 

/* ======== SECCIÓN CURSOS (Sin Neón, con Animación) ======== */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; 
}
.course-card {
    background-color: var(--color-light-gray);
    padding: 35px 25px;
    border-radius: 20px; 
    box-shadow: var(--shadow-soft); 
    text-align: center;
    border: none;
    transition: var(--transition-smooth);
    position: relative; 
    overflow: hidden; 
}

.course-card:hover {
    transform: translateY(-5px); 
    box-shadow: var(--shadow-card-hover); 
    background-color: var(--color-white);
}

.course-icon {
    font-size: 3.5rem; 
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    transition: transform 0.3s ease-out; /* Para la animación de desplazamiento */
}

/* CLASE JS PARA LA ANIMACIÓN DEL ÍCONO AL HACER CLICK/SCROLL (Micro-Animación) */
.course-icon.animate-bounce {
    animation: bounce-icon 0.6s ease-out 1;
}

@keyframes bounce-icon {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.course-card h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--color-text-dark);
    margin-bottom: 10px;
}
.course-card p {
    color: var(--color-dark-gray);
    margin-bottom: 25px;
    min-height: 50px;
}

/* ======== SECCIÓN POR QUÉ ELEGIRNOS (Dark Mode - Sofisticado) ======== */
.advantages-section {
    background-color: var(--color-black);
}
.advantages-section .section__title {
    color: var(--color-white);
}
.advantages-section .gradient-text {
    background: linear-gradient(90deg, #FFFFFF, #B0E0E6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    text-align: center;
    padding: 20px 0;
}
.advantage-item {
    padding: 25px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.07); 
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.advantage-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}
.advantage-icon {
    font-size: 2.5rem;
    background: var(--gradient-featured); 
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
}
.advantage-item h3 {
    font-family: var(--font-display);
    color: var(--color-white);
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.advantage-item p {
    color: var(--color-light-gray);
}

/* ======== SECCIÓN PLANES (Diseño Destacado y Profesional SIN BANNERS) ======== */
.plans-section {
    background-color: var(--color-off-white); 
    padding: 80px 0;
}
/* REVERTIDO: Vuelve a usar el contenedor estándar y se elimina el grid de 3 columnas */
/* NOTA: El plan-content-grid y plan-sidebar se eliminan, solo queda el plans-grid centrado */

.plans-grid {
    display: grid;
    /* Ajuste para 2 columnas en PC y centrado */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; 
    justify-content: center;
    align-items: stretch; 
    max-width: 900px; /* Ancho máximo para mantener los planes centrados */
    margin: auto;
}
.plan-card {
    background-color: var(--color-light-gray);
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-light-gray);
    height: 100%; 
    display: flex;
    flex-direction: column; 
    position: relative; 
    overflow: hidden; 
}
.plan-card:hover {
    transform: translateY(-5px);
}

/* ESTILOS DEL PLAN DESTACADO (PREMIUM) */
.plan-card--featured {
    background: var(--gradient-featured); 
    color: var(--color-white);
    box-shadow: var(--shadow-featured);
    border: none;
    transform: scale(1.03); 
    z-index: 10;
}
/* EFECTO DE CINTA/RIBBON para el Plan Destacado */
.plan-card--featured::before {
    content: "¡MÁS POPULAR!"; 
    position: absolute;
    top: 15px;
    right: -50px;
    width: 200px;
    padding: 5px 0;
    background-color: var(--color-ribbon);
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.8rem;
    text-align: center;
    transform: rotate(45deg);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    z-index: 11;
}
.plan-card--featured:hover {
    transform: scale(1.05) translateY(-5px); 
}

.plan-badge {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 25px;
}
.plan-badge--primary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}
.plan-badge--featured {
    display: none; 
}

/* ESTILO DE PRECIOS MEJORADO */
.plan-price-original {
    margin-bottom: 5px;
    font-size: 1.05rem;
}
.plan-price-original del {
    color: var(--color-dark-gray);
}
.plan-card--featured .plan-price-original del {
     color: rgba(255, 255, 255, 0.7);
}
.plan-price {
    margin-bottom: 25px;
    padding: 10px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05); 
}
.plan-card--featured .plan-price {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.plan-price .price-value {
    font-size: 3.8rem; 
    font-weight: 900;
    line-height: 1;
    color: var(--color-secondary); 
}
.plan-card--featured .plan-price .price-value {
    color: var(--color-white);
}
.plan-price .price-currency {
    font-size: 1.6rem;
    font-weight: 500;
}
.plan-description {
    font-size: 1rem;
    margin-bottom: 25px; 
    line-height: 1.6;
}
.plan-card--featured .plan-description {
    color: rgba(255, 255, 255, 0.9);
}

/* ESTILO DE CARACTERÍSTICAS MEJORADO */
.plan-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left; 
    flex-grow: 1; 
    padding-left: 0;
    margin-left: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); 
    padding-bottom: 15px;
}
.plan-card--featured .plan-features {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.plan-features li {
    font-size: 0.95rem; 
    margin-bottom: 12px; 
    font-weight: 500;
    display: flex; 
    align-items: center; 
}
.plan-features .fa-circle-check,
.plan-features .fa-medal, 
.plan-features .fa-book-open,
.plan-features .fa-headset,
.plan-features .fa-list-check,
.plan-features .fa-video,
.plan-features .fa-chalkboard-user,
.plan-features .fa-car-on,
.plan-features .fa-road-circle-check {
    color: var(--color-primary);
    margin-right: 10px; 
    flex-shrink: 0; 
    min-width: 25px; 
}
.plan-card--featured .plan-features .fa-circle-check,
.plan-card--featured .plan-features .fa-medal,
.plan-card--featured .plan-features .fa-book-open,
.plan-card--featured .plan-features .fa-headset,
.plan-card--featured .plan-features .fa-list-check,
.plan-card--featured .plan-features .fa-video,
.plan-card--featured .plan-features .fa-chalkboard-user,
.plan-card--featured .plan-features .fa-car-on {
    color: var(--color-white); 
}
.plan-card--featured .plan-features .plan-feat-highlight .fa-road-circle-check,
.plan-card--featured .plan-features .plan-feat-highlight .fa-headset {
    color: var(--color-rating); 
}
/* Estilo para las características destacadas en el plan premium */
.plan-feat-highlight {
    font-weight: 700; 
    color: var(--color-white); 
}
.plan-card--featured .button--primary {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: pulse-featured 2s infinite ease-in-out; 
}
@keyframes pulse-featured {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}
.plan-card--featured .button--primary:hover {
    background-color: var(--color-light-gray);
    transform: translateY(-3px) scale(1.02);
    animation: none; 
}

/* ======== SECCIÓN COMENTARIOS (Limpia y Estructurada) ======== */
.comments-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: flex-start;
}
.comment-form-box {
    background-color: var(--color-light-gray);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 100px;
}
.form-title {
    font-family: var(--font-display);
    font-size: 1.4rem; 
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent; 
    margin-bottom: 20px;
}
.comment-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.comment-card {
    background-color: var(--color-white);
    padding: 25px; 
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--color-primary); 
    position: relative;
    transition: var(--transition-smooth);
}
.comment-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.comment-card--bot {
    background-color: var(--color-off-white);
    border-left: 5px solid var(--color-secondary); 
}
.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.comment-avatar {
    font-size: 2.5rem; 
    margin-right: 15px; 
    color: var(--color-primary); 
    flex-shrink: 0;
}
.comment-info {
    flex-grow: 1;
}
.comment-author {
    font-weight: 700;
    color: var(--color-text-dark);
    font-size: 1.1rem;
}
.comment-disclaimer {
    font-size: 0.75rem;
    color: var(--color-secondary);
    font-weight: 500;
    font-style: italic;
    margin-left: 5px;
}
.comment-date {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--color-dark-gray);
    display: block;
}
.comment-text {
    margin: 0;
    color: var(--color-dark-gray);
    font-size: 1rem;
    line-height: 1.6;
}
.delete-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--color-dark-gray);
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.delete-btn:hover {
    opacity: 1;
    color: #FF4136;
}

/* --- FORMULARIO GENERAL Y INPUTS --- */
.form-group label {
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 8px;
    display: block;
}
.form-input, .form-textarea {
    width: 100%;
    padding: 10px 15px; 
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    box-sizing: border-box;
}
.form-input:focus, .form-textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}
.form-textarea {
    resize: vertical;
    min-height: 90px;
}
.comment-submit-btn {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
}

/* ======== FOOTER ======== */
.footer {
    background-color: var(--color-black);
    padding: 30px 0;
    color: var(--color-light-gray);
    font-size: 0.9rem;
}
.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer__left .nav__logo {
    color: var(--color-white);
    margin-bottom: 10px;
}
.footer__left .nav__logo i {
    color: var(--color-secondary); 
}
.footer__social a {
    color: var(--color-light-gray);
    font-size: 1.4rem;
    margin-left: 20px;
    transition: var(--transition-smooth);
}
.footer__social a:hover {
    color: var(--color-primary);
}

/* --- BOTONES FLOTANTES --- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px; 
    height: 55px;
    background-color: #25D366;
    color: var(--color-white);
    border-radius: 50%;
    text-align: center;
    font-size: 1.8rem;
    line-height: 55px;
    box-shadow: 0 8px 15px rgba(37, 211, 102, 0.4);
    z-index: 50;
    transition: var(--transition-smooth);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.6);
}
.scroll-up {
    position: fixed;
    right: 25px;
    bottom: -60px; 
    background-color: var(--color-primary);
    color: var(--color-white);
    width: 35px; 
    height: 35px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 40;
    transition: var(--transition-smooth);
}
.scroll-up.show {
    bottom: 90px; 
}


/* --- MEDIA QUERIES PARA RESPONSIVIDAD (CORRECCIÓN DE COMENTARIOS Y VIDEO) --- */

/* CORRECCIÓN ADICIONAL para tabletas (992px) */
@media (max-width: 992px) {
    /* OCULTAR VIDEO DE FONDO EN TABLETAS/MÓVILES */
    .hero {
        background-color: var(--color-light-gray); /* Fondo estático en móviles/tabletas */
    }
    .hero__video-bg,
    .hero__video-overlay {
        display: none;
    }
    /* Volver el texto a color oscuro para el fondo estático en móvil/tableta */
    .hero__title {
        color: var(--color-text-dark); 
    }
    .hero__description {
        color: var(--color-dark-gray); 
    }
    .hero__buttons .button--secondary {
        background-color: var(--color-off-white);
        color: var(--color-black);
        border: 1px solid var(--color-light-gray);
        box-shadow: var(--shadow-soft);
    }
    .hero__buttons .button--secondary:hover {
        background-color: var(--color-light-gray);
        border-color: var(--color-primary);
        color: var(--color-primary);
        transform: translateY(-4px);
        box-shadow: var(--shadow-card-hover);
    }

    /* Corrección para la sección planes (Asegura el centrado y el apilamiento) */
    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: auto;
    }
    
    /* Corrección para la sección comentarios */
    .comments-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .comment-form-box {
        position: static; 
    }
}

/* ** MÓVIL (Escala base del 100%) ** */
@media (max-width: 768px) {
    html {
        font-size: 100%; 
    }
    .section {
        padding: 60px 0;
    }
    .hero__title {
        font-size: 3.5rem;
    }
    /* CORRECCIÓN: Apilado y centrado de botones en móvil */
    .hero__buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 10px; 
    }
    
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
    }
    .nav__menu.show-menu {
        right: 0;
    }
    .nav__list { 
        flex-direction: column;
        gap: 25px;
        padding-top: 20px; 
    }
    .nav__link {
        font-size: 1.5rem;
    }
    .nav__toggle { display: block; }
    .nav__close {
        display: block;
        position: absolute;
        top: 30px;
        right: 30px;
        font-size: 2rem;
    }
    
    .language-selector--desktop { display: none; }
    .nav__item--lang-mobile { 
        display: block; 
        list-style: none;
        text-align: center;
        width: 80%;
        margin-top: 30px;
    }
    .nav__menu .language-selector select {
        width: 100%;
        padding: 12px;
        font-size: 1.1rem;
    }

    /* CORRECCIÓN: Orden del formulario de comentarios y posición estática */
    .comments-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .comment-form-box {
        position: static; 
        order: -1; 
    }
    
    /* Ajuste específico para los botones en la sección de Contacto en móvil */
    #contacto .hero__buttons {
        padding: 0;
        max-width: 350px;
        margin: 30px auto 0;
    }
    #contacto .hero__buttons .button {
        width: 100%;
    }

    .footer__container {
        flex-direction: column;
        text-align: center;
    }
    .footer__left .nav__logo {
        margin-bottom: 15px;
    }
    .footer__social {
        margin-top: 15px;
    }
    .footer__social a {
        margin: 0 10px;
    }
}
/* ** ESCRITORIO GRANDE (Ajuste fino en pantallas muy grandes) ** */
@media (min-width: 1200px) {
    .section { 
        padding: 90px 0; 
    }
    .hero {
         min-height: 550px;
    }
}