@font-face {
    font-family: 'Gilroy';
    src: url('../font/Gilroy-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../font/Gilroy-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../font/Gilroy-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

body {
    background-color: #F5F2ED;
}

.noscroll {
    overflow: hidden;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gilroy';
    font-weight: 400;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

.first {
    width: 100%;
    height: 100svh;
    background-image: url(../img/img/bg_first.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 40px;

    @media (max-width: 576px) {
        padding-top: 12px;
        background-image: url(../img/img/bg_mobile.png);
    }
}

.first--service {
    background-image: none;
    height: auto;
}

.container {
    max-width: 1696px;
    margin: 0 auto;

    @media (max-width: 1736px) {
        max-width: initial;
        width: auto;
        padding-left: 20px;
        padding-right: 20px;
    }

    @media (max-width: 576px) {
        padding-left: 12px;
        padding-right: 12px;
    }
}

header {
    display: flex;
    height: 48px;
    justify-content: space-between;
    align-items: center;

}

.header__logo {
    width: 250px;

    @media (max-width: 576px) {
        width: auto;
    }
}

header nav {
    display: flex;
    align-items: center;
    gap: 32px;

    @media (max-width:1110px) {
        display: none;
    }
}

.header__link {
    color: #fff;
    font-size: 21px;
    line-height: 21px;
    position: relative;
}

.first--service .header__link {
    color: #3A271E;
}

.header__link.focus::after {
    content: '';
    position: absolute;
    height: 1px;
    bottom: -3px;
    left: 0;
    width: 100%;
    background-color: #fff;
    animation: link .3s ease-in-out forwards;
}

.first--service .header__link.focus::after,
.first--service .header__link.blur::after {
    background-color: #3A271E;
    ;
}

.header__link.blur::after {
    content: '';
    position: absolute;
    height: 1px;
    bottom: -3px;
    left: 0;
    width: 100%;
    background-color: #fff;
    animation: link2 .3s ease-in-out forwards;
}

@keyframes link2 {
    0% {
        left: 0%;
        width: 100%;
    }


    100% {
        left: 100%;
        width: 0%;
    }
}

@keyframes link {
    0% {
        left: 0;
        width: 0%;
    }

    20% {
        left: 15%;
        width: 30%;
    }

    40% {
        left: 30%;
        width: 60%;
    }

    60% {
        left: 45%;
        width: 70%;
    }

    80% {
        left: 60%;
        width: 80%;
    }

    100% {
        left: 0;
        width: 100%;
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 250px;
    justify-content: flex-end;

    @media (max-width: 576px) {
        width: auto;
    }
}

.first--service .header-right svg path {
    fill: #3A271E;
}

.header_menu {
    display: none;
    cursor: pointer;

    @media (max-width:1110px) {
        display: block;
    }
}

.header__call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    transition: .6s;
    background-color: transparent;

    @media (max-width:1110px) {
        display: none;
    }
}

.header__call:hover {
    border-radius: 36px;
    padding: 0 10px;
    background-color: #fff;
    width: auto;
}

.first--service .header__call:hover {
    background-color: #3A271E;
}

.first--service .header__call span {
    color: #fff;
}

.header__call svg path {
    transition: .6s;
}

.header__call:hover svg path {
    fill: #1C1C1C;
}

.first--service .header__call:hover svg path {
    fill: #fff;
}

.header__call:hover span {
    width: auto;

}

.header__call span {
    display: block;
    overflow: hidden;
    font-size: 16px;
    color: #3A271E;
    line-height: 19px;
    width: 0.1px;
    transition: .6s;

}

.first-box-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    overflow: hidden;

    @media (max-width: 576px) {
        gap: 16px;
    }
}

.first-box {
    width: 100%;
    height: calc(100svh - 88px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 32px;

    @media (max-width: 576px) {
        gap: 16px;
        height: calc(100svh - 60px);
    }
}

.first__arrow {
    position: absolute;
    width: 32px;
    height: 72px;
    overflow: hidden;
    bottom: 72px;
    left: 50%;
    transform: translateX(-50%);

    @media (max-width: 576px) {
        bottom: 32px;
    }
}

.first-arrow {
    position: relative;
    top: 100%;
    transition: .6s;
    overflow: hidden;
    width: 32px;
    height: 72px;
}

.first-arrow._animation {
    animation: tops .6s ease-in-out forwards;
}

.first__arrow svg {
    position: absolute;
    top: 0;
    left: 0;
    animation: arrow 3.5s .5s ease-in-out infinite;
}

@keyframes tops {
    0% {
        top: 100%;
    }

    80% {
        top: -7%;
    }

    90% {
        top: -3%;
    }

    100% {
        top: 0%;
    }
}

@keyframes topTra {
    0% {
        transform: translateY(100%);
    }

    80% {
        transform: translateY(-7%);
    }

    90% {
        transform: translateY(-3%);
    }

    100% {
        transform: translateY(0%);
    }
}

@keyframes botTra {
    0% {
        transform: translateY(-100%);
    }

    80% {
        transform: translateY(7%);
    }

    90% {
        transform: translateY(3%);
    }

    100% {
        transform: translateY(0%);
    }
}

@keyframes leftTra {
    0% {
        transform: translateX(-100%);
    }

    80% {
        transform: translateX(7%);
    }

    90% {
        transform: translateX(3%);
    }

    100% {
        transform: translateX(0%);
    }
}

@keyframes rightTra {
    0% {
        transform: translateX(100%);
    }

    80% {
        transform: translateX(-7%);
    }

    90% {
        transform: translateX(-3%);
    }

    100% {
        transform: translateX(0%);
    }
}

@keyframes leftTra2 {
    0% {
        transform: translateX(-200%);
    }

    80% {
        transform: translateX(7%);
    }

    90% {
        transform: translateX(3%);
    }

    100% {
        transform: translateX(0%);
    }
}

@keyframes arrow {
    0% {
        top: -100%;
    }

    10% {
        top: 5%;
    }

    20% {
        top: 0%;
    }

    40% {
        top: 0%;
    }

    50% {
        top: 0%;
    }

    80% {
        top: 0%;
    }

    90% {
        top: 100%;
    }

    100% {
        top: 200%;
    }
}

.first-box h1 {
    position: relative;
    top: 100%;
    transition: .6s;
}

.servise-headling,
.first-service-box-p {
    overflow: hidden;
}

.first-box h1._animation {
    animation: tops .6s ease-in-out forwards;
}

.first-service-box h1._animation {
    animation: topTra .6s ease-in-out forwards;
}

.first-service-box h1 {
    transform: translateY(100%);
}

.first-box h1,
.first-service-box h1 {
    text-align: center;
    font-size: 48px;
    line-height: 56px;
    max-width: 681px;
    width: 100%;
    margin: 0 auto;
    color: #fff;

    @media (max-width: 576px) {
        font-size: 28px;
        line-height: 32px;
    }
}

.first-box span,
.first-service-box span {
    text-align: center;
    font-size: 48px;
    line-height: 56px;
    max-width: 681px;
    width: 100%;
    margin: 0 auto;
    color: #fff;

    @media (max-width: 576px) {
        font-size: 28px;
        line-height: 32px;
    }
}

.first-service-box {
    margin-top: 40px;
    width: 100%;
    padding: 40px;
    border-radius: 32px;
    overflow: hidden;
    background-image: url(../img/img/bg-service.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    @media (max-width: 576px) {
        background-image: url(../img/img/bg_mobile.png);
        margin-top: 24px;
        padding: 20px;
    }
}

.first-service-box p {
    max-width: 1172px;
    margin: 8px auto 0 auto;
    font-size: 22px;
    line-height: 21px;
    color: #FFFFFFBF;
    text-align: center;
    transform: translateY(100%);
}

.first-service-box p._animation {
    animation: topTra .6s ease-in-out forwards;
}

.education-page p._animation {
    animation: topTra .6s ease-in-out forwards;
}

.education-page h4._animation {
    animation: topTra .6s ease-in-out forwards;
}

.education-page li._animation {
    animation: topTra .6s ease-in-out forwards;
}

.first__btn {
    cursor: pointer;
    transition: .6s;
    width: 191px;
    height: 52px;
    border: 1px solid #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    font-size: 21px;
    line-height: 20px;
    position: relative;
    top: 100%;
}

.first__btn._animation {
    animation: tops .6s ease-in-out forwards;
}

.first__btn:hover {
    background-color: #fff;
    color: #3A271E;
}

.first__btn a {
    color: white;
}

.service {
    background: #CFA99C;
    padding: 80px 0;

    @media (max-width: 576px) {
        padding: 40px 0;
    }
}

section h2 {
    font-weight: 500;
    font-size: 36px;
    line-height: 38px;
    text-align: center;
    color: #896356;
    transform: translateY(100%);

    @media (max-width:576px) {
        font-size: 24px;
        line-height: 28px;
    }
}

.service h2 {
    color: #FFFFFF;
    transform: translateY(100%);
}

section h2._animation,
.service__subtittle._animation,
.service__item._animation {
    animation: topTra .6s ease-in-out forwards;
}

.service-headling {
    overflow: hidden;
    position: relative;
}

.service-subtittle {
    overflow: hidden;
    position: relative;
}

.service__subtittle {
    margin-top: 8px;
    max-width: 544px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFFBF;
    font-size: 22px;
    line-height: 24px;
    text-align: center;
    transform: translateY(100%);
}

.service-box {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    overflow: hidden;

    @media (max-width:1240px) {
        flex-wrap: wrap;
        gap: 20px 0;
    }

    @media (max-width: 576px) {
        margin-top: 24px;
        gap: 12px 0;
    }

}

.service__item {
    position: relative;
    top: 100%;
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
    transform: translateY(100%);

    @media (max-width:1240px) {
        width: 20%;
        justify-content: center;
    }

    @media (max-width:970px) {
        width: calc(100%/3);
    }

    @media (max-width: 576px) {
        gap: 8px;
        padding-top: 8px;
    }
}

.service__item span {
    height: 40px;
    color: #FFFFFF;
    font-size: 21px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 124px;
}

.service__item svg path {
    transition: .6s;
}

.service__item:hover svg path {
    fill-opacity: 1;
}

.education {
    padding-top: 140px;

    @media (max-width: 576px) {
        padding-top: 40px;
    }
}

.education h2 {
    color: #896356;
    transform: translateY(100%);
}

.education h2._animation,
.section__subtittle._animation {
    animation: topTra .6s ease-in-out forwards;
}

.section__subtittle {
    color: #CFA99C;
    text-align: center;
    margin: 8px auto 0 auto;
    max-width: 544px;
    width: 100%;
    font-size: 22px;
    line-height: 30px;
    transform: translateY(100%);
}

.education-flex {
    display: flex;
    gap: 32px;
    margin-top: 60px;

    @media (max-width:970px) {
        flex-wrap: wrap;
    }

    @media (max-width: 576px) {
        margin-top: 24px;
        gap: 16px;
    }
}

.education-foto {
    width: 100%;
    display: flex;
    gap: 32px;
    overflow: hidden;

    @media (max-width: 576px) {
        gap: 12px;
    }
}


.education-foto-item {
    width: calc(46% - 16px);
    transform: translateX(-100%);

    @media (max-width: 576px) {
        width: calc(50% - 6px);
    }
}

.education-foto-item--second {
    transform: translateX(-200%);
}

.education-foto-item._animation {
    animation: leftTra .6s ease-in-out forwards;
}

.education-foto-item--second._animation {
    animation: leftTra2 .6s ease-in-out forwards;
}

.education-foto__item {
    width: 100%;
    border-radius: 32px;
    height: 700px;
    overflow: hidden;

    @media (max-width:1440) {
        height: 600px;
    }

    @media (max-width:1240px) {
        height: 400px;
    }


    @media (max-width:970px) {
        height: 500px;
    }

    @media (max-width:576px) {
        height: 300px;
        border-radius: 16px;
    }

}

.education-foto__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.education-foto-item span {
    margin-top: 16px;
    display: block;
    text-align: center;
    color: #1C1C1C;
    font-size: 20px;
    line-height: 24px;

    @media (max-width:576px) {
        font-size: 14px;
        line-height: 16px;
    }
}

.education-foto-item p {
    text-align: center;
    margin-top: 4px;
    color: #1C1C1C80;
    font-size: 20px;
    line-height: 24px;

    @media (max-width:576px) {
        font-size: 14px;
        line-height: 16px;
    }
}

.education-text {
    flex-shrink: 0;
    width: calc(100%/3 - 64px/3);

    @media (max-width:970px) {
        width: 100%;
    }
}

.education-text-p {
    overflow: hidden;
}

.education-text p._animation,
.education__btn._animation {
    animation: topTra .6s ease-in-out forwards;
}

.education-text p {
    color: #3A271E;
    font-size: 22px;
    line-height: 24px;
    transform: translateY(100%);

    @media (max-width:970px) {
        text-align: center;
    }
}

.education-text p b {
    font-size: 22px;
    color: #9F5434;
    font-weight: 400;
    line-height: 24px;
}

.education-btn {
    overflow: hidden;
}


.education__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 194px;
    height: 54px;
    border: 1px solid #3A271E;
    color: #3A271E;
    font-size: 18px;
    margin-top: 16px;
    border-radius: 999px;
    transition: .6s;
    cursor: pointer;
    transform: translateY(100%);

    @media (max-width:970px) {
        margin-left: auto;
        margin-right: auto;
    }
}

.education__btn:hover {
    background-color: #3A271E;
    color: #fff;
}

.education.education--second {
    padding-top: 180px;
    padding-bottom: 140px;

    @media (max-width: 576px) {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

.education-wrap {
    position: relative;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    overflow: hidden;

    @media (max-width: 576px) {
        margin-top: 24px;
    }
}

.education-wrap.education-wrap--mobile {
    display: none;

    @media (max-width:970px) {
        display: flex;
        margin-top: 30px;
        overflow: hidden;
    }

    @media (max-width: 576px) {
        margin-top: 12px;
    }
}

.education-wrap-item._animation {
    animation: topTra .6s ease-in-out forwards;
}

.education-wrap-item {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
    transform: translateY(100%);

    @media (max-width:970px) {
        width: calc(100%/3);
    }

    @media (max-width: 576px) {
        gap: 8px;
    }
}

.education-wrap.education-wrap--mobile .education-wrap-item {
    width: calc((100% + 100%/3)/3);
}

.education-wrap .education-wrap-item:nth-child(4),
.education-wrap .education-wrap-item:nth-child(5),
.education-abs span:nth-child(4),
.education-abs span:nth-child(5) {
    @media (max-width:970px) {
        display: none;
    }
}

.education-wrap-item span {
    color: #896356;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    max-width: 220px;
    margin: 0 auto;
    width: 100%;
    transition: .6s;

    @media (max-width: 576px) {
        font-size: 14px;
        line-height: 17px;
        max-width: 150px;
    }
}

.education-wrap__icon {
    position: relative;
    width: 112px;
    height: 112px;

    @media (max-width: 576px) {
        width: 72px;
        height: 72px;
    }
}

.education-wrap__icon svg {
    @media (max-width: 576px) {
        width: 72px;
        height: 72px;
    }
}

.education-wrap-item:hover .education-wrap__icon svg {
    transform: rotate(10deg) scale(1.2);
}

.education-wrap-item:hover .education-wrap__icon svg path {
    fill: #896356;
}

.education-wrap-item:hover span {
    color: #3A271E;
}

.education-wrap__icon svg {
    position: absolute;
    top: 0;
    left: 0;
    transition: .6s;
}

.education-abs {
    display: flex;
    position: absolute;
    width: calc(100% + 100%/6);
    left: calc(100%/12 * -1);

    @media (max-width:970px) {
        width: calc(100% + 100%/4);
        left: calc(100%/8 * -1);
    }

    @media (max-width: 576px) {
        top: 14px;
    }
}

.education-wrap.education-wrap--mobile .education-abs {
    width: calc(100% + 100%/3);
    left: calc(100%/6 * -1);
}

.education-abs span {
    display: block;
    width: calc(100%/6);
    height: 100px;
    border: 1px solid #CFA99C80;
    border-radius: 50%;

    @media (max-width:970px) {
        width: calc(100%/4);
    }

    @media (max-width: 576px) {
        height: 37px;
    }
}

.education-wrap.education-wrap--mobile .education-abs span {
    width: calc(100%/3);
}

.section-color--white {
    color: #fff;
}

section.foto {
    background: #CFA99C;
    padding: 80px 0;

    @media (max-width: 576px) {
        padding: 40px 0;
    }
}

.section-color--falwhite {
    color: #FFFFFFBF;
}

.foto-box {
    width: 1362px;
    height: 863px;
    margin: 0 auto;
    background-image: url(../img/img/bg-foto.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;

    @media (max-width:1402px) {
        width: 100%;
        height: 61.2vw;
        background-size: contain;
    }

    @media (max-width:856px) {
        height: 523px;
        background-image: url(../img/img/bg-foto-mobile.png);
    }

    @media (max-width: 576px) {
        height: 480px;
    }
}

.foto-box__abs._animation {
    transform: scale(1);
}

.foto-box__abs {
    position: absolute;
    cursor: pointer;
    transition: .6s;
    transform: scale(.002);

    @media (max-width:1402px) {
        transform: scale(0.95);
    }

    @media (max-width:1320px) {
        transform: scale(0.85);
    }

    @media (max-width:1240px) {
        transform: scale(0.75);
    }

    @media (max-width:1100px) {
        transform: scale(0.69);
    }

    @media (max-width:970px) {
        display: none;
    }
}

.foto-slider {
    display: none;

    @media (max-width:970px) {
        display: block;
        width: calc(100% + 20px);
        padding-top: 60px;
    }

    @media (max-width: 576px) {
        padding: 40px 0 0 0;
        width: calc(100% + 12px);
    }
}

.foto-slider .swiper-slide {
    width: 260px;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
}

.foto-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.foto-box__abs:hover {
    z-index: 11 !important;
    transform: scale(1.2);
}

.foto-box .foto-box__abs:nth-child(1) {
    left: 46px;
    top: 182px;
    z-index: 1;

    @media (max-width:1402px) {
        left: 3.427vw;
        top: 13.52vw;
    }

    @media (max-width:1320px) {
        left: 2.8vw;
        top: 11.52vw;
    }

    @media (max-width:1100px) {
        left: 2vw;
        top: 9.52vw;
    }
}

.foto-box .foto-box__abs:nth-child(2) {
    left: 160px;
    top: 100px;
    z-index: 10;

    @media (max-width:1402px) {
        left: 11.88vw;
        top: 7.43vw
    }

    @media (max-width:1320px) {
        left: 10.88vw;
        top: 5.52vw;
    }

    @media (max-width:1100px) {
        left: 9.88vw;
        top: 4.52vw;
    }
}

.foto-box .foto-box__abs:nth-child(3) {
    left: 344px;
    top: 123px;
    z-index: 4;

    @media (max-width:1402px) {
        left: 25.55vw;
        top: 9.13vw;
    }

    @media (max-width:1320px) {
        left: 23.55vw;
        top: 7.82vw;
    }

    @media (max-width:1100px) {
        left: 21.55vw;
        top: 6.82vw;
    }
}

.foto-box .foto-box__abs:nth-child(4) {
    left: 525px;
    top: 105px;
    z-index: 10;

    @media (max-width:1402px) {
        left: 38.97vw;
        top: 7.80vw;
    }

    @media (max-width:1320px) {
        left: 36.97vw;
        top: 5.52vw;
    }

    @media (max-width:1100px) {
        left: 34.97vw;
        top: 4.52vw;
    }
}

.foto-box .foto-box__abs:nth-child(5) {
    left: 754px;
    top: 183px;
    z-index: 1;

    @media (max-width:1402px) {
        left: 56.00vw;
        top: 13.60vw;
    }

    @media (max-width:1320px) {
        left: 52.00vw;
        top: 11.52vw;
    }

    @media (max-width:1100px) {
        left: 49.00vw;
        top: 10.22vw;
    }
}

.foto-box .foto-box__abs:nth-child(6) {
    left: 936px;
    top: 134px;
    z-index: 2;

    @media (max-width:1402px) {
        left: 69.54vw;
        top: 9.94vw;
    }

    @media (max-width:1320px) {
        left: 64.54vw;
        top: 7.52vw;
    }

    @media (max-width:1100px) {
        left: 61.54vw;
        top: 6.52vw;
    }
}

.foto-box .foto-box__abs:nth-child(7) {
    left: 148px;
    top: 331px;
    z-index: 2;

    @media (max-width:1402px) {
        left: 11.00vw;
        top: 23.61vw;
    }

    @media (max-width:1320px) {
        left: 10.00vw;
        top: 20.02vw;
    }

    @media (max-width:1100px) {
        left: 9.00vw;
        top: 18.22vw;
    }
}

.foto-box .foto-box__abs:nth-child(8) {
    left: 397px;
    top: 272px;
    z-index: 3;

    @media (max-width:1402px) {
        left: 29.48vw;
        top: 20.22vw;
    }

    @media (max-width:1320px) {
        left: 27.48vw;
        top: 18.02vw;
    }

    @media (max-width:1100px) {
        left: 25.48vw;
        top: 16.42vw;
    }
}

.foto-box .foto-box__abs:nth-child(9) {
    left: 880px;
    top: 296px;
    z-index: 10;

    @media (max-width:1402px) {
        left: 65.37vw;
        top: 22.00vw;
    }

    @media (max-width:1320px) {
        left: 62.37vw;
        top: 20.52vw;
    }

    @media (max-width:1100px) {
        left: 59.37vw;
        top: 18.52vw;
    }
}

.foto-box .foto-box__abs:nth-child(10) {
    left: 1003px;
    top: 322px;
    z-index: 4;

    @media (max-width:1402px) {
        left: 74.48vw;
        top: 23.92vw
    }

    @media (max-width:1320px) {
        left: 70.48vw;
        top: 21.52vw;
    }

    @media (max-width:1100px) {
        left: 67.48vw;
        top: 19.52vw;
    }
}

.foto-box .foto-box__abs:nth-child(11) {
    left: 160px;
    top: 513px;
    z-index: 1;

    @media (max-width:1402px) {
        left: 11.88vw;
        top: 37vw;
    }

    @media (max-width:1320px) {
        left: 10.88vw;
        top: 34.52vw;
    }

    @media (max-width:1100px) {
        left: 9.88vw;
        top: 32.52vw;
    }
}

.foto-box .foto-box__abs:nth-child(12) {
    left: 358px;
    top: 442px;
    z-index: 10;

    @media (max-width:1402px) {
        left: 26.58vw;
        top: 32.83vw;
    }

    @media (max-width:1320px) {
        left: 22.58vw;
        top: 29.52vw;
    }

    @media (max-width:100px) {
        left: 20.88vw;
        top: 27.82vw;
    }
}

.foto-box .foto-box__abs:nth-child(13) {
    left: 628px;
    top: 390px;
    z-index: 3;

    @media (max-width:1402px) {
        left: 46.65vw;
        top: 28.96vw;
    }

    @media (max-width:1320px) {
        left: 44.65vw;
        top: 23.52vw;
    }

    @media (max-width:1100px) {
        left: 41.95vw;
        top: 21.52vw;
    }
}

.foto-box .foto-box__abs:nth-child(14) {
    left: 874px;
    top: 462px;
    z-index: 4;

    @media (max-width:1402px) {
        left: 64.97vw;
        top: 34.30vw;
    }

    @media (max-width:1320px) {
        left: 62.97vw;
        top: 29.52vw;
    }

    @media (max-width:1100px) {
        left: 60.27vw;
        top: 27.52vw;
    }
}

.action {
    padding-top: 140px;

    @media (max-width: 576px) {
        padding-top: 40px;
    }
}

.action-box {
    margin-top: 60px;
    display: flex;
    gap: 32px;
    position: relative;
    width: auto;
    overflow: hidden;
    padding-top: 1px;
    padding-bottom: 1px;

    @media (max-width: 576px) {
        margin-top: 24px;
        gap: 12px;
        width: calc(100% + 12px);
    }
}

.action-box-slider {
    width: 100%;
}

.action-box-item {
    width: 314px;
    flex-shrink: 0;
    background-color: #896356;
    height: 540px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transform: translateY(-100%);

    @media (max-width:970px) {
        border-radius: 16px;
    }

    @media (max-width: 576px) {
        width: 284px;
    }
}

.action-box-item.action-box-item--white {
    transform: translateY(100%);
}

.action-box-item._animation {
    animation: botTra .6s ease-in-out forwards;
}

.action-box-item.action-box-item--white._animation {
    animation: topTra .6s ease-in-out forwards;
}

.action-box-circle {
    position: absolute;
    width: 3000px;
    height: 262px;
    left: 50%;
    transform: translateX(-50%);
    top: -238px;
    background-color: #F5F2ED;
    z-index: 2;
    border-radius: 50%;

    @media (max-width:970px) {
        display: none;
    }
}

.action-box-circle--bottom {
    position: absolute;
    width: 3000px;
    height: 262px;
    left: 50%;
    transform: translateX(-50%);
    top: initial;
    bottom: -238px;
    background-color: #F5F2ED;
    z-index: 2;
    border-radius: 50%;
}

.action-box-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    @media (max-width: 576px) {
        pointer-events: none;
    }
}

.action-box-item span {
    top: 40px;
    position: absolute;
    width: 100%;
    text-align: center;
    color: #CFA99C;
    z-index: 3;
    transition: .6s;
}

.action-box-item--white span,
.action-box-item--white p {
    color: #fff !important;
}

.action-box-item p {
    bottom: 40px;
    position: absolute;
    width: 100%;
    text-align: center;
    color: #CFA99C;
    max-width: 200px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    transition: .6s;

    @media (max-width: 576px) {
        pointer-events: none;
    }
}

.action-box-item::after {
    content: '';
    z-index: 2;
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(../img/img/slider-bg1.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    @media (max-width: 576px) {
        pointer-events: none;
    }
}

.action-box-item.action-box-item--white::after {
    background-image: url(../img/img/slider-bg.png);
}

.action-box-item__sale {
    position: absolute;
    z-index: 3;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 96px;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #CFA99C;
}

.action-box-item.action-box-item--white .action-box-item__sale {
    color: #fff;
}

.action-box-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: -100%;
    transition: .6s;
    width: 100%;
    height: 100%;
    background-color: #1C1C1C;
    z-index: 4;

    @media (max-width: 576px) {
        display: none;
    }
}

.action-box-item.action-box-item--white::before {
    background-color: #CFA99C;
}

.action-box-item:hover::before {
    top: 0;
}

.action-box-item:hover p {
    bottom: 25px;
}

.action-box-item:hover span {
    top: 25px;
}


.action-box-item-hover-top {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 76px;
    text-align: center;
    position: absolute;
    z-index: 5;
    left: -100%;
    width: 100%;
    height: 100%;
    padding-top: 40px;
    padding-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
    align-items: center;
    transition: .6s;
    background: transparent;
    top: 0;

    @media (max-width: 576px) {
        pointer-events: none;
    }
}

.action-box-item-hover-bottom {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 76px;
    text-align: center;
    position: absolute;
    z-index: 5;
    left: 100%;
    width: 100%;
    height: 100%;
    padding-top: 40px;
    padding-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
    align-items: center;
    transition: .6s;
    background: transparent;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;

    @media (max-width: 576px) {
        pointer-events: none;
    }
}

.action-box-item-hover-top__name {
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    color: #fff;

    @media (max-width: 576px) {
        pointer-events: none;
    }
}

.action-box-item-hover-top__text {
    font-size: 16px;
    line-height: 22px;
    color: #fff;
    margin-top: 15px;
    text-align: center;

    @media (max-width: 576px) {
        pointer-events: none;
    }
}

.action-box-item.focus .action-box-item-hover-top {
    animation: animTop .6s .6s forwards;
}

.action-box-item.blur .action-box-item-hover-top {
    animation: animT-f .3s forwards;
}

.action-box-item.focus .action-box-item-hover-bottom {
    animation: animBottom .6s .6s forwards;
}

.action-box-item.blur .action-box-item-hover-bottom {
    animation: animB-f .3s forwards;
}

@keyframes animTop {
    to {
        left: 0%;
    }

    from {
        left: -100%;
    }
}

@keyframes animBottom {
    to {
        left: 0%;
    }

    from {
        left: 100%;
    }
}

@keyframes animB-f {
    to {
        left: -100%;
    }

    from {
        left: 0%;
    }
}

@keyframes animT-f {
    to {
        left: 100%;
    }

    from {
        left: 0%;
    }
}

.certificates {
    padding-top: 180px;
    padding-bottom: 180px;
    overflow: hidden;

    @media (max-width:576px) {
        padding-top: 60px;
        padding-bottom: 30px;
    }
}

.certificates-box._animation {
    transform: scale(1) rotate(0deg);
}

.certificates-box {
    margin-top: 60px;
    position: relative;
    width: 832px;
    height: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: .6s;
    transform: scale(.01) rotate(-45deg);

    @media (max-width:970px) {
        width: calc(100% - 95px);
    }

    @media (max-width:800px) {
        height: 500px;
    }

    @media (max-width:700px) {
        height: 400px;
    }

    @media (max-width:576px) {
        display: none;
    }
}

.certificates-wrap {
    display: none;

    @media (max-width:576px) {
        display: block;
        width: 100%;
    }
}

.certificates-wrap img {
    width: 100%;
    height: auto;
}

.certificates-box-img {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    transition: .6s;
}

.certificates-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: .6s;
}

.certificates-box-leaf--top {
    position: absolute;
    top: -130px;
    left: -150px;
    z-index: 3;
    transition: .6s;
}

.certificates-box-leaf--bottom {
    position: absolute;
    bottom: -110px;
    right: -132px;
    z-index: 3;
    transition: .6s;
}

.certificates-box-leaf--left {
    position: absolute;
    bottom: -80px;
    left: -20px;
    z-index: 1;
    transition: .6s;
}

.certificates-box-leaf--right {
    position: absolute;
    top: -70px;
    right: -100px;
    z-index: 1;
    transition: .6s;
}

.certificates-box:hover .certificates-box-img {
    transform: rotate(-3deg);
}

.certificates-box:hover .certificates-box-leaf--top {
    transform: rotate(-12deg) translate(-20px, 20px) scale(1.05);
}

.certificates-box:hover .certificates-box-leaf--bottom {
    transform: rotate(12deg) translate(2px, 5px) scale(1.05);
}

.certificates-box:hover .certificates-box-leaf--left {
    transform: rotate(-90deg) translate(-70px, -140px) scale(1.3);
}

.certificates-box:hover .certificates-box-leaf--right {
    transform: rotate(0deg) translate(100px, -140px) scale(1.05);
}

.contact {
    padding-top: 0px;
}

.contact-box {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    margin-top: 60px;
    overflow: hidden;

    @media (max-width:970px) {
        display: none;
    }
}

.section-subtittle {
    overflow: hidden;
}

.contact-wrap-box .contact-box-item {
    transform: translateY(0%);
}

.contact-box-item {
    width: calc(100%/3 - 64px/3);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: translateY(100%);

    @media (max-width:970px) {
        display: none;
    }
}

.section-w3 {
    width: calc(100%/3 - 64px/3) !important;
}

.contact-box-item.contact-box-item--top {
    transform: translateY(-100%);
}

.contact-box-item._animation {
    animation: topTra .6s ease-in-out forwards;
}

.contact-box-item.contact-box-item--top._animation {
    animation: botTra .6s ease-in-out forwards;
}


.contact-box-item.active {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.contact-box-map {
    overflow: hidden;
    width: 100%;
    height: 544px;
    border-radius: 32px;

    @media (max-width:1240px) {
        height: 400px;
    }

    @media (max-width:970px) {
        box-shadow: 0px 4px 20px 0px #3A271E1A;
        height: 544px;
    }
}

.contact-wrap {
    margin-top: 60px;
    display: none;

    @media (max-width:970px) {
        display: block;
    }

    @media (max-width: 576px) {
        margin-top: 24px;
    }
}

.contact-wrap_tab {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    gap: 16px;

    @media (max-width: 576px) {
        gap: 8px;
    }
}

.contact-wrap-tab__item {
    width: 100%;
    padding: 12px 20px;
    font-size: 20px;
    line-height: 23px;
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    color: #FFFFFF;
    background-color: #CFA99C;
    cursor: pointer;
    transition: .6s;
}

.contact-wrap-tab__item.active {
    background-color: #9F5434;
}

.contact-box-map iframe {
    width: 100%;
    height: 100%;
}

.contact-box-text {
    display: flex;
    flex-direction: column;
    gap: 8px;

    @media (max-width:970px) {
        align-items: center;
    }
}

.contact-box-text-item {
    display: flex;
    gap: 4px;
}

.contact-box-text-item span {
    color: #896356;
    font-size: 20px;
    line-height: 28px;
}

footer {
    padding-top: 140px;
    padding-bottom: 80px;

    @media (max-width:970px) {
        padding-bottom: 32px;
    }

    @media (max-width: 576px) {
        padding-top: 40px;
    }
}

.footer-box {
    border-top: 1px solid #CFA99C80;
    padding-top: 80px;
    display: flex;
    justify-content: space-between;
    gap: 32px;

    @media (max-width:970px) {
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 32px;
        gap: 20px;
    }
}

.footer-box .footer-box-item:nth-child(1) {
    border: none !important;
    padding-top: 0 !important;
}

.footer-box-item {
    width: calc(25% - 24px);

    @media (max-width:970px) {
        width: 100%;
        border-top: 1px solid #CFA99C80;
        padding-top: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.footer__btn {
    cursor: pointer;
    transition: .6s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 203px;
    height: 54px;
    border: 1px solid #CFA99C;
    border-radius: 999px;
    font-size: 18px;
    line-height: 22px;
    color: #CFA99C;
    margin-top: 20px;

    @media (max-width: 576px) {
        margin-top: 12px;
    }
}

.footer__btn a {
    2094 color: #CFA99C;
}

.footer__btn:hover {
    background-color: #CFA99C;
    color: #fff;
}

.footer-box-item i {
    font-style: normal;
    margin-top: 20px;
    color: #CFA99C;
    font-size: 16px;
    line-height: 19px;
    display: block;

    @media (max-width: 576px) {
        margin-top: 12px;
    }
}

.footer-box-item span {
    font-weight: 600;
    font-size: 18px;
    line-height: 21px;
    color: #CFA99C;
    margin-bottom: 24px;
    display: block;

    @media (max-width: 576px) {
        margin-bottom: 12px;
    }
}

.footer__link {
    margin-top: 12px;
    font-size: 16px;
    color: #CFA99C;
    line-height: 19px;
    display: block;
    transition: .6s;

    @media (max-width: 576px) {
        margin-top: 8px;
    }
}

.footer__link:hover {
    color: #9F5434;
}

.footer-box-wrap {
    display: flex;
    gap: 12px;
    flex-direction: column;
    border-bottom: 1px solid #CFA99C80;
    padding-bottom: 12px;
    margin-top: 12px;

    @media (max-width:970px) {
        align-items: center;
        border-bottom: none;
        padding-bottom: 0;
    }
}

.footer-box-wrap span {
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #CFA99C;
    margin: 0;
}

.footer-box-wrap .contact-box-text-item {
    gap: 4px;
}

.footer-box-wrap a.contact-box-text-item {
    @media (max-width:970px) {
        padding-bottom: 12px;
        border-bottom: 1px solid #CFA99C80;
    }
}

.footer-box-wrap .contact-box-text-item svg path,
.footer-box-time svg path {
    fill: #CFA99C;
}

.footer-box-network {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
    cursor: pointer;
}

.footer-box-network svg path {
    transition: .6s;
}

.footer-box-network span {
    margin: 0;
    font-size: 16px;
    line-height: 19px;
    font-weight: 400;
    transition: .6s;
}

.footer-box-network:hover span {
    color: #9F5434;
}

.footer-box-network:hover svg path {
    fill: #9F5434;
}

.footer-box-time {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-top: 12px;
}

.footer-box-time span {
    margin: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
}

.menu {
    background-color: #CFA99C;
    padding-bottom: 40px;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    box-shadow: 0px 4px 40px 0px #3A271E1A;
    height: 100svh;
}

.menu .container {
    height: 100%;
    overflow-y: auto;
}

.menu .container::-webkit-scrollbar {
    width: 3px;
}

.menu .container::-webkit-scrollbar-track {
    background-color: #CFA99C;
    border-radius: 3px;
}

.menu .container::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background: #CFA99C;
    border-radius: 3px;
}

.menu.active {
    display: block;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.menu .footer-box {
    border: none !important;
    padding-top: 16px;
}

.menu .footer-box-item span,
.menu .footer-box-item a {
    color: #fff;
}

.menu .footer-box-item {
    border-color: #FFFFFF80;
}

.menu .footer-box-item svg path {
    fill: #fff;
}

.menu .footer-box-wrap a.contact-box-text-item {
    @media (max-width: 970px) {
        border-color: #FFFFFF80;
    }
}

.menu .footer__btn {
    border: 1px solid #FFFFFF80;
    color: #fff;
    margin-top: 0;
}

.menu .footer-box-item i {
    color: #FFFFFF;
}

.price {
    padding-top: 80px;
    padding-bottom: 140px;

    @media (max-width: 575px) {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

.price--acc {
    padding-top: 140px;
    padding-bottom: 0;

    @media (max-width: 575px) {
        padding-top: 40px;
    }
}

.price-flex {
    margin-top: 40px;
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    overflow: hidden;

    @media (max-width: 970px) {
        gap: 12px;
    }
}

.price-flex-item {
    width: calc(50% - 16px);
    display: flex;
    flex-direction: column;
    gap: 32px;
    transform: translateX(-100%);

    @media (max-width: 970px) {
        width: 100%;
        gap: 12px;
    }
}

.price-flex-item.price-flex-item--right {
    transform: translateX(100%);
}

.price-flex-item._animation {
    animation: leftTra .6s ease-in-out forwards;
}

.price-flex-item.price-flex-item--right._animation {
    animation: rightTra .6s ease-in-out forwards;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px;
    border-radius: 32px;
    cursor: pointer;
    transition: .6s;
    background-color: #CFA99C;

    @media (max-width: 576px) {
        padding: 16px 20px;
    }
}

.price-item__right {
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    flex-shrink: 0;
    margin-left: 20px;
    color: #FFFFFF;

    @media (max-width: 576px) {
        margin-left: 12px;
    }
}

.price-item-left span {
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: #fff;
}

.price-item-left p {
    max-height: 0px;
    overflow: hidden;
    transition: 1s;
    font-size: 16px;
    color: #fff;
}

.price-item:hover,
.price-item-acc:hover {
    background-color: #896356;
}

.price-item:hover .price-item-left p {
    max-height: 300px;
}

.price--acc .price-item-left p {
    overflow: hidden;
    transition: max-height 1s ease;
    max-height: 0;
    height: auto !important;
}

.price--acc .price-item-left span {
    width: 100%;
    padding-right: 36px;
    display: block;
    position: relative;
}

.price--acc .price-item-left span::after {
    width: 24px;
    height: 24px;
    background-image: url(../img/icon/accordion.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: .6s;
}

.price--acc .open.price-item-left span::after {
    transform: translateY(-50%) rotate(180deg);
}

.price-item-acc {
    padding: 32px;
    border-radius: 32px;
    cursor: pointer;
    transition: .6s;
    background-color: #CFA99C;

    @media (max-width: 576px) {
        padding: 16px 20px;
    }
}

/* ===== IOS POPUP ===== */
.ios-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    z-index: 9998;
}

.ios-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.ios-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.95);
    width: 90%;
    max-width: 600px;
    background: transparent;
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 100px 24px;
    opacity: 0;
    pointer-events: none;
    transition: .35s ease;
    z-index: 9999;
}

.ios-popup.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.ios-popup-close {
    position: absolute;
    top: 20px;
    right: 25px;
    border: none;
    background: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
}

.ios-popup-content {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.ios-popup-item {
    margin-bottom: 20px;
    text-align: center;
}

.ios-popup-title {
    font-size: 18px;
    color: #fff;
    margin-bottom: 6px;
}

.ios-popup-item a {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
}

/* ===== FOTO PREVIEW ===== */


/* ===== GALLERY POPUP ===== */

.ios-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    z-index: 1000;
}

.ios-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.ios-popup.ios-gallery {
    position: fixed;
    inset: 0;
    left: 50%;
    top: 90%;
    margin: auto;
    height: 90vh;
    max-width: 90vw;
    max-height: 90vh;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(24px);
    border-radius: 28px;
    padding: 48px 32px;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    z-index: 1001;
}

.ios-popup.ios-gallery.active {
    opacity: 1;
    pointer-events: auto;
}

/* image */

.ios-gallery-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ios-gallery-image {
    max-width: 80vw;
    max-height: 80vh;
}

.ios-gallery-image img {
    max-width: 80vw;
    max-height: 80vh;
    object-fit: contain;
}

/* arrows */

.ios-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 32px;
    cursor: pointer;
}

.ios-gallery-prev {
    left: 20px;
}

.ios-gallery-next {
    right: 20px;
}

/* counter */

.ios-gallery-counter {
    position: absolute;
    top: 25px;
    right: 35px;
    transform: translateX(-50%);
    font-size: 28px;
    color: #fff;
    opacity: .85;
}

/* ===== PHOTO COLOR GLOW (iOS style) ===== */

.ios-gallery-image {
    position: relative;
}

.ios-gallery-image img {
    position: relative;
    z-index: 2;
    border-radius: 24px;

    /* лёгкое свечение */
    filter:
        drop-shadow(0 0 18px rgba(255, 255, 255, 0.12)) drop-shadow(0 0 48px rgba(255, 255, 255, 0.08));
}

/* цветной ореол */
.ios-gallery-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

    filter: blur(40px) saturate(1.3);
    opacity: 0.55;
    z-index: 1;
}

.contact-main-section {
    margin-top: 50px;
}

.section-w100 {
    width: 100%;
}

.section-mw100 {
    max-width: 100%;
}

.section-d-flex {
    display: flex;
    column-gap: 15px;
}

.section-margin40 {
    margin-bottom: 40px;
}

/* ===== CONTACTS GRID ===== */

.contacts-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
}

.contacts-gallery-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}

.contacts-gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}



.contacts-gallery-grid-mobile {

    display: grid;
    grid-template-columns: repeat(3, minmax(30vw, 1fr));
    gap: 10px;
}

.grid-3col {
    grid-template-columns: repeat(3, minmax(30vw, 1fr));
}

.grid-masonry {
    column-count: 3;
    display: block;
    grid-template-columns: none;
}

.grid-img-masonry {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    break-inside: avoid;
    border-radius: 16px;
}

.grid-masonry img {
    margin-bottom: 5px;
}

/* ============================= */
/* ===== TEAM SLIDER ===== */
/* ============================= */

.team {
    overflow: hidden;
}

.team-slider {
    position: relative;
    overflow: hidden;
    cursor: grab;
    padding-bottom: 20px;
    padding-top: 20px;
}

.team-slider.dragging {
    cursor: grabbing;
}

.team-track {
    display: flex;
    gap: 16px;
    will-change: transform;
}

/* ============================= */
/* ===== TEAM ITEM ===== */
/* ============================= */

.team-item {
    flex: 0 0 auto;
    width: 300px;
    text-align: center;
    cursor: pointer;

    /* ПЛАВНОСТЬ ВСЕГО */
    transition:
        transform 0.6s cubic-bezier(.22, 1, .36, 1),
        opacity 0.4s ease;
}

/* активная карточка */
.team-item.active {
    transform: scale(1.08);
    opacity: 1;
    filter: brightness(1.2);
}

.team-track-second .team-item {
    width: 400px;
}

/* ============================= */
/* ===== IMAGE ===== */
/* ============================= */

.team-item img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 18px;

    /* без "белой плёнки" */
    filter: none;
    opacity: 1;

    /* UX */
    -webkit-user-drag: none;
    user-select: none;

    /* плавный hover */
    transition:
        transform 0.6s cubic-bezier(.22, 1, .36, 1);
}

/* hover — МЯГКИЙ */
.team-item:hover img {
    transform: scale(1.04);
    filter: brightness(1.2);
}

/* ============================= */
/* ===== TEXT ===== */
/* ============================= */

.team-name {

    font-weight: normal;
    font-size: 16px;
    line-height: 18px;
    color: #1C1C1C80;
}

.team-role {
    text-transform: lowercase;
    margin-top: 8px;
    font-size: 16px;
    line-height: 18px;
    color: #1C1C1C;

}

/* ============================= */
/* ===== RESPONSIVE ===== */
/* ============================= */

@media (max-width: 900px) {
    .team-item {
        width: 20vw;
    }

    .team-track-second .team-item {
        width: 25vw;
    }
}

@media (max-width: 500px) {
    .team-item {
        width: 45vw;
    }

    .team-track-second .team-item {
        width: 70vw;
    }
}


.section-margintop30 {
    margin-top: 30px;
}

.education-page .education__btn {
    width: 250px;

    @media (max-width:970px) {
        width: 75%;
    }

}

.section-text p,
ul,
li {
    font-size: 20px;
    line-height: 30px;
    color: #3A271E;
}

.section-text h4 {
    color: #CFA99C
}

.education-page h3 {
    font-size: 20px;
    line-height: 28px;
}

.section-text h4 {
    font-size: 22px;
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
}

.section-text {
    margin-top: 30px;
}

/* ===== Education page: списки (услуги маникюра) ===== */
.education-page ul {
    list-style: none;
    margin: 16px 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.education-page li {
    position: relative;
    padding: 12px 14px 12px 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    color: #1f2937;
    /* нейтральный темный */
    line-height: 1.45;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

/* маркер-иконка */
.education-page li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 14px;
    width: 18px;
    height: 18px;
    border-radius: 6px;

    /* аккуратный "салонный" градиент */
    background: linear-gradient(135deg, #CFA99C 0%, #E7C7BE 55%, #F4E3DE 100%);
    box-shadow: 0 8px 16px rgba(207, 169, 156, 0.35);
}

/* галочка внутри маркера */
.education-page li::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 18px;
    width: 8px;
    height: 5px;
    border: 2px solid rgba(137, 99, 86, 0.95);
    border-top: 0;
    border-right: 0;
    transform: rotate(-45deg);
}

/* hover */
.education-page li:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(207, 169, 156, 0.35);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

/* если внутри пункта есть <strong> или <b> — подчеркнем */
.education-page li strong,
.education-page li b {
    color: #111827;
    font-weight: 700;
}

/* вложенные списки (если появятся) */
.education-page li ul {
    margin-top: 10px;
    gap: 8px;
}

.education-page li ul li {
    background: rgba(255, 255, 255, 0.55);
    box-shadow: none;
    border-radius: 12px;
    padding-left: 42px;
}

/* адаптив */
@media (max-width: 640px) {
    .education-page li {
        padding: 12px 12px 12px 42px;
        border-radius: 12px;
    }

    .education-page li::before {
        left: 12px;
        top: 13px;
    }

    .education-page li::after {
        left: 18px;
        top: 17px;
    }
}

.education-page p {
    font-size: 20px;
    line-height: 30px;
}

.education-page .education-text-p b {
    font-size: 20px;
    line-height: 30px;
}

.education-page {
    margin-bottom: 40px;
}

@media (min-width: 640px) {
    .education-page .education-foto-item {
        width: calc(47% - 16px);
    }

    .education-page .education-text {
        width: calc(120% / 3 - 64px / 3);

    }
}


.education-padding-top {
    padding-top: 0px;
}

.vacancy-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px
}

.vacancy-item {
    border: 1px solid rgba(137, 99, 86, .25);
    border-radius: 18px;
    background: #fff;
    overflow: hidden
}

.vacancy-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 18px
}

.vacancy-summary::-webkit-details-marker {
    display: none
}

.vacancy-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.2
}

