/* ============================================ */
/* 1. RESET Y ESTILOS BASE */
/* ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #f5f0ff;
    color: #1a1a2e;
    line-height: 1.6;
}

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

.separador {
    width: 70px;
    height: 4px;
    background: #e94944;
    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 .logo-secundario {
    height: 28px;
    width: auto;
    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. LOGO SECUNDARIO - ESTILO TEXTO */
/* ============================================ */

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

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

/* ============================================ */
/* 5. SLIDER */
/* ============================================ */
.section-slider {
    padding: 2rem 0;
    background: linear-gradient(135deg, #7252da, #5e3ac0);
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 5rem;
    gap: 3rem;
    min-height: 280px;
}

.slide-content {
    flex: 1;
    color: #fff;
}

.slide-badge {
    display: inline-block;
    background: #e94944;
    padding: 0.25rem 1rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.slide-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.slide-content p {
    opacity: 0.9;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.btn-slide {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #FFD966;
    color: #1a0e3a;
    padding: 0.5rem 1.4rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-slide:hover {
    transform: translateX(6px);
    background: #9B8134;
    color: #fff;
}

.slide-image {
    flex: 0 0 280px;
    height: 220px;
    border-radius: 1rem;
    background-size: cover;
    background-position: center;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-btn.prev {
    left: 1rem;
}

.slider-btn.next {
    right: 1rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 0 0.5rem;
}

.slider-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots span.active {
    background: #FFD966;
    transform: scale(1.2);
}

/* ============================================ */
/* 6. SECCIÓN CLASES */
/* ============================================ */
.section-clases {
    padding: 3rem 0;
    background: #f5f0ff;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #2C1B5A;
}

.section-subtitle {
    color: #555;
    font-size: 1rem;
    font-weight: 500;
}

.clases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.8rem;
}

.clase-card {
    background: #fff;
    border-radius: 1.2rem;
    padding: 1.5rem 1.2rem 1.2rem;
    box-shadow: 0 8px 30px rgba(44, 27, 90, 0.08);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    border: 1px solid rgba(114, 82, 218, 0.08);
}

.clase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(44, 27, 90, 0.15);
}

.clase-card-icon {
    font-size: 2rem;
    color: #e94944;
    margin-bottom: 0.5rem;
}

.clase-card-image {
    height: 120px;
    border-radius: 0.8rem;
    background-size: cover;
    background-position: center;
    margin-bottom: 0.8rem;
}

.clase-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #2C1B5A;
    margin-bottom: 0.4rem;
}

.clase-card p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

/* ============================================ */
/* 7. SECCIÓN EQUIPO */
/* ============================================ */
.section-equipo {
    padding: 3rem 0;
    background: linear-gradient(135deg, #2C1B5A, #3d2a7a);
    color: #fff;
}

.section-equipo .section-header h2 {
    color: #fff;
}

.section-equipo .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.section-equipo .separador {
    background: #FFD966;
}

.equipo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.profesor-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    padding: 1.5rem 0.8rem 1.2rem;
    border-radius: 1.5rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
}

.profesor-card:hover {
    background: rgba(233, 73, 68, 0.3);
    transform: translateY(-4px);
}

.profesor-foto {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid #fff;
    overflow: hidden;
    margin: 0 auto 0.8rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.profesor-foto img {
    width: 100%;
    height: 130%;
    object-fit: cover;
    object-position: center top;
    margin-top: 20%;
    transform: scale(1.5);
}

.profesor-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.profesor-especialidades {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
}

.profesor-especialidades span {
    background: rgba(255, 255, 255, 0.12);
    padding: 0.1rem 0.5rem;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 600;
    color: #FFD966;
}

/* ============================================ */
/* 8. SECCIÓN CONTACTO */
/* ============================================ */
.section-contacto {
    padding: 3rem 0;
    background: #f5f0ff;
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* ============================================ */
/* 9. FORMULARIO DE CONTACTO */
/* ============================================ */

.contacto-formulario {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 30px rgba(44, 27, 90, 0.08);
    border: 1px solid rgba(114, 82, 218, 0.08);
    transition: all 0.3s ease;
}

.contacto-formulario h3 {
    color: #2C1B5A;
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.8rem;
}

.form-grupo {
    margin-bottom: 1.2rem;
}

.form-grupo label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #2C1B5A;
    margin-bottom: 0.4rem;
}

.form-grupo input[type="text"],
.form-grupo input[type="email"],
.form-grupo input[type="tel"],
.form-grupo select,
.form-grupo textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e8e0f0;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #faf8ff;
    color: #1a1a2e;
    box-sizing: border-box;
}

.form-grupo input[type="text"]:focus,
.form-grupo input[type="email"]:focus,
.form-grupo input[type="tel"]:focus,
.form-grupo select:focus,
.form-grupo textarea:focus {
    border-color: #7252da;
    outline: none;
    box-shadow: 0 0 0 4px rgba(114, 82, 218, 0.1);
    background: #ffffff;
}

.form-grupo input[type="text"]::placeholder,
.form-grupo input[type="email"]::placeholder,
.form-grupo input[type="tel"]::placeholder,
.form-grupo textarea::placeholder {
    color: #999999;
}

.form-grupo select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%232C1B5A' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.8rem;
    cursor: pointer;
}

.form-grupo select option {
    padding: 0.5rem;
}

.form-grupo textarea {
    resize: vertical;
    min-height: 100px;
}

.texto-ayuda {
    display: block;
    font-size: 0.78rem;
    color: #777777;
    margin-top: 0.3rem;
}

.texto-ayuda.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.obligatorio {
    color: #e94944;
    font-weight: 700;
}

.error-mensaje {
    display: block;
    font-size: 0.8rem;
    color: #e94944;
    margin-top: 0.3rem;
    font-weight: 500;
}

.error-mensaje:not([hidden]) {
    display: block;
}

.form-grupo.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.form-grupo.checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: #e94944;
    cursor: pointer;
}

