html,
body {
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

*,
*::after,
*::before {
    box-sizing: inherit;
}

a {
    text-decoration: none;
}

@font-face {
    font-family: 'Furore';
    src: url(../fonts/ofont.ru_Furore.ttf);
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: flex-end;
    justify-content: center;
    z-index: 9999;
}

.popup-content {
    background-color: #fff;
    border: #000 solid 1px;
    padding: 20px;
    text-align: center;
    position: relative;
    margin: 5px 8px 5px 8px;
    border-radius: 10px;
}

#closeBtn {
    position: absolute;
    display: flex;
    justify-content: end;
    flex-wrap: wrap;
    right: 0;
    top: 0;
    border: none;
    background-color: #fff;
    margin-top: 10px;
    margin-right: 10px;
    cursor: pointer;
}

.title__popur {
    font-size: 25px;
}

.close-btn {
    width: 15px;
    height: 15px;
}

h1 {
    font-family: 'Furore', sans-serif;
}

h2 {
    font-family: 'Furore', sans-serif;
}

.yt__box {
    text-align: center;
    margin-top: 50px;
}

.yt__frame {
    width: 800px;
    height: 450px;
}

.preloader {
    position: fixed;
    left: 50%;
    top: 50%;
    margin: -30px;
    overflow: hidden;
    z-index: 1001;
}

.progress-9 {
    --r1: 154%;
    --r2: 68.5%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(var(--r1) var(--r2) at top, #0000 79.5%, #269af2 80%), radial-gradient(var(--r1) var(--r2) at bottom, #269af2 79.5%, #0000 80%), radial-gradient(var(--r1) var(--r2) at top, #0000 79.5%, #269af2 80%), #ccc;
    background-size: 50.5% 220%;
    background-position: -100% 0%, 0% 0%, 100% 0%;
    background-repeat: no-repeat;
    animation: p9 2s infinite linear;
}

@keyframes p9 {
    33% {
        background-position: 0% 33%, 100% 33%, 200% 33%
    }

    66% {
        background-position: -100% 66%, 0% 66%, 100% 66%
    }

    100% {
        background-position: 0% 100%, 100% 100%, 200% 100%
    }
}









/* Все стили изолированы через .custom-gallery */
.custom-gallery {
    position: relative;
    /* Занимаем 100% доступной ширины, но не больше 800px */
    width: 100%;
    max-width: 800px;
    /* Используем пропорцию вместо жесткой высоты (600x400 = 3/2) */
    aspect-ratio: 3 / 2;
    margin: 50px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ГАЛЕРЕЯ ОТЗЫВОВ */
.custom-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    /* Чуть уменьшил для аккуратности на мобильных */
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    z-index: 3;
    /* ВАЖНО: выше картинки */
    transition: background 0.3s ease;
}

.custom-gallery-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* 
   ПО УМОЛЧАНИЮ (НА МОБИЛЬНЫХ): 
   стрелки внутри галереи, чтобы избежать поломки экрана 
*/
.custom-gallery-arrow.left {
    left: 10px;
}

.custom-gallery-arrow.right {
    right: 10px;
}

/* 
   НА ДЕСКТОПЕ (от 992px): 
   Выносим стрелки за пределы галереи, как у вас и было 
*/
@media (min-width: 992px) {
    .custom-gallery-arrow.left {
        left: -70px;
    }

    .custom-gallery-arrow.right {
        right: -70px;
    }
}

/* геометрическая стрелка */
.custom-gallery-arrow::before {
    content: '';
    width: 14px;
    height: 14px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}

/* направления */
.custom-gallery-arrow.left::before {
    transform: rotate(-135deg);
    margin-left: 5px;
    /* Визуально центрируем сам "уголок" */
}

.custom-gallery-arrow.right::before {
    transform: rotate(45deg);
    margin-right: 5px;
}

.custom-gallery-images {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    /* фото поверх стрелок */
    border-radius: 8px;
    /* Добавляет красивое скругление краям фото */
}

.custom-gallery-images img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.custom-gallery-images img.active {
    opacity: 1;
}






.loaded_hiding .preloader {
    transition: 0.3s opacity;
    opacity: 0;
}

.loaded .preloader {
    display: none;
}

body {
    font-family: 'Gilroy';
    font-weight: normal;
    font-size: 20px;
    color: #050506;
}

.container {
    max-width: 1220px;
    padding: 0 10px;
    margin: 0 auto;
}

.hidden {
    display: none;
}

#notification-container {
    position: fixed;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 20px 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    z-index: 49;
}

