/* ========================= */
/* RESET */
/* ========================= */

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

body{
  font-family:'Poppins', sans-serif;
  background:#f5f7fb;
  color:#222;
  overflow-x:hidden;
}

/* ========================= */
/* VARIABLES */
/* ========================= */

:root{

  --verde:#1b5e20;        /* verde oscuro (principal) */
  --verde2:#2e7d32;      /* verde medio */
  --verde3:#66bb6a;      /* verde claro */

  --amarillo:#fdd835;    /* amarillo uniforme */
  --amarillo2:#ffeb3b;

  --rojo:#c62828;        /* detalles del uniforme */

  --blanco:#ffffff;
  --gris:#666;
  --oscuro:#0f2d1f;

}
/* ========================= */
/* CONTAINER */
/* ========================= */

.container{
  width:90%;
  max-width:1300px;
  margin:auto;
}

/* ========================= */
/* HEADER */
/* ========================= */

header{

  width:100%;
  position:fixed;
  top:0;
  left:0;
  z-index:999;

  backdrop-filter:blur(14px);

  background:rgba(15,45,31,0.85);

  border-bottom:1px solid rgba(255,255,255,0.1);

}

.nav{

  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:18px 0;

}

/* LOGO */

.logo-container{

  display:flex;
  align-items:center;
  gap:15px;

}

.logo{

  width:65px;
  height:65px;
  object-fit:cover;
  border-radius:50%;
  background:white;
  padding:5px;

  box-shadow:0 0 20px rgba(255,255,255,0.3);

}

.logo-text h1{

  color:white;
  font-size:26px;

}

.logo-text span{

  color:#ddd;
  font-size:13px;

}

/* NAV */

nav{

  display:flex;
  gap:30px;

}

nav a{

  color:white;
  text-decoration:none;
  font-weight:600;
  position:relative;

}

nav a::after{

  content:"";
  width:0%;
  height:2px;

  background:linear-gradient(to right,var(--verde3),var(--amarillo));

  position:absolute;
  left:0;
  bottom:-6px;

  transition:0.3s;

}

nav a:hover::after{

  width:100%;

}

/* MOBILE */

.menu-mobile{

  display:none;
  color:white;
  font-size:30px;
  cursor:pointer;

}

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

.hero{

  width:100%;
  height:100vh;

  position:relative;

  display:flex;
  justify-content:center;
  align-items:center;

  overflow:hidden;

}

/* VIDEO */

.video-bg{

  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;

}

/* OVERLAY */

.overlay{

  position:absolute;
  width:100%;
  height:100%;

  background:linear-gradient(
    to bottom,
    rgba(0,0,0,0.4),
    rgba(0,0,0,0.7)
  );

}

/* EFECTOS */

.circle{

  position:absolute;
  border-radius:50%;
  filter:blur(90px);

}

.circle1{

  width:300px;
  height:300px;

  background:var(--verde2);

  top:10%;
  left:-100px;

  opacity:0.4;

}

.circle2{

  width:350px;
  height:350px;

  background:var(--amarillo);
  bottom:-100px;
  right:-120px;

  opacity:0.2;

}

.circle3{

  width:250px;
  height:250px;

  background:var(--verde3);

  top:50%;
  right:20%;

  opacity:0.3;

}

/* HERO CONTENT */

.hero-content{

  position:relative;
  z-index:2;

  text-align:center;

  color:white;

  max-width:900px;
  padding:20px;

}

.badge{

  display:inline-block;

  padding:10px 20px;

  border-radius:50px;

  background:rgba(255,255,255,0.1);

  border:1px solid rgba(255,255,255,0.2);

  backdrop-filter:blur(10px);

  margin-bottom:25px;

}

.hero-content h2{

  font-size:75px;
  line-height:1.1;

  margin-bottom:25px;

}

.hero-content p{

  font-size:22px;
  color:#ddd;

  margin-bottom:35px;

}

/* BOTONES */

.hero-buttons{

  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;

}

.btn{

  padding:16px 35px;

  border-radius:60px;

  text-decoration:none;
  color:white;

  font-weight:bold;

  background:linear-gradient(
   135deg,
    var(--verde),
    var(--verde2)
  );

  transition:0.3s;

   box-shadow:0 10px 30px rgba(27,94,32,0.4);

}

.btn:hover{

  transform:translateY(-5px);

}

.btn-secondary{

  background:rgba(255,255,255,0.1);

  border:1px solid rgba(255,255,255,0.2);

}