.form-grupo.checkbox label {
    font-weight: 400;
    font-size: 0.9rem;
    margin-bottom: 0;
    cursor: pointer;
    color: #333333;
    line-height: 1.4;
}

.enlace-privacidad {
    color: #e94944;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.enlace-privacidad:hover {
    color: #2C1B5A;
}

.boton-enviar {
    width: 100%;
    padding: 0.9rem 2rem;
    background: #e94944;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

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

.boton-enviar:active {
    transform: translateY(0);
}

.boton-enviar:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.spinner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.estado-envio {
    margin-top: 1rem;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

.estado-envio.success {
    background: #e8f5e9;
    border: 2px solid #4CAF50;
    color: #2e7d32;
}

.estado-envio.error {
    background: #fce4ec;
    border: 2px solid #e94944;
    color: #c62828;
}

.estado-envio:not([hidden]) {
    display: block;
}

.form-nota {
    font-size: 0.85rem;
    color: #777777;
    text-align: center;
    margin-top: 1rem;
}

.form-nota i {
    color: #e94944;
    margin-right: 0.3rem;
}

/* ============================================ */
/* 10. INFO DE CONTACTO */
/* ============================================ */
.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contacto-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    padding: 1rem 1.2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(44, 27, 90, 0.04);
}

.contacto-item i {
    color: #e94944;
    font-size: 1.3rem;
    width: 2rem;
    text-align: center;
    margin-top: 0.1rem;
}

.contacto-item div {
    display: flex;
    flex-direction: column;
}

.contacto-item strong {
    font-size: 0.85rem;
    color: #2C1B5A;
}

.contacto-item a,
.contacto-item span {
    font-size: 0.9rem;
    color: #555;
    text-decoration: none;
}

.contacto-item a:hover {
    color: #e94944;
}

.contacto-redes {
    display: flex;
    gap: 1rem;
    padding: 0.5rem 0;
}

.contacto-redes a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #2C1B5A;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contacto-redes a:hover {
    background: #e94944;
    transform: translateY(-4px);
}

