h1,h2,h3,h4,h5,h6 {
    font-size: 2rem;
    line-height: 1.25;
    color: var(--dark-color);
    font-weight: 500;
    margin: 75px 0 45px;
}
p:not( [class] ) {
    margin: 1rem 0;
    font-size: 1.25rem;
}
/* banner */
.page-front__hero.slider-wrapper {
    margin: 0 -12px;
    overflow: hidden;
    background-color: #FAF3EF;
}
.page-front__hero.slider-wrapper .slider-track {
    display: flex;
    align-items: flex-start;
    transition: transform 0.5s ease;
}
.page-front__hero.slider-wrapper .slider-item {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    flex: 0 0 100%;
    align-items: center;
}
.page-front__hero.slider-wrapper .item-content {
    flex: 0 0 51.042%;
    max-width: 51.042%;
    position: relative;
}
.page-front__hero.slider-wrapper .slider-item:nth-child(2) {
    flex-direction: row-reverse;
}
.page-front__hero.slider-wrapper .item-content__text {
    padding: 0 7.755% 0 20.68%;
    margin: 0 0 16px;
}
.page-front__hero.slider-wrapper .slider-item:nth-child(2) .item-content__text {
    padding: 0 20.68% 0 7.755%;
}
.page-front__hero.slider-wrapper .item-title {
    font-size: 3.125rem;
    font-weight: 500;
    line-height: 1.25;
    color: #3D2F28;
    margin-bottom: 15px;
}
.page-front__hero.slider-wrapper .item-description {
    font-size: 1.25rem;
    margin: 15px 0 44px;
}
.page-front__hero.slider-wrapper .item-content__text .button.green {
    padding: 10px;
    min-width: 210px;
    max-width: 100%;
    border-radius: 0.25rem;
}
.page-front__hero.slider-wrapper .show-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 9.8%;
    cursor: pointer;
    display: inline-flex;
    color: #3D2F28;
}
.page-front__hero.slider-wrapper .slider-item:nth-child(2) .show-next {
    left: unset;
    right: 9.8%;
    transform: translateY(-50%) rotate(180deg);
}
.page-front__hero.slider-wrapper .item-image {
    display: inline-flex;
    flex: 0 0 48.958%;
    max-width: 48.958%;
    justify-content: flex-end;
}

.page-front__hero.slider-wrapper .slider-item:nth-child(2) .item-image {
    justify-content: flex-start;
}
/* banner */

/* advantages */
.advantages-block {
    margin-bottom: 75px;
}
.advantages-block__items-wrapper {
    display: grid;
    grid-template-columns: repeat( auto-fill, minmax(260px, 1fr));
    border: 1px solid #AD9E95;
    border-width: 1px 0 0 1px;
}
.advantages-block__item {
    border: 1px solid #AD9E95;
    border-width: 0 1px 1px 0;
    padding: 25px 19px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
}
.advantages-block__item .item_title {
    color: #3D2F28;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.25;
}
.advantages-block__item .item_description {
    color: #3D2F28;
}
/* advantages */

/* notice */
.front-notice {
    background-color: #FAF3EF;
    text-align: center;
    padding: 127px 0;
    font-size: 2rem;
    font-weight: 500;
    margin: 75px 0;
}
/* notice */

/* services */
.services-block {
    margin-top: 122px;
    margin-bottom: 120px;
}
.services-block__items {
    gap: 24px 0;
}
.services-block__item__wrapp {
    background-color: #FAF3EF;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: .25s ease-in-out;
}
.services-block__item__wrapp:hover {
    transform: scale(1.05);
    box-shadow: 4px 4px 4px rgb( 0 0 0 / 30% );
}
.services-block__item__wrapp:hover .services-block__item__thumb img {
    transform: scale(1.1);
}
.services-block__item__permalink {
    position: absolute;
    inset: 0;
}
.services-block__item__wrapp .services-block__item__thumb {
    display: flex;
    overflow: hidden;
}
.services-block__item__wrapp .services-block__item__thumb img {
    transition: 0.3s ease-in-out;
    object-fit: cover;
    max-height: 250px;
    width: 100%;
}
.services-block__item__wrapp .services-block__item__title {
    text-align: center;
    margin: 0;
    padding: 25px 15px;
    font-size: 1rem;
    font-weight: 500;
    color: #3D2F28;
}
/* services */

/* gallery */
.front-gallery__block {
    margin: 120px auto 80px;
}
.front-gallery__block__gallery {
    position: relative;
    padding: 0 44px;
    overflow: hidden;
}
.glide__track {
    width: 1172px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}
.glide__slides {
    display: flex;
}
.glide__slides img {
    margin-right: 24px;
}
.slider__arrow {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: inline-flex;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
}
.slider__arrow.glide__arrow--next {
    left: unset;
    right: 0;
}

