*{
    cursor: none !important;
}

.infantil{
    text-align: center;
    background-color: #c5a059;
    color: #000;
}

.summer-announcement {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 3;
}

.summer-label {
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--oro-suave);
    text-transform: uppercase;
    margin: 0;
}

.summer-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(20px, 3vw, 32px);
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
    transition: 0.3s ease;
    position: relative;
}

.summer-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--oro-suave);
    transition: 0.3s ease;
    transform: translateX(-50%);
}

.summer-title:hover {
    color: var(--oro-suave);
}

.summer-title:hover::after {
    width: 100%;
}

.summer-line {
    width: 60px;
    height: 1px;
    background: var(--oro-suave);
    opacity: 0.6;
}



.authority {
    padding: 100px 20px;
    background: #0c0c0c;
    text-align: center;
    border-top: 1px solid rgba(197, 160, 89, 0.1);
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
    position: relative;
    z-index: 2;
}

.authority h2 {
    color: var(--oro-suave);
    font-size: 28px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 60px;
    font-family: 'Playfair Display', serif;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: auto;
}

.stat {
    padding: 20px;
}

.number {
    display: block;
    font-size: clamp(1.8rem, 5vw, 42px);
    color: var(--oro-suave);
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.stat p {
    color: #bbb;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}



/* Animación suave */
@keyframes aparecer{
    from{
        transform: scale(1);
        opacity: 0.6;
    }
    to{
        transform: scale(1.1);
        opacity: 1;
    }
}


* {
    box-sizing: border-box;
}

.loader-bar {
    width: 0;
    height: 1px;
    background: var(--oro-suave);
    margin-top: 20px;
    animation: load 2s forwards;
}

@keyframes load {
    to {
        width: 150px;
    }
}


/* Video */
.video-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    /* centra horizontal */
    align-items: center;
    /* centra vertical */
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}



.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}


.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.8), transparent, #050505);
    z-index: 2;
}


:root {
    --oro-suave: #c5a059;
    /* Color de acento elegante */
    --negro-mate: #111111;
    --gris-oscuro: #1a1a1a;
}

body {
    background-color: #0c0c0c;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navegación */

/* Ajustes generales navbar en móvil */

.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.8);
    z-index: 100;
}

.navbar a {
    color: rgb(255, 232, 232);
    margin-left: 25px;
    text-decoration: none;
    font-size: 14px;
}

@keyframes navbarFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    font-size: 18px;
    letter-spacing: 3px;
    color: #ffffff;
}

.logo span {
    color: var(--oro-suave);


}

.menu {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    letter-spacing: 2px;
    position: relative;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--oro-suave);
    transition: width 0.3s ease;
}

.menu a:hover::after {
    width: 100%;
}


.nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: .3s;
}

.nav a:hover::after {
    width: 100%;
}

/* Hero */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Centrado elegante */
    align-items: center;
    text-align: center;
    padding-top: -200px;
    /* Espacio arriba por navbar */
    z-index: 3;
}

/* Logo principal */
.hero-logo {
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-logo img {
    width: clamp(400px, 60vw, 900px);
    /* tamaño fijo grande */
    margin-bottom: 25px;
    max-width: 90%;
    /* que no se rompa en móvil */
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.7));
    height: auto;
}

/* Texto debajo del logo */
.hero-text p {
    font-size: clamp(18px, 2.2vw, 26px);
    max-width: 900px;
    margin: 0;
    color: #e6e6e6;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Línea decorativa dorada debajo del texto */
.hero-text::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background: var(--oro-suave);
    margin: 30px auto 0;
    opacity: 0.8;
}

.hero-text {
    width: clamp(250px, 40vw, 600px);
    height: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeHero 1.2s ease-out 0.5s forwards;
}


@keyframes fadeHero {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    background: var(--oro-textura);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Playfair Display', serif;

    h1 {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }

    margin-bottom: 10px;
}

h1 span {
    color: var(--oro-suave);
    font-style: italic;
}

/*Texto debajo de logo principal*/
.hero-text p {
    font-size: 23px;
    /* Cambia el tamaño aquí */
    margin: 5px 0 0 0;
}




/* Grid de Servicios */
.container {
    padding: 50px 10%;
    margin-top: 0px;
}

.section-title {
    text-align: center;

    letter-spacing: 3px;
    text-transform: uppercase;

    .section-title {
        font-size: clamp(1rem, 3vw, 1.4rem);
    }

    color: var(--oro-suave);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;

}


/* Tarjetas de Imagen + Texto */
.service-card {
    background: var(--gris-oscuro);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s ease;
    border-bottom: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 2px solid var(--oro-suave);
}

.img-placeholder {
    width: 100%;
    height: 350px;
    background: #222;
    /* Color mientras no hay imagen */
}

