body, html {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    font-size: 16px;
    scroll-behavior: smooth;
  }

  h2{
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2rem;
    color: #2f58bf;
    text-transform: uppercase;
    letter-spacing: 1px;

  }

  h2.title-section{
    max-width: 1000px;
    display: flex;
    margin: auto;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    gap: 2rem;
}

  a{
    color: #2f58bf;
  }

  p{
    color: #666;
    line-height: 1.5;
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  h2::before{
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: linear-gradient(135deg, #EF2049, #5948BB);
  }

  h2:after{
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: linear-gradient(135deg, #EF2049, #5948BB);
  }

  .logo-event{
    width: 90%;
    max-width: 670px;
    margin: auto;
    display: block;
    position: relative;
    z-index: 9;
  }

  header{
   
    background-image: url(../img/bg-fisi25.png);
    background-size: cover;
    min-height: 100vh;
    width: 100%;
    background-position: top left;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom:70px;
    overflow: hidden;
  }

  header.inter{
    min-height: 70vh;
  }

  header::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(50, 99, 222, 0.95) 0%,
        rgba(27, 53, 120, 0.85) 100%
    );
    z-index: 2;
    position: absolute;
  }
  
  header h1{
    display: none;
  }

  .comite .institucion{
        display: block;
        font-size: 0.9rem;
        color: #333;
        margin-bottom: 1rem;
    }

    .comite li{
        list-style: none;
        font-size: 1rem;
        color: #2f58bf;
    }

  header nav{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 11;
  }

  header nav a{
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    display: block;
    margin: 2rem 0 0 0;
    text-decoration: none;
    padding: 0 1.7rem;
  }

    header nav a.super{
        color: #fff;
    font-weight: 600;
    background-color: #F22048;
    padding-left: 1rem;
    padding-right: 1rem;
    line-height: 32px;
    border-radius: 6px 0;
  }

  header nav a:last-child{
    padding-right: 0;
    border-right: none;

  }

  header nav a:hover{
    color: #F22048;
  }

  header .anio-event{
    width: 100%;
    position: absolute;
    bottom: -5%;
    mix-blend-mode: difference;
    left: 0;
  }


  .container-comite{
    width: 100%;
    max-width: 900px;
    margin: auto;
    mix-blend-mode: multiply;
  }

  .logo-fd{
    width: 100%;
    max-width: 300px;
    display: block;
    margin: auto;
    margin-bottom: 2rem;
  }

  .descargar-ag {
    padding: 0.5rem;
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
}

#splideDos-list{
    gap: 2rem;
}


.descargar-ag svg path, .descargar-ag svg polygon {
    fill: #fff;
}

  .splide__slide{
    height: 70vh;
    border-radius: 2rem 0 2rem 0;
    overflow: hidden;
  }

  .words-comite{
    background: linear-gradient(to top, #b5c9f8, #f9f9f9);
  }
  
  section {
    padding: 50px;
    text-align: center;
  }
  
  footer {
    background: linear-gradient(135deg, #3966d9, #233d81);
    color: #fff;
    padding: 20px;
    text-align: center;
  }

  .col-uno-footer{
    width: auto;
    padding: 1rem;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
  }

  .col-dos-footer{
    width: 20%;
    padding: 1rem;
    box-sizing: border-box;
  }

  .col-uno-footer .logo-fi{
    width: 300px;
  }

  .countdown > p{
    color: #fff;
    font-weight: 500;
}

  footer .flex{
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .btn-prin{
    color: #fff;
    font-weight: 600;
    background-color: #F22048;
    padding-left: 1rem;
    padding-right: 1rem;
    line-height: 40px;
    border-radius: 6px 0;
    display: inline-block;
    text-decoration: none;
}

  .footer-top img{
    max-width: 1200px;
    display: block;
    margin: auto;
    margin-bottom: 10px;
}

  .galery-place{
    width: 100%;
    max-width: 1000px;
  }

  .galery-place img{
    width: 100%;
    height: auto;
    display: block;
    margin: auto;
  }

  .hash{
    font-size: 2rem;
    font-weight: bold;
    color: #f22149;
    z-index: 20;
    position: relative;
    position: fixed;
    top: 50%;
    left: -4rem;
    transform: rotate(-90deg);
    mix-blend-mode: darken;
    opacity: 0.5;
}

  .row{
    width: 100%;
    max-width: 1200px;
    margin: auto;
  } 
  
  .flex{
    display: flex;
    flex-wrap: wrap;
  }

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

  .col-1{
    width: 30%;
    padding: 1rem;
    box-sizing: border-box;
  }

  .col-2{
    width: 70%;
  }

  .col-2 img{
    width: 100%;
    display: block;
  }

  .l-center{
    align-items: center;
  }

.button{
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 2rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 1rem;
    background-color: #F22048;
    padding-left: 1rem;
    padding-right: 1rem;
    line-height: 32px;
    border-radius: 6px 0;
}

.button:hover{
    background-color: #2f58bf;
    color: #fff;
}

.popup{
    position: fixed;
    top: 0;
    left: 0;
    background-color: #000000c7;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    display: none;
}

.popup.is-open{
    display: flex;
}

.popup .popup-content{
    width: 100%;
    max-width: 550px;
    position: relative;
}

.popup img{
    width: 100%;
}

.close-pop{
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background-color: #ffff63;
    color: #333;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.countdown{
    position: relative;
    z-index: 15;
    background: linear-gradient(135deg, #3966d9, #233d81);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px 20px;
}

#fecha {
    display: flex;
    margin-top: -40px;
}

.item-hor{
    color: #fff;
    margin: 1rem;
}

#fecha span{
    font-size: 6rem;
    font-weight: bold;
    color: #ffffff;
    display: block;
    
}

.bg-foto-azul{
    position: relative;
    padding: 6rem 1rem;
}

.colaborador.mv{
    width: 100%;
    max-width: 768px;
    margin: auto;
    display: none;
}

.bg-foto-azul::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(50, 99, 222, 0.95) 0%,
        rgba(27, 53, 120, 0.85) 100%
    );
    z-index: 1;
}