.vacancy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px
}

.vacancy-tag {
    font-size: 13px;
    line-height: 1.2;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(207, 169, 156, .22);
    color: #896356
}

.vacancy-summary__btn {
    flex: 0 0 auto;
    align-self: center;
    padding: 10px 14px;
    border-radius: 12px;
    background: #CFA99C;
    color: #fff;
    font-weight: 700;
    white-space: nowrap
}

details[open] .vacancy-summary__btn {
    background: #896356
}

.vacancy-body {
    padding: 0 18px 18px
}

.vacancy-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px
}

.vacancy-cta .education__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none
}

@media (max-width: 600px) {
    .vacancy-summary {
        flex-direction: column
    }

    .vacancy-summary__btn {
        width: 100%;
        text-align: center
    }
}

/* ===== BLOG (Masonry) ===== */
.blog-masonry {
    column-count: 3;
    column-gap: 16px;
    margin-top: 24px
}

.blog-card {
    display: inline-block;
    width: 100%;
    margin: 0 0 16px;
    border: 1px solid rgba(137, 99, 86, .25);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid
}

.blog-card__media {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(207, 169, 156, .22)
}

.blog-card__media svg {
    width: 58px;
    height: 58px;
    opacity: .55
}

.blog-card__content {
    padding: 18px
}

