.hero_banner_bg {

    background-color: var(--bg);
    background-image: linear-gradient(270deg, rgba(0, 120, 114, 0.24), rgba(6, 27, 40, 0.24), rgba(0, 120, 114, 0.24));
    height: 320px;
    min-height: 280px;
}

.hero_banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 280px;
    height: 100%;
    max-width: 1290px;
    width: 100%;
    color: #fff;
    overflow: hidden;
    margin: 0 auto;
}

.banner_section{
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.hero_content {
    position: relative;
    width: max-content;
    max-width: min(630px, 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    padding: 0;
}

.hero_btn {
    background: linear-gradient(90deg, #ffc6b3 0%, #fb8d69 50%, #ffc6b3 100%);
    border: none;
    border-radius: 14px;
    padding: 20px 50px;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 24px;
    text-align: center;
    color: var(--black);
}

.link_btn_wrapper {
    position: relative;
    padding: 13px 30px;
    border-radius: 14px;
    cursor: pointer;
    overflow: hidden;
    width: max-content;
    margin: 40px auto 0 auto;
}

.link_btn_wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #ffc6b3 0%, #fb8d69 50%, #ffc6b3 100%);
    transition: opacity 0.3s ease-in-out;
}

.link_btn_wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--acsent);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.link_btn_wrapper:hover::after {
    opacity: 1;
}

.link_btn_text {
    position: relative;
    /* чтобы текст был поверх */
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 20px;
    text-align: center;
    z-index: 1;
    color: var(--black);
}

.black_blue_container {
    padding: 70px 0;
    background-color: var(--bg);
    background-image: linear-gradient(270deg, rgba(0, 120, 114, 0.24), rgba(6, 27, 40, 0.24), rgba(0, 120, 114, 0.24));
}

.custom_h2 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 52px;
    color: var(--dark-blue);
    position: relative;
    margin-bottom: 50px;
}

.custom_h2::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: black;
    left: -100%;
    top: 50%;
    transform: translate(-2%, -50%);
    display: none;
}

.advantages_wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.text_section_title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 52px;
    text-align: center;
    color: var(--white);
}
.advantages_aditional_text{
    text-align: center;
    font-size: 15px;
}

