.contact_banner {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: flex-end;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.contact_banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 18, 24, 0.26) 0%, rgba(14, 18, 24, 0.18) 36%, rgba(14, 18, 24, 0.42) 100%);
}

.contact_banner .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.contact_banner_content {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 0 56px;
}

.contact_banner_content .title {
    margin: 0;
    color: #fff;
    font-family: "Playfair Display", serif;
    font-size: 52px;
    line-height: 1.08;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

.contact_intro {
    padding: 92px 0 80px;
    background: #fff;
}

.contact_intro_content {
    max-width: 1040px;
    margin: 0 auto 72px;
}

.contact_intro_content h2 {
    margin: 0 0 26px;
    color: #171717;
    font-family: "Playfair Display", serif;
    font-size: 32px;
    line-height: 1.35;
}

.contact_intro_content p {
    max-width: 1080px;
    margin: 0 auto;
    color: #7b7b7b;
    font-size: 18px;
    line-height: 1.9;
}

.contact_intro_actions {
    display: flex;
    justify-content: center;
    gap: 26px;
    margin-top: 42px;
}

.contact_intro_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 288px;
    min-height: 66px;
    padding: 16px 28px;
    background: #b12d89;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.contact_intro_btn:hover,
.contact_intro_btn:focus {
    background: #951f72;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.contact_info_panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #f7f1e4;
    padding: 54px 40px;
}

.contact_info_item {
    padding: 22px 34px;
    text-align: center;
}

.contact_info_item:not(:last-child) {
    border-right: 1px solid rgba(177, 45, 137, 0.24);
}

.contact_info_icon {
    margin-bottom: 20px;
    color: #b12d89;
    font-size: 38px;
    line-height: 1;
}

.contact_info_item h3 {
    margin: 0 0 20px;
    color: #b12d89;
    font-family: "Playfair Display", serif;
    font-size: 32px;
    line-height: 1.2;
}

.contact_info_item p {
    margin: 0 0 10px;
    color: #171717;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.contact_info_item p:last-child {
    margin-bottom: 0;
}

.contact_info_item a {
    color: #171717;
    text-decoration: none;
}

.contact_info_item a:hover,
.contact_info_item a:focus {
    color: #b12d89;
    text-decoration: none;
}

.contact_map_section {
    padding: 28px 0px;
    background: #fff;
}

.contact_map_section iframe {
    display: block;
    width: 100%;
    border: 0;
}

.contact_form_section {
    position: relative;
    padding: 82px 0 72px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.contact_form_section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(32, 16, 14, 0.56);
}

.contact_form_section .container {
    position: relative;
    z-index: 1;
}

.contact_form_intro {
    max-width: 880px;
    margin: 0 auto 38px;
}

.contact_form_intro h2 {
    margin: 0 0 20px;
    color: #fff;
    font-family: "Playfair Display", serif;
    font-size: 32px;
    line-height: 1.2;
}

.contact_form_intro p {
    margin: 0 auto;
    max-width: 840px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    line-height: 1.75;
}

.contact_form_card {
    max-width: 840px;
    margin: 0 auto;
}

.contact_form_card .form-group {
    margin-bottom: 18px;
}

.contact_form_row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact_form_card .form-control {
    height: 64px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 22px;
    color: #535353;
    font-size: 18px;
}

.contact_form_card textarea.form-control {
    height: 156px;
    padding: 18px 22px;
    resize: vertical;
}

.contact_form_card .form-control::placeholder {
    color: #6f6f6f;
    opacity: 1;
}

.contact_form_submit {
    min-width: 160px;
    min-height: 66px;
    border: 0;
    background: #f0ca72;
    color: #171717;
    font-size: 18px;
    font-weight: 500;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.contact_form_submit:hover,
.contact_form_submit:focus {
    background: #e0b85d;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .contact_banner {
        min-height: 620px;
    }

    .contact_banner_content {
        padding: 0 0 44px;
    }

    .contact_banner_content .title {
        font-size: 42px;
    }

    .contact_intro {
        padding: 74px 0 64px;
    }

    .contact_intro_content {
        margin-bottom: 50px;
    }

    .contact_intro_actions {
        flex-wrap: wrap;
        gap: 18px;
    }

    .contact_info_panel {
        grid-template-columns: 1fr;
        padding: 26px 24px;
    }

    .contact_info_item {
        padding: 28px 16px;
    }

    .contact_info_item:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid rgba(177, 45, 137, 0.24);
    }

    .contact_form_section {
        padding: 68px 0 60px;
    }
}

@media (max-width: 767px) {
    .contact_banner {
        min-height: 520px;
        background-position: center;
    }

    .contact_banner_content {
        padding: 0 0 34px;
    }

    .contact_banner_content .title {
        font-size: 32px;
        line-height: 1.15;
    }

    .contact_intro {
        padding: 58px 0 48px;
    }

    .contact_intro_content {
        margin-bottom: 38px;
    }

    .contact_intro_content h2 {
        margin-bottom: 18px;
        font-size: 32px;
    }

    .contact_intro_content p {
        font-size: 18px;
        line-height: 1.75;
    }

    .contact_intro_actions {
        gap: 14px;
        margin-top: 30px;
    }

    .contact_intro_btn {
        width: 100%;
        min-width: 0;
        min-height: 58px;
    }

    .contact_info_panel {
        padding: 18px 16px;
    }

    .contact_info_icon {
        margin-bottom: 16px;
        font-size: 32px;
    }

    .contact_info_item h3 {
        margin-bottom: 14px;
        font-size: 32px;
    }

    .contact_info_item p {
        font-size: 18px;
        line-height: 1.65;
    }

    .contact_map_section {
        padding-bottom: 20px;
    }

    .contact_form_section {
        padding: 56px 0 48px;
    }

    .contact_form_intro {
        margin-bottom: 28px;
    }

    .contact_form_intro h2 {
        margin-bottom: 14px;
        font-size: 32px;
    }

    .contact_form_intro p {
        font-size: 18px;
        line-height: 1.7;
    }

    .contact_form_row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact_form_card .form-control {
        height: 58px;
        padding: 0 18px;
    }

    .contact_form_card textarea.form-control {
        height: 140px;
        padding: 16px 18px;
    }

    .contact_form_submit {
        width: 100%;
        min-height: 58px;
    }
}
