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

:root {
    --negro: #070707;
    --negro2: #111;
    --gris: #b8b8b8;
    --gris2: #242424;
    --blanco: #fff;
    --naranja: #ff7a00;
    --amarillo: #ffc400;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: var(--negro);
    color: var(--blanco);
    line-height: 1.65;
}

/* Fondo principal de la página */
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #070707;
  color: var(--blanco);
  line-height: 1.65;
}

/* Imagen de fondo con 50% de opacidad */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../imgs/fondo.png");
  background-position: center center;
  background-size: 100%; /* ← Reduce el tamaño de la imagen */
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: -2;
  pointer-events: none;
}

/* Capa oscura para mejorar la lectura del texto */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: -1;
  pointer-events: none;
}


body:after {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(255, 122, 0, .12),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(255, 196, 0, .08),
            transparent 28%
        );
    z-index: -1;
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =========================
   ENCABEZADO
   ========================= */

.encabezado {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 7, 7, .94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #292929;
}

.barra-superior {
    max-width: 1250px;
    margin: auto;
    padding: 15px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.marca {
    display: flex;
    align-items: center;
    gap: 13px;
}

.marca-icono {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(
        135deg,
        var(--naranja),
        var(--amarillo)
    );
    color: #090909;
    font-size: 25px;
    box-shadow: 0 8px 25px rgba(255, 122, 0, .2);
}

.marca h1 {
    font-size: 18px;
    line-height: 1.15;
    letter-spacing: 1px;
    margin: 0;
}

/* Texto pequeño */
.marca h1 small {
    font-size: 15px;
    font-weight: 600;
}

/* Nombre del colegio más grande */
.marca h1 span {
    font-family: 'Storybook', cursive;
    font-size: 28px;
    font-weight: 900;
    color: var(--amarillo);
    letter-spacing: 2px;
}

/* Ubicación */
.marca p {
    font-size: 11px;
    color: var(--gris);
    margin-top: 3px;
}

.contactos {
    display: flex;
    gap: 10px;
}

.contacto {
    padding: 9px 13px;
    border: 1px solid #333;
    border-radius: 9px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    transition: .25s;
}

.contacto:hover {
    transform: translateY(-2px);
    border-color: currentColor;
}

.whatsapp {
    color: #39d98a;
}

.llamada {
    color: var(--amarillo);
}

/* =========================
   MENÚ
   ========================= */

.menu {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 8px 15px;
    background: rgb(47, 79, 79, 0.5);
    border-top: 1px solid #191919;
}

.menu a {
    position: relative;
    padding: 11px 22px;
    border-radius: 8px;
    color: #ddd;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .5px;
    transition: .25s;
}

.menu a:after {
    content: "";
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: 4px;
    height: 2px;
    background: var(--naranja);
    transform: scaleX(0);
    transition: .25s;
}

.menu a:hover,
.menu a.activo {
    background: #1c1c1c;
    color: #fff;
}

.menu a:hover:after,
.menu a.activo:after {
    transform: scaleX(1);
}

/* =========================
   HERO / PORTADA
   ========================= */

.hero {
    min-height: 650px;
    max-width: 1250px;
    margin: auto;
    padding: 80px 35px 70px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 55px;
}

.hero-contenido {
    animation: entrada .8s ease both;
}

.etiqueta {
    color: var(--amarillo);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero h2 {
    font-size: clamp(50px, 8vw, 92px);
    line-height: .95;
    margin: 18px 0;
    color: #fff;
    text-shadow: 0 0 35px rgba(255, 122, 0, .12);
}

.hero p {
    font-size: 28px;
    color: var(--gris);
    max-width: 650px;
}

.hero-botones {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.btn {
    padding: 13px 20px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13px;
    transition: .25s;
    border: 1px solid transparent;
}

.btn i {
    margin-left: 8px;
}

.btn-naranja {
    background: var(--naranja);
    color: #111;
}

.btn-amarillo {
    background: var(--amarillo);
    color: #111;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(255, 122, 0, .2);
}

.hero-imagen {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: flotar 4s ease-in-out infinite;
}

.hero-imagen img {
    max-width: 100%;
    width: 510px;
    max-height: 390px;
    object-fit: contain;
    border-radius: 20px;
    filter: drop-shadow(
        0 20px 35px rgba(0, 0, 0, .65)
    );
    background: rgba(255, 255, 255, .03);
}

/* =========================
   INFORMACIÓN
   ========================= */

.informacion {
    max-width: 1450px;
    margin: auto;
    padding: 75px 30px;
}

.titulo-seccion {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: center;
    margin-bottom: 38px;
}

.titulo-seccion span {
    width: 65px;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--naranja),
        var(--amarillo)
    );
}

.titulo-seccion h2 {
    font-size: 26px;
    letter-spacing: 1px;
}

/* =========================
   TARJETAS
   ========================= */

.tarjetas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tarjeta {
    background: rgba(18, 18, 18, .8);
    border: 1px solid #303030;
    border-radius: 17px;
    padding: 30px;
    transition: .3s;
    position: relative;
    overflow: hidden;
}

.tarjeta:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--naranja),
        var(--amarillo)
    );
}