.blog-card__title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.2
}

.blog-card__desc {
    margin: 0;
    color: #3A271E;
    font-size: 16px;
    line-height: 24px
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px
}

.blog-tag {
    font-size: 13px;
    line-height: 1.2;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(207, 169, 156, .22);
    color: #896356
}

.blog-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-top: 14px
}

@media (max-width: 1440px) {
    .blog-masonry {
        column-count: 4
    }
}

@media (max-width: 1200px) {
    .blog-masonry {
        column-count: 3
    }
}

@media (max-width: 900px) {
    .blog-masonry {
        column-count: 2
    }
}

@media (max-width: 600px) {
    .blog-masonry {
        column-count: 1;
        column-gap: 12px
    }

    .blog-card {
        margin-bottom: 12px
    }

    .blog-card__content {
        padding: 14px
    }
}

/* ===== BLOG ARTICLE (Template) ===== */
.article-page {
    margin-top: 0;
    margin-bottom: 40px
}

.article-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 24px;
    color: #896356;
    font-size: 14px;
    line-height: 18px
}

.article-breadcrumbs__link {
    color: #896356;
    text-decoration: none;
    opacity: .9
}

.article-breadcrumbs__link:hover {
    opacity: 1;
    text-decoration: underline
}

.article-breadcrumbs__sep {
    opacity: .55
}

