#contacto {
  margin-bottom: 3rem;
}
body.contacto-bg {
  background-image: url("../img/global/fondo.webp");
  background-attachment: fixed;
  background-size: cover;
  background-position: center top;
  background-repeat: repeat-y;
  min-height: 100svh;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}
.banner-contacto {
  max-height: 660px;
  width: 100%;
  background-color: var(--principal);
  display: flex;
  flex-direction: column;
  margin: -5px auto 80px;
}
.contenido-texto-banner-contacto {
  display: flex;
  flex-direction: column;
  margin: 30px auto;
}
#titulo-contacto {
  color: var(--secundario);
  margin: 0 auto;
}
.contenido-texto-banner-contacto p {
  text-align: center;
  color: var(--secundario);
  font-size: 22px;
  line-height: 26px;
}
.wrapper-boton-contacto-reservas {
  display: flex;
  justify-content: center;
}
.contenido-contacto {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  width: 100%;
  max-width: 1240px;
}
.seccion-contacto {
  display: none;
}
#seccion-contacto {
  display: flex;
  flex-direction: row;
  width: 1240px;
  height: 100%;
  justify-content: space-between;
}
.secciones-contacto {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}
.secciones-contacto-contenido {
  background-color: #fff;
  padding: 15px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  width: 1240px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  min-height: 700px;
}
.items-secciones-contacto {
  display: flex;
  flex-direction: row;
}
.contenido-secciones-contacto,
.formulario-secciones-contacto {
  width: 50%;
}
.contenido-secciones-contacto {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 592px;
  margin: 0 auto;
}
.titulo-seccion-contacto {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  line-height: 40px;
  height: 100px;
  text-align: center;
}
.texto-contenido-seccion-contacto {
  font-size: 16px;
  line-height: 24px;
  margin-top: 15px;
  margin-bottom: 15px;
  color: var(--negro1);
}
.footer-secciones-contacto {
  background-color: var(--principal);
  height: 93px;
  width: 1240px;
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px;
  color: var(--secundario);
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 10px;
  margin-bottom: 20px;
}
.footer-secciones-contacto-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 10px;
}
.item-footer-secciones-contacto-row {
  display: flex;
  flex-direction: row;
  margin-right: 30px;
  align-items: center;
}
.item-footer-secciones-contacto-row img {
  margin-right: 15px;
}
.wrapper-boton-formulario-contacto {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.input-field-formulario-contacto {
  width: 591.5px;
  height: 56px;
  border: solid 0.3px var(--gris-purpura);
  margin-bottom: 20px;
  border-radius: 15px;
}
.textarea-field-formulario-contacto {
  height: 128px;
  margin-left: -0.5rem;
}
.textarea-field-formulario-contacto textarea {
  height: 128px;
  width: 591.5px;
  border: solid 0.3px var(--gris-purpura);
  border-radius: 15px;
}
.formulario-secciones-contacto {
  margin-top: 80px;
  margin-left: 25px;
  height: 100%;
}
.main-wrapper-formulario-contacto {
  margin-top: 1.3rem;
}
.wrapper-input-formulario-contacto {
  margin-bottom: 35px;
}
.wrapper-input-formulario-contacto .input-field-formulario-contacto input {
  margin-left: 0.3rem;
  max-width: 95%;
  border: none;
  transform: translateY(0.5rem);
  background-color: transparent !important;
}
.wrapper-input-formulario-contacto
  .input-field-formulario-contacto
  input:focus {
  max-width: 95%;
  border: none !important;
  box-shadow: none !important;
  transform: translateY(0.5rem);
  background-color: transparent !important;
}
.label-formulario-contacto {
  cursor: pointer !important;
}
.wrapper-input-formulario-contacto
  .input-field-formulario-contacto
  .label-formulario-contacto {
  margin-left: 1rem;
  margin-top: -1.3rem;
  display: block;
  font-size: 16px;
  line-height: 24px;
}
.wrapper-input-formulario-contacto
  .input-field-formulario-contacto
  .label-formulario-contacto.active {
  margin-top: -2.4rem;
  color: var(--gris-purpura) !important;
  font-size: 14px;
  line-height: 22px;
}
.wrapper-input-formulario-contacto
  .textarea-field-formulario-contacto
  .label-formulario-contacto {
  margin-left: 1.5rem;
  margin-top: -7.5rem;
  display: block;
  font-size: 16px;
  line-height: 24px;
}
.wrapper-input-formulario-contacto
  .textarea-field-formulario-contacto
  .label-formulario-contacto.active {
  margin-top: -8.2rem;
  color: var(--gris-purpura);
  font-size: 14px;
  line-height: 22px;
}
.wrapper-input-formulario-contacto
  .textarea-field-formulario-contacto
  textarea {
  padding-top: 1rem;
  padding-left: 1rem;
  margin-left: 0.5rem;
}
.wrapper-input-formulario-contacto
  .textarea-field-formulario-contacto
  textarea.active {
  padding-top: 1.5rem;
  padding-left: 1rem;
}
.wrapper-captcha {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
.contacto-encabezado {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background: url("../img/contacto/fondo-encabezado-menu-contacto.svg")
    no-repeat center;
  padding: 10px 0;
  margin-bottom: 40px;
  color: var(--principal);
  position: relative;
}
.contacto-encabezado-item {
  margin: 0 15px;
  font-size: 20px;
  line-height: 32px;
  font-weight: bold;
  color: var(--principal);
  cursor: pointer;
  white-space: nowrap;
}
.contacto-encabezado-item.activo {
  color: var(--cafe1);
}
.contacto-encabezado-imagen-wrapper {
  position: relative;
}
#contacto-opcion-activa-img {
  position: absolute;
  top: -3.3rem;
  left: 0;
  transform: translateX(0);
  transition: transform 0.3s ease;
  max-width: 100%;
  height: auto;
}
.input-file-field-formulario-contacto {
  width: 591.5px;
  height: 56px;
  border: solid 0.3px var(--gris-purpura);
  margin-bottom: 20px;
  border-radius: 15px;
  padding: 0 1rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.input-file-field-formulario-contacto .text-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.label-formulario-contacto {
  font-size: 16px;
  color: #9e9e9e;
}
.file-name {
  font-size: 14px;
  color: #9e9e9e;
}
.attach-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  cursor: pointer;
  object-fit: contain;
}
.input-file-field-formulario-contacto.has-file .text-wrapper {
  flex-direction: column;
  align-items: flex-start;
}
.input-file-field-formulario-contacto.has-file .label-formulario-contacto {
  color: var(--gris-purpura);
  font-size: 14px;
  line-height: 20px;
  cursor: pointer !important;
}
.input-file-field-formulario-contacto.has-file .file-name {
  color: var(--principal);
  margin-top: -0.5rem;
}
.attach-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  cursor: pointer;
  object-fit: contain;
}
.contacto-contenido {
  display: flex;
  flex-direction: column;
}
.contacto-texto {
  display: flex;
  flex-direction: column;
}
.mobile-img {
  display: none;
}
.contacto-mobile-selector {
  display: none;
}
.contacto-encabezado {
  background: url("../img/contacto/fondo-encabezado-menu-contacto.svg")
    no-repeat center;
  background-size: cover;
  display: flex;
  justify-content: center;
  padding: 10px 0;
  color: var(--principal);
  margin-bottom: 40px;
  position: relative;
  flex-wrap: wrap;
  min-width: 680px;
}
#contacto-opcion-activa-img {
  position: absolute;
  top: -3.3rem;
  left: 0;
  transform: translateX(0);
  transition: transform 0.3s ease;
  max-width: 100%;
  height: auto;
}
.contacto-encabezado-item {
  min-width: 198px;
  margin-left: 5px;
  margin-right: 5px;
}
.swal-title-custom {
  font-size: 22px;
  line-height: 28px;
  font-family: "FilsonPro", sans-serif;
  font-weight: 400;
}
.swal-text-custom {
  font-size: 16px;
  line-height: 24px;
  font-family: "FilsonPro", sans-serif;
  font-weight: 400;
}
.swal-popup-responsive {
  max-width: 516px;
  height: 207px;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  box-sizing: border-box;
}
.swal2-html-container {
  overflow: hidden !important;
}
body.swal2-shown {
  padding-right: 0 !important;
}
@media (max-width: 1279px) {
  .items-secciones-contacto {
    flex-direction: column;
    margin: 0 auto;
  }
  .items-secciones-contacto .active {
    transition: transform 0.3s ease;
  }
  .secciones-contacto-contenido {
    width: 680px;
    min-height: 700px;
  }
  .input-field-formulario-contacto,
  .input-file-field-formulario-contacto {
    width: 650px;
    height: 56px;
    margin-left: -1.5rem;
  }
  .textarea-field-formulario-contacto textarea {
    width: 650px;
    transform: translateX(-1.5rem);
  }
  .wrapper-input-formulario-contacto
    .textarea-field-formulario-contacto
    .label-formulario-contacto {
    margin-left: 0;
  }
  .wrapper-input-formulario-contacto {
    margin-top: -1rem;
  }
  .footer-secciones-contacto {
    width: 680px;
  }
  .wrapper-boton-formulario-contacto {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 2rem 0 auto;
  }
  .contenido-secciones-contacto,
  .formulario-secciones-contacto {
    width: 100%;
  }
  .wrapper-captcha {
    display: flex;
    justify-content: center;
  }
  .formulario-secciones-contacto {
    margin-top: 1rem;
  }
}
@media (max-width: 700px) {
  .contacto-mobile-selector {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .contacto-encabezado,
  .contacto-encabezado-imagen-wrapper {
    display: none;
  }
  .contacto-mobile-viewport {
    width: 380px;
    max-width: 100%;
    overflow: hidden;
    background: url("../img/contacto/fondo-encabezado-menu-contacto-sm.svg")
      no-repeat center;
    position: relative;
    margin-bottom: 1.5rem;
    margin-top: -2rem;
  }
  .contacto-mobile-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
    left: 0;
    transition: left 0.35s ease;
  }
  .contacto-mobile-item {
    appearance: none;
    border: none;
    background: transparent;
    font-size: 20px;
    font-weight: bold;
    color: var(--principal);
    padding: 10px 18px;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    display: inline-flex;
    align-items: center;
  }
  .contacto-mobile-item.activo {
    color: var(--cafe1);
  }
  .contacto-mobile-item.activo::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 80%;
    opacity: 1;
    height: 4px;
  }
  .contacto-encabezado-imagen-wrapper {
    display: none;
  }
  .contacto-mobile-item::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    margin-bottom: 0.5rem;
    width: 100%;
    min-width: 100%;
    height: 4px;
    background: url("../img/contacto/seleccion1.svg") no-repeat center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    transform: translateX(-50%);
    opacity: 0;
    transition:
      width 0.3s ease,
      opacity 0.2s ease;
  }
  .contenido-texto-banner-contacto p {
    font-size: 16px;
    line-height: 24px;
  }
  .contenido-contacto {
    display: flex;
    flex-direction: column;
    width: 380px !important;
  }
  .secciones-contacto-contenido {
    width: 380px;
  }
  .texto-contenido-seccion-contacto {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: -1.5rem;
  }
  .imagen-formulario {
    width: 350px;
    height: 233px;
  }
  .titulo-seccion-contacto {
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 1.5rem;
    font-weight: 700;
  }
  .input-field-formulario-contacto,
  .input-file-field-formulario-contacto {
    width: 350px;
    height: 56px;
  }
  .textarea-field-formulario-contacto textarea {
    width: 350px;
  }
  .footer-secciones-contacto {
    width: 380px;
    height: 153px;
  }
  .footer-secciones-contacto-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }
  .formulario-secciones-contacto input,
  .formulario-secciones-contacto label,
  .formulario-secciones-contacto textarea {
    font-size: 14px;
  }
  .wrapper-input-formulario-contacto
    .input-field-formulario-contacto
    .label-formulario-contacto.active {
    margin-top: -2.2rem;
  }
  .wrapper-captcha {
    display: flex;
    justify-content: center;
  }
  .wrapper-boton-formulario-contacto {
    margin-left: -2rem;
  }
  .footer-secciones-contacto-row {
    margin-top: 1.5rem;
  }
  .item-footer-secciones-contacto-row a {
    transform: translateY(-0.5rem);
  }
  .formulario-secciones-contacto {
    margin-top: 3rem;
  }
  .swal-popup-responsive {
    width: 329px !important;
    height: 229px !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    box-sizing: border-box;
  }
  .swal-text-custom {
    width: 290px;
    margin-left: 1.2rem !important;
  }
}
@media (max-width: 379px) {
  .contacto-mobile-viewport {
    width: 100%;
    max-width: 320px;
  }
  .contenido-contacto {
    width: 100% !important;
    max-width: 320px;
    margin: 0 auto;
  }
  .secciones-contacto-contenido {
    width: 100%;
    max-width: 320px;
  }
  .imagen-formulario {
    width: 100%;
    height: auto;
  }
  .input-field-formulario-contacto,
  .input-file-field-formulario-contacto {
    width: 100%;
    max-width: 100%;
  }
  .textarea-field-formulario-contacto textarea {
    width: 290px;
  }
  .titulo-seccion-contacto {
    font-size: 24px;
    line-height: 32px;
  }
  .contenido-texto-banner-contacto p,
  .texto-contenido-seccion-contacto {
    font-size: 13px;
    line-height: 18px;
  }
  .footer-secciones-contacto {
    width: 100%;
    max-width: 320px;
    height: auto;
  }
  .wrapper-boton-formulario-contacto,
  .wrapper-captcha {
    margin-left: -0.5rem;
  }
  .contacto-mobile-item {
    font-size: 18px;
    padding: 8px 14px;
  }
  #titulo-contacto {
    display: flex;
    text-align: center;
  }
  .formulario-secciones-contacto {
    margin-top: 3rem;
  }
}
@media (min-width: 1101px) and (max-width: 1279px) {
  .contacto-encabezado {
    background: url("../img/contacto/fondo-encabezado-menu-contacto-md.svg")
      no-repeat center;
    max-width: 60%;
    margin: 0 auto 1.5rem;
    background-size: cover;
  }
  #contacto-opcion-activa-img.img-pos-alta {
    top: -5rem;
  }
  #contacto-opcion-activa-img.img-pos-baja {
    top: -2rem;
  }
  #contacto-opcion-activa-img {
    display: none;
    left: 13.5rem;
  }
}
@media (min-width: 993px) and (max-width: 1100px) {
  .contacto-encabezado {
    background: url("../img/contacto/fondo-encabezado-menu-contacto-sm.svg")
      no-repeat center;
    max-width: 60%;
    margin: 0 auto 1.5rem;
    background-size: cover;
  }
  #contacto-opcion-activa-img.img-pos-alta {
    top: -5rem;
  }
  #contacto-opcion-activa-img.img-pos-baja {
    top: -2.5rem;
  }
  #contacto-opcion-activa-img {
    display: none;
    left: 12rem;
  }
}
@media (min-width: 880px) and (max-width: 992px) {
  .contacto-encabezado {
    background: url("../img/contacto/fondo-encabezado-menu-contacto-sm.svg")
      no-repeat center;
    max-width: 60%;
    margin: 0 auto 1.5rem;
    background-size: cover;
  }
  #contacto-opcion-activa-img.img-pos-alta {
    top: -5rem;
  }
  #contacto-opcion-activa-img.img-pos-baja {
    top: -2rem;
  }
  #contacto-opcion-activa-img {
    display: none;
    left: 7rem;
  }
}
@media (min-width: 701px) and (max-width: 879px) {
  .contacto-encabezado {
    background: url("../img/contacto/fondo-encabezado-menu-contacto-sm.svg")
      no-repeat center;
    max-width: 60%;
    margin: 0 auto 1.5rem;
    background-size: cover;
  }
  #contacto-opcion-activa-img.img-pos-alta {
    top: -6rem;
  }
  #contacto-opcion-activa-img.img-pos-baja {
    top: -3.3rem;
  }
  #contacto-opcion-activa-img {
    display: none;
    left: -1rem;
  }
}
@media (min-width: 1275px) {
  .carousel .carousel-inner .carousel-item img {
    transform: translateY(-180px);
  }
}
