@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gotham', sans-serif;
}

/* ===== RESET GENERAL ===== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Gotham', sans-serif;
}

body{
    margin:0;
    overflow-x:hidden;
}

/* ================= HEADER ================= */

.header{
  width:100%;
  padding:0 20px;
  background:rgba(0,0,0,0.75);
  backdrop-filter:blur(8px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:sticky;
  top:0;
  z-index:9999; /* 🔥 CORREGIDO */
  height:60px;
}

.logo img{
  width:100px;
  height:auto;
}

/* MENÚ DESKTOP */
nav ul{
  list-style:none;
  display:flex;
  gap:25px;
}

nav ul li a{
  color:#fff;
  text-decoration:none;
  font-size:17px;
  padding:8px 12px;
  border-radius:6px;
  transition:0.3s;
}

nav ul li a:hover{
  background:rgba(255,255,255,0.1);
}

.menu-btn,
.close-btn{
  display:none;
  color:#fff;
  cursor:pointer;
}

/* ================== MOBILE ================== */

@media (max-width:900px){

  .header{
    justify-content:center;
  }

  .menu-btn{
    display:block;
    position:absolute;
    left:15px;
    font-size:30px;
  }

  .logo img{
    width:110px;
  }

  nav ul{
    position:fixed;
    inset:0;
    height:100dvh;
    background:#111;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:30px;
    transform:translateY(-100%);
    transition:0.4s ease;
    pointer-events:none;
    z-index:9998;
  }

  nav ul.show{
    transform:translateY(0);
    pointer-events:auto;
  }

  .close-btn{
    display:block;
    position:absolute;
    top:20px;
    right:20px;
    font-size:30px;
  }

  nav ul li a{
    font-size:22px;
  }
}


/* carousel */

.carousel{
    width: 100vw;
    height: 100vh;
    margin-top: -50px;
    overflow: hidden;
    position: relative;
}

.carousel .list .item{
    width: 180px;
    height: 250px;
    position: absolute;
    top: 80%;
    transform: translateY(-70%);
    left: 70%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    background-position: 50% 50%;
    background-size: cover;
    z-index: 100;
    transition: 1s;
}

.carousel .list .item:nth-child(1),
.carousel .list .item:nth-child(2){
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}

.carousel .list .item:nth-child(3){
    left: 67%;
}

.carousel .list .item:nth-child(4){
    left: calc(67% + 200px);
}

.carousel .list .item:nth-child(5){
    left: calc(67% + 400px);
}

.carousel .list .item:nth-child(6){
    left: calc(67% + 600px);
}

.carousel .list .item:nth-child(n+7){
    left: calc(67% + 800px);
    opacity: 0;
}





.list .item .content{
    position: absolute;
    top: 50%;
    left: 100px;
    transform: translateY(-50%);
    width: 400px;
    text-align: left;
    color: #000000;
    display: none;
}

.list .item:nth-child(2) .content{
    display: block;
}

.content .title{
    font-size: 100px;
    text-transform: uppercase;
    color: #00FFFF;
    font-weight: bold;
    line-height: 1;

    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content .name{
    font-size: 100px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1;
    text-shadow: 3px 4px 4px #52BEC0;

    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}

.content .des{
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 18px;
    margin-left: 5px;

    opacity: 0;
    animation: animate 1s ease-in-out 0.9s 1 forwards;
}

.content .btn{
    margin-left: 5px;

    opacity: 0;
    animation: animate 1s ease-in-out 1.2s 1 forwards;
}

.content .btn button{
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border: 2px solid #fff;
}

.content .btn button:nth-child(1){
    margin-right: 15px;
}

.content .btn button:nth-child(2){
    background: transparent;
    color: #14ff72cb;
    border: 2px solid #fff;
    transition: 0.3s;
}

.content .btn button:nth-child(2):hover{
    background-color: #14ff72cb;
    color: #fff;
    border-color: #14ff72cb;
}


@keyframes animate {
    
    from{
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to{
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

/* Carousel */






/* next prev arrows */

.arrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}

.arrows button{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #52BEC0;
    color: #fff;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
    cursor: pointer;
}

.arrows button:hover{
    background: #fff;
    color: #000;
}


/* time running */
.carousel .timeRunning{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 4px;
    background-color: #52BEC0;
    left: 0;
    top: 0;
    animation: runningTime 7s linear 1 forwards;
}

@keyframes runningTime {
    
    from{width: 0%;}
    to{width: 100%;}

}


/* Responsive Design */

@media screen and (max-width: 999px){
    
    header{
        padding-left: 50px;
    }

    .list .item .content{
        left: 50px;
    }

    .content .title, .content .name{
        font-size: 70px;
    }

    .content .des{
        font-size: 16px;
    }

}

@media screen and (max-width: 690px){
    header nav a{
        font-size: 14px;
        margin-right: 0;
    }

    .list .item .content{
        top: 40%;
    }

    .content .title, .content .name{
        font-size: 45px;
    }

    .content .btn button{
        padding: 10px 15px;
        font-size: 14px;
    }
}


/* ===== FOOTER ===== */
.footer {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 25px 0 15px;
  font-family: 'Gotham', sans-serif;
}

/* CONTENEDOR */
.footer-contenido {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

/* COLUMNAS */
.footer-col {
  width: 260px;
  font-size: 14px;
}

/* ===== BRAND ===== */
.footer-brand img {
  width: 85px;
  margin-bottom: 10px;
  border-radius: 10%;
}

.footer-brand h3 {
  font-size: 18px;
  margin: 0;
}

.footer-brand .slogan {
  display: block;
  font-size: 13px;
  color: #00FFFF;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.4;
  color: #ccc;
}

/* TITULOS */
.footer-col h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

/* LINKS */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin: 6px 0;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #fff;
}

/* CONTACTO */
.footer-col p {
  margin: 6px 0;
  color: #ccc;
}

/* COPY */
.footer-copy {
  text-align: center;
  font-size: 13px;
  color: #aaa;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-contenido {
    justify-content: center;
    text-align: center;
  }

  .footer-col {
    width: 100%;
  }

  .footer-brand img {
    margin: auto;
  }
}

.btn-consulta {
  margin-top: 20px;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #52BEC0, #00FFFF);
  color: #000;
  transition: all 0.3s ease;
}

.btn-consulta:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(82, 190, 192, 0.4);
}
@media (max-width: 480px) {
  .btn-consulta {
    padding: 10px 20px;
    font-size: 10px;
  }

  #formAsesoria button[type="submit"] {
    padding: 13px;
    font-size: 15px;
  }
}


.modal-asesoria {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;             
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-contenido {
  background: #ffffff;
  width: 90%;
  max-width: 520px;        
  max-height: 85vh;        
  overflow-y: auto;        
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
  position: relative;
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(25px) scale(.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.cerrar {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 22px;
  cursor: pointer;
  color: #999;
  transition: .3s;
}

.cerrar:hover {
  color: #000;
}
.modal-contenido h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 26px;
  font-weight: 600;
  color: #111;
}
#formAsesoria {
  display: grid;
  gap: 18px;
}
#formAsesoria input,
#formAsesoria select,
#formAsesoria textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 15px;
  transition: .3s;
  outline: none;
  background: #fafafa;
}
#formAsesoria input:focus,
#formAsesoria select:focus,
#formAsesoria textarea:focus {
  border-color: #111;
  background: #fff;
}
#formAsesoria textarea {
  resize: none;
  min-height: 120px;
}
#formAsesoria select:disabled {
  background: #eee;
  color: #666;
  cursor: not-allowed;
}
#formAsesoria button[type="submit"] {
  background: linear-gradient(135deg, #000, #333);
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
}
#formAsesoria button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}
select[data-locked="true"] {
  pointer-events: none;
  background: #eee;
  color: #555;
}

@media (max-width: 480px) {
  .modal-contenido {
    padding: 25px 20px;
  }

  .modal-contenido h2 {
    font-size: 22px;
  }
}