.article-breadcrumbs__current {
    color: #3A271E;
    opacity: .85
}

.article-head {
    margin-top: 14px;
    padding: 18px;
    border: 1px solid rgba(137, 99, 86, .25);
    border-radius: 18px;
    background: rgba(255, 255, 255, .75);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .06)
}

.article-title {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 40px;
    color: #3A271E
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
    color: #3A271E;
    opacity: .85;
    font-size: 14px;
    line-height: 18px
}

.article-meta__dot {
    opacity: .45
}

.article-lead {
    margin-top: 14px;
    color: #3A271E;
    font-size: 18px;
    line-height: 28px
}

.article-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px
}

.article-cover {
    margin-top: 16px;
    border: 1px solid rgba(137, 99, 86, .25);
    border-radius: 18px;
    overflow: hidden;
    background: #fff
}

.article-cover img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover
}

.article-content {
    margin-top: 20px
}

.article-content h2,
.article-content h3 {
    margin-top: 18px;
    margin-bottom: 10px;
    color: #3A271E;
    font-weight: 600
}

.article-content h2 {
    font-size: 26px;
    line-height: 34px
}

.article-content h3 {
    font-size: 22px;
    line-height: 30px
}

.article-content p {
    margin-top: 12px
}

.article-link {
    color: #896356;
    text-decoration: underline
}

