.contact-page {
    padding-top: 36px;
    background: linear-gradient(135deg, #f7f9ff 0, #fff 45%, #eef4ff 100%)
}

.contact-container {
    width: min(100% - 48px, 1420px);
    margin-inline: auto
}

.contact-section {
    padding-bottom: 30px
}

.contact-card,
.form-card,
.consult-card,
.benefits-card {
    border: 1px solid #e2e8f3;
    border-radius: 9px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 38px rgba(28, 54, 112, .07)
}

.contact-card {
    padding: 34px 35px 31px
}

.contact-title h1 {
    margin: 0;
    color: #11152b;
    font-size: 26px
}

.contact-title span {
    display: block;
    width: 58px;
    height: 3px;
    margin-top: 13px;
    border-radius: 3px;
    background: #1648ef
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 25px
}

.contact-info-item {
    min-height: 165px;
    padding: 0 24px;
    text-align: center;
    border-right: 1px solid #dfe5f0
}

.contact-info-item:last-child {
    border: 0
}

.contact-info-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    border-radius: 50%;
    color: #1648ef;
    background: #f0f4ff;
    font-size: 27px;
    box-shadow: inset 0 0 0 1px #e4ebff
}

.contact-info-item h2 {
    margin: 0 0 9px;
    color: #11152b;
    font-size: 14px
}

.contact-info-item p,
.contact-info-item a {
    display: block;
    margin: 0;
    color: #303b52;
    font-size: 12px;
    line-height: 1.55
}

.message-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(290px, .85fr);
    gap: 27px
}

.form-card {
    padding: 32px 35px
}

.form-heading h2 {
    margin: 0 0 8px;
    font-size: 24px
}

.form-heading p {
    margin: 0 0 25px;
    color: #556077;
    font-size: 13px
}

.contact-form {
    display: grid;
    gap: 15px
}

.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 28px
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: #1f2940;
    font-size: 12px;
    font-weight: 600
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #d9e1ee;
    border-radius: 5px;
    outline: 0;
    color: #222c42;
    background: #fff;
    font: inherit;
    font-size: 13px;
    transition: border-color .2s, box-shadow .2s
}

.contact-form input,
.contact-form select {
    height: 47px;
    padding: 0 13px
}

.contact-form textarea {
    min-height: 125px;
    padding: 13px;
    resize: vertical
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #1648ef;
    box-shadow: 0 0 0 3px rgba(22, 72, 239, .1)
}

.privacy-check {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-content: start;
    gap: 9px !important
}

.privacy-check input {
    width: 17px;
    height: 17px
}

.privacy-check a {
    color: #1648ef
}

.contact-form button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 235px;
    padding: 16px 23px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: linear-gradient(135deg, #164fee, #0739d4);
    box-shadow: 0 8px 18px rgba(22, 72, 239, .2);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer
}

.consult-card {
    display: flex;
    overflow: hidden;
    flex-direction: column
}

.consult-copy {
    padding: 34px 35px 28px
}

.consult-heading {
    display: flex;
    align-items: center;
    gap: 20px
}

.consult-heading i {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    flex: none;
    border-radius: 50%;
    color: #fff;
    background: #073ed8;
    font-size: 29px
}

.consult-heading h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.25
}

.consult-copy>p {
    margin: 24px 0;
    color: #465169;
    font-size: 14px;
    line-height: 1.6
}

.consult-copy>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    border: 2px solid #1648ef;
    border-radius: 6px;
    color: #1648ef;
    font-size: 12px;
    font-weight: 800
}

.consult-image {
    min-height: 260px;
    flex: 1;
    background: url('https://www.cgi.com/sites/default/files/3-consultants-discussing-business.jpg') center/cover
}

.benefits-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 29px 24px
}

.benefit {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 0 26px;
    border-right: 1px solid #dde4f0
}

.benefit:last-child {
    border: 0
}

.benefit>i {
    color: #1648ef;
    font-size: 34px
}

.benefit h2 {
    margin: 0 0 7px;
    font-size: 14px
}

.benefit p {
    margin: 0;
    color: #596477;
    font-size: 11px;
    line-height: 1.45
}

.contact-cta {
    position: relative;
    overflow: hidden;
    padding: 31px 0;
    color: #fff;
    background: linear-gradient(120deg, #0759e8, #083acb 68%, #0752e6)
}

.contact-cta:after {
    content: '';
    position: absolute;
    right: -100px;
    top: -180px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%
}

.contact-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px
}

.contact-cta-copy {
    display: flex;
    align-items: center;
    gap: 20px
}

.contact-cta-copy>i {
    display: grid;
    place-items: center;
    width: 65px;
    height: 65px;
    flex: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    font-size: 27px
}