.tarjeta:hover {
    transform: translateY(-7px);
    border-color: #555;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .35);
}

.tarjeta-icono {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #252525;
    display: grid;
    place-items: center;
    color: var(--amarillo);
    font-size: 20px;
    margin-bottom: 17px;
}

.tarjeta h3 {
    font-size: 20px;
    margin-bottom: 14px;
    color: #fff;
}

.tarjeta p {
    font-size: 14px;
    color: #c4c4c4;
    margin-bottom: 13px;
    text-align: justify;
}

/* =========================
   SECCIÓN DE CONTACTO
   ========================= */

.contacto-seccion {
    max-width: 1190px;
    margin: 10px auto 70px;
    padding: 35px 40px;
    background: linear-gradient(
        110deg,
        #171717,
        #0f0f0f
    );
    border: 1px solid #303030;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.contacto-seccion h2 {
    font-size: 16px;
    margin: 6px 0 12px;
}

.contacto-seccion p {
    color: #bbb;
    font-size: 14px;
    margin: 4px 0;
}

.contacto-seccion p i {
    color: var(--naranja);
    width: 22px;
}

/* =========================
   REDES SOCIALES
   ========================= */

.redes {
    display: flex;
    gap: 12px;
}

.red {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 21px;
    transition: .25s;
}

.red:hover {
    transform: scale(1.08) rotate(-4deg);
}

.whatsapp-grande {
    background: #20c76a;
    color: white;
}

.facebook {
    background: #1877f2;
    color: white;
}

/* =========================
   WHATSAPP FLOTANTE
   ========================= */

.flotante-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    background: #20c76a;
    color: white;
    border-radius: 50px;
    padding: 12px 17px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .45);
    transition: .25s;
}

.flotante-whatsapp i {
    font-size: 20px;
}

.flotante-whatsapp:hover {
    transform: translateY(-4px) scale(1.03);
}

/* =========================
   PIE DE PÁGINA
   ========================= */

footer {
    padding: 28px 20px;
    text-align: center;
    border-top: 1px solid #292929;
    background: #050505;
    color: #999;
    font-size: 12px;
}

.autor {
    margin-top: 4px;
}

.autor strong {
    color: var(--amarillo);
}

/* =========================
   PÁGINAS INTERNAS
   ========================= */

.pagina-interna .contenido-interno {
    min-height: 620px;
    max-width: 1050px;
    margin: auto;
    padding: 90px 25px;
}

.contenido-interno h2 {
    font-size: 55px;
    margin: 10px 0;
}

.introduccion {
    color: #bbb;
    max-width: 700px;
}

.panel {
    margin-top: 35px;
    padding: 30px;
    background: #151515;
    border: 1px solid #303030;
    border-radius: 16px;
}

.panel h3 {
    color: var(--amarillo);
    margin-bottom: 10px;
}

.panel p {
    color: #bbb;
}

/* =========================
   ANIMACIONES
   ========================= */

