.service_page {
    background: #FFFFFF;
    overflow: hidden;
}

.service_page img {
    max-width: 100%;
}

.service_page h1,
.service_page h2,
.service_page h3,
.service_page p {
    text-wrap: pretty;
}

.service_page h2 em {
    font-weight: 400;
    line-height: 100%;
}

.service_hero_bottom_block {
    background: #F4F4F4;
    padding: 55px 0;
}

.service_breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 130%;
    color: #000000;
}

.service_breadcrumbs a,
.service_breadcrumbs span {
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #000000;
}

.service_breadcrumbs a {
    transition: color 0.25s ease;
}

.service_breadcrumbs a:hover {
    color: #60534B;
}

.service_subtitle {
    margin-bottom: 38px;
    font-size: 18px;
    line-height: 130%;
}

.service_image {
    overflow: hidden;
    border-radius: 20px;
    background: #D9D9D9;
}

.service_image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service_image:hover img {
    transform: scale(1.03);
}

.service_gray_block {
    background: #F4F4F4;
}

.service_tinted_block {
    padding: 80px 0 95px;
    background: #BCB5AF;
    background-image: url(../img/choice.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service_tinted_block_small {
    padding: 75px 0;
}

.service_section {
    padding: 85px 0;
}

.service_two_columns {
    display: grid;
    grid-template-columns: minmax(0, 538px) minmax(0, 538px);
    justify-content: space-between;
    align-items: start;
    gap: 40px 80px;
}

.service_text_col .p14+.p14,
.service_list_col .p14+.p14 {
    margin-top: 28px;
}

.service_text_col h2 {
    margin-bottom: 30px;
}

.text_ul {
    margin-top: 0;
    margin-bottom: 20px;
}

.service_list_info li {
    list-style: disc;
    margin: 0;
    margin-left: 16px
}

.text_ul li::before {
    display: none !important;
}

.service_list_info p {
    margin-top: 20px;
}

.service_list_info li {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #000000;
}


/* Hero */

.service_hero_block {
    padding: 42px 0 40px;
}

.service_hero h1 {
    max-width: 985px;
    margin-bottom: 28px;
}

.service_hero p {
    max-width: 538px;
}

.service_hero_bottom {
    display: grid;
    grid-template-columns: minmax(0, 538px) minmax(0, 538px);
    justify-content: space-between;
    align-items: center;
    gap: 80px;
}

.service_image_wide {
    min-height: 256px;
    aspect-ratio: 538 / 256;
}

.service_hero_text {
    max-width: 538px;
}

.service_hero_text .p14+.p14 {
    margin-top: 18px;
}


/* Premium */

.service_premium_block {
    padding-top: 80px;
}

.service_image_text {
    min-height: 306px;
    /* margin-top: 45px; */
}

.service_icon_list>p {
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 130%;
}

.service_icon_list ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
}

.service_icon_list ul li {
    position: relative;
    min-height: 32px;
    padding-left: 62px;
    display: flex;
    align-items: center;
    list-style: none;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #000000;
}

.service_icon_list ul li::before {
    content: url(../img/icon/adv_li.svg);
    position: absolute;
    left: 0;
    top: 50%;
    width: 32px;
    height: 32px;
    transform: translateY(-50%);
}


/* Profiles */

.profiles_block {
    padding: 80px 0 72px;
}

.profiles_block h2 {
    margin-bottom: 48px;
}

.profiles_grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.profile_card {
    min-height: 225px;
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.profile_logo {
    min-height: 203px;
    width: 100%;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 14px;
}

.profile_logo img {
    width: auto;
    max-height: 66px;
    object-fit: contain;
}

.profile_card h3 {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 18px;
    line-height: 130%;
    text-decoration: underline;
    text-underline-offset: 4px;
    color: #000000;
}


/* Works */

.works_block {
    padding: 80px 0;
}

.works_block h2 {
    margin-bottom: 12px;
}

.works_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 80px;
    row-gap: 40px;
    margin-top: 40px;
}

.work_card {
    display: grid;
    grid-template-columns: 315px minmax(0, 1fr);
    gap: 28px;
    /* align-items: start; */
}

.work_image {
    height: 315px;
}

.work_text {
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.work_text h3 {
    margin-bottom: 18px;
    font-weight: 500;
    font-size: 18px;
    line-height: 130%;
}

.work_text a {
    display: inline-flex;
    margin-top: 24px;
    font-weight: 500;
    font-size: 14px;
    line-height: 130%;
    color: #000000;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.25s ease, text-underline-offset 0.25s ease;
}

.work_text a:hover {
    color: #60534B;
    text-underline-offset: 7px;
}


/* Characteristics */

.characteristics_block {
    padding: 80px 0;
}

.characteristics h2 {
    margin-bottom: 42px;
}

.characteristics_table {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 95px;
    max-width: 980px;
}

.characteristics_col h3 {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
}

.characteristics_col p {
    padding: 6px 0;
    font-size: 14px;
    line-height: 130%;
}

.characteristics_col_wide p {
    max-width: 560px;
}


/* Best places */

.best_places_block .title_flex {
    align-items: flex-start;
}

.best_places_caption {
    margin-top: 20px;
    margin-bottom: 34px;
    font-size: 18px;
    line-height: 130%;
}

.best_places_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.best_place_card {
    min-height: 315px;
    padding: 25px 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #FFFFFF;
    border-radius: 20px;
    transition: box-shadow 0.25s ease;
}

.best_place_card:hover {
    box-shadow: 0 18px 45px rgba(5, 9, 22, 0.08);
}

.best_place_card span {
    display: block;
    font-weight: 500;
    font-size: 64px;
    line-height: 130%;
    text-align: right;
    color: #BCB5AF;
}

.best_place_card p {
    font-weight: 500;
    font-size: 18px;
    line-height: 130%;
}

.best_places_bottom {
    max-width: 538px;
    margin-top: 55px;
}


/* Install and price */

.install_reason_block .service_icon_list,
.price_reason_block .service_icon_list {
    padding-top: 10px;
}

.price_factors_list ul {
    margin-bottom: 0;
}

.price_factors_list ul li::before {
    content: url(../img/icon/price_li.svg);
}


/* Customer benefits */

.customer_benefits_block {
    padding: 80px 0;
}

.customer_benefits {
    display: grid;
    grid-template-columns: minmax(0, 538px) minmax(0, 538px);
    justify-content: space-between;
    align-items: center;
    gap: 80px;
}

.customer_benefits_text h2 {
    margin-bottom: 30px;
}

.customer_benefits_image {
    height: 306px;
}


/* Why */

.service_why_block {
    padding: 80px 0 72px;
}

.service_why_advantages {
    margin-top: 55px;
}

.service_why_advantages>p {
    margin-bottom: 46px;
    font-size: 18px;
    line-height: 130%;
}

.service_why_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px 30px;
}

.service_why_bottom {
    max-width: 538px;
    margin-top: 55px;
}


/* FAQ */

.service_faq_block {
    padding-top: 80px;
}

.service_faq_block .faq_answer_inner .p14 {
    max-width: 710px;
}


/* Media */

@media (max-width: 1360px) {
    .service_page .container {
        width: calc(100% - 40px);
    }
}

@media (max-width: 1200px) {
    .service_two_columns,
    .service_hero_bottom,
    .customer_benefits {
        grid-template-columns: 1fr;
        gap: 42px;
    }
    .profiles_grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .works_grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .best_places_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .characteristics_table {
        grid-template-columns: 260px 1fr;
        gap: 45px;
    }
    .service_why_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service_hero_block {
        padding: 30px 0 45px;
    }
    .service_page .container {
        width: calc(100% - 28px);
    }
    .service_page h1 {
        font-size: 34px;
    }
    .service_page h2 {
        font-size: 30px;
    }
    .service_page h2 em {
        font-size: 42px;
    }
    .service_breadcrumbs {
        margin-bottom: 22px;
    }
    .service_hero h1 {
        margin-bottom: 35px;
    }
    .service_section,
    .profiles_block,
    .works_block,
    .characteristics_block,
    .customer_benefits_block,
    .service_why_block,
    .service_faq_block {
        padding: 45px 0;
    }
    .service_tinted_block,
    .service_tinted_block_small {
        padding: 45px 0;
    }
    .service_subtitle {
        margin-bottom: 24px;
        font-size: 16px;
    }
    .service_text_col .p14+.p14,
    .service_list_col .p14+.p14 {
        margin-top: 20px;
    }
    .service_icon_list>p {
        margin-bottom: 24px;
        font-size: 16px;
    }
    .service_icon_list ul {
        gap: 16px;
        margin-bottom: 28px;
    }
    .service_icon_list li {
        min-height: 30px;
        padding-left: 48px;
        font-size: 14px;
    }
    .service_icon_list li::before {
        width: 30px;
        height: 30px;
    }
    .service_image_wide,
    .service_image_text,
    .customer_benefits_image {
        height: auto;
        min-height: 0;
        aspect-ratio: 315 / 210;
        border-radius: 16px;
    }
    .profiles_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .profile_card {
        min-height: auto;
        padding: 16px 12px;
        border-radius: 16px;
    }
    .profile_logo {
        height: 60px;
        margin-bottom: 16px;
    }
    .profile_logo img {
        max-width: 110px;
        max-height: 42px;
    }
    .profile_card h3 {
        font-size: 15px;
    }
    .work_card {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .best_places_block .title_flex {
        flex-direction: column;
        gap: 20px;
    }
    .service_light_body img,
    .brand_page_body img,
    .profile_brand_body img {
        height: 100% !important;
    }
    .work_image {
        height: auto;
        aspect-ratio: 315 / 180;
        border-radius: 16px;
    }
    .characteristics_table {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .characteristics_col {
        padding: 20px;
        background: #FFFFFF;
        border-radius: 16px;
    }
    .best_places_grid {
        grid-template-columns: 1fr;
    }
    .best_place_card {
        min-height: 230px;
        padding: 22px;
        border-radius: 16px;
    }
    .best_place_card span {
        font-size: 52px;
    }
    .best_place_card p {
        font-size: 16px;
    }
    .best_places_caption {
        margin-top: 32px;
        margin-bottom: 24px;
        font-size: 16px;
    }
    .service_why_advantages {
        margin-top: 35px;
    }
    .service_why_grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 480px) {
    .service_page h1 {
        font-size: 30px;
    }
    .service_page h2 {
        font-size: 28px;
    }
    .profiles_grid {
        grid-template-columns: 1fr;
    }
}

.service_light_body footer {
    padding-top: 60px;
}


/* ========================================================================== */


/* Mobile polish for service/brand/profile pages */


/* ========================================================================== */

.service_light_body,
.brand_page_body,
.profile_brand_body {
    overflow-x: hidden;
}

.service_light_body img,
.brand_page_body img,
.profile_brand_body img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .service_light_body .service_breadcrumbs {
        display: none;
    }
    .service_light_body .service_hero_block {
        padding: 28px 0 34px;
    }
    .service_light_body .service_hero h1 {
        max-width: 348px;
        margin-bottom: 22px;
        font-size: 30px;
        line-height: 130%;
        letter-spacing: -0.05em;
    }
    .service_light_body .service_hero p,
    .service_light_body .service_hero_text .p14,
    .service_light_body .service_text_col .p14,
    .service_light_body .service_list_col .p14,
    .service_light_body .customer_benefits_text .p14 {
        font-size: 14px;
        line-height: 130%;
    }
    .service_light_body .service_hero_bottom_block {
        padding: 0 0 42px;
        background: #FFFFFF;
    }
    .service_light_body .service_hero_bottom {
        gap: 22px;
    }
    .service_light_body .service_image_wide {
        width: 100%;
        aspect-ratio: 348 / 166;
        border-radius: 20px;
    }
    .service_light_body .service_two_columns,
    .service_light_body .customer_benefits {
        gap: 28px;
    }
    .service_light_body .service_icon_list ul li {
        padding-left: 52px;
        font-size: 16px;
    }
    .service_light_body .profiles_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
    .service_light_body .profile_card {
        padding: 0;
        background: transparent;
    }
    .service_light_body .profile_logo {
        min-height: 72px;
        height: 72px;
        margin-bottom: 12px;
        border-radius: 14px;
    }
    .service_light_body .works_grid {
        gap: 30px;
    }
    .service_light_body .work_card {
        gap: 12px;
    }
    .service_light_body .work_image {
        aspect-ratio: 348 / 164;
        border-radius: 20px;
    }
    .service_light_body .work_text h3 {
        margin-bottom: 10px;
        font-size: 18px;
    }
    .service_light_body .characteristics_col {
        padding: 0;
        background: transparent;
        border-radius: 0;
    }
    .service_light_body .characteristics_table {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
        gap: 18px;
    }
    .service_light_body .characteristics_col h3 {
        min-height: 38px;
        margin-bottom: 16px;
        font-size: 14px;
    }
    .service_light_body .characteristics_col p {
        min-height: 42px;
        font-size: 12px;
        line-height: 130%;
    }
}

@media (max-width: 420px) {
    .service_light_body .container,
    .brand_page_body .container,
    .profile_brand_body .container {
        width: calc(100% - 42px);
    }
    .service_light_body .profiles_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}