html{
    scroll-padding-top: 12rem;
}
body{
    background: #f4f8fb;
}
p.privacy-policy{
    display: none !important;
}
#UpForm .input-form p input{
    margin: 0;
}
#UpForm span.wpcf7-list-item-label{
    font-size: 1rem;
}
#UpForm span.wpcf7-list-item-label a{
    color: #091c81;
    font-family: 'Bold';
}
#UpForm .input-form p .send-form{
    background: #cc7722;
}
#UpForm .input-form p .send-form:hover{
    background: #b66a1e;
}



.sticky-header {
    position: fixed;
    top: -180px;
    left: 0;
    width: 100%;
    transition: top 0.3s ease;
    z-index: 205;
}
.sticky-header.visible {
    top: 0;
}
.sticky-header .container{
    border-radius: 0 0 1rem 1rem !important;
}
.sticky-header .content_y{
    display: flex;
    flex-direction: row;
    gap: .4rem;
}
.sticky-header .content_y .info{
    width: 2.4rem;
    height: 2.4rem;
}
.sticky-header .shapka_button{
    padding: .6rem 1rem;
}



/*Шапка сайта*/
#shapka{
    padding: 0 !important;
    border-radius: 0 !important;
    background-size: cover;
    position: relative;
}
#PC-header{
    position: absolute;
    z-index: 407;
    top: 15px;
    width: 100%;
    padding: 0 1rem;
    /* box-shadow: rgba(255, 255, 255, 0.25) 0px 25px 50px -12px; */
    margin-bottom: 8vh;
    padding-bottom: 15px;
}
.shapan{
    width: 100%
}
#PC-header .container, .sticky-header .container{
    background: #3c3c3c6e;
    padding: 1rem;
    border-radius: 1.5rem;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.shapans{
    transition: 0.3s ease-in-out; /* Плавное изменение фона */
}
.shapan .top{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;    
    margin: 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #444444;
    margin-top: 0;
}
.shapan .top .content{
    width: 8rem;
    display: inherit;
    gap: 15px;
    justify-content: center;
    align-items: center;
}
.shapan .top .content p, .shapan .top .content a{
    color: white;
    font-size: .9rem;
    font-weight: 400;
    margin: 0;
}
.shapka{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /*border-bottom: 1px solid white;*/
    /*background: #e7e7e7;
    border-radius: 80px;*/
    align-items: center;
    padding: 10px;
    margin: 0;
}
.shapka .left{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding-top: 15px;
}
li nav a{
    color: white;
    font-size: 1rem;
}
.shapka-logo{
    width: 100%;
}
.shapka-logo:hover{
    transform: scale(1.02);
}
.shapka-logo:active{
    transform: scale(1);
}
#PC-header .shapka .logo{
    display: flex;
    width: 2.8rem;
    align-items: center;
}
#PC-header .top .content .logo{
    width: 60% !important;
    box-shadow: none !important;
    padding: 0;
    font-size: 2rem;
    color: #ffffff;
    font-family: 'Bold';
}
.shapka_button{
    background: var(--bg_color);
    border-radius: .3rem;
    padding: 1rem 1.3rem;
    font-weight: 500;
    color: white;
    font-size: 1rem;
    transition: 0.5s;
    display: block;
    width: max-content;
    text-align: center;
    height: max-content;
    transition: .3s ease-in-out;
    background-size: 300% 300%;
}
#buthead{
    text-align: center;
}
#buthead .input-form p{
    width: 100%;
    margin: 0;
}
#buthead .input-form .num-head, #buthead .input-form .tel-head, #buthead .input-form .but-head{
    width: 100%;
    padding: 15px;
    color: #4C545E;
    background: #f7f7f5;
    border-radius: 15px;
    border: 1px solid #f7f7f5;
    margin-bottom: 10px;
}
#buthead .input-form .but-head{
    cursor: pointer;
    background: #c5a47e;
    color: black;
    margin: 0;
}
nav.main-navigation-PC{
    width: 100%;
}
nav.main-navigation div.menu ul{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}
nav.main-navigation .menu-menu-container .menu-item a {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 400;
    margin: 0;
}
nav.main-navigation .menu-menu-container .menu-item{
    transition: .3s ease-in-out;

    &:hover{
        color: rgb(224, 207, 207);
        transform: translateY(-2px);
    }

    &:active{
        transform: translateY(0);
    }
}
.shapan .main-navigation .menu{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 0;
    align-items: center;
}
.shapan .main-navigation .menu .menu-item{
    font-size: .9rem;
    font-weight: 400;
    color: white;
    visibility: hidden !important;
}
.shapan .container nav{
    margin: 0;
}
#menu-item-8{ /* Делает меню поверх всего (Главный элемент) */
    z-index: 3;
    position: relative;
}
.menu-item .sub-menu {
    position: absolute;
    left: 100%;
    top: 10px;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    background: #fff;
    padding: 15px;
    border: 1px solid #f2eae7;
    border-radius: 15px;
    width: 200px;
    z-index: 2;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.menu-item:hover > .sub-menu, .menu-item.active > .sub-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 1;
    transform: translateY(0);
}
.menu-item {
    position: relative;
}
.shapan .main-navigation .menu{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}
.shapan .main-navigation .menu .menu-item{
    font-size: .9rem;
    font-weight: 400;
    color: white;
    z-index: 2;
}
.shapan .container nav{
    margin: 0;
}
#menu-item-11 li a:hover{
    text-decoration: underline !important;
}
#menuToggle{
    display: none;
}
#PC-header .top .but-cont{
    display: flex;
    flex-direction: row;
    gap: .9rem;
    flex-wrap: wrap;
    align-items: center;
}
#PC-header .top .but-cont .num{
    color: #fff;
}
#PC-header .top .but-cont .info{
    display: flex;
    flex-direction: row;
    gap: .4rem;
    align-items: center;
}
#PC-header .top .but-cont .info svg{
    width: 2rem;
    height: 2rem;
    color: #000000;
}
#PC-header .top .but-cont .info span{
    color: #000000;
    margin: 0;
}
#PC-header .top .but-cont .mail{
    transition: .3s ease-in-out;
}
#PC-header .top .but-cont .mail a{
    display: flex;
    gap: .4rem;
    align-items: center;
    height: 100%;
    overflow: hidden;
    position: relative;
}
#PC-header .top .but-cont .mail #email-tag{
    position: absolute;
    background: #000000c9;
    color: #fff;
    padding: 8px;
    transition: .3s ease-in-out;
    border-radius: .4rem;
}
#PC-header .top .but-cont .mail #email-tag span{
    margin: 0;
    background: transparent;
    color: #fff;
    font-size: .8rem;
}
#PC-header .top .but-cont .mail svg, #PC-header .top .but-cont img{
    width: 2rem;
    height: 2rem;
    color: #ffffff;
}
#PC-header .top .but-cont .mail .text{
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0;
}

