/* =========================================
   CONTACT FORM · TREZE
========================================= */

.c-contact-form{
  padding-block: clamp(60px, 8vw, 120px);
}


/* =========================================
   CONTAINER
========================================= */

.c-contact-form__container{
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  box-sizing: border-box;
}


/* =========================================
   GRID
========================================= */

.c-contact-form__grid{
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}


/* =========================================
   CONTENT
========================================= */

.c-contact-form__label{
  display: inline-block;
  margin-bottom: 16px;

  color: #C98028;
  font-family: "Lexend Deca", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.c-contact-form__title{
  margin: 0 0 16px;

  color: #C98028;
  font-family: "Lexend Deca", sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.1;
}

.c-contact-form__lead{
  margin-bottom: 16px;

  color: #291F46;
  font-family: "Lexend Deca", sans-serif;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 600;
  line-height: 1.4;
}

.c-contact-form__text{
  color: #291F46;
  font-family: "Lexend Deca", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

.c-contact-form__text p{
  margin: 0 0 14px;
}

.c-contact-form__text ul,
.c-contact-form__text ol{
  margin: 10px 0 20px;
  padding-left: 18px;
}

.c-contact-form__text li{
  margin-bottom: 6px;
}


/* =========================================
   FORM WRAP
========================================= */

.c-contact-form__form-wrap{
  padding: clamp(24px, 3vw, 36px);
  border-radius: 16px;
  background: linear-gradient(135deg, #DFB37E 0%, #C98028 100%);
}


/* =========================================
   FIX GLOBAL
========================================= */

.c-contact-form,
.c-contact-form *{
  min-width: 0;
  box-sizing: border-box;
}


/* =========================================
   GRAVITY FORMS · TREZE SYSTEM
========================================= */

.c-contact-form__form-wrap .gform_wrapper,
.c-contact-form__form-wrap .gform_wrapper *{
  font-family: "Lexend Deca", sans-serif;
  box-sizing: border-box;
}

.c-contact-form__form-wrap .gform_wrapper{
  margin: 0;
}

.c-contact-form__form-wrap .gform-body,
.c-contact-form__form-wrap .gform_body{
  margin: 0;
}

.c-contact-form__form-wrap .gform_fields{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.c-contact-form__form-wrap .gfield{
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  margin: 0;
}


/* LABELS */

.c-contact-form__form-wrap .gfield_label,
.c-contact-form__form-wrap .gform-field-label{
  font-size: 13px;
  font-weight: 600;
  color: #0A052D;
}

.c-contact-form__form-wrap .gfield_required{
  font-size: 12px;
  font-weight: 500;
  margin-left: 4px;
  opacity: .6;
}

.c-contact-form__form-wrap .gfield_required_text{
  font-size: 12px;
  font-weight: 500;
}

.c-contact-form__form-wrap .gform_wrapper.gravity-theme .gfield_required{
  color: #0A052D !important;
}


/* INPUT BASE */

.c-contact-form__form-wrap input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.c-contact-form__form-wrap textarea,
.c-contact-form__form-wrap select{
  width: 100%;
  height: 46px;
  padding: 0 14px;

  border-radius: 10px;
  border: 1px solid rgba(10,5,45,.12);
  background: #ffffff;

  font-size: 14px;
  color: #0A052D;
  outline: none;

  transition: all .2s ease;
}

.c-contact-form__form-wrap textarea{
  height: auto;
  min-height: 120px;
  padding: 12px 14px;
  resize: vertical;
}

.c-contact-form__form-wrap input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):focus,
.c-contact-form__form-wrap textarea:focus,
.c-contact-form__form-wrap select:focus{
  border-color: #C98028;
  box-shadow: 0 0 0 2px rgba(201,128,40,.15);
}

.c-contact-form__form-wrap select{
  appearance: none;
  text-align: left;
  background-image: none;
}


/* NAME / COMPLEX */

.c-contact-form__form-wrap .ginput_complex{
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.c-contact-form__form-wrap .gform-field-label--type-sub{
  font-size: 11px;
  opacity: .6;
  margin-bottom: 4px;
}


/* RADIO / CHECKBOX CHOICES */

.c-contact-form__form-wrap .gfield_radio,
.c-contact-form__form-wrap .gfield_checkbox{
  display: grid;
  gap: 10px;
}

.c-contact-form__form-wrap .gchoice{
  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 16px 18px;

  border-radius: 12px;
  border: 1px solid rgba(10,5,45,.12);
  background: #fff;

  cursor: pointer;
  transition: all .2s ease;
}

.c-contact-form__form-wrap .gchoice:hover{
  border-color: rgba(201,128,40,.4);
  background: rgba(255,255,255,.9);
}

.c-contact-form__form-wrap .gchoice input[type="radio"],
.c-contact-form__form-wrap .gchoice input[type="checkbox"]{
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.c-contact-form__form-wrap .gchoice label{
  width: 100%;
  margin: 0;
  text-align: left;

  font-size: 14px;
  color: #0A052D;
}

.c-contact-form__form-wrap .gchoice input:checked + label{
  font-weight: 600;
}

.c-contact-form__form-wrap .gchoice:has(input:checked){
  border-color: #C98028;
  box-shadow: 0 0 0 2px rgba(201,128,40,.15);
}


/* CONSENT */

.c-contact-form__form-wrap .ginput_container_consent{
  position: relative;

  display: flex;
  align-items: flex-start;
  gap: 12px;

  padding: 16px 18px;

  border-radius: 12px;
  border: 1px solid rgba(10,5,45,.12);
  background: #fff;

  cursor: pointer;
  transition: all .2s ease;
}

.c-contact-form__form-wrap .ginput_container_consent input[type="checkbox"]{
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.c-contact-form__form-wrap .gfield_consent_label{
  margin: 0;
  width: 100%;

  font-family: "Lexend Deca", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #0A052D;
}

.c-contact-form__form-wrap .gfield_consent_label a{
  color: #C98028;
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.c-contact-form__form-wrap .gfield_consent_label a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;

  width: 0;
  height: 1px;

  background: currentColor;
  transition: width .25s ease;
}

.c-contact-form__form-wrap .gfield_consent_label a:hover::after{
  width: 100%;
}

.c-contact-form__form-wrap .ginput_container_consent:hover{
  border-color: rgba(201,128,40,.4);
  background: rgba(255,255,255,.92);
}

.c-contact-form__form-wrap .ginput_container_consent::before{
  content: "";
  flex-shrink: 0;

  width: 18px;
  height: 18px;

  margin-top: 2px;

  border-radius: 4px;
  border: 1px solid rgba(10,5,45,.2);

  transition: all .2s ease;
}

.c-contact-form__form-wrap .ginput_container_consent:has(input:checked){
  border-color: #C98028;
  box-shadow: 0 0 0 2px rgba(201,128,40,.15);
}

.c-contact-form__form-wrap .ginput_container_consent:has(input:checked)::before{
  background: #C98028;
  border-color: #C98028;
}


/* SECTIONS */

.c-contact-form__form-wrap .gsection_title{
  font-size: 16px;
  font-weight: 600;
  color: #0A052D;
}


/* ERRORS */

.c-contact-form__form-wrap .gfield_error input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.c-contact-form__form-wrap .gfield_error textarea,
.c-contact-form__form-wrap .gfield_error select{
  border-color: #C98028;
  box-shadow: 0 0 0 2px rgba(201,128,40,.2);
}


/* FOOTER */

.c-contact-form__form-wrap .gform-footer,
.c-contact-form__form-wrap .gform_footer{
  margin-top: 12px;
  padding: 0;
}


/* BUTTON */

.c-contact-form__form-wrap .gform_button,
.c-contact-form__form-wrap input[type="submit"]{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;
  padding: 0 22px;

  border-radius: 10px;
  border: none;

  background: #0A052D;
  color: #fff;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
  transition: all .25s ease;
}

.c-contact-form__form-wrap .gform_button:hover,
.c-contact-form__form-wrap input[type="submit"]:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px){

  .c-contact-form__grid{
    grid-template-columns: 1fr;
  }

}

@media (max-width: 640px){

  .c-contact-form{
    padding-block: 64px;
  }

  .c-contact-form__container{
    width: min(1280px, calc(100% - 40px));
  }

  .c-contact-form__title{
    font-size: 28px;
  }

  .c-contact-form__lead{
    font-size: 18px;
  }

  .c-contact-form__form-wrap{
    padding: 20px;
    border-radius: 14px;
  }

  .c-contact-form__form-wrap .ginput_complex{
    grid-template-columns: 1fr;
  }

}