.contacto-mapa {
    margin-top: 0.5rem;
}

/* ============================================ */
/* 11. FOOTER */
/* ============================================ */
.main-footer {
    background: #1a0e3a;
    color: rgba(255, 255, 255, 0.8);
    padding: 2.5rem 0 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;
}

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

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

/* ============================================ */
/* 13.1 CONTRASTE ALTO - FONDOS Y SECCIONES */
/* ============================================ */

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

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

body.high-contrast .slider-wrapper {
    background: #1a1a1a !important;
    backdrop-filter: none !important;
}

body.high-contrast .contacto-formulario {
    background: #1a1a1a !important;
    border-color: #ffcc00 !important;
}

/* ============================================ */
/* 13.2 CONTRASTE ALTO - TOP BAR */
/* ============================================ */

body.high-contrast .top-bar {
    border-bottom: 2px solid #ffcc00 !important;
}

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

body.high-contrast .top-bar-logo .logo-icono,
body.high-contrast .top-bar-logo .logo-amigos,
body.high-contrast .top-bar-logo .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 .top-bar-whatsapp a:hover {
    background: #333 !important;
}

/* ============================================ */
/* 13.3 CONTRASTE ALTO - HEADER Y NAVEGACIÓN */
/* ============================================ */

body.high-contrast .main-header {
    border-bottom: 2px solid #ffcc00 !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 .header-cta .btn-cta {
    background: #ffcc00 !important;
    color: #000 !important;
    border-color: #ffcc00 !important;
}

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

body.high-contrast .menu-toggle {
    color: #ffcc00 !important;
}

/* ============================================ */
/* 13.4 CONTRASTE ALTO - SLIDER */
/* ============================================ */

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

body.high-contrast .slide-content h2 {
    color: #fff !important;
}

body.high-contrast .slide-content p {
    color: #ddd !important;
}

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

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

body.high-contrast .btn-slide:hover {
    background: #ffd700 !important;
    color: #000 !important;
    transform: translateX(6px) !important;
}

body.high-contrast .slider-btn {
    background: #222 !important;
    color: #fff !important;
    border: 1px solid #555 !important;
}

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

body.high-contrast .slider-dots span {
    background: #444 !important;
}

body.high-contrast .slider-dots span.active {
    background: #ffcc00 !important;
}

/* ============================================ */
/* 13.5 CONTRASTE ALTO - CLASES */
/* ============================================ */

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

body.high-contrast .section-subtitle {
    color: #ddd !important;
}

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

body.high-contrast .clase-card:hover {
    border-color: #ffcc00 !important;
    transform: translateY(-8px) !important;
}

body.high-contrast .clase-card h3 {
    color: #ffcc00 !important;
}

body.high-contrast .clase-card p {
    color: #ddd !important;
}

body.high-contrast .clase-card-icon {
    color: #ffcc00 !important;
}

/* ============================================ */
/* 13.6 CONTRASTE ALTO - EQUIPO */
/* ============================================ */

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

body.high-contrast .section-equipo .section-subtitle {
    color: #ddd !important;
}

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

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

body.high-contrast .profesor-card h4 {
    color: #ffcc00 !important;
}

body.high-contrast .profesor-especialidades span {
    background: #222 !important;
    color: #ffcc00 !important;
}

body.high-contrast .profesor-foto {
    border-color: #ffcc00 !important;
}

/* ============================================ */
/* 13.7 CONTRASTE ALTO - FORMULARIO DE CONTACTO */
/* ============================================ */

body.high-contrast .contacto-formulario h3 {
    color: #ffcc00 !important;
}

body.high-contrast .form-grupo label {
    color: #ffcc00 !important;
}

body.high-contrast .form-grupo input[type="text"],
body.high-contrast .form-grupo input[type="email"],
body.high-contrast .form-grupo input[type="tel"],
body.high-contrast .form-grupo select,
body.high-contrast .form-grupo textarea {
    background: #1a1a1a !important;
    border-color: #444444 !important;
    color: #ffffff !important;
}