#shapka .shapka_content{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#shapka .shapka_content .podp{
    position: absolute;
    bottom: 1.4rem;
    left: .9rem;
    right: .9rem;
    width: 100%;
    display: flex;
    justify-content: center;
}
#shapka .shapka_content .podp .info{
    display: flex;
    flex-direction: column;
    align-items: center;
}
#shapka .shapka_content .podp span{
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
    text-align: start;
}
#shapka .shapka_content .podp span.arrow{
    font-size: 1.4rem;
    animation: fly 1.5s linear infinite;
}
@keyframes fly {
    0% { transform: translateY(0) rotate(90deg); }
    50% { transform: translateY(10px) rotate(90deg); }
    100% { transform: translateY(0) rotate(90deg); }
}
#shapka .shapka_content .centers.BF .left{
    --BF-f: 1 1 clamp(320px, 59%, 680px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#shapka .shapka_content .centers.BF .right{
    --BF-f: 1 1 clamp(320px, 39%, 680px);
    display: flex;
}
#shapka .shapka_content .centers.BF .right img{
    border-radius: 1rem;
    height: 100%;
    object-fit: contain;
}
#shapka .fortochka_cont{
    position: absolute;
    z-index: -1;
    background: #000000;
    width: 100%;
    border-radius: 0px;
    margin: 0px;
    overflow: hidden;
    height: 100%;
}
#shapka .bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
}
#shapka .fortochka{
    width: 100%;
    height: 100%;
    opacity: 0; /* Прозрачность фонового изображения */
    object-fit: cover;
    background: transparent;
    position: absolute;
    opacity: 0;
    transition: 1.2s ease-in-out;   /* время и тип анимации */
    pointer-events: none;                    /* чтобы не мешали кликам */
}
#shapka .fortochka.active{
    transform: scale(1.2);
    opacity: .4;
    pointer-events: auto;
    z-index: 2;
}
#shapka .fortochka_cont, #shapka .fortochka, #shapka .shapka_content{
    /* margin-top: 12rem; */
    height: 100vh;
}
#shapka .shapka_content .advantages .ikonka_1{
    border-radius: 40px;
    color: #fff;
    background: #0c954d;
    padding: 3px;
    width: 1.6rem;
    height: 1.6rem;
}
#shapka .shapka_content .advantages{
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
#shapka .shapka_content .advantages .content{
    display: flex;
    flex-direction: row;
    gap: .4rem;
}
#shapka .shapka_content p, #shapka .shapka_content h1, #shapka .shapka_content .advantages p{
    margin: 0;
    color: #ffffff;
}
#shapka .shapka_content p{
    font-size: 1rem;
    font-weight: 500;
    color: #1b4332 !important;
}
#shapka .shapka_content h1{
    font-weight: 700;
    margin-bottom: 20px;
    /* letter-spacing: 2px; */
    color: #fff;
    text-align: center;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#shapka .shapka_content h1 .anim{
    position: relative;
    display: flex;
    justify-content: center;
}
#shapka .shapka_content h1 .anim .el{
    position: relative;
}
#shapka .shapka_content h1, #shapka .shapka_content h1 span{
    font-size: 4rem;
    text-transform: uppercase;
    font-family: 'Regular';
    line-height: 150%;
}


