/* =========================
   CONTACTO AMERICATOURS
========================= */

/* ocultar restos de preloaders */
.loader-wrap,
.preloader,
.handle-preloader,
.animation-preloader,
.preloader-close,
#handle-preloader,
#handle-preloader *,
.loader-wrap * {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* sin sticky en contacto */
.contact-page .fixed_menu,
.contact-page .fixed_menu * {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* mantener header del home */
.contact-page .header.header_style_one {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999 !important;
  background: transparent !important;
}

.contact-page .header.header_style_one .middle_bar {
  background: transparent !important;
  box-shadow: none !important;
}

/* =========================
   HERO CONTACTO IGUAL AL HOME
========================= */

.contact-page .contacto-banner-home {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  overflow: hidden;
}

.contact-page .contacto-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  z-index: 1;
}

.contact-page .contacto-banner-home .auto-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.contact-page .contacto-banner-home-inner {
  min-height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 20px;
}

.contact-page .contacto-banner-subtitle {
  color: #ffffff;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.contact-page .contacto-banner-title {
  color: #ffffff;
  font-size: 110px;
  line-height: 0.95;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 14px 0;
  letter-spacing: 2px;
  font-family: var(--font-family-Oswald);
}

.contact-page .contacto-banner-text {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
}

/* =========================
   HERO CONTACTO REAL
   (el bloque de arriba usa clases .contacto-banner-* que no existen en el
   HTML actual — es código muerto. El banner real usa .contacto-hero sobre
   .banner-one.style-three del tema base, que suma 170px de padding propio +
   180px del contenido + 920px de min-height, dejando un banner gigante)
========================= */

@media (min-width: 992px) {
  .contacto-hero.banner-one.style-three {
    padding-top: 0 !important;
    min-height: 380px !important;
  }

  .contacto-hero .banner-one_content {
    padding-top: 220px !important;
    padding-bottom: 50px !important;
  }
}

@media (max-width: 991px) {
  .contacto-hero.banner-one.style-three {
    padding-top: 0 !important;
    min-height: 260px !important;
  }

  .contacto-hero .banner-one_content {
    padding-top: 110px !important;
    padding-bottom: 40px !important;
  }
}

@media (max-width: 575px) {
  .contacto-hero .banner-one_content {
    padding-top: 90px !important;
    padding-bottom: 34px !important;
  }
}

/* =========================
   FORMULARIO
========================= */

.contacto-form-section {
  position: relative;
  padding: 45px 0 90px;
  background: #ffffff;
}

.contacto-title-box {
  text-align: center;
  margin-bottom: 35px;
}

.contacto-title-box h4 {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}

.contacto-title-box p {
  font-size: 16px;
  line-height: 28px;
  color: rgba(31, 41, 55, 0.75);
  margin-bottom: 0;
}

.contacto-form-section .booking-form {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.contacto-form-section .form-group {
  margin-bottom: 22px;
}

.contacto-form-section .form-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
}

.contacto-form-section input[type="text"],
.contacto-form-section input[type="email"],
.contacto-form-section input[type="tel"],
.contacto-form-section textarea {
  position: relative;
  width: 100%;
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: 12px;
  padding: 0 18px;
  font-size: 15px;
  color: #1f2937;
  background: #ffffff;
  transition: all 0.3s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.contacto-form-section input[type="text"],
.contacto-form-section input[type="email"],
.contacto-form-section input[type="tel"] {
  height: 58px;
}

.contacto-form-section textarea {
  height: 150px;
  padding-top: 16px;
  resize: vertical;
}

.contacto-form-section input:focus,
.contacto-form-section textarea:focus {
  outline: none !important;
  border: 1px solid #D45308 !important;
  box-shadow: 0 0 0 4px rgba(212, 83, 8, 0.12) !important;
}

/* =========================
   CAPTCHA
========================= */

.captcha-group {
  margin-bottom: 22px;
}

.captcha-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.captcha-question {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: 12px;
  background: #f8f8f8;
  color: #1f2937;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.captcha-input {
  width: 280px;
  height: 58px;
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: 12px;
  padding: 0 18px;
  font-size: 15px;
  color: #1f2937;
  background: #ffffff;
  outline: none;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.captcha-input:focus {
  outline: none !important;
  border: 1px solid #D45308 !important;
  box-shadow: 0 0 0 4px rgba(212, 83, 8, 0.12) !important;
}

.captcha-check-wrap {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  flex: 0 0 auto;
}

.captcha-error {
  display: block;
  margin-top: 8px;
  color: #D45308;
  font-size: 14px;
  font-weight: 500;
}

/* checkbox animado */
.checkbox-wrapper-12 {
  position: relative;
  transform: scale(0.9);
  transform-origin: center;
}

.checkbox-wrapper-12 > svg {
  position: absolute;
  top: -130%;
  left: -170%;
  width: 110px;
  pointer-events: none;
}

.checkbox-wrapper-12 * {
  box-sizing: border-box;
}

.checkbox-wrapper-12 input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  width: 32px;
  height: 32px;
  left: 0;
  top: 0;
  margin: 0;
  outline: none;
  cursor: default;
  pointer-events: none;
}

.checkbox-wrapper-12 .cbx {
  position: relative;
  width: 32px;
  height: 32px;
}

.checkbox-wrapper-12 .cbx input {
  position: absolute;
  width: 32px;
  height: 32px;
  z-index: 2;
  opacity: 0;
}

.checkbox-wrapper-12 .cbx label {
  width: 32px;
  height: 32px;
  background: white;
  border: 1px solid #D45308;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  filter: url(#goo-12);
  transform: translate3d(0, 0, 0);
  pointer-events: none;
}

.checkbox-wrapper-12 .cbx svg {
  position: absolute;
  top: 8px;
  left: 7px;
  z-index: 3;
  pointer-events: none;
}

.checkbox-wrapper-12 .cbx svg path {
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 19;
  stroke-dashoffset: 19;
  transition: stroke-dashoffset 0.3s ease;
  transition-delay: 0.2s;
}

.checkbox-wrapper-12 .cbx input:checked + label {
  border: none;
  animation: splash-12 0.6s ease forwards;
}

.checkbox-wrapper-12 .cbx input:checked + label + svg path {
  stroke-dashoffset: 0;
}

@keyframes splash-12 {
  40% {
    background: #D45308;
    box-shadow:
      0 -18px 0 -8px #D45308,
      16px -8px 0 -8px #D45308,
      16px 8px 0 -8px #D45308,
      0 18px 0 -8px #D45308,
      -16px 8px 0 -8px #D45308,
      -16px -8px 0 -8px #D45308;
  }
  100% {
    background: #D45308;
    box-shadow:
      0 -36px 0 -10px transparent,
      32px -16px 0 -10px transparent,
      32px 16px 0 -10px transparent,
      0 36px 0 -10px transparent,
      -32px 16px 0 -10px transparent,
      -32px -16px 0 -10px transparent;
  }
}

/* =========================
   BOTÓN ENVIAR MENSAJE ANIMADO
   Manteniendo tus colores
========================= */

.contact-submit-btn {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  background: #D45308;
  color: #ffffff;
  padding: 0.68em 0.95em;
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;
  min-width: 170px;
  justify-content: center;
}

.contact-submit-btn span {
  display: block;
  margin-left: 0.30em;
  transition: all 0.3s ease-in-out;
  white-space: nowrap;
}

.contact-submit-btn svg {
  display: block;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
}

.contact-submit-btn__svg-wrapper-1,
.contact-submit-btn__svg-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-submit-btn:hover {
  background: #43B97F;
  color: #ffffff;
}

.contact-submit-btn:hover .contact-submit-btn__svg-wrapper {
  animation: contact-fly-1 0.6s ease-in-out infinite alternate;
}

.contact-submit-btn:hover svg {
  transform: translateX(0.8em) rotate(45deg) scale(1.1);
}

.contact-submit-btn:hover span {
  opacity: 0;
  transform: translateX(10px);
}

.contact-submit-btn:active {
  transform: scale(0.95);
}

.contact-submit-btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(212, 83, 8, 0.12);
}

@keyframes contact-fly-1 {
  from {
    transform: translateY(0.1em);
  }
  to {
    transform: translateY(-0.1em);
  }
}

/* =========================
   CTA NEWSLETTER
========================= */

.contact-page .cta-one {
  position: relative;
  padding: 100px 0;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.contact-page .cta-one::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.48);
}

