/* ===== RESET GENERAL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== BODY ===== */
body {
    margin: 0;
    padding-top: 70px; /* espacio exacto para la barra fija */
    font-family: "Bell MT", serif;
    background: url("fondo.png") no-repeat center center fixed;
    background-size: cover;
    color: #e0fffa;
    letter-spacing: 1px;
}

/* OVERLAY */

.background-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 10, 20, 0.8);
    z-index: -1;
}

/* EFECTO REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* BARRA NEGRA SUPERIOR */

.barra-superior {
    background: black;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.barra-superior a {
    color: #00ffcc;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s ease;
}

.barra-superior a:hover {
    text-shadow: 0 0 10px #00ffcc;
}

.barra-superior a.active {
    border-bottom: 2px solid #00ffcc;
    text-shadow: 0 0 15px #00ffcc;
}

/* HEADER */

header {
    text-align: center;
    padding: 120px 20px;
}

.logo-img {
    width: 140px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px #00ffcc);
}

h1 {
    font-size: 64px;
    color: #00ffcc;
    text-shadow: 0 0 20px #00ffcc;
    letter-spacing: 6px;
}

h2 {
    font-size: 42px;
    color: #00ffcc;
    text-shadow: 0 0 15px #00ffcc;
    margin-bottom: 30px;
}

p {
    font-size: 20px;
    line-height: 1.8;
}

/* SECCIONES */

section {
    padding: 110px 20px;
    text-align: center;
}

/* TARJETAS */

.cards {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.card {
    background: rgba(0, 40, 50, 0.9);
    padding: 40px;
    border-radius: 15px;
    width: 300px;
    box-shadow: 0 0 20px rgba(0,255,200,0.3);
    transition: 0.4s;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 0 40px #00ffcc;
}

.destacada {
    border: 2px solid #00ffcc;
    box-shadow: 0 0 30px #00ffcc;
}

/* ACORDEÓN */

.accordion-item {
    margin: 25px auto;
    max-width: 750px;
}

.accordion-header {
    width: 100%;
    padding: 22px;
    font-size: 22px;
    background: rgba(0, 60, 70, 0.95);
    border: none;
    color: #00ffcc;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0,255,200,0.3);
}

.accordion-content {
    background: rgba(0, 20, 30, 0.95);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease;
}

.accordion-content ul {
    padding: 35px;
    list-style: none;
}

.accordion-content li {
    padding: 12px 0;
    font-size: 18px;
}

/* FORMULARIO */

.formulario {
    max-width: 600px;
    margin: auto;
}

.formulario input,
.formulario textarea {
    width: 100%;
    padding: 18px;
    margin: 15px 0;
    border-radius: 8px;
    border: none;
    font-family: "Bell MT", serif;
    font-size: 18px;
}

.formulario button {
    padding: 16px 40px;
    background: #00ffcc;
    border: none;
    font-weight: bold;
    border-radius: 30px;
    box-shadow: 0 0 20px #00ffcc;
    cursor: pointer;
    font-family: "Bell MT", serif;
}

/* BOTÓN ADMISIÓN */

.btn-admision {
    display: inline-block;
    margin-top: 40px;
    padding: 18px 50px;
    background: #00ff00;
    color: #001a1f;
    font-size: 22px;
    text-decoration: none;
    border-radius: 40px;
    font-family: "Bell MT", serif;
    box-shadow: 0 0 20px #00ffcc;
    transition: 0.4s ease;
}

.btn-admision:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px #00ffcc;
}

/* BOTÓN MENÚ */

.menu-boton-contenedor {
    text-align: center;
    margin: 80px 0;
}

.btn-menu {
    display: inline-block;
    padding: 15px 40px;
    background: black;
    color: #00ffcc;
    text-decoration: none;
    font-size: 20px;
    border: 2px solid #00ffcc;
    transition: 0.3s ease;
}

.btn-menu:hover {
    background: #00ffcc;
    color: black;
    box-shadow: 0 0 20px #00ffcc;
}

/* COMUNIDAD */

.comunidad-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.comunidad-card {
    background: rgba(0, 40, 50, 0.9);
    padding: 40px;
    border-radius: 15px;
    width: 300px;
    box-shadow: 0 0 20px rgba(0,255,200,0.3);
    transition: 0.4s;
}

.comunidad-card:hover {
    box-shadow: 0 0 40px #00ffcc;
    transform: translateY(-15px);
}

/* FOOTER */

footer {
    text-align: center;
    padding: 50px;
    background: black;
}

/* SECCIÓN REDES */
.redes-section {
    text-align: center;
    padding: 80px 20px;
}

.redes-section h2 {
    margin-bottom: 30px;
}

/* BOTÓN WHATSAPP NORMAL */
.btn-whatsapp {
    display: inline-block;
    padding: 15px 35px;
    background: #25D366;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 6px;
    transition: 0.3s ease;
}

.btn-whatsapp:hover {
    box-shadow: 0 0 20px #25D366;
}

/* BOTÓN FLOTANTE */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    font-size: 28px;
    text-align: center;
    line-height: 60px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 0 20px #25D366;
    transition: 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}