#shapka .text-reveal-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;  /* под твой размер */
    height: auto; /* или фиксированный */
}
#shapka .reveal-text {
    position: absolute;  /* ← ключ! */
    inset: 0;
    color: #fff;
    font-weight: bold;
    line-height: 1.1;
    margin: 0;
    background: transparent;
    background-size: 0% 100%;
    opacity: 0;  /* изначально невидимы */
    padding: 1rem;
    overflow: hidden;
    width: fit-content;
    display: block;
}
#shapka .reveal-text.active {
    background-size: 100% 100%;
    opacity: 1;
    position: relative;
    transition: background-size 1.2s ease-out, transform 3.6s ease-out, opacity 0.6s ease-out;
}
#shapka .reveal-text.out {
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.7s ease-in, opacity 0.7s ease-in;
    position: relative;
}
#shapka .reveal-text::before {
    background-color: #6aa831;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
#shapka .reveal-text.active::before {
    transform: scaleX(1);
    -webkit-animation: slideIn 4.4s ease-out forwards;
    animation: slideIn 4.4s ease-out forwards
}
@keyframes slideIn {
    0% {
        left: -100%
    }

    83% {
        left: 0
    }

    86% {
        left: 0
    }

    100% {
        left: 100%
    }
}
#PC-header .main-navigation-PC.plate{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
#PC-header .main-navigation-PC.plate a.num, nav.main-navigation.plate .menu-menu-container .menu-item a{
    font-size: 1.1rem;
    color: #fff;
    font-weight: 400;
    margin: 0;
}
#PC-header .main-navigation-PC.plate .menu-menu-container{
    width: 60%;
    display: flex;
}
#PC-header .main-navigation-PC.plate .menu-menu-container .menu{
    justify-content: flex-start;
    gap: 2rem;
}





#shapka .shapka_content .cont-form{
    margin-top: 15px;
    width: 100%;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}
#shapka .shapka_content .cont-form a{
    padding: 20px 45px;
    font-size: 1rem;
    border-radius: .3rem;
    transition: .3s ease-in-out;
}
#shapka .shapka_content .cont-form .bottom1{
    color: white;
    transition: .3s ease-in-out;
    position: relative;
    overflow: hidden;
    background: var(--bg_color);
}
#shapka .content-z{
    position: relative;
    z-index: 2;
}
#shapka .shapka_content .cons{
    margin-top: 1rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background: #1b4332;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    -webkit-mask: radial-gradient(circle at calc(100% - 95px) 0, #0000 45px, #000 46px);
    mask: radial-gradient(circle at calc(100% - 95px) 0, #0000 45px, #000 46px);
}
#shapka .shapka_content .cons .zag{
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
    padding-top: 2rem;
}
#shapka .shapka_content .cons .input-form p:nth-child(1){
    background: #fff;
    padding: .6rem;
    border-radius: .6rem;
    display: flex;
    flex-direction: row;
    gap: .4rem;
}
#shapka .shapka_content .cons .input-form p:nth-child(1) span, #shapka .shapka_content .cons .input-form p:nth-child(1) input{
    margin: 0;
    margin-bottom: 0;
    font-size: 1rem;
}
#shapka .shapka_content .cons .input-form p:nth-child(1) span{
    width: 50%;
}
#shapka .shapka_content .cons .input-form p:nth-child(1) span:nth-child(1){
    position: absolute;
    left: -999rem;
}
#shapka .shapka_content .cons .input-form p:nth-child(1) span input{
    width: 100%;
}
#shapka .shapka_content .cons .input-form p:nth-child(1) span input::placeholder{
    color: #1b4332;
}
#shapka .shapka_content .cons .input-form p:nth-child(1) span input, #shapka .shapka_content .cons .input-form p:nth-child(1) .send-form{
    padding: .8rem .6rem;
    border: none;
    background: none;
    color: #1b4332;
}
#shapka .shapka_content .cons .input-form p:nth-child(1) .send-form{
    width: 50%;
    background: #c78d1e;
    color: #fff;
    border-radius: .2rem;
}
#shapka .shapka_content .cons .input-form p:nth-child(2) span, #shapka .shapka_content .cons .input-form p:nth-child(2) a{
    color: #bbbbbb;
    font-size: .8rem;
}
#shapka .shapka_content .form-arr{
    position: relative;
}
#shapka .shapka_content .form-arr .consultation-icon{
    position: absolute;
    top: -18px;
    right: 60px;
    width: 70px;
    height: 70px;
    background-color: var(--bg_color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
#shapka .shapka_content .prems{
    padding: 3rem;
    background: #1b4332;
    margin-top: 2rem;
    border-radius: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));;
}
#shapka .shapka_content .prems .content{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
#shapka .shapka_content .prems .foto{
    width: 5.5rem;
    height: 5.5rem;
    position: relative;
}
#shapka .shapka_content .prems .foto img{
    height: 100%;
    object-fit: contain;
}
#shapka .shapka_content .prems .foto .ul-c{
    height: 2px;
    width: 40%;
    background: #fff;
    position: absolute;
    bottom: -10px;
}
#shapka .shapka_content .prems p{
    color: #fff !important;
    font-size: 1rem;
}





