
footer {
  position: relative;
  border: 1.19px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(15px);
  padding: 5% 3% 1% 3%;
  z-index: 2;
}
.footer-content{
  display: grid;
  grid-template-columns: 3fr 3fr 1fr;
}

footer .btn-btp button{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #9CA3AF;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 400;
  line-height: 99%; /* 17.82px */
  border: none;
  background: transparent;
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.btn-btp button img{
  width: 1.5rem;
  height: 1.5rem;
}
footer .footer-contact img{
  width: 20rem;
  margin-bottom: 2rem;
}
footer .footer-contact{
  margin-bottom: 8%;
  margin-top: 20%;
}
footer .footer-contact p, footer .footer-contact a{
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 100;
  line-height: normal;
  color: white;
  margin-block: 2%;
  text-decoration: none;
}
footer .footer-contact .mail-contact{
  display: flex;
  gap: 10px;
}
footer .social-media{
  display: flex;
  gap: 20px;
  margin-bottom: 5%;
}
.footer-subscribe-container h5{
  font-size: 1rem;
  font-weight: 100;
  color: #fff;
  margin-bottom: 2%;
}

footer .footer-subscribe-container input{
  background-color: transparent;
  border: none;
  width: 50%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.50);
  padding: 5px 0px;
  color: #fff;
  margin-right: 10px;
  outline: none;
  &::placeholder{
    color: #fff;
  }
}

.footer-contact h3{
  font-size: 2.2rem;
  font-weight: 100;
  color: #fff;
  margin-bottom: 3%;
}

.footer-nav-buttons{
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
}
.footer-nav-buttons div{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav-buttons a{
  text-decoration: none;
  color: #fff;
}

.footer-bottom{
  display: grid;
  grid-template-columns:  3fr 3fr 1fr;
}
.footer-bottom a{
  text-decoration: none;
  color: #fff;
  font-size: 0.75rem;
}

.subscribe-form{
  display: flex;
}
.subscribe-form button{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
#footer-thunder-3d{
  position: absolute;
}
#footer-thunder-3d canvas{
  transform: rotateZ(15deg) !important;
}

.footer-container{
  position: relative;
  z-index: 10;
}
footer{
  margin-top: 10rem;
}
.footer-nav-buttons-mobile{
  display: none;
}
.footer-filter, .footer-filter-2{
  display: none;
}
.footer-mb-thunder{
  display: none;
}
.mobile-logo{
  display: none;
}
.mail-contact, .footer-contact span p{
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact .contact-data-container{
  display: flex;
  flex-direction: column;
  align-self: start;
}
.mail-contact .mail-footer-img, .footer-contact .phone-footer-img{
  width: 1.5vw;
  margin-bottom: 0;
}
.footer-contact .address-footer-img{
  width: 1.1vw;
  margin-bottom: 0;
}
.second-email img{
  display: none;
}
.subscribe-form {
  position: relative;
}
.subscribe-form .messages-container{
  position: absolute;
  bottom: -100%;
}
@media (width <= 1020px){
  .footer-content{
    grid-template-columns: 1fr;
  }
  footer{
    margin-top: 0;
    min-height: 100vh;
    background: rgb(7,10,12);background: linear-gradient(45deg, rgba(7,10,12,0.4963235294117647) 0%, rgba(13,10,13,0.5019257703081232) 50%, rgba(17,8,10,0.5) 100%);
  }
  .footer-center .footer-contact{
    display: none;
  }
  .footer-left .footer-contact{
    margin-top: 20px;
  }
  .btn-btp{
    display: none;
  }
  .footer-mb-thunder{
    display: block;
    position: absolute;
    top: -20vh;
    left: 40vw;
    height: fit-content;
    z-index: -1;
    overflow: hidden;
  }
  .footer-mb-thunder img{
    width: 40vw;
    height: auto;
    transform: rotateZ(20deg);
  }
  .footer-container{
    position: relative;
    z-index: 10;
  }
  .footer-contact .desktop-logo{
    display: none;
  }
  .footer-contact .mobile-logo{
    display: block;
    width: 200px;
    max-width: 100%;
    margin-bottom: 30px;
  }
  footer .footer-contact p{
    margin-block: 10px;
  }
  .social-media{
    border-bottom: 1px solid #353945;
    margin-bottom: 0;
    padding-bottom: 30px;
  }
  footer{
    padding: 20px;
  }
  .footer-nav-buttons{
    display: none;
    flex-direction: column;
    gap: 40px;
  }
  .footer-nav-buttons-mobile {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    transition: all 0.5s;
  }
  .footer-nav-buttons-mobile {
    overflow: hidden;
    transition: max-height 15s ease;
  }
  .footer-nav-buttons-mobile a {
    text-decoration: none;
    color: white;
    opacity: 0.75;
    font-size: 14px;
    font-weight: 100;
    margin-top: 30px;
  }
  
  .footer-nav-buttons-mobile[open] {
    max-height: 500px; /* Ajusta según el contenido */
  }
  
  .footer-nav-buttons-mobile summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }
  
  .footer-nav-buttons-mobile summary::-webkit-details-marker {
    display: none;
  }
  
  .toggle-icon {
    transition: transform 0.3s ease;
  }
  
  .footer-nav-buttons-mobile[open] .toggle-icon {
    transform: rotate(0deg);
  }
  
  .footer-nav-buttons-mobile:not([open]) .toggle-icon {
    transform: rotate(180deg);
  }
  .footer-nav-buttons-mobile{
    margin-bottom: 30px;
  }
  .footer-subscribe-container{
    border-top: 1px solid #353945;
    padding-top: 30px;
  }
  .footer-subscribe-container h5{
    font-size: 16px;
    font-weight: 100;
    margin-bottom: 30px;
  }
  .footer-subscribe-container .subscribe-form{
    display: grid;
    grid-template-columns: 1fr auto;
    margin-bottom: 30px;
  }
  .footer-subscribe-container .subscribe-form input{
    width: 90%;
  }
  .footer-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.75;
    padding-top: 30px;
    border-top: 1px solid #353945;
  }
  .footer-bottom a{
    text-decoration: underline;
    color: white;
    font-size: 14px;
    font-weight: 100;
  }

  .footer-contact .mail-contact a{
    line-height: 90%;
    margin-block: 0;
  }

  /*contact Img*/
  footer .footer-contact .mail-contact{
    flex-wrap: wrap;
  }
  .mail-contact, .footer-contact span p{
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 80%;
    margin-block: 0 ;
  }
  .footer-contact .contact-data-container{
    display: flex;
    gap: 15px;
  }
  .mail-contact .mail-footer-img, .footer-contact .phone-footer-img{
    width: 24px;
    margin-bottom: 0;
  }
  .footer-contact .address-footer-img{
    width: 18px;
    margin-bottom: 0;
  }
  .second-email{
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .second-email img{
    display: block;
  }
}