#section2{
    background-image: url(../img/bg-iglesia.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.bg-foto-azul h2, .bg-foto-azul p{
    color: #fff;
    position: relative;
    z-index: 2;
}

.bg-foto-azul .row{
    position: relative;
    z-index: 2;
}

.mapa-place{
    width: 60%;
    position: relative;
    border-radius: 32px 0 32px 0;
    overflow: hidden;
}

.mapa-place img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
    margin: auto;
}

.info-hotel {
    width: 40%;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    padding: 2rem 5rem 2rem 2rem;
    box-sizing: border-box;
    margin-right: -2rem;
    border-radius: 2rem 0 0 0;
}

.info-hotel p{
    font-size: 1rem;
    font-weight: 300;
}

.info-hotel h4{
    color: #fff;
}

.info-hotel img{
    max-width: 260px;
}

.gap-50{
    gap: 50px;
}

.patrocinador .big-logo{
    width: 850px;
    max-width: 100%;
    margin-bottom: 2rem;
}

.patrocinador.diamante.full {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: row;
}

.patrocinadores.diamante.md img {
    width: 90%;
    max-width: 350px;
}

.download-pres{
    margin-top: 2rem;
    font-size: 1.1rem;
}

.patrocinadores.l-full {
    display: flex;
    align-items: center;
    width: 86%;
    justify-content: center;
}

.mapa-place iframe{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    z-index: 1;
    opacity: 0;
    transition: all 0.5s ease;
}

.mapa-place:hover iframe{
    opacity: 1;
}

.bg-gray{
    background-color: #f9f9f9;
}

.tex-lon{
    justify-content: center;
    max-width: 800px;
}

.patrocinador{
    padding: 3px 20px 3px 20px;
    background-color: #dcefff;
    border-radius: 2rem 0 2rem 0;
    display: flex;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    min-height: 150px;
    position: relative;
    margin-bottom: 2rem;
    box-sizing: border-box;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 1rem;
}

.patrocinador h3{
    font-size: 1rem;
    color: #ffffff;
    text-align: center;
    background-color: #2f58bf;
    max-width: 100px;
    padding: 6px 1rem;
    position: absolute;
    left: 0;
    bottom: 0;
    margin: auto;
}

.patrocinador.oro{
    background-color: #fff9bb;
}

.patrocinador.oro h3{
    background-color: #e6c254;
}

.patrocinador.plata{
    background-color: #e8e8e8;
}

.patrocinador.plata h3{
    background-color: #999999;
}

.patrocinador.bronce{
    background-color: #ffe9d1; 
}

.patrocinador.bronce h3{
    background-color: #da8831;
    
}

.patrocinador.colaborador{
    background-color: #d0ffd2; 
}

.patrocinador.colaborador h3{
    background-color: #48d14f; 
}

.patrocinador.sin-bg{
    background-color: transparent;
    
}

.foto-per{
    border-radius: 50%;
    border: 2px solid #ffffff;
    width: 100%;
    max-width: 140px;
    height: 140px;
    background-color: #fff;
    background-image: url(../img/bg-fotos.svg);
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin: auto;
}

.foto-per img{
    height: 140px;
}

.inter .foto-per{
    border: 2px solid #038700;
}

