*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

::-webkit-scrollbar {
    width: 0;
}

ul {
    list-style: none;
}

button {
    border: none;
    cursor: pointer;
}

ul li {
    list-style-type: none;
}

a {
    text-decoration: none;
    outline: none;
    color: #323842;
}

img {
    display: block;
    width: 100%;
}

/* добавим очистку потока для всех контейнеров, внутри которых задано обтекание дочерних элементов */
header:after,
.container:after,
footer:after,
.widget-posts-list li:after,
#subscribe:after {
    content: "";
    display: table;
    clear: both;
}

html {
    scroll-behavior: smooth;

}

/* ------- */


body {
    -ms-scroll-chaining: none;
    overscroll-behavior: none;
    padding: 0;
    margin: 0;
    background-color: #f3f4f6;
    height: auto;
    color: #323842;
    font-size: 12px;
    font-family: "Manrope", serif;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
}

.first-sc {
    min-height: 100dvh;
}

.header_wrapp-bg {
    width: 100%;
    position: fixed;
    z-index: 999;
    -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
    transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.header_wrapp-bg.scrolled {
    backdrop-filter: blur(4rem);
    border-color: rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.9);
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    padding-bottom: 30px;
    width: 100%;
    max-width: 1140px;
    -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
    transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.header_wrapp-bg.scrolled .header-menu ul li a {
    color: #323842;
}

.header_wrapp-bg.scrolled .header-right-number {
    color: #323842;
}

.header_link-logo img {
    width: 128px;
}

.header_wrapp-bg .black-header-logo {
    display: none;
}

.header_wrapp-bg.scrolled .light-header-logo {
    display: none;
}
.header_wrapp-bg.scrolled .black-header-logo {
    display: block;
}

.header_wrapp-bg.scrolled .header {
    padding-top: 10px;
    padding-bottom: 10px;
}

.header {
    /* background-color: #fff; */
}

.header-menu ul {
    display: flex;
}

.header-menu ul li {
    margin-right: 35px;
}

.header-menu ul li:last-child {
    margin-right: 0;
}

.header-menu ul li a {
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    color: #F3F4F6;
    letter-spacing: 1.2px;
}

.header-right {
    display: flex;
}

.header-right-tel {
    display: flex;
    align-items: center;
    margin-right: 24px;
}

.header-right-tel-icon {
    width: 32px;
    height: 32px;
    background-color: #5A8CF5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-right-tel-icon img {
    width: 10px;
    height: 16px;
}

.header-right-number {
    font-size: 16px;
    font-weight: 700;
    margin-left: 7px;
    color: #F3F4F6;
}

.header-right-button {
    display: flex;
    font-weight: 600;
    text-transform: uppercase;
    align-items: center;
    background-color: #EDCE2A;
    width: 233px;
    height: 64px;
    text-align: center;
    justify-content: center;
    border-radius: 160px;
    letter-spacing: 1.3px;
    padding-left: 10px;
    transition: transform 0.3s ease-in-out;
}

.header-right-button:hover {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

.header-right-button-icon {
    width: 40px;
    height: 40px;
    background-color: #353B45;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 27px;
}

.header-right-button-icon img {
    width: 18px;
    height: 21px;
}


.first-sc {
    position: relative;
    overflow: hidden;
    /* Чтобы обрезать лишнее видео */
    width: 100%;
    height: 100dvh;
    /* Высота на весь экран */
    background-color: rgba(24, 26, 31, 0.8);
}

.mil-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Отправляем видео на задний план */
}

.mil-video-background video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Растягивает видео на всю секцию */
    transform: translate(-50%, -50%);
}

.first-main {
    display: flex;
    min-height: 100vh;
    padding-top: 3rem;
    position: relative;
    align-items: center;
    justify-content: space-between;
}

.first-main-geo {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    color: #F3F4F6;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(134, 145, 163, 0.5);
    width: 89px;
    height: 28px;
    border-radius: 20px;
    margin-bottom: 5px;
}

.first-main-geo img {
    width: 17px;
    height: 17px;
    margin-right: 11px;
}

.first-main-title {
    color: #F3F4F6;
    font-size: 45px;
    line-height: 50px;
}

.first-main-title span {
    color: #EDCE2A;
}

.first-main-p {
    color: #F3F4F6;
    font-size: 20px;
    width: 432px;
    margin-top: 15px;
}

.first-main-p b {
    font-weight: 500;
}

@keyframes rotateText {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.scroll-container {
    position: relative;
    width: 160px;
    height: 160px;
    right: 24px;
    top: 20px;
}

.scroll-text {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotateText 10s linear infinite;
}

.scroll-text svg {
    width: 100%;
    height: 100%;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    fill: #A0A0A0;
}

/* Убираем лишний фон */
.scroll-text path {
    fill: none;
}

.scroll-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.circle {
    width: 60px;
    height: 60px;
    background-color: #FFD700;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn {
    background-color: #EDCE2A;
    color: #323842;
    text-align: center;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: transform 0.3s ease-in-out;
}

.btn:hover {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

.first-main-form {
    background-color: #181A1F;
    padding: 32px 29px;
    border-radius: 20px;
    text-align: center;
}

.fm-form-button {
    padding: 17px 52px;
    font-size: 16px;
}

.fm-form-bottom {
    display: flex;
    align-items: center;
}

.fm-form-title {
    color: #F3F4F6;
    font-size: 30px;
    width: 248px;
    margin: 0 auto;
    margin-bottom: 35px;
}

.first-main-form input {
    display: block;
    width: 100%;
    background-color: #323842;
    border: 0.01rem solid #8691A3;
    padding-left: 25px;
    padding-top: 22px;
    padding-bottom: 22px;
    border-radius: 15px;
    font-weight: 500;
    font-size: 13px;
    color: #F3F4F6;
    outline: none;
    letter-spacing: 0.5px;
}

.first-main-form input::placeholder {
    color: #8691A3;
}

.last-input {
    margin-top: 15px;
    margin-bottom: 34px;
}

.fm-form-bottom p {
    font-size: 10px;
    width: 172px;
    color: #8691A3;
    text-align: left;
}

.services {
    padding-top: 60px;
    padding-bottom: 60px;
}

.section-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    margin-bottom: 50px;
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0px, 0px);
    opacity: 1;
}

.section-title h2 {
    font-size: 29px;
    font-weight: 800;
    color: #323842;
}

.section_dots {
    width: 100%;
    border-bottom: dotted 0.25rem rgba(135, 146, 164, 0.3);
    margin-left: 10px;
    margin-right: 8px;
    margin-bottom: 5px;
}

