/* Contact and privacy layouts based on the supplied desktop references. */

.contact-header {
    width: 100%;
    min-height: 490px;
    margin: 0;
    padding: 72px 0;
    background-position: center 46%;
}

.contact-header::before {
    background: linear-gradient(90deg, rgba(0, 3, 7, .98) 0%, rgba(0, 3, 7, .9) 37%, rgba(0, 3, 7, .25) 73%, rgba(0, 3, 7, .08) 100%);
}

.contact-header-content {
    width: 100%;
    padding: 0 76px;
}

.contact-header-badge,
.contact-info-badge {
    min-height: 27px;
    padding: 5px 13px;
    border-radius: 3px;
    font-size: 11px;
    letter-spacing: 0;
}

.contact-header-badge {
    margin-bottom: 22px;
}

.contact-header-title {
    max-width: 420px;
    margin-bottom: 20px;
    font-family: var(--font-sans);
    font-size: clamp(31px, 3.2vw, 42px);
    line-height: 1.23;
}

.contact-header-text {
    max-width: 480px;
    font-size: 14px;
    line-height: 1.55;
}

.contact-form-section {
    padding: 44px 0 70px;
}

.contact-form-container {
    width: min(1060px, calc(100% - 48px));
    padding: 0;
    display: block;
}

.contact-info-side {
    padding: 0;
    text-align: center;
}

.contact-info-badge {
    margin-bottom: 20px;
    min-width: 225px;
    justify-content: center;
}

.contact-info-title {
    max-width: 440px;
    margin: 0 auto 12px;
    font-family: var(--font-sans);
    font-size: clamp(26px, 2.7vw, 34px);
    line-height: 1.3;
}

.contact-info-description {
    max-width: 760px;
    margin: 0 auto 27px;
    color: #71777e;
    font-size: 13px;
    line-height: 1.65;
}

.contact-info-items {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 24px;
}

.contact-info-item {
    gap: 14px;
    text-align: left;
}

.contact-info-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 6px;
    box-shadow: none;
    font-size: 15px;
}

.contact-info-content h3 {
    margin-bottom: 2px;
    color: #222b34;
    font-size: 16px;
}

.contact-info-content p,
.contact-info-content a {
    color: #1d9bd1;
    font-size: 13px;
}

.contact-form-side {
    margin-top: 44px;
    padding: 30px 34px 28px;
    border-color: #a9d9ec;
    border-radius: 14px;
    background: #c8effd;
    box-shadow: none;
}

.contact-form-title {
    margin-bottom: 22px;
    font-family: var(--font-sans);
    font-size: 28px;
    text-align: center;
}

.contact-form-side form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 14px;
}

.contact-form-side .form-group {
    margin: 0;
}

.contact-form-side .contact-field-half {
    grid-column: span 1;
}

.contact-form-side .contact-field-full,
.contact-form-side .contact-recaptcha-wrapper,
.contact-form-side #recaptcha-error,
.contact-form-side .contact-consent,
.contact-form-side .contact-submit-btn {
    grid-column: 1 / -1;
}

.contact-form-side .form-label {
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 600;
}

.contact-form-side .form-control {
    min-height: 51px;
    padding: 13px 14px;
    border-color: #e6e8eb;
    border-radius: 6px;
    font-size: 13px;
    box-shadow: none;
}

.contact-form-side select.form-control {
    cursor: pointer;
}

.contact-form-side textarea.form-control {
    min-height: 108px;
}

.contact-recaptcha-wrapper {
    justify-content: flex-start;
    margin: 2px 0 0;
}

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: -2px 0 0;
    color: #647581;
    font-size: 0.76rem;
    font-weight: 400;
    line-height: 1.55;
}

.contact-consent input {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin-top: 2px;
    accent-color: #168fbe;
}

.contact-consent a {
    color: #168fbe;
    text-decoration: none;
}

#recaptcha-error {
    margin: -10px 0 0;
    text-align: left;
}

