/* ============================================ */
/* 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 - POLÍTICA DE PRIVACIDAD */
/* ============================================ */

.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. POLÍTICA DE PRIVACIDAD - CONTENIDO */
/* ============================================ */

.politica-content {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.politica-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.politica-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.politica-section h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #FFD966;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}

.politica-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.politica-section p:last-child {
    margin-bottom: 0;
}

.politica-section p strong {
    color: #ffffff;
}

.politica-section p a {
    color: #FFD966;
    text-decoration: none;
    transition: color 0.3s ease;
}

.politica-section p a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.politica-section ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1rem;
}

.politica-section ul li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0.3rem 0 0.3rem 1.8rem;
    position: relative;
}

.politica-section ul li::before {
    content: '▸';
    color: #FFD966;
    position: absolute;
    left: 0;
    font-weight: 700;
}

.politica-section ul li strong {
    color: #ffffff;
}

/* --- Botón volver --- */
.btn-volver {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: white;
    color: #e94944 !important;
    padding: 0.6rem 1.4rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    border: 2px solid transparent;
}

.btn-volver:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    background: #2C1B5A;
    color: white !important;
    text-decoration: none !important;
}

.btn-volver i {
    font-size: 0.9rem;
}

/* ============================================ */
/* 7. 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;
}

/* ============================================ */
/* 8. 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;
}

/* ============================================ */
/* 9. ESTADO DE CONTRASTE ALTO (accesibilidad) */
/* ============================================ */

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 .politica-content {
    background: #1a1a1a !important;
    border-color: #444 !important;
}

body.high-contrast .politica-section h2 {
    color: #ffcc00 !important;
}

body.high-contrast .politica-section p,
body.high-contrast .politica-section ul li {
    color: #ddd !important;
}

body.high-contrast .politica-section p strong,
body.high-contrast .politica-section ul li strong {
    color: #fff !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 .btn-volver {
    background: #ffcc00 !important;
    color: #000 !important;
}

body.high-contrast .btn-volver:hover {
    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: #ddd !important;
}

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

body.high-contrast .encabezado .separador {
    background: #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;
}

/* ============================================ */
/* 10. 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;
    }

    .politica-content {
        padding: 1.5rem;
    }
}

/* --- 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;
    }

    .politica-content {
        padding: 1.2rem;
        border-radius: 1rem;
    }

    .politica-section h2 {
        font-size: 1.1rem;
    }
}

/* --- 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;
    }

    .politica-content {
        padding: 1rem;
        border-radius: 0.8rem;
    }

    .politica-section h2 {
        font-size: 1rem;
    }

    .politica-section p {
        font-size: 0.85rem;
    }

    .politica-section ul li {
        font-size: 0.8rem;
        padding: 0.2rem 0 0.2rem 1.5rem;
    }

    /* 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;
    }
}

/* --- 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;
    }

    .politica-content {
        padding: 0.8rem;
        border-radius: 0.6rem;
    }

    .politica-section {
        margin-bottom: 1.2rem;
        padding-bottom: 1.2rem;
    }

    .politica-section h2 {
        font-size: 0.95rem;
    }

    .politica-section p {
        font-size: 0.8rem;
    }

    .politica-section ul li {
        font-size: 0.75rem;
        padding: 0.15rem 0 0.15rem 1.3rem;
    }

    .btn-volver {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .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;
    }

    .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;
    }
}

/* --- 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;
    }

    .politica-content {
        padding: 0.6rem;
    }

    .politica-section h2 {
        font-size: 0.85rem;
    }

    .politica-section p {
        font-size: 0.75rem;
    }

    .politica-section ul li {
        font-size: 0.7rem;
    }

    .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;
    }

    .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;
    }
}