.section-title b {
    font-weight: 800;
    font-size: 19px;
    color: #8792a44d;
}

.services-top_line {
    display: flex;
    justify-content: space-between;
}

.service-item {
    display: flex;
}

.service-item img {
    border-radius: 20px;
    width: 223px;
    height: 280px;
    margin-right: 10px;
}

.service-item-main {
    background-color: #FFFFFF;
    width: 307px;
    height: 280px;
    border-radius: 20px;
    padding-top: 20px;
    padding-left: 20px;
    padding-bottom: 20px;
}

.service-item-main h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.service-item-main span {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #5A8CF5;
}

.serivce-item-lists {
    display: flex;
    justify-content: space-between;
    max-width: 247px;
    margin-bottom: 20px;
    margin-top: 19px;
}

#services:target {
    scroll-margin-top: 40px; /* Высота шапки */
  }

#why:target {
    scroll-margin-top: 70px; /* Высота шапки */
}

#faq:target {
    scroll-margin-top: 90px;
}

#reviews:target {
    scroll-margin-top: 80px;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #333;
    margin-bottom: 5px;
}

.services-list li:last-child {
    margin-bottom: 0;
}

.check-icon {
    width: 13px;
    height: 13px;
}

.service-btn {
    padding: 7px 0;
    width: 134px;
    font-size: 13px;
    display: block;
    background-color: transparent;
    border: 1px solid #EDCE2A;
}

.serivce-item-lists.second {
    max-width: 270px;
}

.serivce-item-lists.third {
    max-width: 219px;
}

.serivce-item-lists.fourth {
    max-width: 246px;
}

.services-top_line.second {
    margin-top: 30px;
}

.section_dots.why {
    width: 85%;
}

.why {
    padding-bottom: 60px;
}

.why-main-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.why-image {
    background-color: #323842;
    border-radius: 20px;
    width: 282px;
    height: 457px;
}

.why-image img {
    width: 325px;
    height: 423px;
    margin-top: 34px;
    margin-left: -24px;
}

.why-line-items {
    display: flex;
    justify-content: space-between;
    width: 824px;
}

.why-item {
    background-color: #fff;
    padding-top: 26px;
    padding-left: 23px;
    width: 262px;
    height: 188px;
    border-radius: 20px;
}

.why-item span {
    font-family: "Monoton", serif;
    font-size: 20px;
    color: #5A8CF5;
    margin-bottom: 5px;
    display: block;
}

.why-item h3 {
    font-size: 25px;
    margin-bottom: 7px;
}

.why-item p {
    max-width: 216px;
    font-size: 13px;
}

.why-line-items.last {
    margin-top: 50px;
}

.reviews {
    padding-bottom: 60px;
}

.reviews-wrapper {
    margin-top: 30px;
}

.reviews-info p {
    font-size: 25px;
    margin-bottom: 6px;
}

.reviews-info span {
    display: block;
    font-size: 15px;
    color: #8691A3;
}

.review-bottom-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reviews-item {
    width: 100%;
    height: 184px;
    padding-left: 25px;
    padding-top: 30px;
    padding-bottom: 20px;
    padding-right: 24px;
    background-color: #fff;
    border-radius: 20px;
    cursor: grab;
}

.review-text {
    font-size: 20px;
    max-width: 1092px;
    margin-bottom: 26px;
}

.review-bottom-left {
    display: flex;
    align-items: center;
}

.review-bottom-left p {
    font-size: 20px;
    font-weight: 800;
    margin-left: 5px;
    display: flex;
    align-items: center;
}

.review_slash {
    opacity: 0.6;
    font-weight: 100;
    margin-left: 3px;
    margin-right: 3px;
}

.review_name {
    font-size: 17px;
}

.review-bottom-right {
    display: flex;
    align-items: center;
}

.review-bottom-right img {
    width: 20px;
    height: 20px;
}

.review-soruce {
    margin-right: 10px;
    font-weight: 600;
    font-size: 14px;
}

.review-soruce.fb {
    color: #5A8CF5;
}

.review-soruce.ggl {
    color: #EA4335;
}

.section_dots.about {
    width: 89%;
}

.about-sec {
    padding-bottom: 60px;
}

.first-main-form.about {
    background-color: #fff;
    max-width: 588px;
}

.fm-form-title.about {
    color: #323842;
    width: 358px;
    margin-bottom: 40px;
}

.first-main-form.about input {
    background-color: #F3F4F6;
    color: #323842;
}

.fm-form-bottom.about {
    justify-content: space-between;
}

.fm-form-bottom.about p {
    width: 194px;
}

.fm-form-button.about {
    padding-right: 72px;
    padding-left: 72px;
}

.section_dots.faqline {
    width: 92%;
}

.faq {
    padding-bottom: 150px;
}