body.high-contrast .form-grupo input[type="text"]:focus,
body.high-contrast .form-grupo input[type="email"]:focus,
body.high-contrast .form-grupo input[type="tel"]:focus,
body.high-contrast .form-grupo select:focus,
body.high-contrast .form-grupo textarea:focus {
    border-color: #ffcc00 !important;
    box-shadow: 0 0 0 4px rgba(255, 204, 0, 0.2) !important;
}

body.high-contrast .form-grupo input[type="text"]::placeholder,
body.high-contrast .form-grupo input[type="email"]::placeholder,
body.high-contrast .form-grupo input[type="tel"]::placeholder,
body.high-contrast .form-grupo textarea::placeholder {
    color: #888888 !important;
}

body.high-contrast .form-grupo select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffcc00' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
}

body.high-contrast .form-grupo.checkbox label {
    color: #ffffff !important;
}

body.high-contrast .form-grupo.checkbox input[type="checkbox"] {
    accent-color: #ffcc00 !important;
}

body.high-contrast .enlace-privacidad {
    color: #ffcc00 !important;
}

body.high-contrast .enlace-privacidad:hover {
    color: #ffffff !important;
}

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

body.high-contrast .texto-ayuda {
    color: #aaaaaa !important;
}

body.high-contrast .error-mensaje {
    color: #ff6b6b !important;
}

body.high-contrast .boton-enviar {
    background: #ffcc00 !important;
    color: #000000 !important;
}

body.high-contrast .boton-enviar:hover {
    background: #ffd700 !important;
    color: #000000 !important;
}

body.high-contrast .form-nota {
    color: #aaaaaa !important;
}

body.high-contrast .estado-envio.success {
    background: #1a3a1a !important;
    border-color: #ffcc00 !important;
    color: #aaffaa !important;
}

body.high-contrast .estado-envio.error {
    background: #3a1a1a !important;
    border-color: #ffcc00 !important;
    color: #ff6b6b !important;
}

/* ============================================ */
/* 13.8 CONTRASTE ALTO - INFO DE CONTACTO */
/* ============================================ */

body.high-contrast .contacto-item {
    background: #1a1a1a !important;
    color: #fff !important;
    border: 1px solid #444 !important;
}

body.high-contrast .contacto-item i {
    color: #ffcc00 !important;
}

body.high-contrast .contacto-item strong {
    color: #ffcc00 !important;
}

body.high-contrast .contacto-item a,
body.high-contrast .contacto-item span {
    color: #ddd !important;
}

body.high-contrast .contacto-item a:hover {
    color: #ffcc00 !important;
}

body.high-contrast .contacto-redes a {
    background: #222 !important;
    color: #ffcc00 !important;
}

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

/* ============================================ */
/* 13.9 CONTRASTE ALTO - FOOTER */
/* ============================================ */

body.high-contrast .main-footer {
    border-top: 2px solid #ffcc00 !important;
}

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

body.high-contrast .footer-col p {
    color: #ddd !important;
}

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

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

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

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

body.high-contrast .footer-bottom {
    color: #999 !important;
}

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

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

/* ============================================ */
/* 13.10 CONTRASTE ALTO - BOTONES FLOTANTES */
/* ============================================ */

body.high-contrast .float-btn {
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.3) !important;
}

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

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

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

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

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

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

/* ============================================ */
/* 13.11 CONTRASTE ALTO - ELEMENTOS ADICIONALES */
/* ============================================ */

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

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

/* ============================================ */
/* 14. RESPONSIVE */
/* ============================================ */

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

    .equipo-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 800px;
        gap: 1.5rem;
    }

    .profesor-card {
        max-width: 220px;
    }

    .top-bar-logo {
        padding: 0.25rem 1rem;
    }

    .logo-icono {
        font-size: 2rem;
    }

    .logo-amigos {
        font-size: 1.1rem;
    }

    .logo-bailando {
        font-size: 0.65rem;
    }

    .contacto-formulario {
        padding: 2rem;
    }
}