#about{
    overflow: visible;
    scroll-padding-top: 12rem;
}
#about h2{
    font-size: 1.4rem;
    color: #000;
}
#about .content .text p{
    color: #2a2a2a;
}
#about .content {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
#about .content .prem .content .info{
    display: flex;
    flex-direction: row;
    gap: .4rem;
    align-items: center;
    margin-bottom: .4rem;
    position: relative;
    z-index: 2;
    justify-content: center;
}
#about .content .prem .content .info .icon{
    width: 2.5rem;
    height: 2.5rem;
    object-fit: cover;
}
#about .content .prem .content .info .zag{
    margin: 0;
    font-size: 1.4rem;
    transition: .3s ease-in-out;
    color: #000;
}
#about .content .prem .content .opi{
    color: #000;
    margin: 0;
    font-size: 1.1rem;
    text-align: justify;
    transition: .3s ease-in-out;
    position: relative;
    z-index: 2;
    background: transparent;
}
#about .content .prem .content.item{
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 1rem;
    transition: .3s ease-in-out;
    position: relative;
}
#about .content .prem .content.item:hover{
    transform: scale(1.04) translateY(-10px);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
#about .content .prem .content.item{
    padding: 1.6rem;
}
#about .content .prem .content.cont_6 .opi{
    text-align: start;
}
#about .number{
    position: absolute;
    top: 0px;
    left: 20px;
    z-index: 0;
    font-size: 5rem;
    color: #e8f1ec;
    font-family: 'Regular';
}

/* ============================================
   СЕКЦИЯ ПОРТФОЛИО
   (Swiper Slider + Card Deck внутри)
============================================
*/

#portfolio h2 {
    font-size: 2.8rem;
    color: #1b4332;
    -webkit-text-stroke: 1px #000000;
}
#portfolio .contnent {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Навигация слайдера */
#portfolio .contnent .arrow {
    width: 7rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#portfolio .prev, #portfolio .next {
    color: #fff;
    cursor: pointer;
    position: relative;
    z-index: 10;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #cc772297;
    border-radius: 10px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: .3s ease-in-out;
}
#portfolio .next:after {
    content: 'next';
    font-family: swiper-icons;
    text-transform: none !important;
    line-height: 1;
    font-size: 1.4rem !important;
}
#portfolio .prev:after {
    content: 'prev';
    font-family: swiper-icons;
    text-transform: none !important;
    line-height: 1;
    font-size: 1.4rem !important;
}
#portfolio .next:hover, #portfolio .prev:hover {
    filter: drop-shadow(0 0 4px #cc772297);
    background: #b66a1e;
}

/* Контейнер слайдера */
#portfolio .swipe-cont {
    width: 100%;
    height: auto;
    position: relative;
    overflow: visible; /* Чтобы карточки могли вылетать за границы слайда */
    padding-top: 20px;
    padding-bottom: 50px;
    overflow: hidden;
}
#portfolio .swiper-wrapper {
    height: auto;
    align-items: stretch; /* Одинаковая высота */
}

/* Один слайд (Кейс) */
#portfolio .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    transition: opacity 0.3s ease;
}
#portfolio .swiper-slide-active {
    opacity: 1; /* Активный слайд яркий */
}
#portfolio .portfolio-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Сама стопка карт (Deck) --- */
.card-deck {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4/3; /* Пропорции фото */
    margin-bottom: 25px;
    perspective: 1000px;
    cursor: pointer;
    z-index: 10;
}

/* Стили карточек (ссылок) */
.card-deck a {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
    border: 4px solid #fff;
    display: block;
}

/* Прячем img внутри */
.card-deck a img { display: none; }

