/* ========================= */
/* 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{

  /* COLORES INSTITUCIONALES */

  --rojo:#B71C1C;
  --rojo2:#D32F2F;

  --azul:#0D6EBD;
  --azul2:#083B6E;

  --dorado:#D4AF37;
  --dorado2:#E6C75A;

  --blanco:#FFFFFF;
  --gris:#666666;
  --oscuro:#0F172A;

}

/* ========================= */
/* 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(8,59,110,.88);

  border-bottom:3px solid var(--dorado);

}

.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(--rojo2),white);

  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(--rojo);

  top:10%;
  left:-100px;

  opacity:0.4;

}

.circle2{

  width:350px;
  height:350px;

  background:var(--dorado);

  bottom:-100px;
  right:-120px;

  opacity:0.2;

}

.circle3{

  width:250px;
  height:250px;

  background:var(--azul);

  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{



    background: rgba(255,255,255,0.15); /* efecto glass */
    backdrop-filter: blur(10px);

    color: #ffffff;

    border: 2px solid #ffffff;

    padding: 12px 25px;

    border-radius: 30px;

    font-weight: 600;

    transition: all .3s ease;

    box-shadow: 0 0 0 rgba(255,255,255,0);
    background: #ffffff;
    color: #0d3b66;

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

    transform: translateY(-2px);






  padding:16px 35px;
  border-radius:60px;
  text-decoration:none;

  color:var(--azul2);

  font-weight:700;

  background:linear-gradient(
    135deg,
    var(--dorado),
    var(--dorado2)
  );

  transition:.3s;

  box-shadow:0 10px 30px rgba(212,175,55,.35);

}

.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(--rojo);

  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;

  border-top:5px solid var(--dorado);

  transition:.4s;

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

}

.card:hover{

  transform:translateY(-10px);

}

.icon{

  width:80px;
  height:80px;

  border-radius:20px;

  background:linear-gradient(
    135deg,
    var(--azul),
    var(--azul2)
  );
  
  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,
    #7a0010,
    #1a0005
  );

}

/* IMAGES */

.card img{

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

  border-radius:20px;

  margin-bottom:20px;

}

/* GALLERY */

.section-gradient{

  background:linear-gradient(
    135deg,
    var(--azul2),
    var(--azul)
  );

}

.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(--rojo),
    var(--rojo2)
  );

  color:white;

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

  cursor:pointer;

  transition:0.3s;

}

form button:hover{

  transform:translateY(-4px);

}

/* FOOTER */

footer{

  background:var(--azul2);

  color:white;

  text-align:center;

  padding:30px;

  border-top:4px solid var(--dorado);

}

/* ========================= */
/* 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(--dorado);

  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(--dorado) 0%,transparent 25%),
    radial-gradient(circle at bottom right,var(--rojo) 0%,transparent 25%),
    linear-gradient(
      135deg,
      var(--azul2),
      var(--azul)
    );

    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(--dorado);

    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:30px;

}

.agenda-botones img{

    transition:.4s;

}

.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,.85);

    display: none;

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

    z-index: 99999;

    padding: 20px;

    overflow-y: auto; /* 🔥 permite scroll */
}

.modal-comunicado.active{
    display: flex;
}

/* CONTENEDOR */
.modal-box{

    position: relative;

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

    margin: auto;

    text-align: center;

    animation: zoomIn .3s ease;
}

/* IMAGEN */
.modal-box img{

    width: 100%;
    height: auto;

    max-height: 80vh;

    object-fit: contain;

    border-radius: 20px;

    box-shadow: 0 20px 50px rgba(0,0,0,.5);
}

/* BOTÓN X */
.btn-cerrar{

    position: fixed;

    top: 20px;
    right: 20px;

    width: 45px;
    height: 45px;

    border: none;

    border-radius: 50%;

    background: #c40018;

    color: white;

    font-size: 22px;

    cursor: pointer;

    font-weight: bold;

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

    z-index: 100000;
}

.btn-cerrar:hover{
    transform: scale(1.1);
}

/* BOTÓN CERRAR ABAJO */
.btn-cerrar-texto{

    margin-top: 15px;

    width: 100%;

    padding: 12px;

    border: none;

    border-radius: 10px;

    background: #0d3b66;

    color: white;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;

    transition: .3s;
}

.btn-cerrar-texto:hover{
    background: #c40018;
}

/* ANIMACIÓN */
@keyframes zoomIn{

    from{
        opacity: 0;
        transform: scale(.8);
    }

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