/* Tablets pequeñas (768px - 900px) */
@media (max-width: 900px) {
    .main-nav .nav-list a {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }

    .slide {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        min-height: auto;
    }

    .slide-content {
        flex: none;
        width: 100%;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .slide-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 350px;
        height: 180px;
    }

    .slider-btn {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .contacto-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

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

    .section-slider {
        padding: 1rem 0;
    }

    .slide {
        padding: 1.5rem;
        gap: 1.2rem;
    }

    .slide-content h2 {
        font-size: 1.3rem;
    }

    .slide-content p {
        font-size: 0.85rem;
    }

    .slide-image {
        height: 150px;
        max-width: 280px;
    }

    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .slider-btn.prev {
        left: 0.5rem;
    }

    .slider-btn.next {
        right: 0.5rem;
    }

    .slider-dots span {
        width: 8px;
        height: 8px;
    }

    .section-clases {
        padding: 2rem 0;
    }

    .clases-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.2rem;
    }

    .clase-card {
        padding: 1.2rem 0.8rem 1rem;
    }

    .clase-card-image {
        height: 100px;
    }

    .clase-card h3 {
        font-size: 0.9rem;
    }

    .clase-card p {
        font-size: 0.8rem;
    }

    .clase-card-icon {
        font-size: 1.6rem;
    }

    .section-equipo {
        padding: 2rem 0;
    }

    .equipo-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
        gap: 1.2rem;
    }

    .profesor-card {
        max-width: 200px;
        padding: 1rem 0.6rem 0.8rem;
    }

    .profesor-foto {
        width: 100px;
        height: 100px;
    }

    .profesor-card h4 {
        font-size: 1rem;
    }

    .profesor-especialidades span {
        font-size: 0.55rem;
        padding: 0.08rem 0.4rem;
    }

    .section-contacto {
        padding: 2rem 0;
    }

    .contacto-formulario {
        padding: 1.5rem;
        border-radius: 1.2rem;
    }

    .contacto-formulario h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .form-grupo {
        margin-bottom: 1rem;
    }

    .form-grupo label {
        font-size: 0.85rem;
    }

    .form-grupo input[type="text"],
    .form-grupo input[type="email"],
    .form-grupo input[type="tel"],
    .form-grupo select,
    .form-grupo textarea {
        padding: 0.7rem 0.9rem;
        font-size: 0.9rem;
        border-radius: 10px;
    }

    .form-grupo.checkbox label {
        font-size: 0.85rem;
    }

    .boton-enviar {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .contacto-info {
        gap: 0.8rem;
    }

    .contacto-item {
        padding: 0.8rem 1rem;
    }

    .contacto-item i {
        font-size: 1.1rem;
        width: 1.6rem;
    }

    .contacto-item a,
    .contacto-item span {
        font-size: 0.85rem;
    }

    .contacto-redes a {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .contacto-mapa iframe {
        height: 150px;
    }

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

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

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

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

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
    .logo-principal .logo-header {
        height: 38px;
    }

    .header-cta .btn-cta {
        font-size: 0.6rem;
        padding: 0.3rem 0.7rem;
        gap: 0.3rem;
    }

    .header-cta .btn-cta i {
        font-size: 0.7rem;
    }

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

    .slide {
        padding: 1.2rem;
        gap: 1rem;
    }

    .slide-content h2 {
        font-size: 1.1rem;
    }

    .slide-content p {
        font-size: 0.8rem;
    }

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

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

    .slide-image {
        height: 120px;
        max-width: 220px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    .separador {
        width: 50px;
        height: 3px;
    }

    .clases-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .clase-card {
        padding: 0.8rem 0.6rem 0.8rem;
        border-radius: 1rem;
    }

    .clase-card-image {
        height: 70px;
        border-radius: 0.6rem;
    }

    .clase-card h3 {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
    }

    .clase-card p {
        font-size: 0.65rem;
        line-height: 1.4;
    }

    .clase-card-icon {
        font-size: 1.4rem;
        margin-bottom: 0.3rem;
    }

    .equipo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        max-width: 100%;
    }

    .profesor-card {
        max-width: 160px;
        padding: 0.8rem 0.4rem 0.6rem;
        border-radius: 1rem;
    }

    .profesor-foto {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }

    .profesor-card h4 {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .profesor-especialidades {
        gap: 0.2rem;
    }

    .profesor-especialidades span {
        font-size: 0.5rem;
        padding: 0.08rem 0.4rem;
    }

    .contacto-formulario {
        padding: 1rem;
        border-radius: 1rem;
    }

    .contacto-formulario h3 {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .form-grupo {
        margin-bottom: 0.8rem;
    }

    .form-grupo label {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .form-grupo input[type="text"],
    .form-grupo input[type="email"],
    .form-grupo input[type="tel"],
    .form-grupo select,
    .form-grupo textarea {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .form-grupo.checkbox {
        gap: 0.6rem;
    }

    .form-grupo.checkbox input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin-top: 2px;
    }

    .form-grupo.checkbox label {
        font-size: 0.8rem;
    }

    .boton-enviar {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 40px;
    }

    .form-nota {
        font-size: 0.75rem;
    }

    .texto-ayuda {
        font-size: 0.7rem;
    }

    .error-mensaje {
        font-size: 0.75rem;
    }

    .contacto-item {
        padding: 0.6rem 0.8rem;
        border-radius: 0.8rem;
        gap: 0.6rem;
    }

    .contacto-item i {
        font-size: 1rem;
        width: 1.4rem;
    }

    .contacto-item strong {
        font-size: 0.8rem;
    }

    .contacto-item a,
    .contacto-item span {
        font-size: 0.8rem;
    }

    .contacto-redes a {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .contacto-mapa iframe {
        height: 120px;
    }

    .main-footer {
        padding: 1.5rem 0 0;
    }

    .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;
        justify-content: center;
    }

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

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

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

/* Móviles muy pequeños (hasta 400px) */
@media (max-width: 400px) {
    .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;
    }

    .slide-image {
        height: 100px;
        max-width: 180px;
    }

    .slide-content h2 {
        font-size: 1rem;
    }

    .slide-content p {
        font-size: 0.75rem;
    }

    .btn-slide {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }

    .clases-grid {
        gap: 0.6rem;
    }

    .clase-card {
        padding: 0.6rem 0.4rem;
    }

    .clase-card-image {
        height: 60px;
    }

    .clase-card h3 {
        font-size: 0.7rem;
    }

    .clase-card p {
        font-size: 0.6rem;
    }

    .clase-card-icon {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }

    .profesor-card {
        max-width: 140px;
        padding: 0.6rem 0.3rem 0.5rem;
    }

    .profesor-foto {
        width: 70px;
        height: 70px;
        border-width: 2px;
    }

    .profesor-card h4 {
        font-size: 0.75rem;
    }

    .profesor-especialidades span {
        font-size: 0.45rem;
        padding: 0.05rem 0.3rem;
    }

    .contacto-formulario {
        padding: 0.8rem;
        border-radius: 0.8rem;
    }

    .contacto-formulario h3 {
        font-size: 1rem;
    }

    .form-grupo input[type="text"],
    .form-grupo input[type="email"],
    .form-grupo input[type="tel"],
    .form-grupo select,
    .form-grupo textarea {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
        border-radius: 6px;
    }

    .form-grupo.checkbox input[type="checkbox"] {
        width: 15px;
        height: 15px;
    }

    .form-grupo.checkbox label {
        font-size: 0.75rem;
    }

    .boton-enviar {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .contacto-item {
        padding: 0.5rem 0.6rem;
    }

    .contacto-item a,
    .contacto-item span {
        font-size: 0.75rem;
    }

    .contacto-item i {
        font-size: 0.9rem;
        width: 1.2rem;
    }

    .contacto-redes a {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .footer-col ul li {
        font-size: 0.7rem;
    }

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

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

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