/* --- Анимации "Живой колоды" (Shuffle) --- */
@keyframes shuffle-1 {
    0%, 100% { transform: rotate(-8deg) translate(-10px, 10px); }
    50% { transform: rotate(-6deg) translate(-5px, 15px); }
}
@keyframes shuffle-2 {
    0%, 100% { transform: rotate(5deg) translate(5px, 5px); }
    66% { transform: rotate(2deg) translate(2px, 10px); }
}
@keyframes shuffle-3 {
    0%, 100% { transform: rotate(-4deg) translate(-3px, 2px); }
    50% { transform: rotate(-1deg) translate(2px, -2px); }
}
@keyframes shuffle-4 {
    0%, 100% { transform: rotate(0deg) translate(0, 0); }
    60% { transform: rotate(1deg) translate(0px, 3px); }
}

/* Применяем анимации к слоям (снизу вверх) */
.card-deck a:nth-child(1) { z-index: 4; animation: shuffle-4 6s ease-in-out infinite alternate; }
.card-deck a:nth-child(2) { z-index: 3; animation: shuffle-3 7s ease-in-out infinite alternate; animation-delay: -1s; }
.card-deck a:nth-child(3) { z-index: 2; animation: shuffle-2 5s ease-in-out infinite alternate; animation-delay: -2.5s; }
.card-deck a:nth-child(4) { 
    z-index: 1; 
    animation: shuffle-1 8s ease-in-out infinite alternate; 
    animation-delay: -4s; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.3); 
}

/* --- Ховер эффект (Разлет карт) --- */
.card-deck:hover a { animation: none; }

.card-deck:hover a:nth-child(1) { transform: rotate(0deg) translate(0, -5px) scale(1.02); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);  }
.card-deck:hover a:nth-child(2) { transform: rotate(-6deg) translate(-10px, 5px); }
.card-deck:hover a:nth-child(3) { transform: rotate(8deg) translate(20px, 10px); }
.card-deck:hover a:nth-child(4) { 
    transform: rotate(-12deg) translate(-25px, 15px);   
}

/* Инфо блок */
.portfolio-info { text-align: center; width: 100%; }
.portfolio-info h3 { font-size: 20px; margin-bottom: 10px; color: #333; font-weight: 700; }
.portfolio-info p { font-size: 14px; color: #666; line-height: 1.4; }

/* КОНЕЦ СТИЛЕЙ ПОРТФОЛИО */


#proektirovanie{
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    overflow: visible;
}
#proektirovanie h2{
    font-size: 2.8rem;
    color: #000;
    text-align: center;
}
#proektirovanie p{
    line-height: 25px;
    text-align: justify;
}
#proektirovanie .content{
    flex-direction: row-reverse !important;
    gap: 2rem;
}
#proektirovanie .left{
    flex: 1 1 clamp(320px, 48%, 680px);
    display: flex;
    justify-content: center;
    flex-direction: column;
}
#proektirovanie .right{
    flex: 1 1 clamp(320px, 48%, 680px);
    border-radius: 1rem;
    /* overflow: hidden; */
}
#proektirovanie .right img{
    height: 100%;
    object-fit: cover;
}


#stroitelstvo{
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}
#stroitelstvo h2{
    font-size: 2.8rem;
    color: #000;
    text-align: center;
}
#stroitelstvo p{
    text-align: justify;
}
#stroitelstvo .left{
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex: 1 1 clamp(320px, 48%, 880px);
}
#stroitelstvo .left a{
    background: var(--bg_color);
    color: #fff;
    padding: .8rem 1.6rem;
    font-size: 1.1rem;
    border-radius: .4rem;
}
#stroitelstvo .right{
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    flex: 1 1 clamp(320px, 48%, 880px);
    position: relative;
}
#stroitelstvo .right .portfolio-item{
    display: flex;
    justify-content: center;
}
#stroitelstvo .right .portfolio-item .card-deck{
    max-width: 420px;
    margin: 25px 0;
}
#stroitelstvo .right .contnent{
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 0 1rem;
    position: absolute;
    width: 100%;
    padding-bottom: 1rem;
}
#stroitelstvo .contnent .arrow{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Сам слайдер */
#stroitelstvo .swipe-cont {
    width: 100%;
    height: auto; /* ВАЖНО: нужна фиксированная или ограниченная высота */
    position: relative; /* ВАЖНО: иначе скроллбар будет вести себя как обычный div */
    /* overflow: hidden; */
}
#stroitelstvo .swiper-wrapper{
    /* height: auto; */
    width: 100%;
}
#stroitelstvo .swiper-slide {
    /* display: flex;
    font-size: 24px;
    padding-bottom: 20px; */
    transition: .3s ease-in-out;
    border-radius: 1rem;
    /* overflow: hidden; */
}
#stroitelstvo .swiper-slide .doimg{
    display: block;
    height: 100%;
}
#stroitelstvo .swiper-slide .doimg img{
    height: 100%;
    object-fit: cover;
}
#stroitelstvo .prev, #stroitelstvo .next {
    color: #ffffff; /* или свой цвет */
    cursor: pointer;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ff972ed6;
    border-radius: 10px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
