.contact-page {
    color: #333333;
    letter-spacing: 0px;
}

.contact-main {
    position: relative;
    height: 2112px;
    background: #ffffff;
}

.contact-introduction {
    position: absolute;
    top: 110px;
    left: 50%;
    width: 760px;
    text-align: center;
    transform: translateX(-50%);
}

.contact-introduction h2 {
    margin: 0;
    color: #333333;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 48px;
}

.contact-introduction p {
    margin: 27px 0 0;
    color: #707070;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 26px;
}

.contact-form {
    position: absolute;
    top: 354px;
    left: 50%;
    width: 1440px;
    transform: translateX(-50%);
}

.contact-form-section,
.privacy-section {
    position: relative;
}

.contact-section-heading {
    display: flex;
    height: 60px;
    align-items: flex-start;
}

.contact-section-heading h3,
.privacy-section > h3 {
    margin: 0;
    color: #333333;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 30px;
}

.contact-section-heading p {
    margin: 3px 0 0 20px;
    color: #e51515;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0px;
    line-height: 32px;
}

.contact-box {
    border: 1px solid #dddddd;
    background: #ffffff;
}

.customer-grid {
    display: grid;
    height: 327px;
    padding: 61px 106px 57px 111px;
    grid-template-columns: repeat(2, 603px);
    grid-template-rows: repeat(2, 91px);
    column-gap: 15px;
    row-gap: 25px;
}

.contact-form label {
    display: flex;
    color: #333333;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0px;
    line-height: 32px;
    flex-direction: column;
}

.contact-form label em {
    display: inline;
    margin-left: 3px;
    color: #e51515;
    font-style: normal;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: calc(100% - 1px);
    margin-top: 8px;
    margin-left: 1px;
    border: 1px solid #dddddd;
    border-radius: 0;
    color: #333333;
    background: #ffffff;
    outline: none;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
    height: 51px;
    padding: 0 16px;
    flex-shrink: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #329c27;
}

.contact-form.was-validated [aria-invalid="true"] {
    border-color: #e51515;
    box-shadow: 0 0 0 1px #e51515;
}

.inquiry-section {
    margin-top: 54px;
}

.inquiry-fields {
    height: 597px;
    padding: 61px 106px 78px 111px;
}

.inquiry-fields label + label {
    margin-top: 25px;
}

.inquiry-fields textarea {
    height: 301px;
    padding: 16px;
    resize: none;
}

.privacy-section {
    margin-top: 25px;
}

.privacy-description {
    margin: 25px 0 0;
    color: #333333;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 25px;
}

.privacy-panel {
    height: 257px;
    margin-top: 19px;
    padding: 32px 24px;
    color: #333333;
    background: #fafafa;
    font-size: 16px;
    line-height: 25px;
}

.privacy-panel h4 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 25px;
}

.privacy-panel dl,
.privacy-panel dt,
.privacy-panel dd {
    margin: 0;
}

.privacy-panel dl > div {
    margin-top: 0;
}

.privacy-panel dt {
    font-weight: 700;
}

.privacy-panel dd {
    font-weight: 400;
}

.privacy-agreement {
    display: flex !important;
    margin-top: 23px;
    margin-left: 1px;
    align-items: center;
    flex-direction: row !important;
}

.privacy-agreement input {
    width: 20px;
    height: 20px;
    margin: 0 10px 0 0;
    border: 1px solid #333333;
    border-radius: 3px;
    appearance: none;
    accent-color: #19a806;
}

.privacy-agreement input:checked {
    border-color: #19a806;
    background-color: #19a806;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.25' d='m3 8 3.2 3.2L13 4.5'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 15px 15px;
}

.privacy-agreement span {
    font-size: 17px;
    font-weight: 500;
    line-height: 20px;
}

.contact-submit {
    display: block;
    width: 180px;
    height: 60px;
    margin: 60px auto 0;
    border: 2px solid #19a806;
    border-radius: 30px;
    color: #19a806;
    background: #ffffff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0px;
    line-height: 37px;
    text-align: center;
}

.contact-submit:hover,
.contact-submit:focus-visible {
    color: #ffffff;
    background: #19a806;
}

.contact-page .site-footer {
    height: 323px;
    min-height: 323px;
}

@media (max-width: 1520px) {
    .contact-form {
        width: calc(100% - (var(--page-gutter) * 2));
    }

    .customer-grid {
        padding-right: 7%;
        padding-left: 7%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .inquiry-fields {
        padding-right: 7%;
        padding-left: 7%;
    }
}

@media (min-width: 1101px) and (max-width: 1400px) {
    .locale-en .privacy-panel {
        height: 267px;
    }
}

@media (max-width: 1100px) {
    .contact-main {
        height: auto;
        padding: 86px var(--page-gutter) 110px;
    }

    .contact-introduction,
    .contact-form {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        transform: none;
    }

    .contact-introduction {
        margin: 0 auto;
    }

    .contact-form {
        margin-top: 100px;
    }

    .contact-section-heading {
        height: auto;
        min-height: 60px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }

    .contact-section-heading p {
        min-width: 0;
    }

    .customer-grid {
        height: auto;
        padding: 45px;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        row-gap: 32px;
    }

    .inquiry-fields {
        height: auto;
        padding: 45px;
    }

    .privacy-panel {
        height: auto;
    }
}

@media (max-width: 600px) {
    .locale-en.contact-page .site-footer {
        height: auto;
        min-height: 280px;
    }

    .contact-introduction {
        width: 100%;
    }

    .contact-introduction p br {
        display: none;
    }

    .contact-section-heading {
        height: auto;
        margin-bottom: 20px;
        flex-direction: column;
    }

    .contact-section-heading p {
        margin: 8px 0 0;
    }

    .customer-grid,
    .inquiry-fields {
        padding: 30px 22px;
    }

    .contact-form textarea {
        height: 220px;
    }
}