.img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ajusta la imagen sin deformar */
    opacity: 0.8;
    aspect-ratio: 4 / 5;
}

.info {
    background-color: #000;
    padding: 25px;
}

.info h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #fff;
}

.info p {
    font-size: 13px;
    color: #999;
    font-weight: 300;
}

/* Estilo especial para el bloque destacado de Campamento */
.featured {
    border: 1px solid rgba(197, 160, 89, 0.3) !important;
}

.badge {
    display: inline-block;
    background: var(--oro-suave);
    color: #000;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.service-card.featured h3 {
    color: var(--oro-suave);
}

.main-footer {
    background-color: #050505;
    padding: 60px 10% 30px;
    border-top: 1px solid #1a1a1a;
    width: 100%;
    box-sizing: border-box;
    /* Para que el padding no ensanche la web */
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

.footer-column h3 {
    color: var(--oro-suave);
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/*Conocenos*/

/* Sección completa */
.team-section {
    padding: 80px 20px;
    background-color: #0c0c0c;
    /* Fondo suave */
    text-align: center;
    margin-top: -100px;
    /* Se “sube” sobre la sección anterior */
    position: relative;
    z-index: 2;
    /* Asegura que quede encima */
    border-radius: 20px;
    /* opcional, bordes redondeados */
}

.team-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.team-section .section-subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 50px;
}

/* Grid de los miembros */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Cada tarjeta */
.team-card {
    background-color: #1C1C1C;
    color: #F5F5F5;
    border: 1px solid #c5a059;
    border-radius: 15px;
    /* esquinas redondeadas */
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover elegante */
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
    /* sutil brillo dorado */
}

/* Foto del miembro */
.team-photo {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 15px;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
    /* efecto zoom al hover */
}

/* Nombre y rol */

.team-name {
    font-size: 1.5rem;
    margin: 10px 0 5px;
    color: #ffffff;
}

.team-role {
    font-size: 1rem;
    color: #c5a059;
    /* dorado elegante */
    font-weight: 600;
    margin-bottom: 10px;
}

/* Descripción */
.team-desc {
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.5;
}


/* Lista de horarios */
.hours-list {
    list-style: none;
    padding: 0;
    font-size: 14px;
    color: #888;
}

.hours-list li span {
    color: #eee;
    width: 50px;
    display: inline-block;
}

/* Iconos de Redes Sociales */
.social-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #888;
    font-size: 14px;
    transition: 0.3s;
}

.social-item img {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    /* Convierte iconos negros en blancos */
}

.social-item:hover {
    color: var(--oro-suave);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #111;
    font-size: 11px;
    color: #444;
}

/* Centrado de las columnas del footer */
.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centra los elementos hijos horizontalmente */
    text-align: center;
    /* Centra el texto */
}

/* Centrado específico para la lista de horarios */
.hours-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Alinea las líneas L-V, Sáb, etc al centro */
}

/* Centrado para la rejilla de redes sociales */
.social-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centra los iconos de redes */
    gap: 12px;
}

/* Ajuste para que los iconos y el texto de redes se vean bien centrados entre sí */
.social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Cursor personalizado */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--oro-suave);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    /* Para que no interfiera con los clics */
    z-index: 9999;
    transition: transform 0.1s ease-out;
    mix-blend-mode: difference;
    /* Efecto visual increíble sobre blanco/negro */
}

/* Animación de letras una a una */
.char-reveal {
    opacity: 0;
    animation: fadeInChar 0.5s forwards;
}

@keyframes fadeInChar {
    to {
        opacity: 1;
    }
}

/* Efecto Hover en tarjetas para el cursor */
.service-card:hover~.custom-cursor {
    transform: scale(3);
    background: rgba(197, 160, 89, 0.1);
}

/* Oculta el ratón en toda la web */
body {
    cursor: none;
}

/* Asegúrate de ocultarlo también en botones y enlaces */
a,
button,
.service-card,
.social-item {
    cursor: none;
}

/* Estilo mejorado para tu cursor personalizado */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid #c5a059;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    /* Centra el círculo con la punta del mouse invisible */
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

body {
    overflow-x: hidden;
    /* Evita scrolls laterales raros */
}

/* El contenedor principal de la web (main o body) */
main {
    animation: revealWeb 1.5s ease-out 2.5s both;
}