#stroitelstvo .next:after{
    content: 'next';
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    font-size: 1.3rem !important;
}
#stroitelstvo .prev:after{
    content: 'prev';
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    font-size: 1.3rem !important;
}
#stroitelstvo .prev, #stroitelstvo .next{ 
    transition: .3s ease-in-out;
    transform: translateY(0);
    top: 0;
}
#stroitelstvo .next:hover, #stroitelstvo .prev:hover {
    filter: drop-shadow(0 0 4px #ff972ed6);
}
/* Сам слайдер */

#kap-remont{
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}
#kap-remont h2{
    font-size: 2.8rem;
    color: #000;
    text-align: center;
}
#kap-remont p{
    text-align: justify;
}
#kap-remont .content{
    flex-direction: row;
}
#kap-remont .left{
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex: 1 1 clamp(320px, 48%, 680px);
}
#kap-remont .left a{
    background: var(--bg_color);
    color: #fff;
    padding: .8rem 1.6rem;
    font-size: 1.1rem;
    border-radius: .4rem;
}
#kap-remont .right{
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    flex: 1 1 clamp(320px, 48%, 680px);
    position: relative;
}
#kap-remont .right .portfolio-item{
    display: flex;
    justify-content: center;
}
#kap-remont .right .portfolio-item .card-deck{
    max-width: 420px;
    margin: 25px 0;
}
#kap-remont .right .contnent{
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 0 1rem;
    position: absolute;
    width: 100%;
    padding-bottom: 1rem;
}
#kap-remont .contnent .arrow{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Сам слайдер */
#kap-remont .swipe-cont {
    width: 100%;
    height: auto; /* ВАЖНО: нужна фиксированная или ограниченная высота */
    position: relative; /* ВАЖНО: иначе скроллбар будет вести себя как обычный div */
    /* overflow: hidden; */
}
#kap-remont .swiper-wrapper{
    /* height: auto; */
    width: 100%;
}
#kap-remont .swiper-slide {
    /* display: flex;
    font-size: 24px;
    padding-bottom: 20px; */
    transition: .3s ease-in-out;
    border-radius: 1rem;
    /* overflow: hidden; */
}
#kap-remont .swiper-slide .doimg{
    display: block;
    height: 100%;
}
#kap-remont .swiper-slide .doimg img{
    height: 100%;
    object-fit: cover;
}
#kap-remont .prev, #kap-remont .next {
    color: #ffffff; /* или свой цвет */
    cursor: pointer;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ff972ed6;
    border-radius: 10px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
#kap-remont .next:after{
    content: 'next';
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    font-size: 1.3rem !important;
}
#kap-remont .prev:after{
    content: 'prev';
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    font-size: 1.3rem !important;
}
#kap-remont .prev, #kap-remont .next{ 
    transition: .3s ease-in-out;
    transform: translateY(0);
    top: 0;
}
#kap-remont .next:hover, #kap-remont .prev:hover {
    filter: drop-shadow(0 0 4px #ff972ed6);
}
/* Сам слайдер */


#fooer{
    position: relative;
    margin: 0;
}
#fooer .connt{
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
}
#fooer .konsult{
    /*min-height: 30vh;*/
    position: relative;
    padding: 3rem 0;
}
#fooer .bg_image{
    width: 100%;
    height: 100%;
    opacity: .3;
    object-fit: cover;
    background: #000000;
}
#fooer .konsult h2{
    color: #fff;
    font-size: 2.8rem;
    text-align: center;
}
#fooer .konsult ul{
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}
#fooer .konsult li{
    font-family: 'Medium';
    color: #fff;
    font-size: 1.1rem;
}
#fooer .konsult li a{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
	font-size: .8rem;
}
#fooer .konsult .more{
    margin-top: .8rem;
}
#fooer .konsult .more .mail{
    margin-top: 1rem;
}
#fooer .konsult .more .mail a{
    display: flex;
    gap: .4rem;
    align-items: center;
    height: 100%;
}
#fooer .konsult .more .mail svg{
    width: 2rem;
    height: 2rem;
    color: #fff;
}
#fooer .konsult .more .mail span{
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
}
#fooer .konsult .right{
    display: flex;
    justify-content: start;
    align-items: baseline;
    margin-top: 0rem;
}
#fooer .konsult .right .content{
    max-width: 920px;
    border-radius: 1rem;
    background: #f4f8fb;
    padding: 2rem;
}
#fooer .konsult .right .content h2{
    color: #000;
    font-size: 2rem;
}
#fooer .konsult .right .content .TAX svg, #menuToggle #tax_message .TAX img{
    width: 3rem;
    height: 3rem;
}
#fooer .konsult .right .content .TAX .tax, #PC-header .TAX .tax, #menuToggle #tax_message .TAX .tax{
    display: flex;
    align-items: center;
    gap: .4rem;
    color: #fff;
}
#menuToggle #tax_message{
    display: flex;
    justify-content: end;
	padding: 5px 0;
}
footer .popup-window p, #about .content .prem .content .opi, #proektirovanie p, #stroitelstvo p, #kap-remont p{
    text-indent: 20px !important;
}
#about .content .prem .content.cont_6 .opi, #about .content .prem2 .content.cont_1 .opi, #about .content .prem2 .content.cont_2 .opi{
    text-indent: 0px !important;
}
#about .qw{
    font-size: 2.8rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}