@media screen and ( max-width : 767px ) {
    main {
        overflow: hidden;
    }
    .hero-block {
        display: none;
    }
    h1 {
        font-size: 1.25rem;
        margin: 24px 0 16px;
        max-width: 65%;
        line-height: 1.5;
    }
    h2, h3, h4, h5, h6 {
        margin: 47px 0 32px;
        text-align: center;
        font-size: 1.5rem;
    }
    p:not( [class] ) {
        font-size: 0.875rem;
        line-height: 1.44;
    }
    section.advantages-block {
        padding: 0 15px;
    }
    .advantages-block {
        margin-bottom: 48px;
    }
    .advantages-block__items-wrapper {
        gap: 16px;
        border: none;
    }
    .advantages-block__item {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 15px 16px 22px;
        align-items: center;
        text-align: left;
        gap: 11px 8px;
        border: 1px solid #AD9E95!important;
    }
    .advantages-block__item img {
        order: 1;
        width: 34px;
    }
    .advantages-block__item .item_title {
        order: 2;
        font-size: 1rem;
        margin: 8px 0px 0;
    }
    .advantages-block__item .item_description {
        order: 3;
        padding: 3px 0px 0px 4px;
        font-size: 0.875rem;
    }
    .front-notice {
        margin: 48px 0;
        font-size: 1rem;
        padding: 28px 32px;
        line-height: 1.44;
        background-color: #5FAD90;
        color: #FAF3EF;
    }
    .services-block {
        margin: 45px auto;
    }
    .services-block__items {
        gap: 0px;
        padding: 0 3px;
    }
    .services-block__item__wrapp {
        display: flex;
        flex-direction: column;
        background-color: #FFF;
        box-shadow: unset;
        border-bottom: 0.5px solid #AD9E95;
        border-radius: 0;
    }
    .services-block__item__permalink {
        inset: auto;
    }
    .services-block__item__wrapp .services-block__item__thumb {
        max-height: 0px;
        transition: max-height 0.45s ease;
    }
    .services-block__item__wrapp .services-block__item__thumb img {
        transition: 0.3s ease-in-out;
        height: 100%;
        width: auto;
        margin: 0 auto;
    }

    .services-block__item__wrapp .services-block__item__title {
        text-align: left;
        padding: 25px 0px;
    }
    .services-block__item__wrapp .services-block__item__title {
        text-align: left;
        padding: 25px 0px 24px;
        position: relative;
        order: -1;
    }
    .services-block__item__wrapp .services-block__item__title::after {
        content: "";
        display: inline-block;
        width: 10px;
        height: 10px;
        border: 1px solid;
        border-width: 0 0 1px 1px;
        margin: 0 0 0 auto;
        position: absolute;
        right: 12px;
        top: calc( 50% - 5px);
        transform: rotate(-45deg);
        transition: transform 0.3s ease;
    }
    .services-block__item__wrapp.active .services-block__item__title::after {
        transform: rotate(135deg);
    }
    .services-block__item__wrapp.active .services-block__item__thumb {
        max-height: 195px;
    }
    .services-block__item__wrapp.active .services-block__item__permalink {
        width: 100%;
        height: 195px;
        bottom: 0;
        left: 0;
        z-index: 1;
    }
    .services-block__item__wrapp:hover {
        transform: unset;
        box-shadow: unset;
    }
    .front-gallery__block__gallery {
        padding: 0;
        margin: 0 -12px;
    }
    .front-gallery__block__gallery div[data-glide-el="controls"] {
        display: none;
    }
    .front-gallery__block {
        margin: 48px auto 40px;
    }
    .front-gallery__block__gallery .slider__bullets {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 12px 0 0 0;
        align-items: center;
        gap: 8px;
    }
    .front-gallery__block__gallery .slider__bullets button {
        width: 6px;
        height: 6px;
        background-color: #AD9E95;
        border: none;
        outline: none;
        border-radius: 50%;
    }
    .front-gallery__block__gallery .slider__bullets button.glide__bullet--active {
        width: 8px;
        height: 8px;
        background-color: #3D2F28;
    }
}
@media screen and ( min-width: 768px ) and ( max-width: 1199px ) {
    .page-front__hero.slider-wrapper .item-content__text {
        padding: 0 1.5rem 0 2.5rem;
    }
    .page-front__hero.slider-wrapper .slider-item:nth-child(2) .item-content__text {
        padding: 0 2.5rem 0 1.5rem;
    }
    .page-front__hero.slider-wrapper .show-next {
        left: 0.5rem;
    }
    .page-front__hero.slider-wrapper .slider-item:nth-child(2) .show-next {
        right: 0.5rem;
    }
    .page-front__hero.slider-wrapper .item-title {
        font-size: 2rem;
    }
    .page-front__hero.slider-wrapper .item-description {
        font-size: 1rem;
        margin: 15px 0;
    }
    h1, h2, h3, h4, h5, h6 {
        font-size: 1.5rem;
        margin: 2.5rem 0 1.5rem;
    }
    p:not( [class] ) {
        font-size: 1rem;
    }
    .advantages-block {
        margin: 2.5rem auto;
    }
    .advantages-block__items-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        border: none;
    }
    .advantages-block__item {
        border-width: 1px;
    }
    .front-notice {
        font-size: 1.5rem;
        padding: 3.5rem 0;
        margin: 2.5rem 0;
    }
    .services-block__items > div {
        flex: 0 0 50%;
        max-width: 50%;
    }
}