/* =====================================================
   TUCHOK — CONTACT PAGE
===================================================== */


/* =====================================================
   HERO
===================================================== */

.contact-hero {
  position: relative;

  min-height: 520px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background-color: #20231f;
  background-size: cover;
  background-position: center;
}

.contact-hero::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.05),
      rgba(0,0,0,.18)
    );

  pointer-events: none;
}

.contact-hero__content {
  position: relative;

  z-index: 3;

  width: min(90%, 1500px);

  text-align: center;
}

.contact-hero h1 {
  margin: 0;

  color: #fff;

  font-family:
    "Dexa Pro Expanded",
    "Dexa Pro",
    sans-serif;

  font-size:
    clamp(55px, 7vw, 120px);

  font-weight: 800;

  letter-spacing: -.055em;

  line-height: .95;
}



/* =====================================================
   MAIN CONTACT
===================================================== */

.contact-main {
  position: relative;

  padding:
    105px 0
    120px;

  overflow: hidden;

  background:
    linear-gradient(
      rgba(255,255,255,.88),
      rgba(255,255,255,.93)
    ),
    var(--contact-bg);

  background-color: #f6f6f3;

  background-size: cover;
  background-position: center;

  isolation: isolate;
}



/* TEXTURE */

.contact-main::before {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  opacity: .16;

  background-image:
    radial-gradient(
      rgba(15,20,16,.25) .55px,
      transparent .55px
    );

  background-size:
    4px 4px;

  z-index: -1;
}



/* =====================================================
   HEADING
===================================================== */

.contact-main__intro {
  width:
    min(92%, 1500px);

  margin:
    0 auto 52px;

  text-align: center;
}

.contact-main__intro h2 {
  margin: 0;

  color: #FFC100;

  font-family:
    "Dexa Pro Expanded",
    "Dexa Pro",
    sans-serif;

  font-size:
    clamp(42px, 5.2vw, 82px);

  font-weight: 800;

  line-height: .88;

  letter-spacing: -.055em;
}

.contact-main__intro h2 span {
  display: inline-block;
}



/* =====================================================
   WHITE PANEL
===================================================== */

.contact-panel {
  width:
    min(90%, 1500px);

  margin:
    0 auto;

  display: grid;

  grid-template-columns:
    .98fr 1.02fr;

  gap: 0;

  padding: 22px;

  background:
    rgba(255,255,255,.96);

  border:
    1px solid
    rgba(15,20,16,.06);

  border-radius: 24px;

  box-shadow:
    0 25px 65px
    rgba(18,23,19,.09);
}



/* =====================================================
   MAP
===================================================== */

.contact-panel__map {
  position: relative;

  min-height: 560px;

  overflow: hidden;

  border-radius: 18px;

  background:
    #eeeeea;
}

.contact-panel__map iframe {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  border: 0;

  filter:
    saturate(.76)
    contrast(.94);
}



/* PLACEHOLDER */

.contact-map-placeholder {
  width: 100%;
  height: 100%;

  min-height: 560px;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 10px;

  text-align: center;

  color: #737a74;
}

.contact-map-placeholder span {
  font-weight: 800;

  font-size: 24px;
}

.contact-map-placeholder small {
  max-width: 280px;

  font-size: 14px;

  line-height: 1.5;
}



/* =====================================================
   FORM AREA
===================================================== */

.contact-panel__form {
  padding:
    38px 46px
    36px 52px;
}

.contact-panel__form h3 {
  margin:
    0 0 30px;

  color: #111;

  font-family:
    "Dexa Pro Expanded",
    "Dexa Pro",
    sans-serif;

  font-size:
    clamp(38px, 3.5vw, 65px);

  font-weight: 800;

  letter-spacing: -.045em;

  line-height: .95;
}



/* =====================================================
   GENERIC FORM SUPPORT

   Compatible con CF7 / WPForms / Fluent /
   shortcodes genéricos.
===================================================== */

.contact-form-shortcode input,
.contact-form-shortcode select,
.contact-form-shortcode textarea {

  width: 100%;

  min-height: 58px;

  padding:
    15px 18px;

  border:
    1px solid
    rgba(21,30,24,.22);

  border-radius: 8px;

  outline: none;

  background: #fff;

  color: #171b18;

  font-family:
    "Dexa Pro",
    sans-serif;

  font-size: 16px;

  transition:
    border-color .25s ease,
    box-shadow .25s ease;
}


.contact-form-shortcode textarea {
  min-height: 150px;

  resize: vertical;
}


.contact-form-shortcode input:focus,
.contact-form-shortcode select:focus,
.contact-form-shortcode textarea:focus {

  border-color: #FFC100;

  box-shadow:
    0 0 0 4px
    rgba(255,193,0,.12);
}



/* CONTACT FORM 7 */

.contact-form-shortcode
.wpcf7-form {

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0,1fr));

  gap: 20px;
}


.contact-form-shortcode
.wpcf7-form p {
  margin: 0;
}


.contact-form-shortcode
.wpcf7-form p:has(textarea) {

  grid-column:
    1 / -1;
}


.contact-form-shortcode
.wpcf7-submit {

  width: auto;

  min-width: 230px;

  padding:
    16px 34px;

  border: 0;

  border-radius: 999px;

  background: #FFC100;

  color: #111;

  font-weight: 700;

  cursor: pointer;

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}


.contact-form-shortcode
.wpcf7-submit:hover {

  transform:
    translateY(-2px);

  box-shadow:
    0 12px 30px
    rgba(255,193,0,.28);
}



/* =====================================================
   SHORTCODE PLACEHOLDER
===================================================== */

.contact-form-placeholder {
  min-height: 330px;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  border:
    1px dashed
    rgba(20,27,22,.18);

  border-radius: 16px;

  text-align: center;

  color: #727972;
}

.contact-form-placeholder p {
  margin: 0 0 6px;

  font-weight: 800;

  color: #222;
}



/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {

  .contact-panel {
    width: calc(100% - 40px);

    grid-template-columns:
      1fr;
  }

  .contact-panel__map {
    min-height: 450px;
  }

  .contact-panel__form {
    padding:
      48px 28px 30px;
  }

}



/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

  .contact-hero {
    min-height: 420px;
  }


  .contact-hero h1 {
    font-size:
      clamp(48px, 16vw, 78px);
  }


  .contact-main {
    padding:
      70px 0
      80px;
  }


  .contact-main__intro {
    width:
      calc(100% - 30px);

    margin-bottom:
      34px;
  }


  .contact-main__intro h2 {
    font-size:
      clamp(38px, 12vw, 58px);

    line-height: .92;
  }


  .contact-panel {
    width:
      calc(100% - 24px);

    padding: 10px;

    border-radius: 20px;
  }


  .contact-panel__map {
    min-height: 340px;

    border-radius: 14px;
  }


  .contact-panel__form {
    padding:
      35px 12px
      18px;
  }


  .contact-panel__form h3 {
    font-size:
      clamp(34px, 11vw, 48px);

    margin-bottom:
      25px;
  }


  .contact-form-shortcode
  .wpcf7-form {

    grid-template-columns:
      1fr;

    gap: 14px;
  }


  .contact-form-shortcode input,
  .contact-form-shortcode select,
  .contact-form-shortcode textarea {

    font-size: 16px;
  }


  .contact-form-shortcode
  .wpcf7-submit {

    width: 100%;
  }

}