footer .popup-window li{
    /* list-style: disc !important; */
    /* margin-left: 2rem; */
    font-family: 'Medium';
    color: #212121;
    text-align: left;
}
footer #UpForm .content .content{
    font-family: 'Medium';
    color: #212121;
    text-align: justify;
}


#fooers{
    background: #000000;
    margin: 0;
}
#fooers .black_string{
    color: #fff;
    padding: 2rem 0;
}
#fooers .black_string a{
    color: #649537;
}
#fooers .black_string .left{
    display: flex;
    flex-direction: column;
    gap: .4rem;
    flex: 1 1 clamp(220px, 0%, 680px);
}
#fooers .black_string .left span{
    margin-bottom: 0;
}
#fooers .black_string .right{
    flex: 1 1 clamp(420px, 65%, 980px);
}
#fooers .blo{
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
#fooers .blo span{
    font-size: 1rem;
    margin: 0;
}
#fooers .black_string{
    align-items: center;
}
#fooers .sity{
    display: flex;
    flex-direction: row;
    gap: .6rem;
}
#fooers .sity .info{
    width: 2.5rem;
    height: 2.5rem;
}
#fooers .sity .info a{
    display: block;
}
#fooers .content{
    display: flex;
    justify-content: center;
}
#fooers .content .logo{
    width: 10rem;
    height: 10rem;
}
#menuToggle .mobilemob .logo img{
    height: 42px;
    object-fit: contain;
}
#fooers .blo.blo2{
    align-items: end;
}
#fooers .blo.blo1 .contact{
    color: #fff;
    font-size: .9rem;
    display: flex;
    gap: .2rem;
    align-items: center;
    margin: 0;
}

#menuToggle{
    background: rgba(0, 0, 0, 0.82) !important;
}



body{
    position: relative;
}
body .arrow_up{
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    border-radius: .4rem;
    background: transparent;
    z-index: 300;
}
body .arrow_up img{
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    transition: .3s ease-in-out;
}
body .arrow_up img:hover{
    transform: translateY(-5px);
}



footer #UpForm .content .content p{
	font-family: 'Medium';
}