#close-notification {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

#notification-text {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 125%;
    color: #FFFFFF;
    text-decoration: none;
    margin-bottom: 10px;
}

.notification-btn {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 125%;
    color: #FFFFFF;
    text-decoration: none;
    padding: 5px 10px;
    border: #fff 1px solid;
    border-radius: 100px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.notification-btn:hover {
    border: #269af2 1px solid;
    background-color: #0600FF;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.contacts {
    display: flex;
}

.wrap {
    background-color: #324860;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    line-height: 1.375;
    font-size: 16px;
}

.wrap2 {
    background-color: #324860;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    line-height: 1.375;
    font-size: 16px;
}

.main {
    height: 700px;
}

.logo {
    margin-right: 32px;
}

.social {
    margin-right: 10px;
}

.nav__link {
    text-align-last: left;
    margin-left: 30px;
    font-weight: 500;
    font-size: 16px;
    line-height: 125%;
    color: #B5B5B5;
    text-decoration: none;
}

.active__link {
    color: #fff;
}

.logo-link{
    text-decoration: none;
}

.active__link__rest {
    color: #000;
}

.header__rest {
    border-bottom: #B5B5B5 1px solid;
    padding-bottom: 40px;
}

.rest {
    margin-right: 32px;
    font-weight: 500;
    font-size: 16px;
    line-height: 125%;
    color: #B5B5B5;
    text-decoration: none;
}

.active__link__rest {
    color: #696969;
}

.social__link {
    margin-right: 8px;
    margin-left: 8px;
    text-decoration: none;
}

.social__link {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

.social__link:hover {
    transform: scale(1.2);
}

.nav__link {
    position: relative;
    text-decoration: none;
    color: #c0c0c0;
}

.main__inner {
    display: flex;
    justify-content: space-between;
}

.main__img__box {
    display: flex;
    justify-content: center;
    align-items: end;
}

.main-img {
    max-width: 500px;
    max-height: 400px;
}

.nav__link::before,
.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 0;
    border-bottom: 1px solid #c4c4c4;
    transition: width 0.3s ease-in-out;
}

.nav__link::before {
    right: 50%;
}

.nav__link::after {
    left: 50%;
}

.nav__link:hover::before,
.nav__link:hover::after {
    width: 50%;
}

.number__num {
    font-weight: 500;
    font-size: 16px;
    line-height: 125%;
    color: #fff;
    margin-left: 8px;
    margin-right: 8px;
    text-decoration: none;
}

.num__rest {
    color: #696969;
}

.button__consultation {
    background: linear-gradient(95.04deg, #514EE1 0%, #0600FF 100%);
    border-radius: 100px;
    padding: 14px 24px;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    line-height: 125%;
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.button__consultation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2em;
    height: 100%;
    background-color: #fff;
    opacity: 0.6;
    transform: translateX(-4em) skewX(-45deg);
}

.button__consultation:hover::before {
    animation: move-light 1s;
}

.contacts {
    display: flex;
    align-items: center;
}

.title {
    margin-top: 100px;
    font-weight: 400;
    font-size: 56px;
    line-height: 125%;
    color: #fff;
    text-shadow: -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black,
        1px 1px 0 black;
    width: 400px;
    margin-bottom: 39px;
}

.description {
    width: 608px;
    margin-bottom: 37px;
    color: #ffffff;
    text-shadow: -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black,
        1px 1px 0 black;
    line-height: 125%;
    font-family: 'Gilroy';
    font-weight: 500;
    font-size: 20px;
    display: flex;
    align-items: center;
}


span {
    color: red;
    text-shadow: -1px -1px 0 rgb(49, 0, 0),
        1px -1px 0 rgb(49, 0, 0),
        -1px 1px 0 rgb(49, 0, 0),
        1px 1px 0 rgb(49, 0, 0);
}

.tick-img {
    max-width: 25px;
    margin-right: 10px;
    border-radius: 50%;
}

.main__btn {
    background: linear-gradient(95.04deg, #514EE1 0%, #0600FF 100%);
    box-shadow: 0px 0px 25px rgba(6, 0, 255, 0.4);
    border-radius: 10px;
    padding: 20px 30px;
    font-weight: 500;
    font-size: 13px;
    line-height: 125%;
    color: #FFFFFF;
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    text-transform: uppercase;
    margin-right: 10px;
}

.main__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2em;
    height: 100%;
    background-color: #fff;
    opacity: 0.6;
    transform: translateX(-4em) skewX(-45deg);
}

.main__btn:hover::before {
    animation: move-light 0.8s;
}

@keyframes move-light {
    from {
        transform: translateX(-4em) skewX(-45deg);
    }

    to {
        transform: translateX(20em) skewX(-45deg);
    }
}

.scroll__btn {
    position: absolute;
    left: 50%;
    bottom: 0;
    margin-bottom: 45px;
}

.about__title {
    font-weight: 400;
    font-size: 48px;
    line-height: 125%;
    color: #050506;
    margin-top: 88px;
    display: block;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about__title::before {
    content: '';
    display: block;
    height: 1px;
    width: 100px;
    margin-right: 24px;
    background: linear-gradient(95.04deg, #514EE1 0%, #0600FF 100%);
}

.about__title::after {
    content: '';
    display: block;
    height: 1px;
    width: 100px;
    margin-left: 24px;
    background: linear-gradient(95.04deg, #514EE1 0%, #0600FF 100%);
}

.left__box__content {
    display: flex;
    margin-top: 64px;
    text-align: center;
    align-items: center;
    justify-content: flex-start;
}

.left__box__content__inner {
    display: flex;
    align-items: center;
    width: 50%;
    justify-content: flex-end;
}

.right__box__content__inner {
    display: flex;
    align-items: center;
    width: 50%;
}

.about__num {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 400;
    font-size: 128px;
    line-height: 125%;
    color: #fff;
    text-shadow: 1px 0 1px #000, 0 1px 1px #000, -1px 0 1px #000, 0 -1px 1px #000;
    margin-right: 30px;
}

.about__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.left__box__content__text {
    text-align: left;
    font-weight: 400;
    font-size: 20px;
    line-height: 125%;
    color: #050506;
    max-width: 400px;
    margin-right: 21px;
    font-family: 'Gilroy';
    font-weight: normal;
    font-size: 20px;
}

.left__box__content__text2 {
    text-align: left;
    font-weight: 400;
    font-size: 20px;
    line-height: 125%;
    color: #050506;
    max-width: 520px;
    margin-right: 21px;
    font-family: 'Gilroy';
    font-weight: normal;
    font-size: 20px;
    margin-left: 20px;
}

.right__box__content__text {
    font-weight: 400;
    font-size: 20px;
    line-height: 125%;
    color: #050506;
    max-width: 400px;
    margin-right: 21px;
    font-family: 'Gilroy';
    font-weight: normal;
    font-size: 20px;
}

.right__box__content {
    display: flex;
    margin-top: 24px;
    justify-content: flex-end;
}

.about__img {
    max-width: 30%;
    border-radius: 20px;
}

.about__img2 {
    margin-right: 20px;
    max-width: 30%;
    border-radius: 20px;
}

.number__title {
    margin-top: 100px;
}

.number__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 64px;
}

.numer__benefits {
    font-family: 'Furore';
    font-weight: 400;
    font-size: 48px;
    line-height: 55px;
    text-align: center;
    color: #050506;
}

.number__text {
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    text-align: center;
    color: #050506;
    width: 184px;
    font-family: 'Gilroy';
    font-style: normal;
}

.main__number__box {
    display: flex;
    justify-content: space-between;
}

.numer__benefits__blue {
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    text-align: center;
    color: #0600FF;
    width: 149px;
    font-family: 'Gilroy';
    font-style: normal;
}

.number__text__blue {
    font-weight: 500;
    font-size: 20px;
    line-height: 125%;
    text-align: center;
    color: #050506;
    width: 181px;
    font-family: 'Gilroy';
    font-style: normal;
}

.blue__circles {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url(../images/circles.png);
    height: 280px;
    width: 280px;
    position: absolute;
    bottom: 0;
    left: 50%;
    justify-content: center;
    margin-left: -140px;
}

.most__number__box {
    position: relative;
    margin-top: 40px;
    background-image: url(../images/half_circles.png);
    width: 800px;
    height: 400px;
}

.number__box2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 135px;
}

.button__num {
    margin-top: 61px;
    display: flex;
    justify-content: center;
}

.services__card__box {
    display: flex;
    margin-top: 64px;
    justify-content: space-between;
    text-align: center;
}

.services__card {
    text-align: center;
    width: 350px;
}

.services__card__title {
    font-weight: 600;
    font-size: 24px;
    line-height: 125%;
    color: #0600FF;
    margin-top: 16px;
    margin-bottom: 30px;
    font-family: 'Gilroy';
    font-style: normal;
}

.services__card__text {
    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    text-align: center;
    color: #050506;
    font-family: 'Gilroy';
    font-style: normal;
}

.services__img {
    width: 72px;
    height: 72px;
}

.bd-placeholder-img {
    margin-top: 64px;
    margin-bottom: 80px;
}

.apply {
    margin-top: 50px;
}

.apply__inner {
    background-image: url(../images/form-bg.webp);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.apply__title {
    font-family: 'Furore';
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    line-height: 125%;
    text-align: center;
    color: #050506;
    padding-top: 40px;
    margin-bottom: 40px;
    padding: 20px 50px 0 50px;
}

.form {
    display: flex;
    flex-direction: column;
    align-items: center;
}



.input {
    width: 390px;
    margin-bottom: 16px;
    height: 52px;
    background-color: inherit;
    border: none;
    border-bottom: 1px solid #050506;
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 125%;
    color: #050506;
    padding-left: 16px;
}

.aplly__btn {
    margin-top: 24px;
    background: linear-gradient(95.04deg, #514EE1 0%, #0600FF 100%);
    border-radius: 100px;
    padding: 24px 48px;
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 125%;
    color: #FFFFFF;
    cursor: pointer;
    border: none;
}

.check__box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.checkbox__text {
    margin-left: 10px;
    margin-top: 15px;
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #B5B5B5;
}

.reviews__item {
    margin: 0 auto;
    max-width: 600px;
}

.reviews__item__header {
    display: flex;
    align-items: flex-start;
}

.name {
    margin-left: 12px;
}

.date {
    font-size: 13px;
    font-weight: 400;
    color: #818c99;
    line-height: 0;
    margin-top: 4px;
    margin-top: 7px;
}

.user__name {
    color: #2a5885;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.ava__img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.vk-img {
    margin-left: -15px;
}

.text__reviews {
    font-size: 13px;
    font-family: 'Roboto', sans-serif;
}

.info__reviews {
    display: flex;
    justify-content: space-between;
}

.left__reviews__info {
    display: flex;
}

.button__like {
    display: flex;
    background-color: #f0f2f5;
    align-items: center;
    cursor: pointer;
}

svg {
    margin-right: 3px;
}

.like__text {
    line-height: 0;
    align-items: center;
    display: contents;
    color: #626d7a;
    font-size: 14px;
}

.button__comment {
    display: flex;
    background-color: #f0f2f5;
    align-items: center;
    padding: 0 15px;
    border-radius: 32px;
    color: #818c99;
    cursor: pointer;
    margin-left: 7px;
}

.button__repost {
    display: flex;
    background-color: #f0f2f5;
    align-items: center;
    padding: 5px 15px;
    border-radius: 32px;
    color: #818c99;
    margin-left: 7px;
    cursor: pointer;
}

.number__views {
    line-height: 0;
    align-items: center;
    display: contents;
    font-size: 14px;
    color: #626d7a;
}

.reviews__item {
    margin-top: 50px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    padding-top: 64px;
    padding-bottom: 34px;
}

.footer {
    background-color: #050506;
    margin-top: 100px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.footer2 {
    background-color: #050506;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.number__bur {
    margin-bottom: 100px;
}

.copy__text {
    margin-bottom: 0px;
}

.nav__footer {
    display: flex;
    flex-direction: column;
    color: #fff;
    align-items: center;
}

.menu {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 125%;
    text-decoration-line: underline;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.nav__link2 {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 125%;
    color: #FFFFFF;
    text-decoration: none;
    margin-bottom: 16px;
}

.number__num2 {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 125%;
    color: #FFFFFF;
    text-decoration: none;
}

.social__footer {
    margin-top: 16px;
}

.footer__copy {
    background-color: #050506;
}

.copy__text {
    text-align: center;
    padding: 32px 0;
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #FFFFFF;
}

.logo-img-footer {
    width: 100px;
    height: 100px;
}

.logo-img {
    border-radius: 50%;
}


.button__reviews {
    display: flex;
    justify-content: center;
}

.button__review__yandex {
    margin-right: 10px;
    font-size: 15px;
    margin-top: 10px;
}

.faq__box {
    display: flex;
    margin-top: 40px;
    background-color: #F8F8F8;
    justify-content: space-between;
    border-radius: 20px;
}

.faq__text__box {
    padding: 24px 32px;
    width: 50%;
}

.faq__text__box_ask {
    padding: 24px 32px;
    width: 100%;
    text-align: center;
}

.faq__image {
    width: 50%;
}

.faq-img {
    float: right;
    width: 100%;
    border-radius: 0px 10px 10px 0px;
}

.faq-img2 {
    width: 100%;
    border-radius: 10px 0px 0px 10px;
}

.faq-img3 {
    border-radius: 0px 10px 10px 0px;
    width: 100%;
}

.faq-img4 {
    max-width: 100%;
    border-radius: 10px 0px 0px 10px;
    max-height: 540px;
}

.faq-img5 {
    width: 100%;
    float: right;
    border-radius: 0px 10px 10px 0px;
}

.faq__title {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 600;
    font-size: 36px;
    line-height: 125%;
    color: #0600FF;
    margin-bottom: 24px;
}

.faq__subtitle {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 125%;
    color: #050506;
    margin-bottom: 16px;
}

.faq__text {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    color: #050506;
    margin-bottom: 24px;
}

.faq__ul {
    margin-bottom: 20px;
}

.faq__li {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    color: #050506;
    list-style-type: disc;
    margin-left: 16px;
}

.product__text {
    text-align: center;
    margin-top: 50px;
    font-size: 30px;
    margin-bottom: 155px;
}

.product__subtitle {
    margin-top: 50px;
    margin-bottom: 50px;
}

.navigation__products {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.services__inner {
    margin-bottom: 80px;
}

.product__btn {
    margin-top: 20px;
    margin-right: 20px;
    box-shadow: none;
}

.product__box__line {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.product__box {
    border: #0600FF 1px solid;
    border-radius: 20px;
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 20px;
    padding: 20px;
    text-align: center;
    max-width: 380px;
}

.product__img {
    display: flex;
    justify-content: center;
}

.product-img {
    max-height: 300px;
}

@media (max-width:370px) {
    .product-img {
        max-width: 250px;
    }
}

.product__number {
    margin-bottom: 20px;
    margin-top: 10px;
    font-weight: 600;
}

.product__title {
    margin-bottom: 20px;
}

.product__features {
    margin-bottom: 20px;
    font-size: 15px;
}

.product__price {
    font-weight: 600;
    margin-bottom: 30px;
}

.productmain__title {
    margin-bottom: 20px;
    font-size: 35px;
}

.region__item {
    display: flex;
    justify-content: space-between;
    margin-top: 64px;
    max-width: 600px;
}

.region__info {
    width: 100%;
    margin-right: 50px;
}

.region__number {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 125%;
    color: #050506;
}

.number__region {
    margin-bottom: 20px;
}

.date__info {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    margin-bottom: 20px;
    color: #0000ff;
    text-decoration: underline;
}

.week__box {
    display: flex;
    justify-content: space-between;
}

.weeks__text {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    text-transform: capitalize;
    color: #050506;
    margin-bottom: 16px;
}

.time__weeks {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    text-transform: capitalize;
    margin-bottom: 16px;
    color: #050506;
}

.menu-btn {
    display: none;
}

.most__number__box2 {
    display: none;
}

.success {
    background-color: #2a5885;
    height: 100vh;
}

.success__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: #fff;
    padding: 80px;
    border-radius: 20px;
}

.success_img {
    max-width: 300px;
}

.img__success {
    text-align: center;
    margin-bottom: 50px;
}

.success__title {
    margin-bottom: 40px;
}

.gallery__inner {
    height: 500px;
    margin-top: 40px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}



.title-reviews-ya_avi {
    display: flex;
    justify-content: space-between;
}

.reviews__avito {
    text-align: right;
}

.yandex-img-reviews,
.avito-img-reviews {
    width: 300px;
}

.yandex-grade-img,
.avito-grade-img {
    width: 500px;
}

.reviews__image {
    margin-top: 50px;
}

.contacts__footer {
    text-align: center;
}

.region_box_map {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.region-img {
    max-width: 600px;
    height: 100%;
}

.active__link__rest {
    color: #000;
    font-weight: 800;
}

.active__link {
    color: #fff;
}




.rw-safe-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
    box-sizing: border-box;
    flex-shrink: 0;
}

.rw-head {
    display: flex;
    gap: 12px;
    align-items: center;
}

.rw-head img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.rw-name {
    font-weight: 600;
    font-size: 14px;
}

.rw-date {
    font-size: 12px;
    color: #777;
}

.rw-text {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.rw-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    font-size: 22px;
}

/* На мобильных прячем стрелки внутрь блока поверх карточек */
#rw-safe-prev {
    left: 5px;
    z-index: 10;
}

#rw-safe-next {
    right: 5px;
    z-index: 10;
}

/* А на компьютерах выносим их наружу */
@media (min-width: 992px) {
    #rw-safe-prev {
        left: -40px;
        opacity: 0.5;
    }

    #rw-safe-next {
        right: -40px;
        opacity: 0.5;
    }
}




/* Стили для модального окна --------------------------------------*/
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);

}

.modal__content {
    background: #fff;
    padding: 50px;
    max-width: 500px;
    margin: 10% auto;
    border-radius: 10px;
    position: relative;
    border: #000000 3px solid;
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.span2 {
    color: #000;
    text-shadow: none;
    font-weight: 700;
    font-size: 25px;
}

.about__inner2 {
    margin-bottom: 50px;
}

.apply__inner2 {
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;

}




@media (max-width:1400px) {
    .most__number__box {
        background-image: none;
    }

    .scroll__btn {
        margin-bottom: 20px;
    }
}

@media (max-width:1200px) {
    .logo {
        margin-right: 10px;
    }

    .main-img {
        max-width: 300px;
    }

    .main__inner {
        align-items: center;
    }

    .region_box_map {
        flex-direction: column;
    }

    .nav__link {
        margin-right: 10px;
    }

    .number__num {
        font-size: 12px;
        margin-right: 10px;
    }

    .social__link {
        margin-right: 10px;
    }

    .social__icons {
        width: 30px;
        height: 30px;
    }

    .region__item {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .region__info {
        max-width: 800px;
    }

    .region__info {
        width: 100%;
        margin-right: 0px;
    }

    .yandex-img-reviews,
    .avito-img-reviews {
        width: 200px;
    }

    .yandex-grade-img,
    .avito-grade-img {
        width: 400px;
    }
}

@media (max-width:1000px) {

    .right__box__content__inner,
    .right__box__content__text {
        max-width: 100%;
        width: 100%;
        margin-bottom: 20px;
    }

    .main__img__box {
        display: none;
    }

    .left__box__content__text {
        font-size: 16px;
        margin-right: 0px;

    }

    .right__box__content__text {
        font-size: 16px;
    }

    .left__box__content__text {
        max-width: 100%;
    }

    .left__box__content__text2 {
        max-width: 100%;
        margin-right: 0px;
        margin-left: 0px;
    }




    .menu-btn {
        display: inline-block;
        width: 50px;
        height: 50px;
        background-color: #0600FF;
        order: 1;
        cursor: pointer;
        position: relative;
        z-index: 50;
        border: none;
    }

    .nav__link {
        font-size: 20px;
    }

    .apply__inner {
        background-image: none;
    }

    .btn-line {
        position: absolute;
        left: 3px;
        margin-top: 4px;
        width: 90%;
        background-color: #fff;
        height: 2px;
        transition: .3s ease;
    }

    .btn-line:nth-child(1) {
        top: 0;
    }

    .btn-line:nth-child(2) {
        top: 20px;
    }

    .btn-line:nth-child(3) {
        top: 20px;
    }

    .btn-line:nth-child(4) {
        top: 40px;
    }

    .menu-open .btn-line:nth-child(1) {
        transform: scaleX(0);
    }

    .menu-open .btn-line:nth-child(2) {
        transform: rotate(45deg);
    }

    .menu-open .btn-line:nth-child(3) {
        transform: rotate(-45deg);
    }

    .menu-open .btn-line:nth-child(4) {
        transform: scaleX(0);
    }

    .header__inner {

        padding-top: 0px;
    }

    .nav {
        position: absolute;
        left: 0;
        transform: translateY(-110%);
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
        display: flex;
        flex-direction: column;
        background-color: #000;
        padding: 20px;
        width: 100%;
        /* Меню по ширине */
        max-height: 0;
        /* Скрываем меню полностью */
        overflow: hidden;
        /* Чтобы скрывался контент */
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
        /* Немного тени для красоты */
    }

    .menu-open .nav {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
        max-height: 1000px;
        /* Просто большое значение, чтобы показать меню */
        transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
    }


    .others {
        position: absolute;
        left: 3px;
        margin-top: 2px;
        width: 90%;
        background-color: #7c7c7c;
        height: 2px;
        transition: .3s ease;
    }

    .others:nth-child(1) {
        top: 0;
    }

    .others:nth-child(2) {
        top: 20px;
    }

    .others:nth-child(3) {
        top: 20px;
    }

    .others:nth-child(4) {
        top: 40px;
    }

    .menu-open .others:nth-child(1) {
        transform: scaleX(0);
    }

    .menu-open .others:nth-child(2) {
        transform: rotate(45deg);
    }

    .menu-open .others:nth-child(3) {
        transform: rotate(-45deg);
    }

    .menu-open .others:nth-child(4) {
        transform: scaleX(0);
    }

    .menu-btn {
        float: right;
    }





    .contacts {
        display: flex;
        flex-direction: column;
    }

    .number__num {
        font-size: 20px;
        margin-top: 30px;
        margin-left: 0px;
    }

    .nav__link {
        margin-bottom: 10px;
    }

    .nav,
    .contacts {
        z-index: 50;
    }

    .contacts {
        margin-top: 25px;
    }

    .social {
        margin-bottom: 10px;
        margin-top: 20px;
    }

    .logo-link,
    .button__consultation {
        display: none;
    }

    .about__num {
        display: none;
    }

    .left__box__content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .right__box__content {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        margin-top: 50px;
    }

    .left__box__content__inner {
        justify-content: center;
        width: 100%;
        margin-bottom: 10px;
        margin-top: 20px;
    }

    .about__img {
        max-width: 80%;
        border-radius: 20px;
    }

    .about__img2 {
        margin-right: 0px;
        max-width: 80%;
        margin-bottom: 10px;
    }

    .services__card__title {
        height: 80px;
    }

    .yandex-img-reviews,
    .avito-img-reviews {
        width: 70%;
    }

    .yandex-grade-img,
    .avito-grade-img {
        width: 100%;
    }

    .title-reviews-ya_avi {
        display: flex;
        flex-direction: column;
    }

    .reviews__avito {
        text-align: left;
    }
}

@media (max-width:900px) {
    .faq__box {
        display: flex;
        flex-direction: column;
    }

    .faq__text__box {
        width: 100%;
    }

    .faq__image {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .faq-img {
        border-radius: 10px;
    }

    .faq-img2 {
        border-radius: 10px;
    }

    .faq-img3 {
        border-radius: 10px;
    }

    .faq-img4 {
        border-radius: 10px;
    }

    .faq-img5 {
        border-radius: 10px;
    }

    .reverse {
        flex-direction: column-reverse;
    }
}

@media (max-width:770px) {

    .rw-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: none;

        /* Делаем белый фон на 60% непрозрачным */
        background: rgba(255, 255, 255, 0.4);

        cursor: pointer;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        font-size: 22px;
        color: #333;
        /* Делаем саму стрелочку темно-серой */

        /* Плавная анимация при наведении */
        transition: background 0.3s ease, color 0.3s ease;
    }

    /* При наведении делаем кнопку почти полностью белой, чтобы было удобно кликать */
    .rw-btn:hover {
        background: rgba(255, 255, 255, 0.95);
        color: #000;
    }




    .yt__frame {
        width: 100%;
        height: 300px;
    }

    .apply__title {
        font-size: 24px;
        margin-bottom: 20px;
        padding: 20px 20px 0 20px;
    }

    .rw-text {
        font-size: 11px;
    }


    .button__reviews {
        flex-direction: column;
        text-align: center;
        margin-top: 50px;
    }

    .about__title {
        font-weight: 400;
        font-size: 48px;
        line-height: 125%;
        color: #050506;
        margin-top: 88px;
        display: block;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .about__title::before,
    .about__title::after,
    .scroll__btn,
    .most__number__box {
        display: none;
    }

    .most__number__box2 {
        display: block;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 15px;
        border: #0600FF 1px solid;
        border-radius: 20px;
    }

    .number__box2 {
        margin-top: 0px;
        width: 100%;
        margin-bottom: 15px;
        border-radius: 20px;
        border: #0600FF 1px solid;
    }

    .main__number__box {
        display: flex;
        flex-direction: column;
    }

    .number__box {
        border-radius: 20px;
        border: #0600FF 1px solid;
        margin-bottom: 15px;
    }

    .services__card__box {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .services__card__title {
        height: auto;
    }

    .description {
        width: 100%;
        margin-bottom: 37px;
        font-weight: 400;
        font-size: 20px;
        line-height: 125%;
        box-sizing: border-box;
        /* Гарантируем, что отступ не увеличит ширину */
        font-family: 'Gilroy';
        color: #ffffff;
    }

    .title {
        margin-top: 20px;
    }
}

@media (max-width:600px) {
    .main__btn {
        padding: 20px 30px;
    }

    .region-img {
        max-width: 100%;
        height: 100%;
    }


    .logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer__inner {
        display: flex;
        flex-direction: column;
    }

    .nav__footer {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .gallery__inner {
        height: 300px;
    }

    .video {
        width: 560px;
        height: 315px;
    }

    .description::before {
        display: none;
    }

    .description {
        margin-left: 0px;
    }

    .title {
        font-size: 46px;
        color: #fff;
        width: 100%;
        margin-bottom: 39px;
    }

    .input {
        width: 100%;
    }



    iframe {
        width: 400px;
    }

    .success__inner {
        padding: 30px;
    }
}

@media (max-width:400px) {


    .yt__frame {
        width: 100%;
        height: 230px;
    }

    .gallery__inner {
        height: 200px;
    }

    .video {
        width: 373px;
        height: 210px;
    }

    .success_img {
        max-width: 200px;
    }

    .success__inner {
        width: 300px;
    }

    .contacts__footer {
        text-align: center;
        margin-bottom: 20px;
        margin-top: 50px;
    }

    iframe {
        width: 300px;
    }

    .title {
        font-size: 35px;
    }

    .description {
        font-size: 20px;
    }





    .about__title,
    .apply__title {
        width: 100%;
        font-size: 20px;
    }

    .services__card {
        width: 100%;
    }

    .faq__title {
        font-size: 27px;
        margin-bottom: 17px;
    }

    .faq__text {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .faq__li {
        font-size: 13px;
    }
}



.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0;
    transform: translateX(-100vw);
}