/* ============================================ */
/* 1. RESET Y ESTILOS BASE */
/* ============================================ */

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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #7252da 0%, #5e3ac0 50%, #e94944 100%);
    color: #1a1a2e;
    line-height: 1.6;
    min-height: 100vh;
    padding: 0;
}

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

.separador {
    width: 70px;
    height: 4px;
    background: #FFD966 !important;
    margin: 0.75rem auto 0;
    border-radius: 4px;
}

/* ============================================ */
/* 2. TOP BAR */
/* ============================================ */

.top-bar {
    background: #1a0e3a;
    padding: 0.4rem 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-logo {
    background: #e94944;
    padding: 0.3rem 1.2rem;
    display: inline-block;
    border-radius: 6px;
}

.logo-texto {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.logo-icono {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-palabras {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-amigos {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo-bailando {
    font-size: 0.7rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: -2px;
    opacity: 0.9;
}

.top-bar-socials {
    display: flex;
    gap: 1rem;
}

.top-bar-socials a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.top-bar-socials a:hover {
    color: #FFD966;
    transform: translateY(-2px);
}

.top-bar-whatsapp a {
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 211, 102, 0.15);
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-bar-whatsapp a i {
    color: #25d366;
    font-size: 1rem;
}

.top-bar-whatsapp a:hover {
    background: rgba(37, 211, 102, 0.3);
}

/* ============================================ */
/* 3. HEADER Y NAVEGACIÓN */
/* ============================================ */

.main-header {
    background: linear-gradient(135deg, #2C1B5A, #3d2a7a);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.logo-principal .logo-header {
    height: 85px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-principal .logo-header:hover {
    transform: scale(1.03);
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.main-nav .nav-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    letter-spacing: 0.03em;
}

.main-nav .nav-list a:hover,
.main-nav .nav-list a.active {
    color: #fff;
    background: rgba(233, 73, 68, 0.3);
}

.header-cta .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #e94944;
    color: #fff;
    padding: 0.6rem 1.4rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.header-cta .btn-cta:hover {
    background: #FFD966;
    color: #1a0e3a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 73, 68, 0.4);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.3rem;
}

/* ============================================ */
/* 4. CONTENEDOR PRINCIPAL - PRECIOS */
/* ============================================ */

.poster {
    width: 100%;
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.contenedor-principal {
    position: relative;
    z-index: 2;
    padding: 2rem 2.5rem;
    backdrop-filter: blur(4px);
    border-radius: 1.5rem;
}

/* ============================================ */
/* 5. ENCABEZADO DE SECCIÓN */
/* ============================================ */

.encabezado {
    text-align: center;
    margin-bottom: 2rem;
}

.titulo-principal {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #FFD966, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.subtitulo {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.encabezado .separador {
    width: 80px;
    height: 4px;
    background: #e94944;
    margin: 1rem auto 0;
    border-radius: 4px;
}

/* ============================================ */
/* 6. INDICADOR MÓVIL */
/* ============================================ */

.mobile-indicator {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    animation: pulse-indicator 2s ease-in-out infinite;
}

.mobile-indicator i {
    color: #FFD966;
    font-size: 0.8rem;
}

@keyframes pulse-indicator {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(3px);
    }
}

/* ============================================ */
/* 7. PLANES - GRID RESPONSIVE */
/* ============================================ */

.planes-row {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.planes-row:last-child {
    margin-bottom: 0;
}

/* --- Fila 1: 4 columnas --- */
.planes-row.fila-1 {
    grid-template-columns: repeat(4, 1fr);
}

/* --- Fila 2: 3 columnas --- */
.planes-row.fila-2 {
    grid-template-columns: repeat(3, 1fr);
}

/* --- Tarjetas de planes --- */
.plan-card {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 217, 102, 0.3);
    background: #481C5A;
}

/* --- Variantes de tarjetas --- */
.matricula-card {
    background: linear-gradient(135deg, rgba(233, 73, 68, 0.3), rgba(114, 82, 218, 0.3));
    border: 2px solid #FFD966;
}

.libre-card {
    background: linear-gradient(135deg, rgba(114, 82, 218, 0.4), rgba(233, 73, 68, 0.2));
    text-align: center;
}

.coreo-card {
    background: linear-gradient(135deg, rgba(255, 217, 102, 0.15), rgba(233, 73, 68, 0.2));
}

.proyecto-card {
    background: linear-gradient(135deg, rgba(233, 73, 68, 0.2), rgba(114, 82, 218, 0.3));
    border: 2px solid #FFD966;
}

/* ============================================ */
/* 8. PROYECTO - IMAGEN */
/* ============================================ */

.proyecto-imagen {
    text-align: center;
    margin-bottom: 1rem;
}

.proyecto-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.proyecto-img:hover {
    transform: scale(1.02);
}

/* ============================================ */
/* 9. BADGES DE PLANES */
/* ============================================ */

.plan-badge {
    display: inline-block;
    background: #e94944;
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    text-transform: uppercase;
    align-self: flex-start;
}

.plan-badge.trimestral {
    background: #7252da;
}

.plan-badge.semestral {
    background: #7252da;
}

.plan-badge.mensual {
    background: #5e3ac0;
}

.plan-badge.libre {
    background: #e94944;
    color: #ffffff;
}

.plan-badge.coreo {
    background: #FFD966;
    color: #0a0512;
}

.plan-badge.proyecto {
    background: #FFD966;
    color: #0a0512;
}

/* ============================================ */
/* 10. TÍTULOS Y PRECIOS */
/* ============================================ */

.plan-titulo {
    font-size: 1.8rem;
    font-weight: 900;
    color: #FFD966;
    margin-bottom: 0.5rem;
    text-align: center;
}

.plan-precio-grande {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    text-align: center;
}

.plan-precio-destacado {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin: 0.5rem 0;
}

.plan-periodo {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.plan-descripcion {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    margin: 1rem 0;
}

.plan-descripcion i {
    color: #FFD966;
    margin-right: 0.5rem;
}

/* ============================================ */
/* 11. ITEMS DE PRECIOS */
/* ============================================ */

.plan-items {
    margin: 1rem 0;
    flex: 1;
}

.plan-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-item:last-child {
    border-bottom: none;
}

.plan-item-horas {
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
}

.plan-item-precio {
    font-weight: 800;
    color: #FFD966;
    font-size: 1.2rem;
}

.plan-item-mes {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================ */
/* 12. BONUS Y DESTACADOS */
/* ============================================ */

.plan-bonus {
    background: rgba(255, 217, 102, 0.15);
    border-radius: 30px;
    padding: 0.6rem;
    text-align: center;
    margin: 0.8rem 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #FFD966;
}

.plan-bonus i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* ============================================ */
/* 13. PLAN COREOGRÁFICO */
/* ============================================ */

.plan-coreo-info {
    color: white;
    line-height: 1.5;
    flex: 1;
}

.plan-coreo-info p {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.plan-coreo-destacado {
    background: rgba(255, 217, 102, 0.2);
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 800;
    color: #FFD966;
    margin: 0.5rem auto;
    text-align: center;
    width: fit-content;
}

.plan-coreo-tarifa {
    margin-top: 0.8rem;
}

.plan-consultar {
    color: #FFD966;
    font-weight: 700;
}

.plan-coreo-nota {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ============================================ */
/* 14. PROYECTO COREOGRÁFICO ADDY MENDOZA */
/* ============================================ */

.plan-proyecto-info {
    color: white;
    text-align: center;
    flex: 1;
}

.proyecto-artista {
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.proyecto-artista i {
    color: #FFD966;
    margin-right: 0.5rem;
}

.proyecto-artista strong {
    color: #FFD966;
}

.proyecto-descripcion {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.proyecto-fechas {
    background: rgba(255, 217, 102, 0.15);
    border-radius: 30px;
    padding: 0.5rem;
    margin: 0.8rem 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: #FFD966;
}

.proyecto-fechas i {
    margin-right: 0.5rem;
}

.proyecto-meses {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.proyecto-meses .mes {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.proyecto-tarifa {
    font-size: 1rem;
    font-weight: 800;
    color: #FFD966;
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.plan-iva {
    margin-top: 1rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    letter-spacing: 0.05em;
}

/* ============================================ */
/* 15. BOTÓN PROYECTO */
/* ============================================ */

.plan-boton-container {
    margin-top: 1.2rem;
    text-align: center;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-proyecto {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #FFD966;
    color: #1a0e3a;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(255, 217, 102, 0.3);
}

.btn-proyecto:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 217, 102, 0.3);
}

.btn-proyecto i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-proyecto:hover i {
    transform: translateX(4px);
}

/* ============================================ */
/* 16. FOOTER */
/* ============================================ */

.main-footer {
    background: #1a0e3a;
    color: rgba(255, 255, 255, 0.8);
    padding: 2.5rem 0 0;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 0.5rem;
}

.footer-col p {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #FFD966;
}

.footer-col ul li i {
    width: 1.4rem;
    color: #e94944;
    flex-shrink: 0;
    text-align: center;
}

.footer-bottom {
    padding: 1.2rem 0;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-credit a {
    color: #FFD966;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-credit a:hover {
    text-decoration: underline;
}

.footer-credit a i {
    font-size: 0.9rem;
}

/* ============================================ */
/* 17. BOTONES FLOTANTES */
/* ============================================ */

.floating-buttons {
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 999;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.08) translateY(-3px);
}

.float-whatsapp {
    background: #25d366;
}

.float-whatsapp:hover {
    background: #268142;
}

.float-contrast {
    background: #e94944;
}

.float-contrast:hover {
    background: #8F332D;
    color: #ffffff;
}

.float-up {
    background: #e94944;
}

.float-up:hover {
    background: #8F332D;
    color: #ffffff;
}

/* ============================================ */
/* 18. ESTADO DE CONTRASTE ALTO */
/* ============================================ */

body.high-contrast {
    background: #000 !important;
    color: #fff !important;
}

body.high-contrast .main-header,
body.high-contrast .top-bar,
body.high-contrast .main-footer {
    background: #111 !important;
}

body.high-contrast .contenedor-principal {
    background: #111 !important;
}

body.high-contrast .plan-card {
    background: #1a1a1a !important;
    border-color: #444 !important;
}

body.high-contrast .plan-card:hover {
    border-color: #ffcc00 !important;
}

body.high-contrast .btn-cta {
    background: #ffcc00 !important;
    color: #000 !important;
}

/* === BOTONES FLOTANTES EN CONTRASTE ALTO === */
body.high-contrast .float-contrast {
    background: #ffcc00 !important;
    color: #000 !important;
}

body.high-contrast .float-whatsapp {
    background: #ffcc00 !important;
    color: #000 !important;
}

body.high-contrast .float-up {
    background: #ffcc00 !important;
    color: #000 !important;
}

body.high-contrast .float-contrast:hover {
    background: #ffcc00 !important;
    color: #000 !important;
}

body.high-contrast .float-whatsapp:hover {
    background: #ffcc00 !important;
    color: #000 !important;
}

body.high-contrast .float-up:hover {
    background: #ffcc00 !important;
    color: #000 !important;
}

body.high-contrast .plan-badge.coreo,
body.high-contrast .plan-badge.proyecto {
    background: #ffcc00 !important;
    color: #000 !important;
}

body.high-contrast .top-bar-logo {
    background: #ffcc00 !important;
}

body.high-contrast .logo-icono,
body.high-contrast .logo-amigos,
body.high-contrast .logo-bailando {
    color: #000 !important;
}

body.high-contrast .top-bar-socials a {
    color: #ffcc00 !important;
}

body.high-contrast .top-bar-socials a:hover {
    color: #fff !important;
}

body.high-contrast .top-bar-whatsapp a {
    background: #222 !important;
    border: 1px solid #ffcc00 !important;
}

body.high-contrast .top-bar-whatsapp a i {
    color: #ffcc00 !important;
}

body.high-contrast .top-bar-whatsapp a span {
    color: #fff !important;
}

body.high-contrast .main-nav .nav-list a {
    color: #fff !important;
}

body.high-contrast .main-nav .nav-list a:hover,
body.high-contrast .main-nav .nav-list a.active {
    background: #ffcc00 !important;
    color: #000 !important;
}

body.high-contrast .titulo-principal {
    background: none !important;
    color: #ffcc00 !important;
    text-shadow: none !important;
}

body.high-contrast .subtitulo {
    color: #fff !important;
}

body.high-contrast .plan-titulo {
    color: #ffcc00 !important;
}

body.high-contrast .plan-precio-grande,
body.high-contrast .plan-precio-destacado {
    color: #fff !important;
}

body.high-contrast .plan-item-horas {
    color: #fff !important;
}

body.high-contrast .plan-item-precio {
    color: #ffcc00 !important;
}

body.high-contrast .plan-item-mes {
    color: #ccc !important;
}

body.high-contrast .plan-periodo {
    color: #ccc !important;
}

body.high-contrast .plan-descripcion {
    color: #fff !important;
}

body.high-contrast .plan-iva {
    color: #aaa !important;
}

body.high-contrast .plan-badge {
    background: #ffcc00 !important;
    color: #000 !important;
}

body.high-contrast .plan-badge.trimestral,
body.high-contrast .plan-badge.semestral,
body.high-contrast .plan-badge.mensual {
    background: #ffcc00 !important;
    color: #000 !important;
}

body.high-contrast .plan-badge.libre {
    background: #ffcc00 !important;
    color: #000 !important;
}

body.high-contrast .plan-bonus {
    background: #ffcc00 !important;
    color: #000 !important;
}

body.high-contrast .plan-coreo-destacado {
    background: #ffcc00 !important;
    color: #000 !important;
}

body.high-contrast .plan-consultar {
    color: #ffcc00 !important;
}

body.high-contrast .plan-coreo-nota {
    color: #ccc !important;
}

body.high-contrast .proyecto-artista strong {
    color: #ffcc00 !important;
}

body.high-contrast .proyecto-descripcion {
    color: #fff !important;
}

body.high-contrast .proyecto-fechas {
    background: #ffcc00 !important;
    color: #000 !important;
}

body.high-contrast .proyecto-meses .mes {
    background: #222 !important;
    color: #fff !important;
    border: 1px solid #ffcc00 !important;
}

body.high-contrast .proyecto-tarifa {
    color: #ffcc00 !important;
}

body.high-contrast .footer-col h4 {
    color: #ffcc00 !important;
}

body.high-contrast .footer-col ul li a {
    color: #ccc !important;
}

body.high-contrast .footer-col ul li a:hover {
    color: #ffcc00 !important;
}

body.high-contrast .footer-credit a {
    color: #ffcc00 !important;
}

body.high-contrast .separador {
    background: #ffcc00 !important;
}

body.high-contrast .btn-proyecto {
    background: #ffcc00 !important;
    color: #000 !important;
    border-color: #ffcc00 !important;
}

body.high-contrast .btn-proyecto:hover {
    background: #fff !important;
    color: #000 !important;
    border-color: #fff !important;
}

body.high-contrast .mobile-indicator {
    background: rgba(255, 204, 0, 0.2) !important;
    color: #fff !important;
}

body.high-contrast .mobile-indicator i {
    color: #ffcc00 !important;
}

/* ============================================ */
/* 19. RESPONSIVE - MEDIA QUERIES */
/* ============================================ */

/* --- Tablets (768px - 1024px) --- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .top-bar-logo {
        padding: 0.25rem 1rem;
    }
    .logo-icono { font-size: 2rem; }
    .logo-amigos { font-size: 1.1rem; }
    .logo-bailando { font-size: 0.65rem; }

    .contenedor-principal {
        padding: 1.5rem;
    }

    .planes-row.fila-1 {
        grid-template-columns: repeat(2, 1fr);
    }
    .planes-row.fila-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .escuela-imagen .proyecto-img {
        height: 160px;
    }
}

/* --- Tablets pequeñas (hasta 850px) --- */
@media (max-width: 850px) {
    .poster {
        padding: 0 1rem;
        margin: 1rem auto;
    }

    .contenedor-principal {
        padding: 1rem;
        border-radius: 1rem;
    }

    .titulo-principal {
        font-size: 1.5rem;
    }

    .subtitulo {
        font-size: 0.8rem;
    }

    .mobile-indicator {
        display: flex;
    }
}

/* --- Móviles grandes (600px - 768px) --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        width: 100%;
        order: 3;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav .nav-list {
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        gap: 0.3rem;
    }

    .main-nav .nav-list a {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
        width: 100%;
        text-align: center;
    }

    .header-cta .btn-cta {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
        gap: 0.3rem;
    }
    .header-cta .btn-cta i {
        font-size: 0.8rem;
    }

    .logo-principal .logo-header {
        height: 45px;
    }

    .top-bar-inner {
        justify-content: center;
        gap: 0.8rem;
        flex-wrap: wrap;
    }

    .top-bar-whatsapp span {
        display: none;
    }

    .top-bar-socials {
        gap: 0.6rem;
    }

    .top-bar-logo {
        padding: 0.2rem 0.8rem;
        border-radius: 4px;
    }
    .logo-texto { gap: 0.4rem; }
    .logo-icono { font-size: 1.7rem; }
    .logo-amigos { font-size: 0.95rem; }
    .logo-bailando { font-size: 0.55rem; }

    .poster {
        padding: 0 0.8rem;
        margin: 0.5rem auto;
    }

    .contenedor-principal {
        padding: 0.8rem;
        border-radius: 0.8rem;
    }

    .titulo-principal {
        font-size: 1.3rem;
    }

    .subtitulo {
        font-size: 0.7rem;
    }

    .encabezado .separador {
        width: 60px;
        height: 3px;
    }

    .planes-row.fila-1 {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 1rem;
    }
    .planes-row.fila-2 {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .plan-card {
        padding: 1.2rem;
    }

    .plan-precio-grande {
        font-size: 2.5rem;
    }

    .plan-precio-destacado {
        font-size: 2.8rem;
    }

    .plan-titulo {
        font-size: 1.5rem;
    }

    .escuela-imagen .proyecto-img {
        height: 140px;
    }

    /* Reordenamiento footer en vertical */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .footer-col ul li {
        justify-content: center;
    }
    .footer-credit a {
        justify-content: center;
    }

    /* Botones flotantes en móvil */
    .floating-buttons {
        bottom: 1rem;
        right: 0.8rem;
        gap: 0.6rem;
    }

    .float-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .mobile-indicator {
        display: flex;
    }
}

/* --- Móviles pequeños (hasta 480px) --- */
@media (max-width: 480px) {
    .poster {
        padding: 0 0.5rem;
        margin: 0.3rem auto;
    }

    .contenedor-principal {
        padding: 0.6rem;
        border-radius: 0.6rem;
    }

    .titulo-principal {
        font-size: 1.1rem;
    }

    .subtitulo {
        font-size: 0.65rem;
    }

    .encabezado .separador {
        width: 50px;
    }

    .planes-row.fila-1 {
        gap: 0.8rem;
        max-width: 100%;
    }
    .planes-row.fila-2 {
        gap: 0.8rem;
        max-width: 100%;
    }

    .plan-card {
        padding: 1rem;
        border-radius: 1rem;
    }

    .plan-titulo {
        font-size: 1.3rem;
    }

    .plan-precio-grande {
        font-size: 2.2rem;
    }

    .plan-precio-destacado {
        font-size: 2.5rem;
    }

    .plan-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.3rem;
        padding: 0.5rem 0;
    }

    .plan-item-horas {
        font-size: 0.8rem;
    }

    .plan-item-precio {
        font-size: 1.1rem;
    }

    .plan-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.8rem;
    }

    .top-bar-logo {
        padding: 0.15rem 0.6rem;
        border-radius: 4px;
    }
    .logo-texto { gap: 0.3rem; }
    .logo-icono { font-size: 1.4rem; }
    .logo-amigos { font-size: 0.8rem; }
    .logo-bailando { font-size: 0.5rem; }

    .top-bar-socials a {
        font-size: 0.85rem;
    }

    .proyecto-img {
        max-width: 120px;
    }

    .escuela-imagen .proyecto-img {
        height: 120px;
    }

    .proyecto-meses .mes {
        padding: 0.2rem 0.6rem;
        font-size: 0.6rem;
    }

    .footer-grid {
        gap: 1.2rem;
        padding-bottom: 1.2rem;
    }
    .footer-logo {
        height: 40px;
    }
    .footer-col h4 {
        font-size: 0.85rem;
    }
    .footer-col ul li {
        font-size: 0.8rem;
        gap: 0.4rem;
    }
    .footer-col ul li i {
        width: 1.2rem;
        font-size: 0.8rem;
    }
    .footer-bottom {
        padding: 0.8rem 0;
        font-size: 0.7rem;
    }
    .footer-credit a i {
        font-size: 0.8rem;
    }

    .float-btn {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .mobile-indicator {
        font-size: 0.65rem;
        padding: 0.4rem 0.8rem;
        gap: 0.5rem;
    }

    .mobile-indicator i {
        font-size: 0.65rem;
    }

    .btn-proyecto {
        font-size: 0.75rem;
        padding: 0.5rem 1.2rem;
        gap: 0.4rem;
    }
}

/* --- Móviles muy pequeños (hasta 400px) --- */
@media (max-width: 400px) {
    .poster {
        padding: 0 0.3rem;
        margin: 0.2rem auto;
    }

    .contenedor-principal {
        padding: 0.4rem;
        border-radius: 0.4rem;
    }

    .titulo-principal {
        font-size: 0.95rem;
    }

    .subtitulo {
        font-size: 0.55rem;
    }

    .encabezado .separador {
        width: 40px;
        height: 3px;
    }

    .plan-card {
        padding: 0.8rem;
    }

    .plan-titulo {
        font-size: 1.1rem;
    }

    .plan-precio-grande {
        font-size: 1.8rem;
    }

    .plan-precio-destacado {
        font-size: 2rem;
    }

    .plan-item-precio {
        font-size: 1rem;
    }

    .plan-item-horas {
        font-size: 0.75rem;
    }

    .plan-badge {
        font-size: 0.5rem;
        padding: 0.15rem 0.6rem;
    }

    .top-bar-logo {
        padding: 0.1rem 0.4rem;
        border-radius: 3px;
    }
    .logo-texto { gap: 0.2rem; }
    .logo-icono { font-size: 1.2rem; }
    .logo-amigos { font-size: 0.65rem; }
    .logo-bailando { font-size: 0.4rem; }

    .top-bar-socials a {
        font-size: 0.75rem;
    }

    .proyecto-img {
        max-width: 100px;
    }

    .escuela-imagen .proyecto-img {
        height: 100px;
    }

    .float-btn {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    .floating-buttons {
        bottom: 0.8rem;
        right: 0.6rem;
        gap: 0.5rem;
    }

    .footer-bottom {
        font-size: 0.6rem;
    }

    .mobile-indicator {
        font-size: 0.55rem;
        padding: 0.3rem 0.6rem;
        gap: 0.4rem;
    }

    .mobile-indicator i {
        font-size: 0.55rem;
    }

    .btn-proyecto {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
        gap: 0.3rem;
    }
}