.contact-cta h2 {
    margin: 0 0 7px;
    font-size: 22px
}

.contact-cta p {
    margin: 0;
    color: #dce9ff;
    font-size: 13px
}

.contact-cta-inner>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-width: 235px;
    padding: 17px 24px;
    border-radius: 6px;
    color: #1648ef;
    background: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(0, 24, 98, .2)
}

@media(max-width:1100px) {
    .contact-info-item {
        padding: 0 14px
    }

    .message-grid {
        grid-template-columns: 1.4fr .8fr
    }

    .benefit {
        padding: 0 14px
    }

    .consult-copy {
        padding: 28px 24px
    }

    .consult-heading {
        gap: 13px
    }
}

@media(max-width:850px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 0
    }

    .contact-info-item {
        border-right: 1px solid #dfe5f0
    }

    .contact-info-item:nth-child(2n) {
        border-right: 0
    }

    .contact-info-item:last-child {
        grid-column: 1/-1
    }

    .message-grid {
        grid-template-columns: 1fr
    }

    .consult-card {
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .benefits-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 0
    }

    .benefit:nth-child(2) {
        border: 0
    }

    .contact-cta-inner {
        align-items: flex-start;
        flex-direction: column
    }

    .contact-cta-inner>a {
        width: 100%
    }
}

@media(max-width:560px) {
    .contact-page {
        padding-top: 22px
    }

    .contact-container {
        width: min(100% - 32px, 1420px)
    }

    .contact-card,
    .form-card {
        padding: 25px 20px
    }

    .contact-title h1 {
        font-size: 23px
    }

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

    .contact-info-item {
        min-height: auto;
        padding: 0 10px 25px;
        border: 0 !important;
        border-bottom: 1px solid #e1e7f1 !important
    }

    .contact-info-item:last-child {
        grid-column: auto;
        padding-bottom: 0;
        border-bottom: 0 !important
    }

    .field-grid {
        grid-template-columns: 1fr;
        gap: 15px
    }

    .contact-form button {
        width: 100%
    }

    .consult-card {
        display: flex
    }

    .consult-image {
        min-height: 220px
    }

    .benefits-card {
        grid-template-columns: 1fr;
        padding: 25px 20px;
        gap: 0
    }

    .benefit {
        padding: 20px 4px;
        border: 0;
        border-bottom: 1px solid #e1e7f1
    }

    .benefit:first-child {
        padding-top: 0
    }

    .benefit:last-child {
        padding-bottom: 0;
        border: 0
    }

    .contact-cta-copy {
        align-items: flex-start;
        flex-direction: column
    }

    .contact-cta h2 {
        font-size: 21px
    }
}

.contact-image-hero {
    width: 100%;
    overflow: hidden;
    background: #fff
}

.contact-image-hero img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain
}

.field-error {
    min-height: 0;
    color: #c62828;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35
}

.field-error:empty {
    display: none
}

.contact-form [aria-invalid=true] {
    border-color: #d32f2f;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, .08)
}

.form-status {
    color: #c62828;
    font-size: 12px;
    font-weight: 600
}

.form-status:empty {
    display: none
}

.contact-form button:disabled {
    cursor: wait;
    opacity: .72
}

.modal-open {
    overflow: hidden
}

.contact-modal[hidden] {
    display: none
}

.contact-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px
}

.contact-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 17, 43, .68);
    backdrop-filter: blur(4px)
}

.contact-modal__panel {
    position: relative;
    width: min(100%, 430px);
    padding: 42px 36px 34px;
    border: 1px solid rgba(22, 72, 239, .12);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(5, 22, 70, .28);
    text-align: center;
    animation: contact-modal-in .24s ease-out
}

.contact-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    color: #536078;
    background: #f2f5fb;
    font-size: 23px;
    line-height: 1;
    cursor: pointer
}

.contact-modal__icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #1d5bf3, #0a38cf);
    box-shadow: 0 10px 24px rgba(22, 72, 239, .27);
    font-size: 36px
}

.contact-modal h2 {
    margin: 0 0 10px;
    color: #11152b;
    font-size: 28px
}

.contact-modal p {
    margin: 0 auto 26px;
    color: #596477;
    font-size: 14px;
    line-height: 1.65
}

.contact-modal__button {
    min-width: 130px;
    padding: 13px 24px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: linear-gradient(135deg, #164fee, #0739d4);
    box-shadow: 0 8px 18px rgba(22, 72, 239, .2);
    font-weight: 700;
    cursor: pointer
}

@keyframes contact-modal-in {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.97)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.consult-image {
    overflow: hidden;
    background: #eef3ff !important
}

.consult-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom
}