#UpForm .input-form p .send-forms{
    color: white;
    cursor: pointer;
    border: none;
    margin: 0;
    transition: .3s ease-in-out;
    width: 100%;
    background: #cc7722;
}
#UpForm .input-form p .send-forms:hover{
    background: #b66a1e;
    transform: scale(1.02);
}
#UpForm .input-form p .send-forms:disabled{
    transform: scale(1);
    background: #cc77228e;
}
.footer_sh{
    display: none !important;
    width: 100% !important;
    height: max-content;
    background: linear-gradient(50deg, #244c00 -15%, #6aa831 72%);
    color: #fff !important;
    width: fit-content;
    padding: 1rem 3rem;
    margin-top: 1.3rem !important;
}




@media screen and (max-width: 3500px){
    #about .content .prem.BG{
        grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
    }
    #shapka .shapka_content h1, #shapka .shapka_content h1 span{
        font-size: 6rem;
    }
}
@media screen and (max-width: 1920px){
    #about .content .prem.BG {
        grid-template-columns: repeat(auto-fit, minmax(21rem, 1fr));
    }
    #shapka .shapka_content h1, #shapka .shapka_content h1 span {
        font-size: 4rem;
    }
}
@media screen and (max-width: 1180px){
    #PC-header .top .content .logo{
        font-size: 1.6rem;
    }
    #PC-header .top .but-cont .info span, #PC-header .top .but-cont .info a{
        font-size: 1rem;
    }
    #PC-header .top .but-cont{
        gap: .6rem;
    }
    #PC-header .main-navigation-PC.plate a.num, nav.main-navigation.plate .menu-menu-container .menu-item a{
        font-size: .9rem;
    }
    #PC-header .main-navigation-PC.plate a.num, nav.main-navigation.plate .menu-menu-container .menu-item a{
        font-size: .8rem;
    }
    .sticky-header .content_y .info{
        width: 2rem;
        height: 2rem;
    }
    .sticky-header .shapka_button{
        font-size: .8rem;
    }
    #PC-header .main-navigation-PC.plate .menu-menu-container .menu{
        gap: 1rem;
    }
    #PC-header .main-navigation-PC.plate .menu-menu-container{
        width: 50%;
    }
}
@media screen and (max-width: 1024px){
    #shapka .shapka_content{
        height: 100%;
        margin-top: 12rem;
        padding-bottom: 8rem;
    }
    #shapka{
        position: relative;
        display: block;
    }
    #PC-header .main-navigation-PC.plate a.num, nav.main-navigation.plate .menu-menu-container .menu-item a{
        font-size: .7rem;
    }
    #menuToggle #tax_message .TAX .tax{
        flex-direction: row-reverse;
        color: #000;
    }
    .main-navigation{
        display: flex;
        align-items: end;
        flex-direction: column;
    }
    #menuToggle .mail a{
        display: flex;
        flex-direction: row;
        gap: 10px;
    }
    #menuToggle .mail a p{
        margin: 0;
        margin-top: 10px;
    }
}
@media screen and (max-width: 768px){
    #proektirovanie .content, #stroitelstvo .content, #kap-remont .content{
        flex-direction: column !important;
    }
    #shapka .shapka_content h1, #shapka .shapka_content h1 span{
        font-size: 2rem;
    }
    #proektirovanie .swipe-cont{
        height: 22rem !important;
    }
    #proektirovanie{
        margin-bottom: 0;
    }
    #fooer .konsult{
        padding: 2rem 0;
    }
    #UpForm.popup-overlay .content{
        max-height: 450px;
        overflow-y: scroll;
    }
}
@media screen and (max-width: 568px){
    .shapka_button{
        font-size: .8rem;
        padding: .6rem .9rem;
        margin-top: 10px;
        font-size: 1.1rem;
    }
    #proektirovanie .content, #stroitelstvo .content, #kap-remont .content{
        padding: 0;
        border-radius: 1rem;
    }
    #proektirovanie h2, #stroitelstvo h2, #kap-remont h2, #fooer .konsult h2, #about h2, #portfolio h2{
        font-size: 1.5rem;
        text-align: center;
    }
    #proektirovanie p, #stroitelstvo p, #kap-remont p{
        font-size: .9rem;
    }
    #menuToggle{
        background: rgb(0 0 0 / 82%);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }
    #shapka .shapka_content h1, #shapka .shapka_content h1 span{
        font-size: 1.5rem;
    }
    #shapka .reveal-text{
        padding: .5rem;
    }
    #shapka .shapka_content .cons .zag{
        font-size: 1.2rem;
    }
    #shapka .shapka_content .cons .input-form p:nth-child(1) span, #shapka .shapka_content .cons .input-form p:nth-child(1) input{
        font-size: .7rem;
    }
    #shapka .shapka_content .cons .input-form p:nth-child(2) span, #shapka .shapka_content .cons .input-form p:nth-child(2) a{
        font-size: .6rem;
    }
    #about .content .prem .content .info .zag{
        font-size: 1.2rem;
        text-align: center;
        width: 100%;
    }
    #about .content .prem .content .opi{
        font-size: .9rem;
    }
    #about .content .prem .content.item:hover{
        transform: scale(1);
        box-shadow: none;
    }
    #shapka .fortochka_cont, #shapka .fortochka, #shapka .shapka_content{
        height: 100%;
    }
    #fooers a, #fooers span{
        font-size: .8rem;
    }
    #shapka .shapka_content .centers.BF .right{
        display: none;
    }
    #about .content .prem.BG{
        grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    }
    #shapka .shapka_content .cons .input-form p:nth-child(1){
        flex-direction: column;
    }
    #shapka .shapka_content .cons .input-form p:nth-child(1) span, #shapka .shapka_content .cons .input-form p:nth-child(1) .send-form{
        width: 100%;
    }
    #menuToggle .content{
        width: 80%;
    }
    #shapka .shapka_content .prems .foto{
        width: 4.5rem;
        height: 4.5rem;
    }
    #shapka .shapka_content .podp span{
        font-size: .6rem;
        text-align: center;
    }
    #shapka .shapka_content .podp{
        left: .1rem;
        right: .1rem;
    }
    #fooer .konsult .right .info{
        width: 100% !important;
        font-size: 1.1rem !important;
    }
    #about .qw{
        font-size: 1.4rem;
    }
    #proektirovanie h2, #stroitelstvo h2, #kap-remont h2, #fooer .konsult h2, #about h2, #portfolio h2, footer .popup-window p, #about .content .prem .content .opi, #proektirovanie p, #stroitelstvo p, #kap-remont p, #fooers a, #fooers span{
        text-align: start !important;
    }
    #proektirovanie h2, #stroitelstvo h2, #kap-remont h2, #fooer .konsult h2, #about h2, #portfolio h2{
        text-align: center !important;
    }
    #fooers .blo, #fooers .blo.blo2{
        align-items: start;
    }
    .footer_sh{
        display: block !important;
    }
    #fooers .blo.img{
        align-items: center;
    }
    #about h2{
        font-size: 1rem;
    }
}