/* ========================= */
/* SECTION */
/* ========================= */

.section{

  padding:110px 0;

}

.section-title{

  text-align:center;
  margin-bottom:70px;

}

.section-title span{

  color:var(--amarillo);

  font-weight:bold;
  letter-spacing:1px;

}

.section-title h2{

  font-size:50px;
  margin:15px 0;

}

.section-title p{

  color:var(--gris);
  max-width:800px;
  margin:auto;

  line-height:1.7;

}

.light h2,
.light span,
.light p{

  color:white;

}

/* ========================= */
/* CARDS */
/* ========================= */

.cards{

  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(300px,1fr));

  gap:30px;

}

.card{

  background:white;

  border-radius:25px;

  overflow:hidden;

  padding:35px;

  transition:0.4s;

  box-shadow:0 10px 30px rgba(0,0,0,0.08);

}

.card:hover{

  transform:translateY(-10px);
  box-shadow:0 20px 40px rgba(13,71,161,0.18);

}

.icon{

  width:80px;
  height:80px;

  border-radius:20px;

  background:linear-gradient(
    135deg,
    var(--verde),
    var(--verde2)
  );

  display:flex;
  justify-content:center;
  align-items:center;

  margin-bottom:25px;

  color:white;
  font-size:30px;

}

.card h3{

  margin-bottom:15px;
  font-size:28px;

}

.card p{

  color:#555;
  line-height:1.8;

}

/* GLASS */

.glass{

  background:rgba(255,255,255,0.1);

  backdrop-filter:blur(14px);

  border:1px solid rgba(255,255,255,0.15);

  color:white;

}

.glass p{

  color:#ddd;

}

/* DARK */

.section-dark{

  background:linear-gradient(
    135deg,
    #102a1f,
    #06150f
  );

}

/* IMAGES */

.card img{

  width:100%;
  height:240px;
  object-fit:cover;

  border-radius:20px;

  margin-bottom:20px;

}

/* GALLERY */

.section-gradient{

  background:linear-gradient(
    135deg,
    var(--verde),
    var(--verde2)
  );

}

.gallery{

  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(250px,1fr));

  gap:20px;

}

.gallery img{

  width:100%;
  height:300px;

  object-fit:cover;

  border-radius:25px;

  transition:0.4s;

}

.gallery img:hover{

  transform:scale(1.04);

}

/* CONTACT */

.contact{

  background:#f8f8f8;

}

form{

  max-width:800px;
  margin:auto;

  display:flex;
  flex-direction:column;
  gap:20px;

}

form input,
form textarea{

  padding:18px;

  border:none;

  border-radius:18px;

  background:white;

  font-size:16px;

  box-shadow:0 5px 20px rgba(0,0,0,0.08);

}

form button{

  padding:18px;

  border:none;

  border-radius:18px;

  background:linear-gradient(
    135deg,
    var(--verde),
    var(--verde2)
  );

  color:white;

  font-size:18px;
  font-weight:bold;

  cursor:pointer;

  transition:0.3s;

}

form button:hover{

  transform:translateY(-4px);

}

/* FOOTER */

footer{

  background:var(--oscuro);

  color:white;

  text-align:center;

  padding:30px;

}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media(max-width:980px){

  .hero-content h2{

    font-size:55px;

  }

}

@media(max-width:768px){

  .menu-mobile{

    display:block;

  }

  nav{

    position:absolute;

    top:100%;
    right:0;

    width:100%;

    background:#111;

    flex-direction:column;

    align-items:center;

    padding:30px 0;

    display:none;

  }

  nav.active{

    display:flex;

  }

  .hero-content h2{

    font-size:42px;

  }

  .hero-content p{

    font-size:18px;

  }

  .section-title h2{

    font-size:36px;

  }

  .logo{

    width:55px;
    height:55px;

  }

  .logo-text h1{

    font-size:20px;

  }

}

@media(max-width:480px){

  .hero-content h2{

    font-size:34px;

  }

  .hero-buttons{

    flex-direction:column;

  }

  .btn{

    width:100%;

  }

  .section{

    padding:80px 0;

  }

}

/* ========================= */
/* NUEVO CONTACTO */
/* ========================= */

.contact{

  background:#f5f7fb;

}

.contact-grid{

  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:40px;
  align-items:stretch;

}

.contact-info{

  background:white;

  padding:40px;

  border-radius:25px;

  box-shadow:0 10px 30px rgba(0,0,0,0.08);

}

