/* =========================================
   CONTACT SECTION
========================================= */

.contact-section {
    width: 100%;
    background: #ffffff;
    padding: 45px 0;
    box-sizing: border-box;
}


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

.contact-section__container {
    display: grid;
    grid-template-columns: 450px minmax(0, 650px);
    justify-content: space-between;
    align-items: start;
    gap: 20px;
    max-width: 905px;
    margin: 0 auto;
}


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

.contact-section__info {
    width: 100%;
}

.contact-section__eyebrow {
    display: block;

    margin-bottom: 12px;

    padding-bottom: 5px;

    line-height: 1.4;
    font-weight: 400;

    color: #111111;
}


.contact-section__title {
    margin: 0;

    font-size: 35px;
    line-height: 1.13;
    font-weight: 700;

    color: #050505;
}


/* =========================================
   CONTACT DETAILS
========================================= */

.contact-section__details {
    margin-top: 32px;

    display: flex;
    flex-direction: column;
    gap: 27px;
}


.contact-section__detail {
    display: flex;
    align-items: center;
    gap: 16px;
}


.contact-section__icon {
    width: 20px;
    min-width: 20px;

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

    color: #050505;
}


.contact-section__icon img {
    width: 20px;
    height: 20px;

    display: block;
}


.contact-section__detail-content {
    min-height: 38px;

    padding-left: 11px;

    border-left: 1px solid #222222;

    display: flex;
    flex-direction: column;
    justify-content: center;
}


.contact-section__detail-content strong {
    display: block;

    margin-bottom: 3px;


    line-height: 1.2;
    font-weight: 700;

    color: #111111;
}


.contact-section__detail-content a {

    line-height: 1.3;

    color: #111111;
    text-decoration: none;
}


.contact-section__detail-content a:hover {
    text-decoration: underline;
}


/* =========================================
   SOCIAL
========================================= */

.contact-section__social {
    margin-top: 55px;
}


.contact-section__social h3 {
    margin: 0 0 11px;


    line-height: 1.2;
    font-weight: 700;

    color: #111111;
}


.contact-section__social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}


.contact-section__social-link {
    height: 27px;

    padding: 0 10px;

    border: 1px solid #222222;
    border-radius: 20px;

    display: inline-flex;
    align-items: center;
    gap: 5px;

    line-height: 1;

    color: #111111;
    text-decoration: none;

    background: #ffffff;

    box-sizing: border-box;
}


/* =========================================
   SOCIAL HOVER
   Keep WHITE background + BLACK text
========================================= */

.contact-section__social-link:hover {
    background: #ffffff;
    color: #111111;
    border-color: #222222;
}


/* =========================================
   SOCIAL ICON WRAPPER
========================================= */

.contact-section__social-icon {
    width: 11px;
    height: 11px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}


/* =========================================
   SOCIAL ICON IMAGES
========================================= */

.contact-section__social-icon img {
    width: 11px;
    height: 11px;

    display: block;

    object-fit: contain;

    /*
     * Turns WHITE SVG images BLACK.
     * This works because your SVGs are loaded
     * as <img>, not inline <svg>.
     */
    filter: brightness(0);
}


/* =========================================
   KEEP ICONS BLACK ON HOVER
========================================= */

.contact-section__social-link:hover .contact-section__social-icon img {
    filter: brightness(0);
}


/* =========================================
   FORM WRAPPER
========================================= */

.contact-section__form-wrapper {
    width: 100%;
    box-sizing: border-box;
}


.contact-section__form {
    width: 100%;

    padding: 30px 30px 30px;

    background: #F5F5F5;

    border: 1px solid #e4e4e4;
    border-radius: 7px;

    box-sizing: border-box;
}


/* =========================================
   FORM ROW
========================================= */

.contact-section__form-row {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 15px;

    margin-bottom: 12px;
}


/* =========================================
   FIELD
========================================= */

.contact-section__field {
    width: 100%;
    min-width: 0;
}


.contact-section__field--full {
    margin-bottom: 30px;
}


.contact-section__field label {
    display: block;

    margin-bottom: 6px;


    line-height: 1.2;
    font-weight: 500;

    color: #111111;
}