.item-foto{
    width: 25%;
    box-sizing: border-box;
    padding: 1rem;
    position: relative;

}

.item-foto h3{
    font-size: 1rem;
    color: #2f58bf;
}

.inter.item-foto h3{
    font-size: 1rem;
    color: #038700;
}

.item-foto h4{
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.perfil p{
    font-size: 11px;
    color: #fff;
}

.perfil{
    position: absolute;
    top: 0;
    left: 0;
    background-color: #2f58bf;
    padding: 1rem;
    display: none;
    height: 85%;
}

.inter .perfil{
    position: absolute;
    top: 0;
    left: 0;
    background-color: #038700;
    padding: 1rem;
    display: none;
    height: 85%;
}

.logo-event.mb{
    display: none;
}


.item-foto:hover .perfil{
    display: block;
}

.logos{
    display: flex;
    flex-wrap: wrap;
}

.item-logos {
    min-width: 20%;
    width: calc(100% / 5);
}

.item-logos.principal{
    width: 75%;
}

.item-logos.secun{
    width: 25%;
}

.item-logos img{

    width: 100%;
}

.form-action{
    max-width: 600px;
    column-gap: 2rem;
    row-gap: 1rem;
}

.form-action input{
    width: calc(50% - 2rem);
    line-height: 2.5rem;
    border: 1px solid #b8b8b8;
    padding: 1rem;
    box-sizing: border-box;
    height: 2.5rem;
    font-size: 1.1rem;
}

.form iframe{
    width: 1200px;
    height: 420px;
    margin-top: 2rem;
}

.toggle{
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    display: none;
}

.toggle svg path{
    fill: #ffff63;
}

.close-btn{
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1.8rem;
    color: #ffff63;
    width: 40px;
    height: 40px;
    text-align: center;
    display: none;
}

.terminos{
    font-size: 13px;
    margin-bottom: 0.5rem;
}

.reposive{
    width: 100%;
}

.alert-text{
    display: block;
    background-color: #ffe4cb;
    padding: 1rem;
    border: 1px solid #ffb16c;
    color: #666;
    margin-top: 1rem;
}

.bg-azul{
    background-image: url(../img/bg-agenda.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

.bg-azul h2{
    color: #ffff63;
}

.contetn-agen{
    width: 100%;
    max-width: 1200px;
    margin: auto;
}


.flex.cusro .row-text-1{
    width: 25%;
}

.flex.cusro .row-text-2{
    width: 75%;
    padding: 0 2rem;
    box-sizing: border-box;
}

.flex.cusro h3{
    width: 100%;
}



.contetn-agen img{
    width: 100%;
    height: auto;
}

.m-top-20{
    margin-top: 2rem;
}

.item-logos.secun img {
    max-width: 240px;
}

h2 span{
    display: block;
    font-size: 1rem;
}

.logo-mtop{
    margin-top: 2rem;
    margin-right: 2rem;
}

.cusro h3.title{
    font-size: 1.7rem;
    color: #2f58bf;
}

.cusro p, .cusro h3{
    text-align: left;
    color: #666;
}

.cusro p label{
    font-weight: bold;
}

.cusro{
    background: linear-gradient(to top, #f0f5ff, #f9f9f9);
    padding: 2rem;
    box-sizing: border-box;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.cusro h3.title span{
    display: block;
    width: fit-content;
    background: linear-gradient(135deg, #EF2049, #5948BB);
    color: #fff;
    padding: 2px 20px;
    border-radius: 6px;
    font-size: 1.2rem;
}

.row-text-1 h3{
    text-align: right;
    color: #2f58bf;
    font-size: 1.3rem;
}

.row-text-1 h4{
    text-align: right;
    color: #666;
}

.row-text-1 {
    text-align: right;
}

.item-certificado{
    display: flex;
    max-width: 900px;
    margin: auto;
    justify-content: space-between;
    padding: 0.3rem;
    border-bottom: 1px dashed #999;
}

.item-certificado svg {
    cursor: pointer;
}

.item-certificado svg:hover {
    opacity: 0.7;
}

#certificadoId{
    width: 500px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 0 1rem;
}


#buscarCert{
    height: 42px;
    padding: 0 2rem;
    background-color: #2f58bf;
    border: 1px solid #2f58bf;
    border-radius: 4px;
    color: #fff;
}

#certificados{
    margin-top: 2rem;
}

.menu-agenda {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #EF2049, #5948BB);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

.menu-agenda ul {
    display: flex;
    justify-content: center;
    padding: 0.5rem;
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
    gap: 1rem;
    align-items: center;
}

.menu-agenda ul li {
    list-style: none;
}
.menu-agenda ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.flex.tex-lon {
    gap: 40px;
}



.tex-lon {
    justify-content: center;
    max-width: 800px;
}

.row-text-4 {
    width: 30%;
    padding: 1rem;
    background: linear-gradient(45deg, #3966d9, #233d81);
    border-radius: 10px;
    color: #fff;
    margin-bottom: 2rem;
    box-sizing: border-box;
}

.row-text-4 p {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.form{
    width: 100%;
    margin: auto;
    background-color: #eaeaea;
    display: flex;
    justify-content: center;
}

.row-text-4 strong {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.patrocinadores{
    display: flex;
    align-items: center;
}

.patrocinador img{
    width: 100%;
    height: auto;
    display: block;
    margin: auto;
    max-width: 220px;
}

.patrocinador .mv{
    display: none;
}

.patrocinador.full{
    display: inline-block;
}

.patrocinador.full img{
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}


/*/ for responsive design */

.form-container {
  max-width: 900px;
  margin: auto;
  border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to top, #f0f5ff, #f9f9f9);
    overflow: hidden;
}

h1, h2 {
  color: #333;
  margin-bottom: 20px;
}

form label {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    gap: 5px;
    font-size: 14px;
    text-align: left;
}

input, select, textarea {
  padding: 10px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fefefe;
}

button {
  margin-top: 30px;
  padding: 12px 24px;
  background: #007bff;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background: #0056b3;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

fieldset {
  margin-bottom: 25px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
}

legend {
  font-weight: bold;
  padding: 0 10px;
  color: #444;
}



@media (max-width: 768px) {
    .flex.cusro .row-text-1{
        width: 100%;
    }
    .row-text-1 {
        text-align: center;
    }
    .cusro p, .cusro h3 {
        text-align: center;
        color: #666;
    }

    .row-text-4 {
        width: 100%;
        margin-bottom: 0;
    }

    .row-text-1 h4 {
        text-align: center;
        color: #666;
    }

    .patrocinador .desk{
        display: none;
    }

    .patrocinador .mv{
        display: block;
    }

    .colaborador.mv{
        display: block;
    }

    .colaborador.mv img{
        width: 100%;
        height: auto;
        display: block;
    }

    .flex {
        flex-direction: column;
    }

    .colaborador.desk{
        display: none;
    }

    .info-hotel {
        width: 100%;
        background-color: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(5px);
        padding: 2rem;
        box-sizing: border-box;
        margin-right: -2rem;
        border-radius: 2rem 0 0 0;
    }

    .mapa-place {
        width: 100%;
        position: relative;
        border-radius: 0 0 32px 0;
        overflow: hidden;
    }

   

    .countdown {
        display: block;
    }

    .splide__slide {
        height: auto;
    }

    .splide__slide img {
        height: auto;
        width: 100%;
    }

    .col-uno-footer {
        width: auto;
        padding: 1rem;
        box-sizing: border-box;
        display: flex;
        justify-content: flex-start;
        gap: 1rem;
        flex-direction: column-reverse;
    }

    .logo-event{
        display: none;
    }

    .logo-event.mb{
        display: block;
        width: 70%;
    }

    .col-tres-footer{
        margin-top: 2rem;
    }
    
.flex.cusro .row-text-2{
        width: 100%;
    }
    header{
        background-position: center center;
    }

    header .anio-event {
        width: 100%;
        position: absolute;
        bottom: 0;
        mix-blend-mode: overlay;
        left: 0;
    }

    .close-btn{
        display: block;
    }

    .flex{
        flex-direction: column;
    }

    .col-1, .col-2  {
        width: 100%;
    }

    .item-foto{
        width: 100%;
    }

    .item-logos.secun {
        width: 35%;
    }

  


    .item-logos.principal {
        width: 100%;
    }

    .logos {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
    }

    .tex-lon img{
        margin: auto;
    }

    .form iframe {
        width: 100%;
        height: 630px;
    }

    header nav{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 100;
        background-color: #2f58bf;
        flex-direction: column;
        display: none;
    }

    #fecha{
        margin-top: -13px;
        
    }

    #fecha span{
        font-size: 2rem;
        
    }

    nav.is-active{
        display: flex;
    }

    h2{
        font-size: 1.8rem;
    }

    header nav a{
        color: #fff;
        font-size: 1.5rem;
        text-transform: uppercase;
        display: block;
        text-decoration: none;
        border-right: 0;
        padding: 2rem;
        letter-spacing: 1px;
        margin: 0;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    header nav a:last-child{
        padding-right: 2rem;
    }

    .toggle{
        display: block;
    }

    section {
        padding: 25px;
        text-align: center;
      }

      .item-logos{
        width: 50%;
      }
}