.contact-info h3{

  font-size:30px;

  margin-bottom:25px;

  color:#111;

}

.contact-info .btn{

  display:inline-block;

  margin-bottom:35px;

}

.info-box{

  display:flex;

  gap:18px;

  margin-bottom:30px;

}

.info-box i{

  font-size:26px;

  color:var(--rojo);

  min-width:35px;

}

.info-box h4{

  margin-bottom:5px;

  color:#111;

}

.info-box p{

  color:#666;

  line-height:1.8;

}

.contact-map{

  width:100%;

}

.contact-map iframe{

  width:100%;
  height:100%;

  min-height:520px;

  border:none;

  border-radius:25px;

  box-shadow:0 10px 30px rgba(0,0,0,0.12);

}

/* RESPONSIVE */

@media(max-width:900px){

  .contact-grid{

    grid-template-columns:1fr;

  }

  .contact-map iframe{

    min-height:400px;

  }

}

/* ========================= */
/* NOSOTROS IMAGEN + TEXTO */
/* ========================= */

.nosotros-content{

    display:flex;
    align-items:center;
    gap:40px;

    max-width:1200px;
    margin:40px auto 0;

}

.nosotros-img{

    flex:1;

}

.nosotros-img img{

    width:100%;

    max-width:450px;

    border-radius:25px;

    box-shadow:0 15px 40px rgba(0,0,0,0.15);

    display:block;

    margin:auto;

}

.nosotros-texto{

    flex:2;

    text-align:justify;

    line-height:1.9;

    color:#555;

    font-size:17px;

}

/* RESPONSIVE */

@media(max-width:900px){

    .nosotros-content{

        flex-direction:column;

    }

    .nosotros-img img{

        max-width:100%;

    }

}
/* ========================= */
/* TALLERES */
/* ========================= */

.talleres-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.talleres-grid .card{

    padding:20px;

    text-align:center;

}

.talleres-grid .card img{

    width:100%;

    height:220px;

    object-fit:cover;

    border-radius:20px;

    margin-bottom:20px;

}

.talleres-grid .card h3{

    font-size:22px;

    color:#111;

}
.gallery video{
  width:100%;
  height:300px;
  object-fit:cover;
  border-radius:25px;
  transition:0.4s;
}

.gallery video:hover{
  transform:scale(1.04);
}

/* ========================= */
/* AGENDA DIGITAL PREMIUM */
/* ========================= */

.agenda-digital{

    position:relative;
    overflow:hidden;

background:
radial-gradient(circle at top left,var(--verde2) 0%,transparent 30%),
radial-gradient(circle at bottom right,var(--amarillo) 0%,transparent 30%),
linear-gradient(
    135deg,
    var(--oscuro),
    var(--verde)
);

    padding:100px 0;

}

/* EFECTOS DE FONDO */

.agenda-digital::before{

    content:"";

    position:absolute;

    width:450px;
    height:450px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    filter:blur(120px);

    top:-150px;
    right:-100px;

}

.agenda-digital::after{

    content:"";

    position:absolute;

    width:350px;
    height:350px;

    border-radius:50%;

    background:rgba(255,90,125,.18);

    filter:blur(100px);

    bottom:-100px;
    left:-100px;

}

.agenda-titulo{

    text-align:center;
    color:white;
    margin-bottom:70px;
    position:relative;
    z-index:2;

}

.agenda-titulo span{

    display:inline-block;

    padding:10px 25px;

    border-radius:50px;

    background:rgba(255,255,255,.12);

    border:1px solid rgba(255,255,255,.2);

    backdrop-filter:blur(10px);

    font-size:15px;
    font-weight:600;
    letter-spacing:2px;

    margin-bottom:20px;

}