/* =========================================
   INPUT WRAPPER
========================================= */

.contact-section__input-wrapper {
    position: relative;

    width: 100%;
    height: 55px;

    display: flex;
    align-items: center;

    background: #ffffff;

    border-radius: 5px;

    box-sizing: border-box;
}


.contact-section__input-wrapper:focus-within {
    outline: 1px solid #0c6aa5;
}


/* =========================================
   INPUT ICON
========================================= */

.contact-section__input-icon {
    width: 33px;
    min-width: 33px;

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

    color: #a7a7a7;

    border-right: 1px solid #e3e3e3;

}


.contact-section__input-icon img {
    width: 15px;
    height: 15px;

    display: block;

    object-fit: contain;
}


.contact-section__input-icon svg {
    display: block;
}


/* =========================================
   INPUTS / SELECT
========================================= */

.contact-section__input-wrapper input,
.contact-section__input-wrapper select {
    width: 100%;
    height: 100%;

    padding: 0 10px;

    border: 0;
    outline: 0;

    background: transparent;

    font-family: inherit;

    font-weight: 400;

    color: #333333;

    box-sizing: border-box;
}


.contact-section__input-wrapper input::placeholder {
    color: #b4b4b4;
    opacity: 1;
}


.contact-section__input-wrapper select {
    appearance: none;
    -webkit-appearance: none;

    padding-right: 32px;

    color: #aaa;
}


.contact-section__input-wrapper select:valid {
    color: #333333;
}


.contact-section__select-arrow {
    position: absolute;

    right: 10px;
    top: 50%;

    transform: translateY(-50%);

    display: flex;

    pointer-events: none;

    color: #999999;
}


/* =========================================
   TEXTAREA
========================================= */

.contact-section__field textarea {
    width: 100%;
    height: 79px;

    padding: 11px;

    resize: none;

    border: 0;
    outline: 0;

    border-radius: 5px;

    background: #ffffff;

    font-family: inherit;
    line-height: 1.5;

    color: #333333;

    box-sizing: border-box;
}


.contact-section__field textarea::placeholder {
    color: #b4b4b4;
    opacity: 1;
}


.contact-section__field textarea:focus {
    outline: 1px solid #0c6aa5;
}


/* =========================================
   FORM BOTTOM
========================================= */

.contact-section__form-bottom {
    display: flex;
    align-items: center;

    gap: 22px;

    margin-top: 34px;
}


/* =========================================
   SUBMIT BUTTON
========================================= */

.contact-section__submit {
    height: 33px;

    padding: 0 9px 0 17px;

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

    gap: 13px;

    border: 0;
    border-radius: 20px;

    background: #0c6aa5;

    color: #ffffff;

    font-family: inherit;
    font-weight: 500;

    cursor: pointer;

    white-space: nowrap;
}


.contact-section__submit:hover {
    background: #095b8d;
}


.contact-section__submit-icon {
    width: 18px;
    height: 18px;

    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;

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

    line-height: 1;
}


/* =========================================
   TERMS
========================================= */

.contact-section__terms {
    margin: 0;

    line-height: 1.35;

    color: #333333;
}


.contact-section__terms a {
    color: #333333;
    text-decoration: underline;
}


/* =========================================
   FORM MESSAGES
========================================= */

.contact-section__message {
    padding: 12px 15px;

    margin-bottom: 12px;

    border-radius: 5px;

    line-height: 1.4;
}


.contact-section__message--success {
    background: #e9f7ef;
    color: #18733c;
}


.contact-section__message--error {
    background: #fdecec;
    color: #a42626;
}


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

@media (max-width: 900px) {

    .contact-section__container {
        grid-template-columns: 1fr;
        max-width: 650px;
        gap: 45px;
    }

    .contact-section__info {
        max-width: 500px;
    }

}


@media (max-width: 600px) {

    .contact-section {
        padding: 35px 20px;
    }

    .contact-section__container {
        width: 100%;
        gap: 35px;
    }

    .contact-section__title {
        font-size: 27px;
    }

    .contact-section__form {
        padding: 18px 14px;
    }

    .contact-section__form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-section__form-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-top: 25px;
    }

    .contact-section__terms {
        max-width: 100%;
    }

}