.contact-page {
    background: #f3f3f1;
    color: #242424;
}

.contact-hero {
    position: relative;
    overflow: hidden;
    background: #171717;
    color: #fff;
    padding: 150px 0 4px;
}

.contact-hero::after {
    position: absolute;
    right: -80px;
    bottom: -240px;
    width: 580px;
    height: 580px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(255, 255, 255, .025), 0 0 0 140px rgba(255, 255, 255, .02);
    content: "";
    pointer-events: none;
}

.contact-hero-inner {
    position: relative;
    z-index: 1;
}

.contact-eyebrow {
    display: block;
    margin-bottom: 24px;
    color: #b7b7b7;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.contact-hero h1 {
    max-width: 800px;
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(36px, 5vw, 66px);
    font-weight: 600;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.contact-hero p {
    max-width: 580px;
    margin: 0;
    color: #c9c9c9;
    font-size: 16px;
    line-height: 1.7;
}

.contact-container {
    padding-top: 65px;
    padding-bottom: 80px;
}

.contact-main h3 {
    margin: 0 0 24px;
    color: #1b1b1b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.contact-page #map {
    height: 330px;
    overflow: hidden;
    border: 1px solid #dededb;
    border-radius: 18px;
    background: #e8e8e5;
}

.contact-page #map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-page #contactform,
.contact-page .contact-team .box_style_2 {
    border: 1px solid #e4e4e0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .035);
}

.contact-page #contactform {
    margin-top: 24px;
    padding: 32px;
}

.contact-page #contactform h2 {
    margin: 0 0 28px;
    color: #1b1b1b;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: -.03em;
}

.contact-page #contactform .form-group {
    margin-bottom: 20px;
}

.contact-page #contactform label {
    display: block;
    margin-bottom: 8px;
    color: #414141;
    font-size: 12px;
    font-weight: 600;
}

.contact-page #contactform .form-control {
    width: 100%;
    height: 48px;
    padding: 12px 14px;
    border: 1px solid #dededb;
    border-radius: 9px;
    background: #fafaf9;
    color: #202020;
    box-shadow: none;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.contact-page #contactform textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.contact-page #contactform .form-control:focus {
    border-color: #444;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .08);
    outline: none;
}

.contact-page .contact-submit {
    display: inline-block;
    min-height: 50px;
    padding: 14px 24px;
    border: 1px solid #1c1c1c;
    border-radius: 9px;
    background: #1c1c1c;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}

.contact-page .contact-submit:hover {
    border-color: #444;
    background: #444;
}

.contact-page .contact-submit:focus-visible,
.contact-page .contact-team a:focus-visible {
    outline: 3px solid #777;
    outline-offset: 3px;
}

.contact-page .contact-team .box_style_2 {
    margin: 0;
    padding: 32px;
}

.contact-page .contact-team h5 {
    margin: 0 0 8px;
    color: #1b1b1b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.5;
}

.contact-page .contact-team .box_style_2 > .row {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 25px 0;
    border-bottom: 1px solid #ededeb;
}

.contact-page .contact-team .box_style_2 > .row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.contact-page .contact-team .row > [class*="col-"] {
    padding: 0;
}

.contact-page .contact-team h4 {
    margin: 0 0 12px;
    color: #202020;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.02em;
}

.contact-page .contact-team ul {
    margin: 0;
    padding: 0;
}

.contact-page .contact-team li {
    margin: 0 0 8px;
    color: #777;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.contact-page .contact-team li:last-child {
    margin-bottom: 0;
}

.contact-page .contact-team li::before {
    margin-right: 7px;
    color: #777;
}

.contact-page .contact-team a {
    color: #555;
}

.contact-page .contact-team a:hover {
    color: #000;
    text-decoration: underline;
}

.contact-page .contact-team img {
    display: block;
    width: 100%;
    max-width: 160px;
    aspect-ratio: 1;
    margin-left: auto;
    border-radius: 14px;
    object-fit: cover;
}

@media (min-width: 992px) {
    .contact-layout {
        display: flex;
        align-items: flex-start;
    }

    .contact-layout > .contact-primary {
        width: 58.333333%;
    }

    .contact-layout > .contact-team {
        width: 41.666667%;
    }
}

@media (max-width: 991px) {
    .contact-team {
        margin-top: 24px;
    }

    .contact-page .contact-team .row > [class*="col-"]:first-child {
        flex: 1;
        width: auto;
    }

    .contact-page .contact-team .row > [class*="col-"]:last-child {
        flex: 0 0 150px;
        width: 150px;
        margin-left: 16px;
    }
}

@media (max-width: 767px) {
    .contact-hero {
        padding: 160px 0 60px;
    }

    .contact-hero::after {
        right: -250px;
    }

    .contact-container {
        padding-top: 42px;
        padding-bottom: 55px;
    }

    .contact-page #map {
        height: 260px;
    }

    .contact-page #contactform,
    .contact-page .contact-team .box_style_2 {
        padding: 24px;
    }

    .contact-page .contact-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-page .contact-team .box_style_2 > .row {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-page .contact-team .row > [class*="col-"]:first-child {
        width: 100%;
    }

    .contact-page .contact-team .row > [class*="col-"]:last-child {
        flex: none;
        width: 150px;
        max-width: 100%;
        margin: 18px 0 0;
    }

    .contact-page .contact-team .row > [class*="col-"]:last-child:empty {
        display: none;
    }

    .contact-page .contact-team .bi-envelope,
    .contact-page .contact-team .bi-microsoft-teams {
        white-space: nowrap;
        overflow-wrap: normal;
    }

    .contact-page .contact-team img {
        margin-left: 0;
    }
}
