* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
}


/* 1. Определяем анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}


:root {
    --main-color-0: #1A1A1A;
    --main-color-1: #1A1A1A;
    --main-color-2: #ffffff;
    --main-color-01: #1c1c1c;
    --main-color-00: #4AB948;
    --main-color-000: rgba(255, 172, 64, 0.1);
    --main-color-3: #222222;
    --main-color-4: #fcfcfc;

    --main-color-02: #EEEEEEFF;
    --main-color-03: #9e9e9e;
    --main-color-04: #4099ff;
    --main-color-05: #a269ff;
    --main-color-06: #ffac40;



    --main-color-21: #ffcad6;
    --main-color-22: #e32c2c;
    --main-color-23: #ffe08e;
    --main-color-24: #f1ff97;
    --main-color-25: #fae4ff;
    --main-color-26: #e2ffaf;
    --main-color-27: #fff3dc;
    --main-color-28: #dceeff;
    --main-color-29: #3d3d3d;
    --main-color-30: rgba(255, 0, 0, 0.3);
    --main-color-40: rgba(102, 255, 0, 0.3);
    --main-color-42: #54b2ff;
    --main-color-43: #ffb426;


}

@font-face {
    font-family: 'Main';
    src: local('Main'), url(../fonts/font.ttf) format('truetype');
}



a{
    text-decoration: none;
    outline: none;
}
html, body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    font-family: "Main",sans-serif;
    letter-spacing: 0.5px;
    scroll-behavior: smooth;
}


html {
    scroll-behavior: smooth;
    background-color: var(--main-color-1);
}

body {
    position: relative;
    overflow: hidden;
    color: var(--main-color-2);
}


::selection {
    background: var(--main-color-00);
    color: var(--main-color-1);
}

.main-page {
    width: 100%;
    position: relative;
    height: 100%;

    margin: 0 auto;
    padding: 15px;
    overflow: auto;
    box-sizing: border-box;
    max-height: 100vh;


}
.main-bar{
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    height: 50px;

    display: flex;
    align-items: center;
}

.Logo{
    margin-right: 20px;
    height: 100%;
    cursor: pointer;
}

.main-menu{
    display: flex;
    align-items: center;
    gap: 50px;
    margin-left: auto;
    margin-right: 100px;
}

.main-menu-item{
    cursor: pointer;
    letter-spacing: 0;
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    color: var(--main-color-2);
}
@media only screen and (max-width: 780px) {
    .main-menu{
        display: none!important;
    }


}
@media only screen and (min-width: 780px) {

    .IconsR{
        display: none!important;
    }

}
@media only screen and (max-width: 810px) {
    .main-block1{
        flex-wrap: wrap;
        flex-direction: column;
    }
    .main-block1 .main_block1_text{
        width: auto !important;
        margin: 0 auto;
    }

    .main-block1 .main_block1_image{
        width: 100% !important;
    }
}


.mbprc{
    padding: 20px;
    background-color: black;
    border-radius: 10px;
    color: #FFFFFF;
}
.main-block1{
    align-items: center;
    gap: 20px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    position: relative;
    height: auto;
    justify-content: space-between;

    max-width: 1300px;
    margin: 80px auto;
}

.main_block1_text{
    overflow: hidden;
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    height: 100%;
}
.main_block1_text h1{
    line-height: 60px;
    opacity: 0; /* Изначально скрыт для анимации */
    animation: slideInRight 0.8s ease-out 0.2s forwards;
}
.main_block1_text h1 span {
    display: block;
    text-transform: uppercase;

    font-weight: 600;
}
.main_block1_text h1 strong {
    display: block;
    color: var(--main-color-00);
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}
.main_block1_text h2{

    font-weight: 800;

    word-wrap: break-word;
    word-break: break-word;
    text-transform: uppercase;
    font-size: 27px;

}
.main_block1_text h3{
    max-width: 400px;
    margin-top: 10px;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.main_block1_buttons{
    width: 100%;
    margin-top: 20px;

    height: auto;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.main_block1_tbtn{
    padding: 20px;
    border-style: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px!important;

    height: 60px;

    background-color: var(--main-color-2);

}
.main_block1_tbtn svg{
    color: black;
    stroke: black;
    cursor: pointer;


}
.main_block1_btn a{
    text-decoration: none!important;
    outline: none;
    color: white!important;
}
.main_block1_btn svg {
    padding: 10px;
    border-radius: 10px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    animation: tapMotion 1s ease-in-out infinite;
    transform-origin: center;
}
.main_block1_btn{

    width: 100%;

    position: relative;
    overflow: hidden;
    padding: 20px;
    text-align: left;
    height: 60px;
    border-style: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 17px;
    color: #FFFFFF;
    background-color: var(--main-color-00);

}
.main_block1_img_text {

    width: 250px;
    height: 150px;
    opacity: 0;
    animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s forwards;
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../img/text.png);
    /* Указываем позицию (например, 63% сверху и 35% слева) */
    top: 80%;
    left: 43%;

    /* Сдвигаем СТРОГО на половину самого элемента, чтобы точка привязки была центром */
    transform: translate(-50%, -50%);

    z-index: 999;
    pointer-events: none; /* Чтобы текст не мешал кликать на кнопки под ним */
}
@media only screen and (max-width: 780px) {
    .main_block1_img_text {

        background-position: center;
        background-image: url(../img/textw.png)!important;
        background-repeat: no-repeat;
        background-size: contain;
        width: 200px!important;
        height: 100px!important;
        left: 30% !important;
        top: 100% !important;
    }
}
.mb3_i img{
    width: 100%!important;
    height: auto!important;
    background-position: bottom!important;
    background-size: cover!important;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.category_tabs{
    margin-top: 20px;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category_select_btn{
    background-color: #FFFFFF;
font-size: 15px;
   border-style: none;
width: auto;
    font-weight: 500;
    height: 40px;
    padding: 10px;
    flex: 1;
    border-radius: 7px;

}
.mb3_text{
    max-width: 400px!important;
}
.mb3_text h2{
    margin-bottom: 15px;
}
.color_active{
    background-color: var(--main-color-00)!important;
    color: white!important;
    opacity: 0;
    animation: fadeInUp 0.1s forwards;
}
.mb2{
    padding: 20px;
    background-color: var(--main-color-2);
    border-radius: 10px;
    margin: 60px auto!important;
    color: white!important;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;

}


.QRModal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}
.QRContent {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;

}
.QRContent  button{
    color: var(--main-color-01);
    background-color: var(--main-color-02);
    font-family: "Main", sans-serif;
    font-size: 16px;
    border:
            none;
    height: 45px;
    width: 100%;
    border-radius:
            10px;
    display: flex;
    font-weight: 600;
    padding:
            20px;
    align-items: center;
    justify-content: center;
    outline:
            none;
    box-sizing: border-box;
    white-space:
            nowrap;
    margin-top: 15px;
}



.main_block1_image {
    width: 100%;
    height: 100%;
    max-height: 350px;
    border-radius: 10px;
    gap: 10px;
    position: relative;
    overflow: hidden;
    max-width: 650px;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_block1_img_1{
    object-fit: cover;
    border-radius: 20px;
    overflow: hidden;
}

.main_block1_pricing{
    width: 100%;
    height: 100%;

    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
}

.Pricing_content{
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.Pricing_content h1{
    position: absolute;
    bottom: 10px;
    right: 10px;

    font-size: 30px;
}
.Pricing_content h3{
    font-size: 30px;
    font-weight: 500;
}
.Pricing_content ul{
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}



/*.Pr2{
    h1{
        margin-right: auto!important;
        margin-left: unset!important;
        margin-top: auto;
        font-size: 50px;
    }
}*/
@media only screen and (max-width: 780px) {
    .Pricing{
        max-width: 100% !important;

    }
}

.hitw{
    text-align: center;
    width: 100%!important;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.Pricing{
    max-width: 30%;
    border-radius: 10px;
    width:  100%;
    height: 335px;

    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: var(--main-color-00);
}

.Pr2{
    background-color: var(--main-color-01)!important;

}

.Pr1{
    background-color: var(--main-color-1)!important;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
    color: black;
}
/*.main_block1_image img {
    padding: 10px;
    border-radius: 10px;


    max-width: 90%;      !* не шире контейнера *!
    max-height: 80%;     !* не выше контейнера *!
    object-fit: contain;
    display: block;

    transition: transform 0.3s ease;
}*/
.mb3_i{
    margin-left: auto;
    transform-origin: bottom;
    max-width: 600px!important;
}
.mb3{
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 30px;
    padding-bottom: 30px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px -50px 36px -28px inset;
}
@media only screen and (max-width: 586px) {
    /*.main_block1_image {
        width: 100%; !* или чуть меньше *!
        max-height: none; !* убираем ограничение по высоте *!
        height: 400px; !* или ставим фиксированную высоту, чтобы блок не сжимался *!
        display: flex;
        justify-content: center;
        align-items: center;
    }*/

    .mb3_i img{
        transform: rotate(0deg)!important;
    }
    /* .main_block1_image img {

         max-width: 100%;
         max-height: 100%;
     }*/
}
.main_block2{

    width: 100%;
    position: relative;
    height: auto;
    max-width: 1200px;
    margin: 0 auto;
    gap: 10px;
    overflow: hidden;
    object-fit: contain;
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    justify-content: center;




}
.about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative; /* Обязательно для позиционирования фона */
    overflow: hidden;    /* Чтобы фон не вылезал за скругление углов */
    border-radius: 10px;
    gap: 15px;
    padding: 20px;
    margin: 20px auto;

}

/* Создаем фоновый слой */
.about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../img/a1.jpg);
    background-position: center;
    background-size: cover;
    opacity: 0.2; /* Твои 30% прозрачности */
    z-index: 1;    /* Слой ниже текста */
}

/* Все содержимое внутри .about поднимаем над фоном */
.about > * {
    position: relative;
    z-index: 2;
}

.main_block2 .main_block2_text{
    width: 100%;
    gap: 7px;
    height: 70px;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    color: var(--main-color-2);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    align-items: center;
    background-color: var(--main-color-1);
    flex: 1 1 250px;

}
.main_block2 .main_block2_text svg {
    padding: 10px;
    border-radius: 10px;
    width: 50px;
    height: 50px;
    color: var(--main-color-2);
    margin-right: 10px;
    background-color: var(--main-color-00);
    cursor: pointer;

}
.main_block1_image_text {
    width: 100%;
    height: 100px;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    color: white;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    align-items: center;
    background-color: #FF7A10FF;

}

.main_block1_image_text svg {
    padding: 10px;
    border-radius: 10px;
    width: 60px;
    height: 60px;
    color: white;
    margin-right: 10px;
    background-color: rgba(255, 255, 255, 0.15);
    cursor: pointer;

}

.presentation_btn{
    background-color: var(--main-color-2)!important;
}





@keyframes tapSizes {
    0%, 100% {
        transform:  scale(1);
    }
    50% {
        transform:  scale(0.92);
    }
}


@keyframes tapMotion {
    0%, 100% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-50%) scale(0.92);
    }
}