@keyframes revealWeb {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    background: var(--gris-tarjeta);
    border: 1px solid #1a1a1a;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.1), transparent);
    transition: 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card h3 {
    color: var(--oro-solido);
    letter-spacing: 1px;
    font-family: 'Playfair Display', serif;
}



/* ===== Dropdown Disciplinas ===== */

.navbar nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.dropdown {
    position: relative;
}

.dropbtn {
    color: #ffffff;
    /* blanco */
    background: transparent;
    cursor: pointer;
    padding: 10px 0;
    display: inline-block;
    border: none;
}

/* Menú desplegable */
.dropdown-content {
    position: absolute;
    top: 100%;
    /* pegado justo debajo */
    right: 0;
    background-color: #111;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    overflow: hidden;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}

/* Mostrar al hacer hover */
.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Enlaces */
.dropdown-content a {
    display: block;
    padding: 14px 18px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: #c5a46d;
    color: black;
}

/*Moviles*/

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
        
    }

    .navbar nav {
        display: flex;
        flex-direction: row;
        /* cambia columna a fila */
        justify-content: space-around;
        /* para distribuirlos con espacio */
        width: 100%;
        gap: 10px;
    }

    .navbar nav a,
    .dropbtn {
        display: block;
        width: 100%;
        padding: 10px 0;
        font-size: 16px;
        white-space: nowrap;
    }

    /* Dropdown oculto por defecto */
    .dropdown-content {
        display: none;
        position: static;
        background-color: #111;
        border-radius: 8px;
        box-shadow: none;
        width: 100%;
        padding: 0;
        margin: 0;
        
    }

    /* Cuando tenga clase show, se muestra */
    .dropdown-content.show {
        display: block;
    }

    .dropdown-content a {
        padding: 12px 15px;
        font-size: 15px;
        border-bottom: 1px solid #333;
    }

    .dropdown-content a:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        align-items: center;
    }

   .logo {
        font-size: 18px;     /* más pequeño */
        margin-bottom: 8px;
    }

    .navbar nav a,
    .dropbtn {
        padding: 6px 0;      /* menos espacio vertical */
        
    }

}

/* ============================= */
/*      ESCUELAS INFANTILES      */
/* ============================= */

.escuelas-section {
    padding: 50px 10%;
    margin-top: 0px;
}

/* Título exactamente igual */
.escuelas-title {
    text-align: center;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--oro-suave);
    font-size: clamp(1rem, 3vw, 1.4rem);
}

/* Grid exactamente igual */
.escuelas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

/* Tarjeta igual que service-card */
.escuela-card {
    background: var(--gris-oscuro);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s ease;
    border-bottom: 2px solid transparent;
    position: relative;
    border: 1px solid #1a1a1a;
}

/* Hover igual */
.escuela-card:hover {
    transform: translateY(-10px);
    border-bottom: 2px solid var(--oro-suave);
}

/* Shine effect igual */
.escuela-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.1), transparent);
    transition: 0.5s;
}

.escuela-card:hover::before {
    left: 100%;
}

/* Imagen igual altura */
.escuela-img {
    width: 100%;
    height: 350px;
    background: #222;
}

.escuela-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    aspect-ratio: 4 / 5;
}

/* Texto igual */
.escuela-info {
    background-color: #000000;
    padding: 25px;
}

.escuela-info h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #fff;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

.escuela-info p {
    font-size: 13px;
    color: #999;
    font-weight: 300;
}

/* ============================= */
/*        LOADER PREMIUM         */
/* ============================= */

#preloader{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#050505;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

/* Logo */
.loader-logo img{
    width:200px;
    opacity:0;
    animation: logoFade 1.5s ease forwards;
    filter: drop-shadow(0 0 15px rgba(197,160,89,0.3));
}

/* Animación del logo */

@keyframes logoFade{
    0%{
        opacity:0;
        transform: scale(0.9);
    }

    100%{
        opacity:1;
        transform: scale(1);
    }
}

/* Barra de progreso */

.loader-progress{
    width:180px;
    height:2px;
    background:#222;
    margin-top:35px;
    overflow:hidden;
}

.loader-fill{
    width:0;
    height:100%;
    background:var(--oro-suave);
    animation: loading 2s ease forwards;
}

/* Animación barra */

@keyframes loading{
    from{
        width:0;
    }
    to{
        width:100%;
    }
}

/*Ubicación*/

.ubicacion{
  background:#0b0b0b;
  padding:80px 0;
  text-align:center;
}

.ubicacion h2{
  color:#c9a46b;
  font-size:28px;
  letter-spacing:3px;
  margin-bottom:40px;
}

.mapa-container{
  width:80%;
  margin:auto;
  border:2px solid #c9a46b;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 0 30px rgba(201,164,107,0.2);
}

.mapa-container iframe{
  width:100%;
  height:400px;
  border:0;
  filter: grayscale(100%) contrast(110%) brightness(80%);
}

/*Creadora*/

.firma{
  color:#c9a46b;
  text-decoration:none;
  position:relative;
  transition:color 0.3s ease;
}

/* línea debajo */
.firma::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:0%;
  height:1px;
  background:#c9a46b;
  transition:width 0.3s ease;
}

/* hover */
.firma:hover{
  color:#e5c48a;
}

.firma:hover::after{
  width:100%;
}