.faq-container {
    max-width: 800px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.faq-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.faq-header {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    border: none;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-header:hover {
    background: #f1f1f1;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    background: #007bff;
    color: white;
    padding: 0 15px;
    transition: max-height 0.3s ease-in-out, padding 0.3s;
}

.faq-content p {
    margin: 15px 0;
}

.faq-item.active .faq-content {
    max-height: 200px;
    padding: 15px;
}

.icon {
    font-size: 18px;
}

.col-lg-6 {
    flex: 0 0 auto; 
    width: 49%;
}

.mil-mb-15 {
    margin-bottom: 1.5rem;
}

.mil-accordion {
    text-align: left;
    background-color: #fff;
    width: 100%;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 24px;
    border-radius: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
    color: #323842;
    -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
    transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
    font-weight: 600;
    font-size: 16px;
}

.mil-bg-m-3 {
    background-color: #f3f4f6 !important;
}

.mil-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    font-size: 1.8rem;
    border: solid 0.1rem rgba(135, 146, 164, 0.2);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    line-height: 100%;
    text-align: center;
}

.mil-accordion .mil-icon {
    min-width: 32px;
    margin-left: 24px;
    font-size: 16px;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
    margin-top: -0.2rem;
    -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
    transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-icon.mil-sm {
    width: 32px;
    height: 32px;
}

.mil-panel {
    background-color: #5A8CF5;
    max-height: 0;
    overflow: hidden;
    border-radius: 1rem;
    -webkit-transition: max-height 0.4s cubic-bezier(0, 0, 0.3642, 1);
    transition: max-height 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-panel p {
    color: #fff;
    padding: 24px;
    margin: 0;
    font-weight: 500;
}

.mil-lh-160 {
    line-height: 160% !important;
}
.mil-fs-18 {
    font-size: 14.4px;
}

.mil-accordion.mil-active {
    margin-bottom: 1.5rem;
    background-color: #fff;
}

.mil-accordion.mil-active .mil-icon {
    border-color: transparent;
    background-color: #EDCE29;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    margin-top: 0.2rem;
}

.acc-wrapper {
    display: flex;
    justify-content: space-between;
}

.faq-bottom {
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.faq-bottom p{
    color: #8792a4;
    font-size: 14px;
    font-weight: 600;
    max-width: 540px;
}

.faq-btn {
    display: flex;
    padding: 14px 0;
    padding-left: 30px;
    padding-right: 30px;
    background-color: #e4e7eb;
    font-weight: 700;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

.faq-btn:hover {
    background-color: #EDCE2A;
}

.faq-btn i {
    background-color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}

.section_dots.work {
    width: 75%;
}

.work {
    padding-bottom: 60px;
}

.work-main {
    display: flex;
    justify-content: space-around;
}

.work-img-wrapper {
    width: 80px;
    height: 80px;
    background-color: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-img-wrapper img {
    width: 45px;
    height: 45px;
}

.work-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.work-item h5 {
    font-size: 19px;
    font-weight: 600;
    margin-top: -8px;
    margin-bottom: 5px;
}

.work-item p {
    max-width: 178px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
}

.work-item p a {
    color: #5A8CF5;
    font-weight: 600;
}

.work-item span {
    font-size: 12px;
    background-color: #5A8CF5;
    color: #F3F4F6;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    text-align: center; 
    position: relative;
    left: 40px;
    bottom: 50px;
}

.footer {
    background-color: #181A1F;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.footer-logo {
    display: block;
    width: 160px;
}

.footer-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-left p {
    color: #8792a4;
    font-weight: 700;
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.header-right-button.footer-btn {
    width: 213px;
    height: 54px;
    font-size: 12px;
}

.header-right-button-icon.footer-btn {
    margin-left: 14px;
}

.footer-menu {
    text-align: right;
}

.footer-menu li {
    margin-bottom: 16px;
}

.footer-menu li a {
    font-size: 19px;
    font-weight: 800;
    color: #f3f4f68e;
    transition: all 0.3s ease;
}

.footer-menu li a:hover {
    color: #fff;
}

.footer-dots {
    margin: 50px 0;
}

.footer-address h5 {
    color: #f3f4f6;
    font-size: 17.6px;
    margin-bottom: 16px;
}

.footer-bot-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bot-links a{
    color: #8792a4;
    margin-right: 20px;
    font-weight: 600;
}

.footer-address p {
    margin-bottom: 16px;
    font-size: 13px;
    color: #8792A4;
}

.footer-address a {
    color: #EDCE29;
    font-size: 12px;
    font-weight: 600;
}

.footer-end-p {
    color: #8792A4;
    font-size: 12px;
    letter-spacing: 0.6px;
    font-weight: 600;
}

footer .mil-footer-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: bottom;
    object-position: bottom;
}

footer .mil-footer-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: bottom;
    object-position: bottom;
}

footer {
    overflow: hidden;
    position: relative;
}

.footer_for-bg {
    position: relative;
    background-color: rgba(24, 26, 31, 0.9);
    -webkit-backdrop-filter: blur(4rem);
    backdrop-filter: blur(1rem);
    padding-top: 40px;
    padding-bottom: 80px;
}

/* Стили для фиксированных кнопок */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
    padding: 30px;
  }
  
  /* Общие стили кнопок */
  .floating-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #323842;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

.floating-button:hover {
    background-color: #fff;
}
  
  /* Анимация трубки */
  .phone-button:hover {
    transform: rotate(15deg) scale(1.1);
    background: #f8f9fa;
  }
  
  /* Стили для стрелки */
  .scroll-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
  }
  
  .scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  /* Иконки */
  .icon {
    width: 20px;
    height: 20px;
    stroke: #EDCE2A;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    position: relative;
    max-width: 500px;
    width: 90%;
    animation: popupAppear 0.3s ease;
}

.popup-content h2 {
    width: 260px;
    text-align: center;
    margin: 0 auto;
    font-size: 24px;
    margin-bottom: 30px;
}

@keyframes popupAppear {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: #666;
}

.discount-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.discount-form input {
    padding-left: 15px;
    padding-top: 17px;
    padding-bottom: 17px;
    border-radius: 15px;
    border: 0.01rem solid #8691A3;
    font-size: 16px;
    background-color: #F3F4F6;
    outline: none;
    font-weight: 500;
    font-size: 13px;
    color: #323842;
}

.discount-form button {
    padding: 12px 30px;
    background: #EDCE2A;
    color: #323842;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.discount-form button:hover {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

@media (max-width: 480px) {
    .popup-content {
        padding: 20px;
    }
}

/* preloader */

.mil-preloader-frame {
    pointer-events: all;
    position: fixed;
    z-index: 9999999999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 10rem;
    background-color: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(20rem);
    backdrop-filter: blur(20rem);
    -webkit-animation: blur 4s ease-in-out;
    animation: blur 4s ease-in-out;
    -webkit-transition: 0.6s cubic-bezier(0, 0, 0.3642, 1);
    transition: 0.6s cubic-bezier(0, 0, 0.3642, 1);
    -webkit-transition-delay: 0.4s;
    transition-delay: 0.4s;
}

.mil-preloader-frame.mil-complete {
    pointer-events: none;
    opacity: 0;
}

.mil-preloader-frame .mil-preloader-content {
    width: 100%;
    max-width: 480px;
    -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
    transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #fff;
    border-radius: 10rem;
    padding: 24px;
    -webkit-transform: scale(1) translateY(-3rem);
    transform: scale(1) translateY(-3rem);
}

.mil-preloader-frame.mil-complete .mil-preloader-content {
    -webkit-transform: scale(0.8) translateY(5rem);
    transform: scale(0.8) translateY(5rem);
    opacity: 0;
}

.mil-preloader-frame .mil-preloader-content img {
    width: 128px;
    margin-right: 18px;
}

.mil-preloader-frame .mil-preloader-content .mil-preloader {
    width: 100%;
    height: 6px;
    background-color: #f3f4f6;
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
}

.mil-preloader-frame .mil-preloader-content .mil-preloader .mil-preload-line {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 0%;
    height: 100%;
    background-color: #5A8CF5;
    -webkit-transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
    transition: 0.4s cubic-bezier(0, 0, 0.3642, 1);
}

.mil-preloader-frame .mil-preloader-content .mil-pre-text {
    white-space: nowrap;
    margin-left: 24px;
    text-align: left;
    font-weight: 700;
}

.mil-preloader-frame .mil-preloader-content .mil-pre-text .mil-percent {
    display: inline-block;
    min-width: 25px;
    text-align: right;
}

/* BURGER */

/* Стили бургера */
.cb__burger {
    display: none;
    cursor: pointer;
    padding: 15px;
    z-index: 1001;
    position: relative;
  }
  
  .cb__line {
    width: 25px;
    height: 2px;
    background: #000;
    margin: 5px 0;
    transition: all 0.3s ease;
  }
  
  /* Анимация бургера */
  .cb__burger.active .cb__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .cb__burger.active .cb__line:nth-child(2) {
    opacity: 0;
  }
  
  .cb__burger.active .cb__line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  /* Меню */
  .cb__menu {
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    height: auto;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 30px 20px;
    box-sizing: border-box;
  }
  
  .cb__menu.active {
    opacity: 1;
    visibility: visible;
  }
  
  .cb__nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

.cb__link.cb__last {
    color: #5A8CF5;
    font-size: 15px;
}

  
  
  .cb__link {
    font-size: 12px;
    text-align: center;
    color: #323842;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 800;
    letter-spacing: .9px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center; /* если нужно по центру горизонтально */
}

.why-lines-img-bg-mb {
    display: none;
}

/* ДО / ПОСЛЕ */

.reviews-info.mil-up.two {
    margin-top: 20px;
    margin-bottom: 20px;
}

.reviews-after_line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.reviews-after_line img {
    max-width: 48%;
    box-shadow: 0px 0px 26px 5px rgba(0,0,0,0.12);
}


.chat-toggle-wrapper {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 10px;
  }

  .chat-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .chat-options.open {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }

  /* Контейнер, в котором виджет будет ограничен */
  .chat-widget-wrapper {
    position: relative;
    /* Контейнер с относительным позиционированием */
    height: 100%;
    /* Заполняет всю высоту */
    width: 100%;
    /* Заполняет всю ширину */
    box-sizing: border-box;
  }

  /* Виджет, всегда прижатый к нижней части экраna */
  .chat-widget {
    position: fixed;
    /* Фиксированное позиционирование */
    bottom: 60px;
    left: 40px;
    z-index: 1000;
  }

  .chat-toggle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #323842;
    color: white;
    font-size: 28px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }

  .chat-toggle:hover {
    transform: rotate(15deg) scale(1.1);
    background: #f8f9fa;
  }

  .chat-toggle img {
    width: 27px;
    height: 27px;
  }

  .chat-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .chat-options.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .chat-button {
    width: 150px;
    padding: 10px;
    border-radius: 30px;
    background-color: #fff;
    color: #333;
    border: 2px solid #edce2a;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .chat-button:hover {
    background-color: #333;
    color: white;
  }

  .chat-options {
    position: fixed;
    right: 140px;
    bottom: 100px;
    /* над chatToggle */
    z-index: 1000;
  }

  @media (max-width: 992px) {
    .chat-options {
      right: 90px !important;
    }
  }

  @media (max-width: 500px) {
    .chat-button {
      width: 100px;
      font-size: 13px;
      padding: 8px;
    }

    .chat-toggle {
      width: 38px;
      height: 38px;
      font-size: 24px;
    }

    .chat-toggle img {
      width: 23px;
      height: 23px;
    }

    .chat-options {
      right: 80px !important;
      bottom: 100px !important;
    }
  }

/* update forms */

.about-formnew-wrapper {
    display: flex;
    justify-content: center;
}

.about-formnew_left {
    background-color: #fff;
    border-radius: 20px;
    padding: 15px;
    display: grid;
    align-content: space-between;
    margin-right: 40px;
}

.about-formnew_top h2{
    font-size: 30px;
    color: #1E1E1E;
}

.about-formnew_top p {
    width: 287px;
    color: #323842;
    margin-top: 15px;
    font-size: 16px;
}

.about-formnew_bot {
    font-size: 16px;
    width: 95%;
}

.about-formnew_b-title {
    margin-bottom: 15px;
    display: block;
}

.about-formnew_item {
    display: inline-block;
}

.about-formnew_msdv {
    display: flex;
    justify-content: space-between;
}

.about-formnew_item div {
    display: block;
    width: 60px;
    padding: 9px;
    border: 0.2px solid #9B9B9B;
    border-radius: 20px;
}

.about-formnew_item a {
    display: flex;
    flex-direction: column;
}

.about-formnew_item div img{
    width: 40px;
}

.about-formnew_item b {
    font-size: 12px;
    text-align: center;
    margin-top: 7px;
}

.first-sc.general {
    height: 80dvh;
    min-height: 80dvh;
}

.first-main.general {
    min-height: 80dvh;
}

.first-main-right.general-form form {
    background-color: #fff;
    padding: 32px 49px;
}

.first-main-right.general-form form h3 {
    color: #1E1E1E;
}

.first-main-right.general-form form input {
    background-color: #F3F4F6;
    color: #1E1E1E;
}

.first-main-right.general-form form h3 {
    width: 288px;
    font-size: 26px;
}

.first-main-sales_pl {
    text-align: center;
    background-color: #fff;
    padding: 17px 0;
    border-radius: 20px;
    margin-bottom: 20px;
}

.first-main-sales_pl h3{
    font-size: 26px;
    font-weight: 400;
    color: #323842;
}



.vidi {
    margin-top: 60px;
    margin-bottom: 60px;
}

.vidi-head {
    margin-bottom: 30px;
}

.vidi-title {
    font-size: 35px;
    font-weight: 900;
    margin-bottom: 5px;
}

.vidi-text {
    font-size: 18px;
}

.vidi-grid {
    
}

.vidi-item {
    width: 530px;
    padding-top: 150px;
    padding-left: 20px;
    padding-bottom: 45px;
    background-image: url('/img/new-update/vidi-bg.jpg');
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vidi-item-left {
    color: #fff;
}

.vidi-item-left h4 {
    font-size: 30px;
}

.vidi-item-left p {
    font-size: 20px;
    font-weight: 400;
    margin-top: 12px;
}

.vidi-item-right {
    width: 50px;
    margin-right: 50px;
}

.vidi-grid-top {
    display: flex;
    justify-content: space-between;
}

.vidi-grid-bot {
    display: flex;
    margin-top: 15px;
    justify-content: space-between;
}






.section_dots.dodat {
    width: 72%;
}

.dodat-main {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.dodat-main-item {
    width: 465px;
    box-shadow: 0px 4px 25px 3px rgba(0,0,0,0.25);
    border-radius: 20px;
    padding-left: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 40px;
}

.dodat-main-item.first {
    margin-right: 90px;
}

.dodat-main-item span {
    font-weight: 700;
    font-size: 19px;
    text-align: center;
    color: #fff;
    background-color: #217277;
    padding: 7px 0;
    width: 203px;
    display: block;
    border-radius: 10px;
}

.dodat-main-item h4 {
    font-size: 29px;
    margin-top: 20px;
    margin-bottom: 5px;
}

.dodat-main-item p {
    font-size: 19px;
}

.dodat-main-item_bot p {
    font-size: 23px;
    text-decoration: underline;
}

.dodat-main-item img {
    width: 310px;
    margin: 0 auto;
    margin-top: 36px;
    margin-bottom: 50px;
}

.dodat-main-item_bot {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dodat-main-item_bot img {
    width: 47px;
    margin: 0;
}

.dodat-main-item.second span {
    background-color: #E7925C;
    width: 142px;
}

.dodat-main-item.second img {
    width: 161px;
}

/* --- ДОБАВЬТЕ ЭТИ СТИЛИ --- */

/* 1. Превращаем ссылку в flex-контейнер, который занимает всю высоту карточки */
.dodat-main-item a {
    display: flex;
    flex-direction: column; /* Располагаем элементы внутри (span, h4, p, img) в столбец */
    height: 100%;          /* Заставляем ссылку занять 100% высоты родителя (.dodat-main-item) */

    /* Опционально: убираем стандартное поведение ссылки */
    text-decoration: none;
    color: inherit; /* Наследуем цвет текста от родителя */
}

/* 2. "Прижимаем" нижний блок книзу */
.dodat-main-item_bot {
    margin-top: auto; /* Это главное правило! Оно забирает всё свободное пространство сверху */
}

.dodat-main-item_bot.second img{
    width: 47px;
}

.dodat-slider-container {
    position: relative; /* Це потрібно, щоб позиціонувати стрілки відносно неї */
  }
  

.dodat-slider {
    overflow: hidden;   /* ЦЕ ГОЛОВНЕ! Ховаємо картки, що вилазять */
    width: 100%;
    box-sizing: border-box;
    /* Прибираємо зайвий відступ, він тут більше не потрібен */
    padding: 0;
  }

.dodat-slider .swiper-wrapper {
    display: flex;
}


.dodat-slider .swiper-slide {
    flex-shrink: 0;
    width: 232px;
  }

.dodat-slider-item {
    width: 232px;
    border-radius: 10px;
    background-color: #fff;
    padding-top: 13px;
    flex-shrink: 0;
}

.dodat-silder-title {
    font-size: 19px;
    font-weight: 400;
    margin-left: 10px;
    margin-bottom: 37px;
}

.dodat-silder-text_bot {
    display: flex;
    align-items: center;
    margin-left: 10px;
    margin-bottom: 15px;
}
.dodat-slider-text_price {
    font-size: 20px;
    font-weight: 700;
    margin-right: 20px;
}

.dodat-slider-text_time {
    display: flex;
    align-items: center;
    color: #646464;
    font-size: 12px;
}

.dodat-slider-text_time img {
    width: 15px;
    height: 15px;
}

.dodat-slider-container .swiper-button-prev,
.dodat-slider-container .swiper-button-next {
    /* Стилі розміру, фону, тіні залишаються ті ж самі */
    width: 55px;
    height: 55px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    /* Важливо: прибираємо left/right: 16px зі старих стилів */
}

.dodat-slider-container .swiper-button-prev {
    left: -27.5px; /* Виносимо назовні на половину своєї ширини (55px / 2) */
}
.dodat-slider-container .swiper-button-next {
    right: -27.5px; /* Виносимо назовні на половину своєї ширини */
}

/* Стилі для іконок-стрілок (залишаються без змін) */
.dodat-slider .swiper-button-prev::after,
.dodat-slider-container .swiper-button-prev::after { /* додаємо селектор для нової структури */
    content: '';
    display: block;
    width: 35px;
    height: 12px;
    background: url('../img/new-update/arrow-left.svg') no-repeat center/contain;
}
.dodat-slider .swiper-button-next::after,
.dodat-slider-container .swiper-button-next::after { /* додаємо селектор для нової структури */
    content: '';
    display: block;
    width: 35px;
    height: 12px;
    background: url('../img/new-update/arrow-right.svg') no-repeat center/contain;
}

/* Стилі для контейнера, в якому знаходяться точки */
.dodat-slider .swiper-pagination {
    position: static; /* Скидаємо абсолютне позиціонування, щоб точки були під слайдером */
    margin-top: 25px; /* Додаємо відступ зверху від картинок слайдера */
    width: 100%;
    text-align: center; /* Центруємо точки */
}

/* Стилі для кожної окремої точки */
.dodat-slider .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background-color: #D8D8D8; /* Світло-сірий колір для неактивної точки */
    opacity: 1; /* Робимо точку повністю видимою */
    border-radius: 50%; /* Робимо її круглою */
    transition: background-color 0.3s ease; /* Плавний перехід кольору */
    margin: 0 5px; /* Відступи між точками */
}

/* Стилі для активної (вибраної) точки */
.dodat-slider .swiper-pagination-bullet-active {
    background-color: #323842; /* Темний колір для активної точки */
}

.dodat-slider-item img {
    border-radius: 0 0 10px 10px;
}

.about-formnew_left.right {
    margin-right: 0;
    margin-left: 40px;
}  


.vhod {
    margin-top: 60px;
    margin-bottom: 60px;
}

.vhod-item {
    width: 550px;
    border-radius: 20px;
    background-color: #fff;
    padding-left: 20px;
    padding-top: 15px;
    padding-bottom: 12px;
}

.vhod-title {
    font-size: 25px;
    margin-bottom: 15px;
}

.vhod-item-one {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.vhod-item-one img {
    width: 21px;
    height: 21px;
    margin-right: 10px;
}

.vhod-item-one p {
    font-size: 15px;
}

.vhod-bot-drugoe {
    font-size: 13px;
    color: #323842a0;
}

.vhod-top {
    display: flex;
    justify-content: space-between;
}

.vhod-top.bot {
    margin-top: 20px;
}

.varti {
    margin-bottom: 60px;
}

.section-title.varti {
    margin-bottom: 10px;
}

.varti-ob {
    font-size: 20px;
    color: #323842;
}

.varti-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
}

.varti-one {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.varti-item {
    background: linear-gradient(135deg,rgba(255, 255, 255, 1) 0%, rgba(255, 252, 238, 1) 100%);
    width: 270px;
    border-radius: 20px;
    padding: 5px 0 10px 15px;
}

.varti-item_title {
    font-size: 23px;
    margin-bottom: 5px;
    color: #1E1E1E;
}

.varti-item_title span {
    font-size: 50px;
}

.varti-item_p {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #1E1E1E;
}

.varti-item_p img {
    width: 17px;
    height: 17px;
}

.varti-price {
    color: #1E1E1E;
    font-size: 40px;
    font-weight: 900;
    margin-top: 18px;
    display: block;
}

.select-cleaning {
    width: 100%;
    padding: 22px 25px;
    border: 1px solid #ccc;
    border-radius: 12px;
    background-color: #f5f7f9;
    font-size: 13px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6"><path fill="%23000" d="M0 0l5 6 5-6z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 10px 6px;
    color: #1E1E1E;
    letter-spacing: 0.5px;
}

.select-cleaning:focus {
    outline: none;
    box-shadow: none;
}

.first-main-bread {
    display: flex;
    margin-bottom: 10px;
}

.bread-item {
    color: #EDCE2A;
    text-decoration: underline;
    font-size: 13px;
}

.bread-item.last {
    text-decoration: none;
    color: #fff;
}

.mil-video-background.mil-delay-load img {
    width: auto;
}

.service-btn.service-btn-order {
    margin-bottom: 5px;
    background-color: #EDCE2A;
}

.service-btn.btn.service-btn-second.dry-service-btn {
    margin-top: 65px;
}

@media (max-width: 1200px) {
    .container {
        max-width: 992px;
    }
    .header-menu ul li {
        margin-right: 20px;
    }
    .header-right {
        align-items: center;
    }
    .service-item img {
        width: 170px;
        height: 250px;
    }
    .service-item-main {
        height: 250px;
    }
    .service-btn {
        
    }
    .section_dots.work {
        width: 71%;
    }
    .section_dots.why {
        width: 83%;
    }
    .why-image {
        width: 232px;
    }
    .why-image img {
        width: 295px;
        margin-left: -44px;
    }
    .why-line-items {
        width: 100%;
        max-width: 824px;
        gap: 20px;
    }
    .why-item {
        width: 232px;
    }
    .why-item p {
        max-width: 186px;
    }
    .vidi-item {
        width: 460px;
    }
    .dodat-slider-container .swiper-button-prev, .dodat-slider-container .swiper-button-next {
        width: 45px;
        height: 45px;
    }
    .dodat-main-item {
        width: 405px;
    }
    .vhod-item {
        padding-right: 20px;
        width: 48%;
    }
    .varti-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .varti-one {
        justify-content: center;
        gap: 110px;
    }
    .serivce-item-lists {
        margin-bottom: 7px;
        margin-top: 9px;
    }
    .service-btn.btn.service-btn-second.dry-service-btn {
        margin-top: 45px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    .header-menu {
        display: none;
    }
    .header-right-tel {
        display: none;
    }
    .header-right-button {
        width: 222px;
        height: 54px;
    }
    .header-right-button-icon {
        margin-left: 15px;
    }
    .header-right-button {
        margin-right: 30px;
    }
    .cb__burger {
        display: block;
    }
      .header {
        padding: 10px 0;
    }
      .header_wrapp-bg {
        background-color: #fff;
    }
      .header_wrapp-bg.scrolled {
        background-color: #fff; 
    }
      .header_wrapp-bg .black-header-logo {
        display: block;
    }
      .light-header-logo {
        display: none;
    }
    .services-top_line {
        display: block;
    }
    .service-item img {
        width: 210px;
        height: 280px;
    }
    .service-item-main {
        width: 100%;
        height: 280px;
    }
    .serivce-item-lists {
        max-width: 297px;
    }
    .services-list li {
        font-size: 15px;
    }
    .serivce-item-lists.second {
        max-width: 324px;
    }
    .serivce-item-lists.third {
        max-width: 266px;
    }
    .serivce-item-lists.fourth {
        max-width: 296px;
    }
    .service-item {
        margin: 30px 0;
    }
    .service-item-main h3 {
        font-size: 25px;
    }
    .service-item-main span {
        font-size: 13px;
    }
    .service-btn {
        width: 184px;
    }
    .section-title h2 {
        font-size: 26px;
    }
    .section_dots.work {
        width: 63%;
    }
    .section_dots.why {
        width: 79%;
    }
    .why-line-items {
        display: block;
    }
    .why-lines {
        display: flex;
    }
    .why-line-items.last {
        margin-top: 0;
    }
    .why-item {
        width: 202px;
        height: 131px;
        margin-bottom: 20px;
        padding-right: 10px;
        padding-top: 15px;
        padding-left: 20px;
    }
    .why-item span {
        font-size: 15px;
    }
    .why-item h3 {
        font-size: 15px;
    }
    .why-item p {
        font-size: 11px;
    }
    .why-line-items.last {
        margin-left: 30px;
    }
    .why-image {
        width: 242px;
    }
    .why-image img {
        width: 305px;
    }
    .reviews-info p {
        font-size: 20px;
    }
    .reviews-info span {
        font-size: 11px;
    }
    .review-text {
        font-size: 15px;
    }
    .review-soruce {
        font-size: 12px;
    }
    .review-soruce {
        margin-right: 7px;
    }
    .fm-form-title {
        font-size: 26px;
    }
    .mil-accordion {
        font-size: 15px;
    }
    .faq-bottom p {
        max-width: 400px;
    }
    .fm-form-title {
        width: 378px;
    }
    .first-main {
        display: block;
    }
    .fm-form-title {
        font-size: 19px;
    }
    .first-main-form {
        padding: 20px;
    }
    .fm-form-button {
        margin-left: auto;
    }
    .fm-form-bottom p {
        width: 192px;
    }
    .first-main-form input {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .scroll-container {
        width: 140px;
        height: 120px;
        top: 280px;
        right: 54px;
    }
    .circle {
        width: 50px;
        height: 50px;
    }
    .first-main-left {
        height: 230px;
        margin-top: 70px;
    }
    .first-sc {
        background-color: rgba(24, 26, 31, 0.9);
    }
    .floating-buttons {
        right: 0;
    }
    .about-formnew-wrapper {
        flex-direction: column-reverse;
    }
    .about-formnew_left {
        margin-right: 0;
        margin-top: 30px;
    }
    .about-formnew_top p {
        width: 100%;
        margin-bottom: 30px;
    }
    .first-main-form.about {
        max-width: 100%;
    }
    .first-main-title {
        font-size: 37px;
        line-height: 37px;
    }
    .first-main-left.general {
        height: 175px;
    }
    .first-main-sales_pl h3 {
        font-size: 21px;
    }
    .first-main-sales_pl {
        padding: 5px 0;
        width: 70%;
        margin-bottom: 10px;
    }
    .first-main-right.general-form form {
        width: 70%;
        padding: 12px 49px;
    }
    .first-main-right.general-form form h3 {
        font-size: 21px;
    }
    .vidi-item {
        width: 340px;
        padding-top: 100px;
    }
    .about-formnew_left.right {
        margin-left: 0;
        margin-bottom: 20px;
    }
    .dodat-main-item img {
        width: 280px;
    }
    .dodat-main-item.first {
        margin-right: 30px;
    }
    .dodat-main-item {
        width: 350px;
    }
    .dodat-main-item_bot img {
        width: 47px;
    }
    .dodat {
        padding-bottom: 50px;
    }
    .varti-one {
        gap: 40px;
    }
    .varti-item_title {
        font-size: 19px;
    }
    .varti-item_title span {
        font-size: 40px;
    }
    .varti-price {
        font-size: 30px;
        margin-top: 8px;
    }
}

@media (max-width: 720px) {
    .container {
        max-width: 540px;
    }
    .section-title h2 {
        font-size: 24px;
    }
    .section_dots.work {
        width: 56%;
    }
    .section-title b {
        font-size: 16px;
    }
    .work-img-wrapper img {
        width: 35px;
        height: 35px;
    }
    .work-img-wrapper {
        width: 60px;
        height: 60px;
    }
    .work-main {
        justify-content: space-between;
    }
    .work-item h5 {
        font-size: 17px;
    }
    .work-item p {
        max-width: 112px;
        font-size: 11px;
    }
    .work-item span {
        left: 32px;
        bottom: 38px;
    }
    .section_dots.why {
        width: 74%;
    }
    .why-image {
        display: none;
    }
    .why-line-items {
        width: 100%;
        max-width: 100%;
    }
    .why-line-items.last {
        margin-left: 60px;
    }
    .why-lines {
        margin-left: 40px;
    }
    .why-item {
        background-color: #ffffffd6;
    }
    .why-lines-img-bg-mb {
        display: block;
        position: absolute;
        top: 376.9%;
        left: 44%;
        width: 325px;
        transform: translate(-50%, -50%);
    }
    .why {
        padding-bottom: 40px;
    }
    .faq-bottom p {
        max-width: 240px;
        font-size: 11px;
    }
    .mil-mb-15 {
        margin-bottom: .7rem;
    }
    .mil-fs-18 {
        font-size: 13.4px;
    }
    .mil-preloader-frame {
        padding: 20px;
    }
    .mil-preloader-frame .mil-preloader-content img {
        width: 128px;
        margin-right: 18px;
    }
    .mil-preloader-frame .mil-preloader-content .mil-pre-text {
        margin-left: 24px;
        font-size: 13.4px;
    }
    .vidi-item {
        width: 48%;
        padding-left: 10px;
        padding-bottom: 20px;
    }
    .vidi-item-left h4 {
        font-size: 25px;
    }
    .vidi-item-left p {
        font-size: 18px;
    }
    .vidi-item-right {
        width: 50px;
        margin-right: 10px;
        margin-top: 50px;
    }
    .first-main-right.general-form form {
        padding: 12px 20px;
    }
    .dodat-main-item span {
        font-size: 15px;
        width: 173px;
    }
    .dodat-main-item h4 {
        font-size: 25px;
    }
    .dodat-main-item p {
        font-size: 18px;
    }
    .dodat-main-item img {
        width: 180px;
    }
    .dodat-main-item.second img {
        width: 115px;
    }
    .dodat-main-item_bot img {
        width: 47px;
    }
    .dodat-main-item_bot.second img {
        width: 47px;
    }
    .dodat-main-item {
        width: 100%;
    }
    .dodat-main-item.second span {
        width: 122px;
    }
    .dodat-main-item_bot p {
        font-size: 21px;
    }
    .dodat-slider-container .swiper-button-next {
        right: -5px;
    }
    .dodat-slider-container .swiper-button-prev {
        left: -5px;
    }
    .dodat-slider-container .swiper-button-prev, .dodat-slider-container .swiper-button-next {
        top: 56%;
    }
    .dodat-slider-container .swiper-button-prev, .dodat-slider-container .swiper-button-next {
        display: none;
    }
    .vidi-title {
        font-size: 31px;
    }
    .vidi-text {
        font-size: 15px;
    }
}

@media (max-width: 540px) { /* 540-400 */ 
    .container {
        padding: 0 18px;
    }
    .service-item {
        flex-wrap: wrap;
        margin: 0;
        margin-bottom: 30px;
    }
    .service-item img {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .services-top_line.second {
        margin-top: 0;
    }
    .service-btn {
        width: 234px;
    }
    .work-main {
        flex-wrap: wrap;
        height: 370px;
    }
    .work-item {
        width: 50%; 
    }
    .section-title h2 {
        font-size: 21px;
    }
    .section_dots.work {
        width: 41%;
    }
    .why-lines {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
    }
    .why-line-items.last {
        margin-left: 0;
    }
    .why-item {
        width: 170px;
    }
    .why-lines-img-bg-mb {
        top: 532.1%;
        left: 38%;
    }
    .header-right-button {
        margin-right: 0;
        width: 162px;
        height: 44px;
        font-size: 8px;
        letter-spacing: 1px;
    }
    .cb__burger {
        padding: 10px;
    }
    .cb__line {
        width: 20px;
    }
    .cb__menu {
        top: 66px;
    }
    .cb__link {
        font-size: 10px;
        height: 30px;
    }
    .cb__link.cb__last {
        font-size: 13px;
    }
    .header-right-button-icon img {
        width: 15px;
        height: 18px;
    }
    .header-right-button-icon {
        width: 30px;
        height: 30px;
    }
    .header_link-logo img {
        width: 108px;
    }
    .acc-wrapper .col-lg-6 {
        width: 100%;
    }
    .acc-wrapper {
        display: block;
    }
    .mil-accordion {
        font-size: 12px;
        padding: 18px;
    }
    .mil-icon.mil-sm {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    .mil-accordion .mil-icon {
        min-width: 0;
    }
    .mil-panel p {
        font-size: 10.8px;
    }
    .mil-accordion.mil-active {
        margin-bottom: 9px;
    }
    .service-item-main h3 {
        font-size: 21px;
        margin-bottom: 0;
    }
    .service-item-main span {
        font-size: 11px;
    }
    .services-list li {
        font-size: 13px;
    }
    .service-item-main {
        height: 250px;
    }
    .faq-btn {
        padding: 10px 0;
        padding-left: 20px;
        padding-right: 10px;
        font-size: 9px;
        letter-spacing: 0.7px;
    }
    .faq-bottom p {
        max-width: 180px;
        font-size: 10px;
    }
    .floating-button {
        width: 38px;
        height: 38px;
    }
    .first-main-title {
        font-size: 28px;
        line-height: 30px;
    }
    .first-main-p {
        font-size: 15px;
        max-width: 400px;
        width: 100%;
    }
    .first-main-geo {
        font-size: 13px;
        width: 69px;
        margin-bottom: 15px;
    }
    .first-main-geo img {
        width: 15px;
        height: 15px;
        margin-right: 7px;
    }
    .fm-form-title {
        max-width: 268px;
        width: 100%;
    }
    .fm-form-bottom p {
        font-size: 8px;
    }
    .fm-form-button {
        padding: 12px 47px;
        font-size: 13px;
    }
    .scroll-container {
        width: 120px;
        height: 100px;
        top: 315px;
        right: 44px;
    }
    .first-main-left.general {
        height: 190px;
        margin-top: 90px;
    }
    .services {
        padding-bottom: 0;
    }
    .section_dots.why {
        width: 66%;
    }
    .reviews-info p {
        font-size: 17px;
    }
    .review-text {
        font-size: 14px;
    }
    .review-bottom-left p {
        font-size: 17px;
    }
    .review_name {
        font-size: 15px;
    }
    .footer-bot-links {
        display: flex;
        flex-direction: column;
    }
    .footer-logo {
        width: 130px;
    }
    .fm-form-bottom.about p {
        max-width: 104px;
    }
    .fm-form-button.about {
        padding-left: 52px;
        padding-right: 52px;
    }
    .mil-preloader-frame .mil-preloader-content .mil-pre-text {
        margin-left: 12px;
        font-size: 11.4px;
    }
    .mil-preloader-frame .mil-preloader-content img {
        width: 88px;
        margin-right: 12px;
    }
    .first-main-sales_pl {
        width: 100%;
    }
    .first-main-right.general-form form {
        width: 100%;
    }
    .first-main-left.general {
        height: 155px;
        margin-top: 70px;
    }
    .first-main-sales_pl h3 {
        font-size: 16px;
    }
    .dodat-main-item {
        padding-left: 15px;
        padding-right: 15px;
    }
    .dodat-main-item img {
        width: 140px;
    }
    .dodat-main-item.second img {
        width: 95px;
    }
    .dodat-main-item_bot img {
        width: 50px;
    }
    .dodat-main-item_bot.second img {
        width: 30px;
    }
    .dodat-main-item_bot p {
        margin-right: 10px;
        font-size: 19px;
    }

    .dodat-main-item.first {
        margin-right: 20px;
    }
    .vidi-item-left h4 {
        font-size: 22px;
        line-height: 25px;
    }
    .vidi-item-left p {
        font-size: 16px;
    }
    .dodat-main-item img {
        margin: 20px 0;
    }
    .dodat-main-item_bot img {
        width: 50px;
    }
    .dodat-main-item_bot.second img {
        width: 50px;
    }
    
    .dodat-main {
        display: block;
    }
    .dodat-main-item.first {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .vidi-grid-top {
        flex-direction: column;
        gap: 10px;
    }
    .vidi-item {
        width: 100%;
    }
    .vidi-grid-bot {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }
    .vhod-top {
        flex-direction: column;
        gap: 20px;
    }
    .vhod-item {
        width: 100%;
    }
    .varti-one {
        flex-direction: column;
    }
    .varti-item {
        width: 100%;
    }
}


@media (max-width: 400px) { /* 540-400 */ 
    .service-item-link-photo {
        width: 100%;
    }
    .header_link-logo img {
        width: 81px;
    }
    .header-right-button-icon {
        margin-left: 5px;
        width: 25px;
        height: 25px;
    }
    .header-right-button {
        width: 142px;
        height: 35px;
    }
    .header-right-button-icon img {
        width: 12px;
        height: 18px;
    }
    .first-main-title {
        font-size: 25px;
    }
    .first-main-p {
        font-size: 13px;
    }
    .first-main-geo {
        margin-bottom: 5px;
        font-size: 11px;
        width: 62px;
    }
    .fm-form-title {
        font-size: 17px;
    }
    .first-main-p {
        font-size: 13px;
    }
    .first-main-form input {
        font-size: 11px;
        padding-left: 15px;
    }
    .fm-form-bottom p {
        font-size: 6px;
    }
    .fm-form-button {
        padding: 12px 25px;
        font-size: 11px;
    }
    .scroll-container {
        width: 80px;
        height: 70px;
        top: 305px;
        right: 24px;
    }
    .circle {
        width: 35px;
        height: 35px;
    }
    .service-item img {
        width: 100%;
        height: 200px;
    }
    .services-list li {
        font-size: 12px;
    }
    .serivce-item-lists {
        max-width: 227px;
    }
    .serivce-item-lists.second {
        max-width: 250px;
    }
    .serivce-item-lists.third {
        max-width: 216px;
    }
    .serivce-item-lists.fourth {
        max-width: 236px;
    }
    .section_dots.work {
        width: 25%;
    }
    .section_dots.why {
        width: 55%;
    }
    .why-lines-img-bg-mb {
        top: 3501px;
        left: 45%;
        width: 225px;
    }
    .why-item {
        height: 150px;
        width: 140px;
    }
    .faq-bottom p {
        max-width: 100px;
        font-size: 7px;
    }
    .why-item {
        padding-left: 10px;
    }
    .mil-preloader-frame .mil-preloader-content {
        padding: 20px;
    }
    .mil-preloader-frame .mil-preloader-content img {
        width: 65px;
    }
    .mil-preloader-frame .mil-preloader-content .mil-pre-text {
        margin-left: 12px;
        font-size: 9.4px;
    }
    .mil-preloader-frame .mil-preloader-content .mil-pre-text .mil-percent {
        min-width: 18px;
    }
    .about-formnew_top h2 {
        font-size: 25px;
    }
    .about-formnew_top p {
        font-size: 14px;
    }
    .first-main-left.general {
        height: 185px;
    }
}