.Icon {
    overflow: hidden;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s linear;
    cursor: pointer;
    width: 35px;
    height: 35px;

}
.IconsR {

    width: 35px;
    height: 35px;
    float: right;
    margin-left: auto;
    overflow-y: hidden !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Burger {
    width: 35px;
    overflow: hidden;
    z-index: 30000000200;
    height: 35px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.burgerICO {
    overflow: hidden;
    -moz-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    -webkit-transition: all 0.4s ease-out;
    float: right;
    transition: all 0.4s ease-out;
    display: inline-flex;
    cursor: pointer;
    width: 34px;
    height: 34px;
    text-align: center;
    align-items: center;
    border-radius: 5px;
}

.ham {
    overflow-y: hidden !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 400ms;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hamRotate.Burger_active {
    transform: rotate(45deg);
}

.hamRotate180.Burger_active {
    transform: rotate(180deg);
}


.line {
    pointer-events: none;
    fill: none;
    transition: 0.5s, stroke-dasharray 400ms, stroke-dashoffset 400ms;
    stroke: var(--main-color-2) !important;
    stroke-width: 7;
    stroke-linecap: round;
}

.ham1.active .line {
    stroke: var(--main-color-2) !important;

}

.ham1 .line {
    stroke: var(--main-color-2) !important;

}

.ham:hover .line {
    stroke: var(--main-color-2) !important;
}


/* */
.ham1 .top {
    stroke-dasharray: 40 134;
    stroke-dashoffset: 12px;
}

/* */
.ham1 .bottom {
    stroke-dasharray: 40 180;
    stroke-dashoffset: 20px;
}

/* */
.ham1.Burger_active .top {
    stroke-dashoffset: -98px;
}

/* */
.ham1.Burger_active .bottom {
    stroke-dashoffset: -138px;

}

.hide {
    display: none;
}

.Burger.Burger_active html {
    display: flex;
}

.Panel .bassic_ul {
    width: 150px !important;
    display: flex;
    flex-direction: column !important;
    text-align: left !important;

}



.Panel_content {
    background-color: var(--main-color-1);

    height: 100vh;
}

.Panel {
    position: fixed;
    padding-top: 30px;
    padding-bottom: 30px;
    z-index: 1000;

    flex-direction: column;
    margin: 0 auto !important;
    transition-duration: 0.5s;
    top: 0;
    left: 0;
    right: 0;
    display: flex;

    width: 100%;
    height: 100vh;
    background-color: var(--main-color-1);
}
.Panel .Panel-col{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.Panel ul {
    margin: 30px auto;
    padding: 20px;
    width: 100%;
    height: auto;
    text-align: center !important;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.Panel li {
    text-decoration: none !important;
    list-style: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    height: auto;
    font-weight: 500;
    font-size: 20px;
    padding: 20px;
    border-radius: 10px;
    background-color: var(--main-color-3) !important;
    color: var(--main-color-2) !important;
    text-align: left !important;


}
.Panel li a {
    position: relative;
    overflow: hidden;
    text-decoration: none!important;
    outline: none;
    color: var(--main-color-2) !important;

}
.Panel li svg {
    padding: 10px;
    border-radius: 10px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    margin-left: 100%;
    animation: tapMotion 1s ease-in-out infinite;
    transform-origin: center;
}

.socials{

    flex-direction: row!important;
    gap: 20px!important;
    display: flex;

    width: 100%;
    float: right;
    justify-content: space-between;
    max-width: 250px;


    align-items: center;

}

.socials svg{
    display: flex;
    align-items: center;
    justify-items: center;
    width: 45px;
    height: 45px;
    padding: 7px;
    border-radius: 10px;
    color: black;
    background-color: var(--main-color-02) !important;
}
.footer_last{
    width: 100%;
    height: 60px;
    margin-top: 20px;

}
.footer_bar{

    gap: 30px;
    border-radius: 10px;
    width: 100%;
    padding-bottom: 30px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;

    height: auto;
    flex-wrap: wrap;
    display: flex;
    flex-direction: column;
    align-items: start!important;

}
.footer_logo{
    max-width: 150px;

}

.footer_menu_cols{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    gap: 20px;


}

.footer_menu{
    flex-direction: column;
    align-items: start!important;
    justify-content: start!important;
    gap: 25px!important;
    margin-left: 0!important;

    display: flex!important;
    width: 100% !important;
    max-width: 350px;
}








.gallery-scroll-container {
    display: flex;
    gap: 20px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory; /* Магнитный эффект при скролле */
    scrollbar-width: none; /* Прячем стандартный скроллбар в Firefox */
    -ms-overflow-style: none; /* Прячем в IE */
}

.gallery-scroll-container::-webkit-scrollbar {
    display: none; /* Прячем скроллбар в Chrome/Safari */
}

.gallery-card {
    flex: 0 0 300px;
    height: 400px;
    background: var(--main-color-1);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.gallery-card-info span {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--main-color-00);
    font-weight: 700;
}

.gallery-card-info p {
    font-size: 18px;
    font-weight: 500;
    margin-top: 5px;
}

/* На больших экранах убираем кнопки навигации, если они не нужны */
@media (max-width: 780px) {
    .gallery-nav {
        display: none !important; /* На мобилках просто скроллим пальцем */
    }
    .gallery-card {
        min-width: 85%; /* Чтобы было видно кусочек следующей карточки */
    }
}

/* Контейнер статистики */
.stats-container {
    background: var(--main-color-3);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* Элемент статистики */
.stat-item {
    text-align: center;
    flex: 1;
    color: white;
}

/* Стиль цифр */
.stat-value {
    font-size: 30px;
    font-weight: 800;
    color: var(--main-color-00);
    margin-bottom: 5px;
}

/* Подпись */
.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    opacity: 0.8;
    letter-spacing: 1px;
}

/* Адаптивность для мобильных устройств */
@media only screen and (max-width: 600px) {
    .stats-container {
        flex-direction: column;
        gap: 40px;
        padding: 30px 20px;
    }
}

.footer {
    background-color: var(--main-color-1);
    color: #ffffff;
    padding: 80px 20px 0 20px;
    margin-top: 60px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Делаем лого белым, если оно темное */
}

.footer-description {
    opacity: 0.7;
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 25px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--main-color-00);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    opacity: 0.7;
    margin-bottom: 12px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 15px;
}

.footer-links li:hover {
    opacity: 1;
    color: var(--main-color-00);
    transform: translateX(5px);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    opacity: 0.8;
    font-size: 15px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    background: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: white;
    transition: 0.3s;
}

.social-link:hover {
    background: var(--main-color-00);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}

.footer-bottom-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    opacity: 0.5;
    font-size: 13px;
}

/* Адаптивность */
@media only screen and (max-width: 1000px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (max-width: 600px) {
    .footer {
        padding-top: 50px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom-content {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }
}


.ba-slider-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.ba-slider {
    position: relative;
    width: 100%;
    height: 500px; /* Фиксированная высота для десктопа */
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Общие правила для обеих картинок */
.ba-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполняет контейнер без искажений */
    display: block;
}

.img-before-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Будет меняться скриптом */
    height: 100%;
    overflow: hidden;
    z-index: 2;

}

/* РЕШЕНИЕ ПРОБЛЕМЫ СДВИГА: */
.img-before-wrapper .img-before {
    width: 100vw !important; /* На мобилках картинка должна опираться на viewport */
    max-width: 1200px !important; /* Но не превышать макс-ширину контейнера */
    height: 500px; /* Должно совпадать с высотой .ba-slider */
    object-fit: cover;
}

.ba-range {
    position: absolute;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none;
    margin: 0;
    top: 0; left: 0;
    z-index: 5;
    cursor: col-resize;
}

/* Скрываем стандартный бегунок во всех браузерах */
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 40px; height: 100%; }
.ba-range::-moz-range-thumb { width: 40px; height: 100%; opacity: 0; }

.ba-handle {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 4px;
    background: white;
    z-index: 10; /* Подняли выше, чтобы не перекрывалось */
    pointer-events: none;
    transform: translateX(-50%);
}

.ba-handle img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 50px;
    height: 50px;
    background: white; /* Или ваш #2196F3 */
    border-radius: 50%;

    display: block;
    object-fit: contain;

    /* УМЕНЬШАЕМ ПАДДИНГ: */
   
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    border: 2px solid white;

}





.ba-labels {
    display: flex; justify-content: space-between;
    color: var(--main-color-00) !important;
    margin-top: 15px; font-weight: 600; font-size: 15px;
}

/* 📱 СТИЛИ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ */
@media (max-width: 768px) {
    .ba-slider {
        height: 350px; /* Уменьшаем высоту на телефонах, чтобы картинка не была вытянутой */
    }
    .img-before-wrapper .img-before {
        height: 350px; /* Высота должна быть строго как у .ba-slider */
    }
}


.faq-container { width: 100%; margin-top: 20px; }
.faq-item {
    background: var(--main-color-3);
    margin-bottom: 10px;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}
.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex; justify-content: space-between;
    font-weight: 600; font-size: 17px;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    opacity: 0;
    line-height: 1.6;
    color: #9c9c9c;
}
.faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
    max-height: 200px;
    opacity: 1;
}
.faq-question span{
    color: var(--main-color-00);
    font-size: 25px;
}
.faq-item.active .faq-question span { transform: rotate(45deg); }