.redes {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* TIKTOK */
.btn-tiktok {
    display: inline-block;
    padding: 15px 35px;
    background: black;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 6px;
    transition: 0.3s ease;
    border: 2px solid #ff0050;
}

.btn-tiktok:hover {
    box-shadow: 0 0 20px #ff0050;
}
.btn-instagram {
    display: inline-block;
    padding: 15px 35px;
    background: #E1306C;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 6px;
    transition: 0.3s ease;
}

.btn-instagram:hover {
    box-shadow: 0 0 20px #E1306C;
}
/* ========================= */
/* GALERÍA AJUSTADA PRO */
/* ========================= */

.galeria-section {
    padding: 150px 20px;
    text-align: center;
}

.galeria-grid {
    max-width: 1200px;
    margin: 60px auto 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.galeria-grid img {
    width: 100%;
    height: 350px; /* TODAS MISMO ALTO */
    object-fit: cover; /* NO se deforman */
    border-radius: 18px;
    box-shadow: 0 0 25px rgba(0,255,200,0.35);
    transition: 0.4s ease;
}

.galeria-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 45px #00ffcc;
}
/* SECCIÓN GALERÍA */
.galeria-section {
    padding: 150px 20px;
    text-align: center;
}

.galeria-section h2 {
    margin-bottom: 40px;
    font-size: 2.5rem;
}

/* GRID */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}