.advantages_list {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.advantage_item {
    flex: 0 0 33%;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.advantage_number {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 50px;
    text-align: center;
    background: var(--dark-blue);
    border-radius: 14px;
    color: var(--acsent);
    margin-bottom: 10px;

}

.advantage_title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 28px;
    text-align: center;
    color: var(--white);
}

.advantage_text {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 15px;
    line-height: 173%;
    text-align: center;
    color: var(--white);
}

.tabs_container {
    display: flex;
    gap: 30px;
    margin-bottom: 100px;
}

.tabs_container {
    flex-direction: column;
}

.tab_item {
    flex: 1;
    display: flex;
    gap: 20px;
}

.tab_btn {
    cursor: pointer;
    flex: 0 0 610px;
    position: relative;
}

.tab_item.active .tab_btn_text {
    opacity: 1;
}
.tab_item.active .tab_btn_text{
    font-size: 52px;
}
.tab_btn_text {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 34px;
    color: var(--dark-blue);
    opacity: 0.34;
    transition: opacity 0.3s ease;
}

.tab_content {
    display: none;
}

.tab_item.active .tab_content {
    display: block;
}

.tab_pane {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 17px;
    line-height: 188%;
    color: var(--dark-blue);
    animation: fade 0.3s ease;
}


@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




.contacts-links-block {
    padding: 50px 0;
    width: 100%;
    background: rgba(6, 27, 40, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 70px auto;
    border-radius: 50px;
    position: relative;
}

.contacts-links-block::before {
    width: 100%;
    max-width: 600px;
    height: 100%;
    content: '';
    display: block;
    background: linear-gradient(270deg, rgba(6, 27, 40, 0) 0%, rgba(0, 120, 114, 0.24) 100%);
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
    border-radius: 50px 0 0 50px;
}

.contacts-links-block::after {
    width: 100%;
    max-width: 600px;
    height: 100%;
    content: '';
    display: block;
    background: linear-gradient(270deg, rgba(6, 27, 40, 0) 0%, rgba(0, 120, 114, 0.24) 100%);
    position: absolute;
    z-index: 0;
    right: 0;
    top: 0;
    border-radius: 50px 0 0 50px;
    transform: rotate(-180deg);
}

.contacts-links-block-container {
    display: flex;
    flex-flow: row wrap;
    padding: 0 20px;
    gap: 40px 100px;
}

.contacts-links-block__list {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
}

.contacts-links-block__title {
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 700;
    font-size: 52px;
    line-height: 62px;
    color: #FFFFFF;
    margin-bottom: 0;
    flex: 0 0 100%;
}

.contacts-links-block__text {
    flex: 1;
}

.contacts-links-block__text p {
    font-family: var(--second-family);
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    line-height: 32px;
    color: #FFFFFF;
}

.contacts-links-block__list-item {
    flex: 0 0 auto;
    width: 100%;
    max-width: max-content;
    display: flex;
    border-radius: 20px;
    height: auto;
    padding: 0;
}

.contacts-links-block__list-item-icon {
    background: rgba(14, 40, 56, 64%);
    width: 80px;
    height: 80px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
}

.contacts-links-block__list-item-link {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 34px;
    color: #FFFFFF;
    width: 100%;
}

.contacts-links-block__list-item img {
    width: 30px;
    height: 30px;
}

.contacts-form__block {
    flex: 1;
    display: flex;
    flex-flow: column;
    width: 100%;
    align-items: flex-start;
    gap: 30px;
}

.contacts-form {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 20px;
    border-radius: 30px;
    padding: 30px;
    background: rgba(14, 40, 56, 1);
    position: relative;
}

.contacts-form__title {
    flex: 0 0 100%;
    width: 100%;
    margin-bottom: 10px;
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 500;
    font-size: 28px;
    line-height: 34px;
    color: #FFFFFF;
}

.contacts-form .form-field {
    flex: 0 0 calc(50% - 10px);
    position: relative;
    z-index: 1;
}

.contacts-form .form-field.message {
    flex: 0 0 100%;
    position: relative;
    z-index: 1;
}

.error-message {
    position: absolute;
    top: 0;
    left: 10px;
    color: var(--acsent);
    font-size: 13px;
    font-weight: 500;
    z-index: 10;
}

.contacts-form input {
    height: 50px;
    width: 100%;
    border-radius: 14px;
    background: rgba(28, 74, 102, 44%);
    border: none;
    box-shadow: none;
    padding: 10px 20px;
}

.contacts-form input,
.contacts-form textarea {
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: rgba(255, 255, 255, 1);
    position: relative;
    z-index: 1;
}

.contacts-form input::placeholder {
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: rgba(255, 255, 255, 34%);
}

.contacts-form input:focus,
.contacts-form textarea:focus {
    border-color: #888;
    outline: none;
}

.form-field input.error,
.form-field textarea.error {
    border: 1px solid var(--acsent);
}

.contacts-form textarea {
    height: auto;
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
    background: rgba(28, 74, 102, 44%);
    border: none;
    box-shadow: none;
    padding: 15px 20px;
    flex: 0 0 100%;
}

.contacts-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.contacts-form button {
    flex: 0 0 100%;
    border-radius: 14px;
    background: linear-gradient(90deg, #FFC6B3 0%, #FB8D69 50%, #FFC6B3 100%);
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    color: #252525;
    border: none;
    box-shadow: none;
    outline: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: max-content;
    margin: 0 auto;
}
@media (max-width: 1600px) {
    
    .hero_content {
        gap: 24px;
        padding: 0;
    }
}
@media screen and (max-width: 1240px) {
    .sg-inner-container {
        padding-inline: var(--sg-container-sm-padding);
    }

    .contacts-links-block__list {
        gap: 30px;
    }

    .contacts-links-block-container {
        gap: 30px 50px;
    }
}
@media (max-width: 1170px) {
    .tab_btn {
        cursor: pointer;
        flex: 0 0 410px;
        position: relative;
    }

    .tabs_container {
        margin-bottom: 70px;
    }

    .custom_h2::before {
        display: none;
    }
    
    .search_card_container {
        border-radius: 14px;
        max-width: 140px;
        padding: 5px;
    }
    .search_card_wrapper {
        min-height: auto;
        border-radius: 14px;
    }
    .serach_card_price{
        display: none;
    }
    .search_card_title{
        justify-content: center;
    }

}
@media screen and (max-width: 1024px) {
   

    .contacts-content-wrapper__content {
        gap: 20px;
    }


    .sg-container,
    .contacts-links-block {
        max-width: 100% !important;
        border-radius: 0;
    }

    .contacts-links-block::before,
    .contacts-links-block::after {
        border-radius: 0;
    }
}
@media screen and (max-width: 990px) {

    .contacts-links-block__list {
        flex-flow: column;
        justify-content: center;
        align-items: center;
    }

}
@media (max-width: 940px) {
   
   
    .hero_content {
        max-width: 500px;
        gap: 50px;
        align-items: flex-start;
    }
    .hero_btn{
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .hero_content .custom_h1{
        font-size: 32px;
        line-height: 56px;
    }

    .contacts-links-block {
        margin: 50px auto;
    }

    .tab_item.active .tab_btn_text{
        font-size: 44px;
    }

    .tab_item {
        flex-direction: column;
    }

    .tab_btn {
        flex: none;
    }

    .tab_btn_text {
        font-size: 32px;
    }

   

    .advantages_list {
        flex-direction: column;
        gap: 30px;
        padding-bottom: 40px;
    }

    .custom_h2,
    .text_section_title {
        font-size: 44px;
    }

    .tabs_container {
        margin-bottom: 50px;
    }

    .advantage_number {
        width: 60px;
        height: 60px;
        font-size: 32px;
    }
}
@media (max-width: 630px) {
    .hero_banner_bg {
        height: 260px;
        min-height: 240px;
    }
     
   
    .hero_content {
        align-items: center;
        margin:  0 auto;
        height: auto;
        max-width: 100%;
        gap: 20px;
    }
    .hero_btn {
        margin-left: 0;
        font-size: 20px;
        padding: 13px 30px;
    }
    .main_container.banner_conteiner {
        height: 100%;
    }
    .tab_btn_text {
        font-size: 24px;
    }
    
    .tab_item.active .tab_btn_text{
        font-size: 32px;
    }
    
    .tab_pane {
        font-size: 15px;
    }
    
    .custom_h2,
    .text_section_title {
        font-size: 32px;
    }
    
    .tabs_container {
        margin-bottom: 40px;
    }
    
    .advantage_number {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .advantage_title {
        font-size: 20px;
    }

}

@media screen and (max-width: 560px) {
    .contacts-links-block-container {
        flex-flow: column;
        gap: 15px;
        padding: 0 15px !important;
    }

    .contacts-links-block__list {
        flex-flow: row;
    }

    .contacts-form {
        padding: 15px 10px;
        gap: 10px;
    }

    .contacts-form__title {
        margin-bottom: 0;
        text-align: center;
        font-size: 24px;
        line-height: 29px;
    }

    .contacts-links-block {
        margin: 40px auto;
        padding: 30px 0;
    }

    .contacts-links-block__list-item-link {
        font-size: 17px;
        line-height: 20px;
    }

    .sg-inner-container {
        padding-inline: 0;
    }


}