@keyframes entrada {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes flotar {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

/* =========================
   TABLET / PANTALLAS MEDIANAS
   ========================= */

@media (max-width: 850px) {

    .barra-superior {
        align-items: flex-start;
        flex-direction: column;
    }

    .contactos {
        width: 100%;
    }

    .contacto {
        flex: 1;
        justify-content: center;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 55px;
    }

    .hero-imagen {
        order: -1;
    }

    .tarjetas {
        grid-template-columns: 1fr;
    }

    .contacto-seccion {
        margin: 10px 20px 55px;
        flex-direction: column;
        align-items: flex-start;
    }

    .menu {
        overflow: auto;
        justify-content: flex-start;
    }

    .menu a {
        white-space: nowrap;
    }

    .hero h2 {
        font-size: 58px;
    }
}

/* =========================
   CELULARES
   ========================= */

@media (max-width: 520px) {

    .barra-superior {
        padding: 12px 15px;
    }

    .marca h1 {
        font-size: 13px;
    }

    .marca-icono {
        width: 44px;
        height: 44px;
    }

    .contactos {
        flex-direction: column;
    }

    .hero {
        padding: 45px 20px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-botones {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }

    .informacion {
        padding: 55px 18px;
    }

    .titulo-seccion h2 {
        font-size: 19px;
    }

    .titulo-seccion span {
        width: 30px;
    }

    .tarjeta {
        padding: 24px;
    }

    .flotante-whatsapp span {
        display: none;
    }

    .flotante-whatsapp {
        width: 50px;
        height: 50px;
        padding: 0;
        justify-content: center;
    }
}
.logo-colegio {
  width: 65px;
  height: 65px;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-colegio:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 10px rgba(255, 196, 0, 0.5));
}
/* Imagen de información */
.imagen-ampliable {
  cursor: zoom-in;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.imagen-ampliable:hover {
  transform: scale(1.02);
  filter: brightness(1.08);
}

/* Visor de imagen a pantalla completa */
.visor-imagen {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.96);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 25px;
  z-index: 9999;
  cursor: zoom-out;
}

.visor-imagen.mostrar {
  display: flex;
  animation: aparecerVisor 0.3s ease;
}

.visor-imagen img {
  max-width: 96vw;
  max-height: 94vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(255, 196, 0, 0.15);
}

.cerrar-visor {
  position: absolute;
  top: 20px;
  right: 25px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--naranja);
  color: #111;
  font-size: 23px;
  cursor: pointer;
  z-index: 10000;
  transition: 0.25s;
}

.cerrar-visor:hover {
  background: var(--amarillo);
  transform: rotate(90deg) scale(1.08);
}

@keyframes aparecerVisor {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
/* MENÚ DESPLEGABLE PLAN DIARIO */
.menu-desplegable {
  position: relative;
  display: inline-block;
}

.menu-desplegable .menu-principal {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

.menu-principal i {
  font-size: 11px;
  transition: transform 0.3s ease;
}

/* Submenú */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  border-radius: 0 0 8px 8px;
  overflow: hidden;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1000;
}

/* Mostrar submenú al pasar el mouse */
.menu-desplegable:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Girar flecha */
.menu-desplegable:hover .menu-principal i {
  transform: rotate(180deg);
}

/* Enlaces del submenú */
.submenu a {
  display: block;
  padding: 13px 18px;
  color: #000000;
  background: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

/* Efecto al pasar el mouse */
.submenu a:hover {
  background: #f2f2f2;
  color: #e67e22;
  padding-left: 23px;
}

.aviso-inscripcion {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 18px 15px 5px;
  box-sizing: border-box;
}

/* BOTÓN DE INSCRIPCIÓN */
.inscripcion-abierta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;

  width: fit-content;
  max-width: 90%;

  padding: 15px 28px;

  background: linear-gradient(
    135deg,
    #f4b400,
    #ffcc33,
    #f4b400
  );

  color: #111;

  border-radius: 50px;

  box-shadow:
    0 8px 25px rgba(0,0,0,0.25),
    0 0 0 rgba(244,180,0,0.7);

  overflow: hidden;

  animation:
    aparecerInscripcion 1s ease-out both,
    moverInscripcion 3s ease-in-out infinite 1s;
}

/* ÍCONO */
.inscripcion-icono {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  background: #111;
  color: #f4b400;

  border-radius: 50%;

  font-size: 22px;

  animation: girarSuave 3s ease-in-out infinite;
}

/* TEXTO */
.inscripcion-texto {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.inscripcion-titulo {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 1px;

  animation: parpadeoSuave 2s infinite;
}

.inscripcion-subtitulo {
  font-size: 13px;
  font-weight: 600;
  margin-top: 3px;
}

/* EFECTO DE BRILLO */
.inscripcion-brillo {
  position: absolute;

  top: 0;
  left: -100%;

  width: 60%;
  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.7),
    transparent
  );

  transform: skewX(-20deg);

  animation: brilloInscripcion 3.5s infinite;
}

/* ANIMACIONES */
@keyframes aparecerInscripcion {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.85);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes moverInscripcion {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes girarSuave {
  0%, 100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(10deg);
  }
}

@keyframes parpadeoSuave {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0.65;
  }
}

@keyframes brilloInscripcion {
  0% {
    left: -100%;
  }

  45%, 100% {
    left: 150%;
  }
}

/* CELULARES */
@media (max-width: 600px) {

  .aviso-inscripcion {
    padding: 15px 10px 5px;
  }

  .inscripcion-abierta {
    width: auto;
    max-width: 95%;
    padding: 12px 18px;
    border-radius: 18px;
  }

  .inscripcion-titulo {
    font-size: 18px;
  }

  .inscripcion-subtitulo {
    font-size: 11px;
  }

  .inscripcion-icono {
    min-width: 40px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}