.contact-page .cta-one .auto-container {
  position: relative;
  z-index: 2;
}

.contact-page .cta-one_title-box {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.contact-page .cta-one_heading {
  color: #ffffff !important;
  font-size: 54px !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  margin-bottom: 18px !important;
}

.contact-page .cta-one_text {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 28px;
}

.contact-page .subscribe-box {
  max-width: 620px;
  margin: 0 auto;
}

.contact-page .subscribe-box .form-group {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-page .subscribe-box input[type="email"] {
  flex: 1 1 380px;
  height: 58px;
  border-radius: 12px;
  border: none;
  padding: 0 18px;
  font-size: 15px;
  color: #1f2937;
  background: #ffffff;
  outline: none;
}

.contact-page .subscribe-box .submit-btn {
  height: 58px;
  border: none;
  border-radius: 12px;
  padding: 0 28px;
  background: #D45308;
  color: #ffffff;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-page .subscribe-box .submit-btn:hover {
  background: #43B97F;
  color: #ffffff;
}

/* =========================
   FOOTER
========================= */

.contact-page .main-footer {
  margin-top: 0 !important;
}

.contact-page .footer-logo-image {
  width: 180px;
  height: auto;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1199px) {
  .contact-page .contacto-banner-home,
  .contact-page .contacto-banner-home-inner {
    min-height: 620px;
  }

  .contact-page .contacto-banner-subtitle {
    font-size: 24px;
    letter-spacing: 6px;
  }

  .contact-page .contacto-banner-title {
    font-size: 88px;
  }
}

@media (max-width: 991px) {
  .contact-page .contacto-banner-home,
  .contact-page .contacto-banner-home-inner {
    min-height: 520px;
  }

  .contact-page .contacto-banner-subtitle {
    font-size: 20px;
    letter-spacing: 5px;
  }

  .contact-page .contacto-banner-title {
    font-size: 68px;
  }

  .contact-page .contacto-banner-text {
    font-size: 18px;
    max-width: 620px;
  }

  .contacto-form-section .booking-form {
    padding: 28px;
  }

  .contact-page .cta-one_heading {
    font-size: 42px !important;
  }
}

@media (max-width: 767px) {
  .contact-page .contacto-banner-home,
  .contact-page .contacto-banner-home-inner {
    min-height: 420px;
  }

  .contact-page .contacto-banner-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 10px;
  }

  .contact-page .contacto-banner-title {
    font-size: 42px;
    margin-bottom: 10px;
  }

  .contact-page .contacto-banner-text {
    font-size: 15px;
    line-height: 1.45;
    max-width: 90%;
  }

  .contacto-title-box h4 {
    font-size: 28px;
  }

  .contacto-form-section {
    padding: 90px 0 70px;
  }

  .contacto-form-section .booking-form {
    padding: 22px;
    border-radius: 16px;
  }

  .captcha-box {
    flex-wrap: wrap;
  }

  .captcha-input {
    width: 100%;
  }

  .contact-page .cta-one {
    padding: 80px 0;
  }

  .contact-page .cta-one_heading {
    font-size: 34px !important;
  }

  .contact-page .cta-one_text {
    font-size: 16px;
    line-height: 28px;
  }
}
html,
body{
    margin: 0 !important;
    padding: 0 !important;
}

.page-wrapper{
    margin: 0 !important;
    padding: 0 !important;
}

.contact-page .contacto-banner-home{
    margin-top: 0 !important;
}

.contact-page .fixed_menu,
.contact-page .mr_menu {
    display: none !important;
}

.contact-page .header.header_style_one {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
}

.contact-page .contacto-banner-home {
    position: relative;
    padding-top: 180px;
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    overflow-x: hidden;
}

.page-wrapper,
.contact-page {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.contact-page .contacto-banner-home {
    margin-top: 0 !important;
    padding-top: 180px !important;
}

.contact-page .header.header_style_one {
    top: 0 !important;
}

/* FIX PRELOADER EN CONTACTO */
.loader-wrap {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999999 !important;
    display: block !important;
}

.preloader {
    width: 100% !important;
    height: 100% !important;
}

.contact-page,
.contacto-hero,
.contacto-form-section {
    position: relative;
    z-index: 1;
}