@import url("https://use.typekit.net/xce3khb.css");
.contact img {
  max-width: 100%;
}
.contact .title {
  text-align: center;
  margin-bottom: 20px;
}
.contact .form__message {
  align-items: flex-start;
}
.contact .icon-success {
  margin-top: 2px;
}
.contact .field {
  margin-bottom: 15px;
}
.contact .field__info {
  margin-bottom: 20px;
}
@media screen and (min-width: 960px) {
  .contact .field {
    margin-bottom: 20px;
  }
  .contact .field__info {
    margin-bottom: 30px;
  }
}
.contact__button {
  margin-top: 30px;
  text-align: center;
}
.contact__button .button {
  padding-left: 50px;
  padding-right: 50px;
}
@media screen and (min-width: 960px) {
  .contact__button {
    margin-top: 40px;
  }
}
@media screen and (min-width: 960px) {
  .contact__fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 20px;
  }
}
@media screen and (min-width: 960px) {
  .contact .title {
    margin-bottom: 30px;
  }
}
/* The ipad end responds to the mobile end in vertical screen */
/* @custom-media --tablet (max-width: 959px); */
/* @custom-media --gt-mobile (min-width: 751px); */
/* detectingScreen need to consider the configuration of the tablet */

.contact-top-text-1 {
    font-size: 32px;
    font-weight: 300;
    text-align: center;
    color: #133537;
    margin-bottom: 10px;
    line-height: 1.3;
        font-family: "jaf-bernino-sans-comp", sans-serif;
}

.contact-top-text-2 {
    font-size: 44px;
    font-weight: 300;
    text-align: center;
    color: #133537;
    margin: 40px auto 20px auto;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
        font-family: "jaf-bernino-sans-comp", sans-serif;
}
.contact-description-text {
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #133537;
    font-size: 18px;
    line-height: 1.65;
    text-align: center;
}
.contact-strong-line {
    font-weight: 900;
    /* stronger than rest */
    color: black;
    /* matches text */
    display: inline-block;
}

.contact-description-text p {
    margin-bottom: 12px;
}
/* ============================= */
/* MOBILE ONLY – CONTACT FORM   */
/* ============================= */
@media screen and (max-width: 959px) {

    /* Hide floating labels on mobile */
    .contact .field__label {
        display: none;
    }

    /* Inputs & textarea – mobile style */
    .contact .field__input,
    .contact .text-area {
        background-color: #f7edea;
        /* matches screenshot */
        border: 1px solid #e3d7d1;
        border-radius: 1px;
        padding: 16px 18px;
        font-size: 16px;
        color: #133537;
        box-shadow: none;
    }

    /* Consistent input height */
    .contact .field__input {
        height: 56px;
    }

    /* Textarea */
    .contact .text-area {
        min-height: 160px;
        resize: none;
    }

    /* Placeholder color */
    .contact .field__input::placeholder,
    .contact .text-area::placeholder {
        color: #7a8f8d;
        opacity: 1;
    }

    /* Stack fields properly */
    .contact__fields {
        display: block;
    }

    /* Spacing between fields */
    .contact .field {
        margin-bottom: 14px;
    }

}
/* ================================= */
/* MOBILE ONLY – FIX INPUT WIDTHS   */
/* ================================= */
@media screen and (max-width: 959px) {

    /* Make form take full width */
    .contact form,
    .contact .contact-form {
        width: 100%;
    }

    /* Each field full width */
    .contact .field {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    /* Inputs & textarea truly full width */
    .contact .field__input,
    .contact .text-area {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        display: block;
    }

    /* Remove any leftover grid behavior */
    .contact__fields {
        display: block !important;
        width: 100%;
    }

    /* Fix Name / Email spacing */
    .contact__fields .field {
        margin-bottom: 14px;
    }

}
/* ===================================== */
/* MOBILE – FLOAT LABEL ON FOCUS ONLY   */
/* ===================================== */
@media screen and (max-width: 959px) {

    /* Field wrapper needs positioning */
    .contact .field {
        position: relative;
    }

    /* Hide label by default */
    .contact .field__label {
        display: block;
        position: absolute;
        top: 8px;
        left: 14px;
        font-size: 12px;
        color: #7a8f8d;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
        background: #f9efea;
        padding: 0 4px;
    }

    /* Show label ONLY on focus or when filled */
    .contact .field__input:focus+.field__label,
    .contact .field__input:not(:placeholder-shown)+.field__label,
    .contact .text-area:focus+.field__label,
    .contact .text-area:not(:placeholder-shown)+.field__label {
        opacity: 1;
    }

    /* Push text down when label appears */
    .contact .field__input,
    .contact .text-area {
        padding-top: 22px;
    }

    /* Stronger focus border */
  
}