.agenda-titulo h2{

    font-size:48px;
    font-weight:800;
    line-height:1.1;

    text-transform:uppercase;

    background:linear-gradient(
      90deg,
      #ffffff,
      #ffccd5,
      #ffffff
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

    text-shadow:
    0 0 25px rgba(255,255,255,.2);

}

/* CONTENIDO */

.agenda-contenido{

    display:flex;
    justify-content:center;
    align-items:center;
    gap:70px;

    position:relative;
    z-index:2;

}

/* IMAGEN NIÑA */

.agenda-img{

    flex:1;
    text-align:center;

}

.agenda-img img{

    width:140%;
    max-width:700px;

    filter:
    drop-shadow(0 25px 45px rgba(0,0,0,.35));

    animation:floatGirl 4s ease-in-out infinite;

}

@keyframes floatGirl{

    0%{
        transform:translateY(0px);
    }

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

    100%{
        transform:translateY(0px);
    }

}

/* TEXTO */

.agenda-texto{

    flex:1.3;

    color:white;

}

.agenda-texto ul{

    list-style:none;

}

.agenda-texto li{

    position:relative;

    padding-left:38px;

    margin-bottom:20px;

    font-size:16px;

    font-weight:500;

    line-height:1.7;

    transition:.3s;

}

.agenda-texto li:hover{

    transform:translateX(8px);

}

.agenda-texto li::before{

    content:"✓";

    position:absolute;

    left:0;
    top:0;

    color:var(--amarillo);

    font-size:22px;
    font-weight:bold;

    
    text-shadow:
    0 0 15px rgba(255,122,147,.8);

}

/* BOTONES */

.agenda-botones{

    flex:1;

    display:flex;
    flex-direction:column;

    align-items:center;

    gap:12px;

}

.agenda-botones img{

    transition:.4s;
    width: 300px;
    height: auto;

}

.agenda-botones img:hover{

    transform:
    translateY(-8px)
    scale(1.04);

}

/* SERVICIO */

.servicio-img{

    width:320px;

    filter:
    drop-shadow(0 15px 30px rgba(0,150,255,.45));

}

/* PLAY */

.play-img{

    width:240px;

    filter:
    drop-shadow(0 10px 25px rgba(255,255,255,.25));

}

/* RESPONSIVE */

@media(max-width:1200px){

    .agenda-contenido{

        flex-direction:column;

        text-align:center;

        gap:40px;

    }

    .agenda-texto li{

        text-align:left;

        max-width:700px;

        margin:0 auto 18px auto;

    }

}

@media(max-width:768px){

    .agenda-titulo h2{

        font-size:34px;

    }

    .agenda-img img{

        max-width:300px;

    }

    .servicio-img{

        width:260px;

    }

    .play-img{

        width:200px;

    }

    .agenda-texto li{

        font-size:16px;

    }

}

/* ========================= */
/* MODAL COMUNICADO */
/* ========================= */

.modal-comunicado{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.75);

    display:flex;

    justify-content:center;
    align-items:center;

    z-index:99999;

    opacity:0;
    visibility:hidden;

    transition:.35s;

    padding:20px;

}

/* ACTIVO */

.modal-comunicado.active{

    opacity:1;
    visibility:visible;

}

/* CAJA */

.modal-box{

    position:relative;

    width:100%;

    max-width:500px;

    max-height:90vh;

    display:flex;
    flex-direction:column;
    align-items:center;

    animation:zoomModal .35s ease;

}

/* IMAGEN */

.modal-box img{

    width:100%;

    max-height:80vh;

    object-fit:contain;

    border-radius:25px;

    box-shadow:
    0 20px 60px rgba(0,0,0,.45);

}

/* BOTÓN X */

.btn-cerrar{

    position:absolute;

    top:20px;
    right:20px;

    width:50px;
    height:50px;

    border:none;

    border-radius:50%;

    background:#ffffff;

    color:#111;

    font-size:24px;

    cursor:pointer;

    z-index:5;

    transition:.3s;

    box-shadow:
    0 10px 25px rgba(0,0,0,.25);

}

.btn-cerrar:hover{

    transform:scale(1.1);

    background:#fbc02d;

}

/* BOTÓN ABAJO */

.btn-cerrar-texto{

    margin-top:25px;

    width:100%;

    padding:18px;

    border:none;

    border-radius:18px;

    background:linear-gradient(
      135deg,
      #0d47a1,
      #1565c0
    );

    color:white;

    font-size:18px;
    font-weight:700;

    cursor:pointer;

    transition:.3s;

}

.btn-cerrar-texto:hover{

    transform:translateY(-4px);

}

/* ANIMACIÓN */

@keyframes zoomModal{

    from{

        transform:scale(.8);
        opacity:0;

    }

    to{

        transform:scale(1);
        opacity:1;

    }

}

/* RESPONSIVE */

@media(max-width:768px){

    .modal-box{

        max-width:95%;

    }

    .btn-cerrar{

        width:45px;
        height:45px;

        font-size:20px;

    }

}

.modal-comunicado{

    backdrop-filter:blur(8px);

}