/* IMÁGENES Y VIDEOS MISMO ESTILO */
.galeria-grid img,
.galeria-grid video {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 0 25px rgba(0,255,200,0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* EFECTO HOVER */
.galeria-grid img:hover,
.galeria-grid video:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(0,255,200,0.6);
}
 /* GALERÍA */
.galeria-section {
    padding: 150px 20px;
    text-align: center;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}

/* MARCO MÍSTICO */
.item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.item::before {
    content: "";
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg, #00fff2, #ff00ff, #00ff88, #00fff2);
    background-size: 400%;
    border-radius: 22px;
    animation: energia 8s linear infinite;
    z-index: -1;
}

@keyframes energia {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.item img,
.item video {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.lightbox-contenido img,
.lightbox-contenido video {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 20px;
    box-shadow: 0 0 40px #00fff2;
}

.cerrar {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #00fff2;
    cursor: pointer;
}
@media (max-width: 768px) {

    .barra-superior {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0 15px;
    }

    .barra-superior a {
        flex: 0 0 auto;
    }

    .barra-superior a:last-child {
        padding-right: 30px; /* espacio para que Comunidad se vea completa */
    }

    .barra-superior::-webkit-scrollbar {
        display: none;
    }

}
/* ===== DROPDOWN FORMACIÓN ===== */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #000;
    min-width: 260px;
    padding: 10px 0;
    border-radius: 8px;
    z-index: 9999;
}

.dropdown-content a,
.dropdown-content span {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.dropdown-content a:hover {
    background: #111;
}

.dropdown.active .dropdown-content {
    display: block;
}
/* ===== ESTILO ULTRA MAGIA PREMIUM ===== */

.titulo-seccion {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #d4af37;
    letter-spacing: 2px;
}

.accordion-item {
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 10px;
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    color: #d4af37;
    font-size: 18px;
    font-weight: bold;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.accordion-header:hover {
    color: white;
}

.icono {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.accordion-item.active .icono {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-content ul {
    padding: 10px 0 20px 0;
}

.accordion-content li {
    padding: 8px 0;
    color: white;
    font-size: 15px;
}
/* ===== MEJORA VISIBILIDAD TEXTO ===== */

p, li {
    font-weight: 500;
    text-shadow: 0 2px 6px rgba(0,0,0,0.9);
}

h1, h2, h3 {
    text-shadow: 0 3px 8px rgba(0,0,0,0.95);
}

/* Fondo suave SOLO para secciones con texto */
section {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    border-radius: 12px;
    margin-bottom: 40px;
}

/* Mejora contraste en acordeón */
.accordion-content li {
    color: #f5f5f5;
    font-weight: 500;
}

/* Botones más visibles */
.btn-admision {
    box-shadow: 0 0 15px rgba(212,175,55,0.7);
}
/* ===== AJUSTE FINAL SUAVE E INTEGRADO ===== */

/* Secciones sin caja negra */
section {
    background: transparent;
    border-radius: 0;
    margin-bottom: 0;
    backdrop-filter: none;
}

/* Acordeón integrado al overlay general */
.accordion-item {
    border-bottom: 1px solid rgba(0,255,200,0.2);
    margin-bottom: 5px;
}

/* Header más ligero y nada brusco */
.accordion-header {
    background: rgba(0, 30, 40, 0.55);
    backdrop-filter: blur(2px);
    color: #00ffcc;
    box-shadow: none;
    transition: 0.3s ease;
}

.accordion-header:hover {
    background: rgba(0, 45, 55, 0.65);
}

/* Contenido casi fundido con el fondo */
.accordion-content {
    background: rgba(0, 25, 35, 0.45);
    backdrop-filter: blur(2px);
}

/* Texto legible sin cajas negras */
p, li {
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    font-weight: 500;
}

/* Títulos sin exagerar brillo */
h1, h2 {
    text-shadow: 0 0 12px #00ffcc;
}
/* ===== OPCIONES DESPLEGABLES MÁS LLAMATIVAS ===== */

.accordion-content ul {
    padding: 15px 0 25px 0;
}

.accordion-content li {
    background: rgba(0, 50, 60, 0.35);
    margin: 8px 0;
    padding: 12px 18px;
    border-radius: 8px;
    transition: 0.3s ease;
    cursor: pointer;
    border-left: 3px solid transparent;
}

/* Hover elegante */
.accordion-content li:hover {
    background: rgba(0, 255, 200, 0.15);
    border-left: 3px solid #00ffcc;
    transform: translateX(6px);
    box-shadow: 0 0 15px rgba(0,255,200,0.4);
}
/* ===== ESTILO PROMOCIÓN MEMBRESÍAS ===== */

.precio {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.precio-anterior {
    text-decoration: line-through;
    color: #ff4d4d;
    font-size: 16px;
    opacity: 0.8;
}

.precio-actual {
    font-size: 24px;
    font-weight: bold;
    color: #00ffcc;
    text-shadow: 0 0 10px rgba(0,255,200,0.6);
}

.precio small {
    font-size: 13px;
    color: #ccc;
    opacity: 0.8;
}
/* ===== DROPDOWN MOBILE FUNCIONAL ===== */

@media (max-width: 768px) {

    .dropdown {
        position: relative;
    }

    .dropdown-content {
        position: fixed;
        top: 70px; /* altura barra */
        left: 0;
        width: 100%;
        background: #000;
        text-align: center;
        padding: 15px 0;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: 0.3s ease;
    }

    .dropdown.active .dropdown-content {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

}.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icons a {
    color: #00ffd5;
    font-size: 18px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #00ff88;
    transform: scale(1.2);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.social-icons {
    display: flex;
    gap: 18px;
    align-items: center;
}

.social-icons a {
    color: #00ffd5;
    font-size: 18px;
    transition: 0.3s ease;
}

.social-icons a:hover {
    color: #00ff88;
    transform: scale(1.2);
}
 

.social-icons {
    position: absolute;
    right: 40px;
    display: flex;
    gap: 18px;
}

.social-icons a {
    color: #00ffd5;
    font-size: 18px;
    transition: 0.3s ease;
}

.social-icons a:hover {
    color: #00ff88;
    transform: scale(1.2);
}

/* ===== OCULTAR EN MOVIL ===== */
@media (max-width: 768px) {
    .social-icons {
        display: none;
    }
}
.precio-nuevo {
    display: block;
    font-size: 22px;
    font-weight: bold;
    color: #00ff88;
    margin-top: 10px;
}

.precio-anterior {
    font-size: 14px;
    color: #ff3b3b; /* rojo fuerte */
    margin-top: 5px;
}

.precio-anterior s {
    color: #ff3b3b;
}
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}

.item img,
.item video {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    cursor: pointer;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-contenido img,
.lightbox-contenido video {
    max-width: 90%;
    max-height: 85vh;
}

.cerrar {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}
/* ===== NAV DESLIZABLE CORRECTO EN CELULAR ===== */
/* ===== NAV DESLIZABLE CORRECTO EN CELULAR ===== */
@media (max-width: 768px) {

    .barra-superior {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        justify-content: flex-start;
        scroll-behavior: smooth;
    }

    .barra-superior > * {
        flex: 0 0 auto;
    }

    .barra-superior::-webkit-scrollbar {
        display: none;
    }
}
.galeria-section {
    padding: 60px 5%;
}

.galeria-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.item img:hover {
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .galeria-grid {
        grid-template-columns: 1fr;
    }
}
/* ================================
   REDES SOCIALES RESPONSIVE
================================ */

@media (max-width: 768px) {

    .redes-sociales {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 20px;
        position: relative !important;
        margin-top: 20px;
    }

    .redes-sociales a {
        .footer-redes a {
    color: #00ffd5; /* PON AQUÍ EXACTAMENTE EL COLOR DEL HEADER */
    font-size: 22px;
    transition: 0.3s ease;
}
    }

}

}
body {
body {
  background-image: url("fondo.png");
  background-size: cover;
  background-repeat: no-repeat;
}
}
.form-section{
    padding: 120px 20px;
    text-align: center;
}

.form-section h1{
    font-size: 36px;
    color: #00ffd5;
    margin-bottom: 40px;
    text-shadow: 0 0 15px #00ffd5;
}

.formulario{
    max-width: 500px;
    margin: auto;
}

.formulario input{
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    border: none;
    font-size: 16px;
}

.formulario button{
    margin-top: 15px;
    padding: 15px 30px;
    background: #00ffd5;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
}

.mensaje-form{
    margin-top: 25px;
    font-size: 16px;
    color: #ccc;
}

.descripcion{
    margin-top: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.descripcion p{
    margin-bottom: 20px;
    font-size: 18px;
}

.gratis{
    color: #00ff88;
    font-size: 22px;
    font-weight: bold;
    text-shadow: 0 0 10px #00ff88;
}

#contador-visitas {
    display: none;
}



background-image: url("imagenes/fondo.jpg");