@charset "UTF-8";
.vc_custom_1598619307887, .vc_custom_1598620715401, .porto-html-block.porto-block-html-content-bottom, .vc_custom_1600089539290, .vc_custom_1620249637660, .vc_custom_1620249637660, .vc_custom_1600105052416, .header-collapse, .vc_custom_1598621912364 {
  display: none !important;
}

#footer .footer-bottom {
  border-top: 2px solid #e1e1e1;
}

#footer .logo img {
  max-width: 190px;
}

.vc_btn3 {
  background-color: #08c !important;
}

@media (min-width: 1280px) {
  .slider-short-content .slides img {
    height: 700px;
    object-fit: cover;
  }
}

/* Contenedor del formulario compacto */
#gform_wrapper_8 {
  background: #eeeeee;
  border-radius: 14px;
  padding: 25px 35px;
  max-width: 1100px;
  margin: -40px auto 0 auto; /* lo sube para que quede sobre el footer */
  position: relative;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: padding 0.35s ease;
}

#gform_wrapper_8 .gform_fields {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  list-style: none;
  align-items: flex-end;
  margin: 0;
  padding: 0;
}

#gform_wrapper_8 .gfield {
  flex: 1 1 180px;
  min-width: 160px;
}

/* Campos que solo se ven al expandir: ajusta el nth-child si el orden cambia */
#gform_wrapper_8 .gfield:nth-child(n+5),
#gform_wrapper_8 .gform_footer {
  display: none;
  opacity: 0;
  transform: translateY(-8px);
}

#gform_wrapper_8.gform-expanded .gfield:nth-child(n+5),
#gform_wrapper_8.gform-expanded .gform_footer {
  display: block;
  animation: gformSlideDown 0.35s ease forwards;
}

#gform_wrapper_8.gform-expanded .gform_footer {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

@keyframes gformSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Inputs con estilo redondeado, como en tu referencia */
#gform_wrapper_8 input[type=text],
#gform_wrapper_8 input[type=email],
#gform_wrapper_8 input[type=tel],
#gform_wrapper_8 input[type=date],
#gform_wrapper_8 select {
  border-radius: 30px !important;
  border: 1px solid #ccc !important;
  padding: 10px 16px !important;
  height: auto !important;
  width: 100%;
}

#gform_wrapper_8 .gform_footer input[type=submit],
#gform_wrapper_8 .gform_footer button {
  border-radius: 30px;
  padding: 10px 30px;
}

#gfield_instruction_8_6 {
  display: none !important;
}

/*aqui dentro esta el error de calendario*/
#ui-datepicker-div {
  bottom: 12% !important;
  top: auto !important;
}

#gform_wrapper_8 {
  position: fixed !important;
  left: 50%;
  bottom: 0%;
  transform: translate(-50%, 0%);
  width: 100%;
  z-index: 999;
  background: #eeeeee;
  margin: 0 !important;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.35s ease;
}

/*aqui dentro esta el error del calendario*/
/* Como el formulario queda flotando, hay que darle espacio al contenido 
   para que no quede tapado por el formulario fijo */
body {
  padding-bottom: 90px; /* ajusta este valor según la altura del form colapsado */
}

/* Si además quieres que se expanda hacia arriba al hacer focus, 
   usando la lógica que armamos antes: */
#gform_wrapper_8.gform-expanded {
  padding-bottom: 20px;
}

#ui-datepicker-div {
  z-index: 9999 !important;
}

@media (max-width: 767px) {
  #gform_wrapper_8 {
    height: 200px;
    overflow: scroll;
  }
}
#gform_wrapper_8::before {
  content: "Acceso exclusivo a nuestra tarifa especial";
  display: block;
  text-align: center;
  width: 100%;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
}