.to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--main-color-00);
    border-radius: 50%;
    border: none;
    cursor: pointer;

    /* Самое важное здесь: */
    display: none;
    z-index: 9999; /* Ставим максимальный приоритет, чтобы была выше всех блоков */

    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: all 0.3s ease;

    /* Центрируем иконку внутри кнопки */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Начальное состояние для анимации появления */
    opacity: 0;
    visibility: hidden;
}

/* Эффект при наведении */
.to-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    background-color: var(--main-color-2); /* Меняем цвет при наведении для интерактива */
}

/* Класс, который будет добавлять JS */
.to-top-btn.show {
    opacity: 1;
    visibility: visible;
}


/* 1. Главный контейнер в углу */
.contact-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px; /* Фиксируем ширину под кнопку */
    z-index: 10000;
}

/* 2. Главная кнопка 50x50 (Всегда внизу) */
.contact_button {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    position: relative;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Убираем обычную тень и заменяем на анимацию */
    border: 2px solid var(--main-color-00); /* Цвет рамки */
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 var(--main-color-00);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 123, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

/* Эффект при наведении, чтобы кнопка реагировала */
.contact_button:hover {
    transform: scale(1.1);
    animation-play-state: paused; /* Можно остановить анимацию при наведении */
}

.contact_button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 3. Блок мессенджеров (Абсолютно НАД кнопкой) */
.messenger-buttons {
    position: absolute;
    bottom: 70px; /* Высота кнопки (50) + отступ (15) */
    left: 2px;   /* Центрируем (50-45)/2 */
    display: flex;
    flex-direction: column;
    gap: 12px;

    /* Скрытое состояние */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Стили самих иконок */
.btn-messenger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Цвета мессенджеров */
.phone { background: #34b7f1; }
.viber { background: #7360f2; }
.whatsapp { background: #25d366; }
.telegram { background: #595959; }

/* 4. АКТИВАЦИЯ ПРИ НАЖАТИИ */
.contact-wrapper.active .messenger-buttons {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1); /* Вылет вверх */
}

.contact-wrapper.active .contact_button {
    transform: scale(0.9);
}