@font-face {
      font-family: 'Fiona';
      src: url('Fiona-Regular.ttf') format('truetype');
      font-weight: normal;
      font-style: normal;
    }

    body {
      font-family: 'Nunito', sans-serif;
      margin: 0;
      padding: 0;
      font-weight: 200;
      font-size: 15px;
    }
    .fondo{
      background-color: #ffffff;
    background-image: radial-gradient(rgba(228, 163, 157, 0.2) 0.8px, transparent 0.8px);
    background-size: 16px 16px;
    }
    h1, h2, h3, h4, h5 {
      font-family: 'Fiona', sans-serif;
    }
    p{
      text-align: justify;
    }

    h3{
      line-height: calc(1.3rem + .6vw);
      }
    .h1, h1 {
      font-size: calc(1.375rem + 5.5vw);
      line-height: calc(1.375rem + 3.5vw);
      color: #e4a39d;
    }
    .h2, h2 {
      font-size: calc(1.075rem + 2.3vw);
      line-height: calc(1.075rem + 2.0vw);
    }

    .acento{
      color: #e4a39d !important;
      font-weight: 400;
    }

    .parallax {
      background-attachment: fixed;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      position: relative;
      z-index: 1;
    }
    .parallax-banner-1 {
      background-image: url('../img/banner.webp');
      height: 95vh;
      margin-top: -100px;
    }
    .parallax-banner-cta {
      background-image: url('../img/banner2.webp');
      height: 80vh;

    }
    .parallax-banner-2 {
      background-image: url('../img/nest.png');
      height: 90vh;
      background-position: bottom;

    }
    .nav-link {
      color: black;
    }
    .testimonio-img {
      width: 100%;
      height: auto;
      object-fit: cover;
      border-radius: 10%;
    }
    footer {
      background-color: #f7ead8;
      padding: 30px 0 10px;
    }
    .footer-bottom {
      border-top: 1px solid #ccc;
      margin-top: 20px;
      padding-top: 10px;
      font-size: 14px;
    }
    .navbar-brand {
      font-weight: bold;
    }
    /*.navbar {
      background-color: rgba(255, 255, 255, 0.7) !important;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
      position: absolute;
      width: 100%;
      top: 20px;
      left: 0;
      z-index: 10;
    }*/
    .btn:hover {
      transform: scale(1.05);
      transition: transform 0.3s ease;
      background-color: #f7ead8;
      color: #e4a39d;
    }
    .scale-hover {
      transition: transform 0.3s ease;
    }
    .scale-hover:hover {
      transform: scale(1.05);
    }
    .content-wrapper {
      position: relative;
      z-index: 2;
    }
    .social-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: #a49291;
      text-decoration: none;
      color: white;
      font-size: 18px;
      transition: transform 0.3s ease, background-color 0.3s ease;
    }
    .social-icon:hover {
      transform: scale(1.1);
      background-color: #e4a39d;
    }



    .small{
      font-size: 9px;
    }
    .textofooter-1{
      text-align: left;
    }
    .textofooter-2{
      text-align: right;
    }
    .btn{
      background-color: #e4a39d;
      border:none;
    }
    .banner-title{
      font-size: 90px;
      color: white;
    }
    .float{
  position:fixed;
  bottom:40px;
  right:40px;
  color:#FFF;
  border-radius:50px;
  text-align:center;
  font-size:60px;
  z-index:100;
  transition: transform 0.2s ease;
}

.my-float{
  margin-top:16px;
}
.float:hover{
  transform: scale(1.3);
}


    @media only screen and (max-width: 700px) {
      .textofooter-1{
      text-align: center;
      }
      .textofooter-2{
        text-align: center;
      }
      .banner-title{
        font-size: 47px;
        line-height: 34px;
        color: white!important;
      }
      body{
        font-size: 13px;
      }
      .parallax {
        background-attachment: fixed!important;
      }
      .parallax-banner-1 {
        background-image: url('../img/banner-cel.webp');
        height: 480px;
        background-size: 100% auto;
        background-attachment: scroll;
        background-position: center top;
      }
    }


/* Mega menú oculto por defecto */
.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 9;
  transition: all 0.3s ease;
}

/* Solo se muestra cuando se le agrega .show desde JavaScript */
.mega-menu.show {
  display: block;
}

/* En móvil: se oculta totalmente y se usa el acordeón */
@media (max-width: 991.98px) {
  .mega-menu {
    display: none !important;
    position: static;
    background-color: transparent;
    backdrop-filter: none;
    border: none;
  }

  #mobileAccordion {
    display: none;
    background-color: #fff;
    padding: 1rem;
    border-radius: 20px;
  }

  #mobileAccordion .row > div {
    margin-bottom: 1rem;
  }

  #mobileAccordion img {
    width: 100% !important;
  }
}
.logo{
    width: 150px;
  }

@media only screen and (max-width: 768px) {
  .logo{
    width: 110px;
  }
  .ocultamobil{display: none}
  .custom-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    z-index: 1000;
  }
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* mismo estilo */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem;
    z-index: 999;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-radius: 20px;
  }
  .custom-header .navbar {
    border-radius: 0;
    max-width: 100%;
  }
  .btn-dark{
    font-size: 11px;
    --bs-btn-padding-x: 0.5rem;
  }
  body {
    padding-top: -70px; /* Deja espacio para el header fijo en mobile */
  }

}
@media only screen and (min-width: 768px) {
.ocultapc{display: none}
}



@media (min-width: 992px) {
  .nav-item.dropdown:hover .mega-menu {
    display: block;
  }

  .mega-menu {
    display: none;
  }
  .nav-item.dropdown:hover .mega-menu,
  .mega-menu:hover {
    display: block!important;
  }

}


.mega-menu {
  margin-top: -15px; /* asegúrate de que no haya separación */
}
.custom-header {
  display: flex;
  justify-content: center;
  position: sticky;
  top: 20px; /* Separación desde arriba */
  z-index: 1000;
  padding: 0 15px; /* pequeño margen lateral en móviles */
}

.custom-header .navbar {
  background-color: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  width: 100%;
  max-width: 1140px; /* mismo que .container-lg */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}


.navbar-toggler-icon{
  width: 0.75em;
height: 0.75em;
}
.rounded{
  margin-bottom: 10px;
}






.img-hover-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.img-hover-wrap img {
  display: block;
  width: 100%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.img-hover-wrap .img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.img-hover-wrap:hover .img-base {
  opacity: 0;
}

.img-hover-wrap:hover .img-hover {
  opacity: 1;
}