.contact-submit-btn {
    width: min(360px, 100%);
    min-height: 43px;
    margin: 0 auto;
    padding: 10px 24px;
    border-radius: 6px;
    background: linear-gradient(135deg, #158fc3, #25b3df);
    font-size: 15px;
}

.privacy-reference-page {
    color: #535b63;
    background: #fff;
}

.privacy-reference-page .page-header {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
    padding: 52px 30px 40px;
    border-bottom: 1px solid #e6e8ea;
    background: #fff;
}

.privacy-reference-page .page-header-title {
    margin-bottom: 13px;
    color: #12171d;
    font-family: var(--font-sans);
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.2;
}

.privacy-reference-page .page-header-text {
    max-width: 760px;
    color: #747b82;
    font-size: 13px;
    line-height: 1.55;
}

.privacy-reference-page #Content {
    width: min(1060px, calc(100% - 48px));
    max-width: none;
    margin: 0 auto !important;
    padding: 0 !important;
}

.privacy-reference-page .privacy-section {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    column-gap: 58px;
    margin: 0;
    padding: 42px 18px;
    border-bottom: 1px solid #e6e8ea;
}

.privacy-reference-page .privacy-section > h3 {
    grid-column: 1;
    grid-row: 1;
    margin: 0 !important;
    color: #111820;
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.28;
}

.privacy-reference-page .privacy-section > :not(h3) {
    grid-column: 2;
}

.privacy-reference-page .privacy-section p,
.privacy-reference-page .privacy-section li {
    color: #636b73;
    font-size: 12px;
    line-height: 1.62;
}

.privacy-reference-page .privacy-section p {
    margin: 0 0 10px;
}

.privacy-reference-page .privacy-section h5 {
    margin: 11px 0 8px !important;
    color: #28343f;
    font-size: 13px;
    font-weight: 700;
}

.privacy-reference-page .privacy-list {
    margin: 0 0 10px;
    padding-left: 18px;
}

.privacy-reference-page .privacy-list li {
    margin-bottom: 4px;
}

.privacy-reference-page .privacy-section a {
    color: #138fbe;
}

.privacy-reference-page .reference-cta {
    margin-top: 46px;
    margin-bottom: 54px;
}

@media (max-width: 991.98px) {
    .contact-header {
        width: 100%;
        min-height: 440px;
        padding: 58px 0;
        background-position: 60% center;
    }

    .contact-header-content {
        padding: 0 38px;
    }

    .contact-form-container {
        width: min(760px, calc(100% - 40px));
    }

    .contact-info-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .privacy-reference-page .privacy-section {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 34px;
    }
}

@media (max-width: 767.98px) {
    .contact-header {
        width: 100%;
        min-height: 410px;
        margin: 0;
        background-position: 66% center;
    }

    .contact-header::before {
        background: rgba(0, 4, 8, .73);
    }

    .contact-header-content {
        padding: 0 24px;
    }

    .contact-form-section {
        padding: 42px 0 56px;
    }

    .contact-info-items {
        grid-template-columns: 1fr;
    }

    .privacy-reference-page .page-header {
        width: 100%;
        padding: 40px 22px 32px;
    }

    .privacy-reference-page #Content {
        width: min(100% - 32px, 680px);
    }

    .privacy-reference-page .privacy-section {
        grid-template-columns: 1fr;
        gap: 17px;
        padding: 30px 4px;
    }

    .privacy-reference-page .privacy-section > h3,
    .privacy-reference-page .privacy-section > :not(h3) {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 575.98px) {
    .contact-form-container {
        width: min(100% - 28px, 540px);
    }

    .contact-form-side {
        padding: 22px 16px;
    }

    .contact-form-side form {
        grid-template-columns: 1fr;
    }

    .contact-form-side .contact-field-half {
        grid-column: 1;
    }

    .contact-info-items {
        grid-template-columns: 1fr;
        width: min(320px, 100%);
        margin-inline: auto;
    }

    .contact-recaptcha-wrapper {
        justify-content: center;
        transform-origin: left top;
    }

    .contact-recaptcha-wrapper .g-recaptcha {
        transform: scale(.88);
        transform-origin: left top;
        margin-right: -37px;
        margin-bottom: -9px;
    }
}
