/* Основные стили */

body {
    font-family: 'Montserrat', regular;
    line-height: 1.5;
}

a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline
}

.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('6697f5c217fb9334a09f3eac/65e547ba67db89000ff3b264_optimized_1920_flop.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    color: white;
    position: relative;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -1px;
}

.soft {
    color: #5bc7c9;
}

.clean {
    color: white;
}

.logo-text .soft {
    color: #88E1F2;
    font-size: 45px;
    font-weight: 700;
}

.logo-text .clean {
    color: white;
    font-size: 45px;
    font-weight: 700;
}

.nav-link {
    margin: 0 10px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.social-icons {
    display: flex;
    margin: 15px 0;
}

.phone-icon {
    background-color: #4CAF50;
}

.telegram-icon {
    background-color: #0088cc;
}

.viber-icon {
    background-color: #7360f2;
}

.instagram-icon {
    background-color: #C13584;
}

.facebook-icon {
    background-color: #3b5998;
}

.whatsapp-icon {
    background-color: #25D366;
}

.btn-outline-light {
    border-radius: 30px;
    padding: 8px 20px;
    border: 2px solid #5bc7c9;
    color: white;
    font-weight: 500;
}

.btn-outline-light:hover {
    background-color: #5bc7c9;
    color: var(--dark-bg);
}

.navbar-toggler {
    color: white;
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* Mobile Menu Styles */

.textline {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .navbar-collapse {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: #535459;
        padding: 20px;
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }
    .navbar-collapse.show {
        transform: translateX(0);
    }
    .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 24px;
        color: white;
        background: none;
        border: none;
        cursor: pointer;
    }
    .navbar-nav {
        margin-top: 60px;
        text-align: center;
    }
    .nav-item {
        margin: 10px 0;
    }
    .logo-text {
        z-index: 1001;
    }
    .social-icons {
        justify-content: center;
        margin: 20px 0;
    }
    .call-button-wrapper {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
}

.hero-title {
    font-size: 2.35rem;
    font-weight: 400;
    margin-top: 160px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
}

.phone-number {
    color: #5bc7c9;
    font-size: 1.2rem;
    font-weight: 600;
}

.phone-text {
    color: #aaa;
    font-weight: 600;
    font-size: 1rem;
}

.action-buttons {
    margin-top: 30px;
}

.classtextactive {
    color: #000;
}

.action-btn {
    margin: 15px;
    border: 2px solid #5bc7c9;
    border-radius: 30px;
    padding: 10px 30px;
    margin-right: 15px;
    text-decoration: none;
    color: white;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.action-btn:hover {
    background-color: #5bc7c9;
    color: white;
}

.services-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 60px;
    font-family: 'Montserrat', sans-serif;
}

.service-item {
    margin-bottom: 50px;
}

.service-icon {
    width: 80px;
    height: auto;
    margin-right: 15px;
}

.service-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #212529;
    font-family: 'Montserrat', sans-serif;
}

.service-subtitle {
    font-size: 1.05rem;
    color: #4a90a0;
    margin-bottom: 15px;
    font-weight: 600;
    font-style: italic;
}

.service-text {
    color: #000;
    line-height: 1.7;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.btn-learn-more {
    background-color: #212529;
    color: #fff;
    border-radius: 5px;
    padding: 8px 20px;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.btn-learn-more:hover {
    background-color: #343a40;
    color: #fff;
}

.btn-order {
    background-color: #fff;
    color: #4a90a0;
    border: 1px solid #4a90a0;
    border-radius: 5px;
    padding: 10px 30px;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.order-container {
    text-align: center;
    margin-top: 20px;
}

.why-us-section {
    background-color: #55545a;
    color: #fff;
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 60px;
}

.feature-item {
    text-align: center;
    margin-bottom: 30px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #5bc7c9;
}

.feature-text {
    color: #fff;
    line-height: 1.6;
    font-weight: 500;
    font-size: 1.15rem;
}

.pricing-section {
    transition: opacity .3s cubic-bezier(0, 0.8, 0.58, 1);
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-weight: 600;
    font-size: 1.15rem;
    font-style: italic;
    color: #000;
    margin-bottom: 10px;
}

.section-description {
    text-align: center;
    font-size: 1.15rem;
    color: #000;
    font-weight: 600;
    margin-bottom: 40px;
}

.nav-tabs {
    justify-content: center;
    border: none;
    margin-bottom: 40px;
}

.nav-tabs .nav-link {
    border: none;
    color: #000;
    font-size: 1.1rem;
    padding: 10px 30px;
    margin: 0 10px;
}

.nav-tabs .nav-link.active {
    border-bottom: 2px solid #212529;
    color: #212529;
    font-weight: 500;
    background-color: transparent;
}

.price-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e1e1e1;
}

.price-icon {
    width: 50px;
    height: auto;
    margin-right: 20px;
}

.price-label {
    font-weight: 600;
    flex-grow: 1;
    font-size: 1.05rem;
}

.price-value {
    padding: 0 15px;
    font-size: 1rem;
    color: #000;
    text-align: right;
    white-space: nowrap;
}

.additional-services {
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 500;
    font-size: 1.2rem;
}

.minimal-order {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 20px;
}

.btn-order {
    background-color: #fff;
    color: #4a90a0;
    border: 1px solid #4a90a0;
    border-radius: 5px;
    padding: 8px 30px;
    font-size: 1rem;
    display: block;
    margin: 0 auto;
    max-width: 200px;
}

.btn-order:hover {
    background-color: #4a90a0;
    color: #fff;
}

.subtext {
    font-size: 0.8rem;
    color: #888;
}

.gallery-section {
    padding: 50px 0;
}

.gallery-title {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0;
    font-weight: 500;
}

.gallery-title .subtitle {
    color: #4d8eb9;
    font-size: 1.7rem;
    margin-bottom: 5px;
}

.gallery-title .description {
    font-size: 1.2rem;
    color: #333;
    margin-top: 5px;
}

.comparison-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    height: 220px;
    width: 100%;
}

.comparison-container.tall {
    height: 400px;
}

.comparison-container img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.before-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.before-image img {
    max-width: none;
    width: 200%;
}

.after-image {
    width: 100%;
    height: 100%;
}

.slider-handle {
    position: absolute;
    z-index: 10;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(-50%);
    cursor: ew-resize;
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    z-index: 11;
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-button:before {
    content: "-";
    color: #333;
    font-weight: bold;
    font-size: 18px;
}

.order-btn-container {
    text-align: center;
    margin: 40px 0 20px;
}

.order-btn {
    padding: 10px 35px;
    font-size: 16px;
    border: 1px solid #4d8eb9;
    color: #333;
    background-color: transparent;
    border-radius: 5px;
    transition: all 0.3s;
    cursor: pointer;
}

.order-btn:hover {
    background-color: #4d8eb9;
    color: white;
}


/* Особые стили для соответствия макету */

.gallery-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.gallery-item-1 {
    grid-column: 1;
    grid-row: 1;
}

.gallery-item-2 {
    grid-column: 2 / span 2;
    grid-row: 1;
}

.gallery-item-3 {
    grid-column: 1 / span 2;
    grid-row: 2;
}

.gallery-item-4 {
    grid-column: 3;
    grid-row: 2 / span 2;
}

.gallery-item-5 {
    grid-column: 1 / span 2;
    grid-row: 3;
}

@media (max-width: 768px) {
    .gallery-layout {
        display: block;
    }
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}


/* Заголовок */

.gallery-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
}


/* Подзаголовок */

.gallery-subtitle {
    font-size: 1.5rem;
    color: #3498db;
    margin-top: 0.5rem;
}


/* Карусель */

.gallery-carousel {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


/* Стрелки карусели */


/* Миниатюры */

.thumbnail-btn {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background-color: #f8f9fa;
    transition: all 0.3s;
}

.thumbnail-btn.active {
    border: 2px solid #3498db;
    background-color: #e9ecef;
}


/* Кнопка "Посмотреть больше" */

.view-more-btn {
    margin: 15px;
    font-size: 1.2rem;
    padding: 12px 30px;
    border-width: 2px;
    border-color: #3498db;
    transition: all 0.3s;
}

.view-more-btn:hover {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.faq-container {
    background: #1a237e;
    color: white;
    padding: 60px 0;
}


/* Заголовок */

.faq-title {
    font-size: 3rem;
    margin-bottom: 40px;
}


/* Категории */

.category-title {
    font-size: 1.2rem;
    color: #3498db;
    margin-bottom: 20px;
    text-align: center;
}


/* Таблица вопросов */

.question-table {
    width: 100%;
    border-collapse: collapse;
}

.question-row {
    cursor: pointer;
    transition: all 0.3s;
}

.question-row:hover {
    background: rgba(255, 255, 255, 0.1);
}

.question-text {
    padding: 15px;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}


/* Стрелки */

.arrow-icon {
    transition: transform 0.3s;
}

.collapsed>.arrow-icon {
    transform: rotate(0deg);
}

.arrow-icon:not(.collapsed)::after {
    content: "\f106";
    /* Unicode для стрелки вверх */
    transform: rotate(180deg);
}


/* Ответы */

.answer-content {
    padding: 15px 15px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}


/* Кнопка */

.order-btn {
    display: block;
    margin: 40px auto 0;
    padding: 15px 40px;
    font-size: 1.1rem;
    border: 2px solid white;
    border-radius: 5px;
    background: transparent;
    color: white;
    transition: all 0.3s;
}

.order-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 500;
    margin: 40px 0;
}

.testimonial-text {
    font-size: 14px;
    color: #000;
    flex-grow: 1;
    margin-bottom: 20px;
}

.client-name {
    font-weight: 500;
    font-size: 18px;
    text-align: left;
    margin-top: auto;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: #343a40;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-control-prev {
    left: -20px;
}

.carousel-control-next {
    right: -20px;
}

.order-btn {
    background-color: white;
    color: #0dcaf0;
    border: 1px solid #0dcaf0;
    border-radius: 4px;
    padding: 8px 30px;
    font-size: 16px;
    transition: all 0.2s;
}

.order-btn:hover {
    background-color: #0dcaf0;
    color: white;
}

.footer {
    padding: 50px 0 20px;
    background-color: #1e2639;
    color: white;
}

.brand-title {
    color: #3AACDF;
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
}

.brand-slogan {
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    overflow: hidden;
}

.social-icons a img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.social-icons a:hover img {
    transform: scale(1.1);
}

.phone-icon {
    background-color: #4CAF50;
}

.telegram-icon {
    background-color: #0088cc;
}

.viber-icon {
    background-color: #7360f2;
}

.instagram-icon {
    background-color: #C13584;
}

.facebook-icon {
    background-color: #3b5998;
}

.whatsapp-icon {
    background-color: #25D366;
}

.footer-nav {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
}

.footer-header {
    color: #3AACDF;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 500;
}

.contact-link {
    color: #3AACDF;
    text-decoration: none;
    font-size: 14px;
}

.form-container {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    color: #333;
}

.form-control {
    margin-bottom: 15px;
    background-color: #f1f1f1;
    border: none;
}

.submit-btn {
    background-color: #1e2639;
    color: white;
    border: none;
    padding: 8px 0;
    width: 100%;
    border-radius: 5px;
}

.upload-btn {
    border: none;
    background: none;
    color: #3AACDF;
    padding: 0;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.form-text {
    font-size: 13px;
    color: #666;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 50px;
    font-size: 12px;
}

.chat-bubble {
    bottom: 20px;
    right: 20px;
    color: #1e2639;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.chat-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.bubble-contact {
    position: fixed;
    bottom: 20px;
    right: 180px;
    background-color: #5DE1E6;
    color: #1e2639;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 14px;
}

.telegram-fixed {
    position: fixed;
    bottom: 20px;
    right: 80px;
    background-color: #28A8E9;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.services-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 60px;
}

.service-item {
    margin-bottom: 50px;
}

.service-icon {
    width: 80px;
    height: auto;
    margin-right: 15px;
}

.service-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #212529;
}

.service-subtitle {
    font-size: 1.05rem;
    color: #4a90a0;
    margin-bottom: 15px;
}

.service-text {
    font-size: 1.02rem;
    color: #000;
    line-height: 1.5;
    margin-bottom: 5px;
}

.btn-learn-more {
    background-color: #212529;
    color: #fff;
    border-radius: 5px;
    padding: 8px 20px;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
}

.btn-learn-more:hover {
    background-color: #343a40;
    color: #fff;
}

.btn-order {
    background-color: #fff;
    color: #4a90a0;
    border: 1px solid #4a90a0;
    border-radius: 5px;
    padding: 10px 30px;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 30px;
}

.btn-order:hover {
    background-color: #4a90a0;
}

.order-container {
    text-align: center;
    margin-top: 20px;
}

.modal-content {
    border-radius: 8px;
    padding: 20px;
}

.form-control::placeholder {
    color: #999;
}

.social-icons a {
    margin: 0 5px;
    font-size: 20px;
    color: white;
    width: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-call {
    background-color: #1a1b36;
    color: white;
}

.carousel-inner {
    max-height: 450px;
    align-items: center;
    justify-content: center;
}

.carousel-item {
    text-align: center;
}

.carousel-inner img {
    max-height: 400px;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
}

.thumbs {
    overflow-x: auto;
    white-space: nowrap;
    margin-top: 20px;
}

.thumbs img {
    height: 60px;
    margin: 0 5px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
}

.thumbs img.active {
    border-color: #0d6efd;
}

.angle-section {
    background: #1a1b36;
    height: 100px;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    border-radius: 50%;
    padding: 10px;
}

.gallery-carousel {
    position: relative;
    margin: 0 auto;
    max-width: 100%;
    overflow: hidden;
    padding: 0 50px;
    /* Добавляем отступы для кнопок */
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev {
    left: 10px;
    /* Увеличиваем отступ слева */
}

.carousel-control-next {
    right: 10px;
    /* Увеличиваем отступ справа */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.carousel-item img {
    height: auto;
    border-radius: 5px;
}

.accordion-collapse {
    transition: height 0.35s ease;
}

.faq-section {
    background-color: #535459;
    color: #fff;
    padding: 60px 0;
    min-height: 60vh;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.service-title {
    color: #4a90a0;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 30px;
    text-align: center;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-6 {
    position: relative;
    width: 50%;
    padding-right: 15px;
    padding-left: 15px;
}


/* Стили для FAQ элементов */

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.faq-question.collapsed i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 0 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 600;
}


/* Кнопка заказа */


/* Адаптивность */

@media (max-width: 768px) {
    .col-md-6 {
        width: 100%;
    }
    .col-md-6:first-child {
        margin-bottom: 30px;
    }
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: var(--dark-text);
    margin-bottom: 30px;
    font-weight: 600;
}

.testimonials-container {
    justify-items: center;
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

.testimonial-slider {
    display: flex;
    overflow: hidden;
    position: relative;
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 30px;
    border: 4px solid #535459;
    border-radius: 12px;
    margin: 0 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 550;
    color: var(--dark-text);
    margin-bottom: 20px;
    text-align: center;
}

.testimonial-author {
    font-weight: 600;
    font-size: 18px;
    color: var(--dark-text);
    margin-top: 20px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: rgb(94, 94, 94);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.slider-arrow.prev {
    left: 0px;
}

.slider-arrow.next {
    right: 0px;
}

.order-button {
    display: block;
    margin: 30px auto 0;
    padding: 10px 25px;
    background-color: white;
    border: 1px solid var(--soft-blue);
    color: var(--dark-text);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.order-button:hover {
    background-color: var(--soft-blue);
    color: white;
}


/* Desktop View */

@media (min-width: 992px) {
    .testimonial-wrapper {
        position: relative;
    }
    .testimonial-slider.desktop-slider {
        overflow: hidden;
    }
    .desktop-cards-container {
        display: flex;
        transition: transform 0.3s ease;
    }
    .testimonial-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}


/* Mobile View */

@media (max-width: 991px) {
    .testimonial-card {
        display: none;
        flex: 0 0 calc(100% - 20px);
    }
    .testimonial-card.active {
        display: block;
    }
    .desktop-only {
        display: none;
    }
    .slider-arrow {
        top: 50%;
    }
}

.footer {
    background-color: #535459;
    color: #ffffff;
    padding: 50px 0 20px;
}

.footer h3 {
    font-size: 1.15rem;
    color: #5bc7c9;
    margin-bottom: 20px;
}

.footer a {
    color: #5bc7c9;
    text-decoration: none;
}

.footer a:hover {
    color: #ffffff;
}

.footer-slogan {
    color: #ffffff;
    font-style: italic;
    font-size: 1rem;
    font-weight: 600;
    margin: 15px 0;
}

.social-icons a {
    width: 36px;
    text-align: center;
    border-radius: 5px;
}

.phone {
    color: #5bc7c9;
    font-size: 1.2rem;
    font-weight: 500;
}

.copyright {
    font-size: 0.9rem;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #2a3555;
}

.footer-links a {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
}

.contact-form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    color: #535459;
}

.contact-form label {
    color: #535459;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form select {
    margin-bottom: 15px;
}

.contact-form .btn-primary {
    background-color: #535459;
    border-color: #535459;
    width: 100%;
}

.contact-form .btn-primary:hover {
    background-color: #5bc7c9;
    border-color: #5bc7c9;
}

.social-icon-phone {
    background-color: #28a745;
}

.social-icon-telegram {
    background-color: #0088cc;
}

.social-icon-viber {
    background-color: #7360f2;
}

.social-icon-instagram {
    background-color: #e1306c;
}

.social-icon-email {
    background-color: #dc3545;
}

.social-icon-whatsapp {
    background-color: #25d366;
}


/* Стили для модальных окон */

.modal-header {
    background-color: #535459;
    color: white;
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
}

.modal-body {
    padding: 2rem;
    color: #333;
}

.modal-body h2 {
    color: #535459;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.modal-body p {
    margin-bottom: 1rem;
}

.modal-footer {
    border-top: none;
}

.btn-close {
    color: white;
    opacity: 1;
}

.btn-close:focus {
    box-shadow: none;
}

.legal-section {
    margin-bottom: 1.5rem;
}

.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: Arial, sans-serif;
}


/* Overlay for clicking outside */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 999;
    display: none;
}


/* Chat bubble that appears at bottom right */

.chat-bubble {
    display: none;
    border-radius: 18px;
    padding: 8px 12px;
    cursor: pointer;
    margin-bottom: 10px;
    font-size: 13px;
    color: #333;
}


/* Action buttons at the bottom */

.action-buttons {
    flex-wrap: wrap;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.action-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.phone-button {
    background-color: #5bc7c9;
}

.chat-button {
    background-color: #5bc7c9;
}


/* Call request form */

.call-request {
    display: none;
    width: 300px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    position: relative;
    z-index: 1001;
}

.call-header {
    background-color: #5bc7c9;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
}

.call-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: normal;
}

.close-btn {
    cursor: pointer;
    font-size: 18px;
}

.call-body {
    padding: 20px;
}

.call-body p {
    margin: 0 0 5px 0;
    font-size: 13px;
    color: #000;
}

.call-body p.subtext {
    color: #888;
    font-size: 12px;
    margin-bottom: 15px;
}

.call-body input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    box-sizing: border-box;
    font-size: 14px;
}

.call-body input::placeholder {
    color: #ddd;
}

.call-body button {
    width: 100%;
    padding: 10px;
    background-color: #5bc7c9;
    border: none;
    border-radius: 5px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
}

.illustration {
    text-align: center;
    margin-top: 20px;
}


/* Chat window */

.chat-window {
    display: none;
    width: 300px;
    height: 400px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    position: relative;
    z-index: 1001;
}

.chat-header {
    background-color: #5bc7c9;
    padding: 12px 15px;
    display: flex;
    align-items: center;
}

.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #ddd;
    margin-right: 10px;
    overflow: hidden;
}

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

.user-info {
    flex-grow: 1;
}

.user-info h3 {
    margin: 0;
    font-size: 15px;
    color: #333;
}

.user-info p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.chat-options {
    cursor: pointer;
    font-size: 18px;
    color: #333;
}

.chat-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.message {
    margin-bottom: 10px;
    color: #666;
    font-size: 13px;
}

.user-message {
    align-self: flex-end;
    background-color: #5bc7c9;
    padding: 8px 12px;
    border-radius: 16px;
    margin-bottom: 10px;
    max-width: 80%;
    color: #333;
    font-size: 13px;
}

.manager-message {
    align-self: flex-start;
    background-color: #f1f1f1;
    padding: 8px 12px;
    border-radius: 16px;
    margin-bottom: 10px;
    max-width: 80%;
    color: #333;
    font-size: 13px;
}

.chat-actions {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
    align-items: center;
}

.chat-input {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 5px;
    font-size: 13px;
}

.send-btn {
    background: none;
    border: none;
    color: #5bc7c9;
    cursor: pointer;
    font-size: 18px;
}

.action-icons {
    display: flex;
    gap: 10px;
    padding: 5px 10px;
    color: #888;
    font-size: 13px;
}

.action-icon {
    cursor: pointer;
}


/* Telegram icon */

.telegram-icon {
    color: white;
    background-color: #29a9e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}


/* Message bubble in first screenshot */

.message-bubble {
    background-color: #5bc7c9;
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 13px;
    display: none;
    margin-left: 10px;
    margin-bottom: 10px;
    max-width: 80%;
    color: #333;
}

.gallery-container {
    max-width: 100%;
    margin: 20px auto;
    text-align: center;
    padding: 0 15px;
}

.textgallery {
    margin: 4px;
}

.gallery-title {
    font-size: 32px;
    margin-bottom: 10px;
}

.gallery-subtitle {
    color: #4a90a0;
    font-size: 28px;
    margin-bottom: 20px;
}

.gallery-caption {
    font-size: 22px;
    margin-bottom: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.gallery-grid {
    display: grid;
    grid-template-rows: repeat(3, auto);
    gap: 15px;
    justify-content: center;
    align-items: start;
}

.comparison-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}


/* Image comparison styles */


/* Image comparison styles */

.comparison-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.comparison-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.after-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.comparison-divider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: white;
    transform: translateX(-50%);
    z-index: 3;
    cursor: ew-resize;
}

.comparison-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 4;
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-button::before,
.comparison-button::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 2px;
    background-color: #333;
}

.comparison-button::before {
    transform: rotate(45deg);
    left: 10px;
}

.comparison-button::after {
    transform: rotate(-45deg);
    right: 10px;
}

.order-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 40px;
    font-size: 18px;
    color: #333;
    background-color: transparent;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.order-btn:hover {
    background-color: #f5f5f5;
}


/* Задаем точные размеры для каждого блока */

.block1-1 {
    width: 169px;
    height: 82px;
}

.block1-2 {
    width: 169px;
    height: 300px;
}

.block2-1 {
    width: 269px;
    height: 132px;
}

.block2-2 {
    width: 269px;
    height: 294px;
}

.block3-1 {
    width: 269px;
    height: 377px;
}

.block3-2 {
    width: 269px;
    height: 300px;
}


/* Медиа-запросы для адаптивности */

@media (min-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .comparison-item:nth-child(5) {
        grid-column: span 2;
    }
}

@media (min-width: 768px) {
    .gallery-container {
        max-width: 750px;
        margin: 20px auto;
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .gallery-title {
        font-size: 32px;
    }
    .gallery-subtitle {
        font-size: 28px;
    }
    .gallery-caption {
        font-size: 22px;
    }
    .comparison-item:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }
    .comparison-item:nth-child(2) {
        grid-column: 1;
        grid-row: 2 / span 2;
    }
    .comparison-item:nth-child(3) {
        grid-column: 2;
        grid-row: 1;
    }
    .comparison-item:nth-child(4) {
        grid-column: 2;
        grid-row: 2 / span 2;
    }
    .comparison-item:nth-child(5) {
        grid-column: 3;
        grid-row: 1 / span 2;
    }
    .comparison-item:nth-child(6) {
        grid-column: 3;
        grid-row: 3;
    }
}

.decorative-chevron {
    width: 100%;
    height: 60px;
    background-color: #535459;
    clip-path: polygon(0 0, 50% 80%, 100% 0, 100% 100%, 0 100%);
}

.decorative-chevron-reverse {
    width: 100%;
    height: 60px;
    background-color: #535459;
    clip-path: polygon(0 100%, 50% 20%, 100% 100%, 100% 0, 0 0);
}


/* Стили для кнопок-триггеров */

.custom-trigger-btn {
    text-decoration: underline;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    transition: background-color 0.3s;
}


/* Стили для оверлея */

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


/* Стили для попапа */

.custom-popup-container {
    position: relative;
    width: 90%;
    max-width: 550px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: customPopupFadeIn 0.3s ease-out;
}


/* Анимация появления */

@keyframes customPopupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Кнопка закрытия */

.custom-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.custom-popup-close::before,
.custom-popup-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: white;
}

.custom-popup-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.custom-popup-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}


/* Контент попапа */

.custom-popup-content {
    max-height: 80vh;
    overflow-y: auto;
}


/* Стили для заголовка попапа */

.custom-popup-title {
    background-color: #55545a;
    color: white;
    padding: 20px;
    font-size: 24px;
    text-align: center;
}


/* Стили для основного текста попапа */

.custom-popup-description {
    color: #4a90a0;
    font-size: 18px;
    padding: 20px;
    text-align: center;
    background-color: #55545a;
}


/* Стили для списка задач */

.custom-popup-tasks {
    padding: 20px;
    background-color: #55545a;
    color: white;
}

.custom-popup-task-title {
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.custom-popup-task-item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.custom-popup-task-item::before {
    content: '- ';
    margin-right: 5px;
}


/* Стили для примечания */

.custom-popup-note {
    padding: 20px;
    background-color: #55545a;
    color: #4a90a0;
    font-size: 14px;
    font-style: italic;
}


/* Стили для иконок соцсетей */

.custom-popup-social {
    display: flex;
    justify-content: center;
    padding: 20px;
    background-color: white;
    gap: 10px;
}

.custom-popup-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Контейнер для кнопки телефона */

.custom-popup-phone-container {
    text-align: center;
    padding: 15px;
    background-color: white;
}

.custom-popup-phone-btn {
    padding: 8px 20px;
    border: 1px solid #4a90a0;
    border-radius: 5px;
    background-color: white;
    color: #333;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
}


/* Стили для особенностей */

.custom-popup-features {
    padding: 20px;
    background-color: #55545a;
    color: white;
}

.custom-popup-features-title {
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.custom-popup-feature-item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.custom-popup-feature-item::before {
    content: '- ';
    margin-right: 5px;
}


/* Мобильное меню */

.navbar-collapse.show {
    display: block !important;
    background-color: var(--dark-bg);
    z-index: 1030;
    transition: all 0.3s ease-in-out;
}

.close-menu {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    display: block;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 5px 10px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background-color: var(--dark-bg);
        padding: 1rem;
        z-index: 1029;
    }
    .navbar-nav {
        margin-top: 1rem;
    }
    .nav-item {
        margin: 0.5rem 0;
    }
    .social-icons.d-flex.d-lg-none {
        margin-top: 1.5rem;
    }
    .call-button-wrapper {
        margin-top: 1.5rem;
        text-align: center;
    }
}