.article-link:hover {
    opacity: .9
}

.article-callout {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(207, 169, 156, .55);
    background: rgba(207, 169, 156, .18);
    color: #3A271E
}

.article-quote {
    margin-top: 18px;
    padding: 14px 16px;
    border-left: 4px solid #CFA99C;
    border-radius: 12px;
    background: rgba(255, 255, 255, .75);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
    color: #3A271E
}

.article-list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    gap: 10px
}

.article-list li {
    position: relative;
    padding: 12px 14px 12px 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .75);
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
    color: #1f2937;
    line-height: 1.45
}

.article-list li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 12px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(207, 169, 156, .7)
}

.article-list li::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 18px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #896356
}

.article-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px
}

.article-gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(137, 99, 86, .18)
}

.article-bottom {
    margin-top: 22px
}

.article-bottom__box {
    padding: 18px;
    border: 1px solid rgba(137, 99, 86, .25);
    border-radius: 18px;
    background: #fff
}

.article-bottom__box h3 {
    margin: 0 0 10px
}

.article-bottom__box p {
    margin: 0;
    color: #3A271E;
    font-size: 16px;
    line-height: 24px
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px
}

.article-nav__link {
    color: #896356;
    text-decoration: none;
    font-size: 16px;
    line-height: 24px
}

.article-nav__link:hover {
    text-decoration: underline
}

@media (max-width: 1200px) {
    .article-title {
        font-size: 30px;
        line-height: 36px
    }
}

@media (max-width: 900px) {
    .article-gallery {
        grid-template-columns: repeat(2, 1fr)
    }

    .article-gallery img {
        height: 160px
    }

    .article-nav {
        flex-direction: column
    }
}

@media (max-width: 600px) {
    .article-head {
        padding: 14px
    }

    .article-title {
        font-size: 24px;
        line-height: 30px
    }

    .article-lead {
        font-size: 16px;
        line-height: 24px
    }

    .article-gallery img {
        height: 140px
    }
}

.margin20 h2{
    margin-bottom: 20px
}

.text-sub {
    max-width: 100%;
    text-align: left;
}
.text-sub p {
    padding-bottom: 10px;
}
