:root {
    --main-color: #2c3e50; /* Темно-синий */
    --accent-color: #e67e22; /* Оранжевый */
    --light-bg: #f4f6f9; /* Светло-серый */
    --text-color: #34495e; /* Темный текст */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color);
}
body.no-scroll {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Общие стили для секций */
section {
    padding: 80px 0;
}
h2, h3 {
    color: var(--main-color);
    text-align: center;
}

a {
color: #0066cc; /* Синий цвет для всех ссылок */
text-decoration: underline; /* Добавляем подчеркивание */
font-weight: normal; /* Обычный вес шрифта */
}

/* --- Десктопные стили --- */
.header {
    background-color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--main-color);
    text-decoration: none;
}
.logo-img {
    height: 55px;
    width: auto;
    vertical-align: middle;
}
.header-phone {
    text-decoration: none;
    color: var(--main-color);
    font-weight: bold;
    font-size: 18px;
}

/* --- Десктопное меню --- */
.main-nav {
    display: block;
}
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}
.main-nav > ul > li {
    position: relative;
}
.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}
.main-nav a:hover {
    color: var(--accent-color);
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    list-style: none;
    padding: 10px 0;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 250px;
}
.main-nav li:hover > .dropdown-menu {
    display: block;
}
.dropdown-menu li {
    position: relative;
}
.dropdown-menu a {
    display: block;
    padding: 10px 20px;
}
.sub-menu {
    left: 100%;
    top: 0;
}
.dropdown-menu li:hover > .sub-menu {
    display: block;
}

/* --- Мобильное меню --- */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
    padding-top: 80px;
    z-index: 1000;
}
.mobile-menu.active {
    display: block;
}
.mobile-menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
}
.mobile-menu li {
    margin-bottom: 20px;
}
.mobile-menu a {
    color: #fff;
    font-size: 24px;
    text-decoration: none;
}
.mobile-menu a:hover {
    text-decoration: underline;
}
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}
.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--main-color);
    position: relative;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--main-color);
    transition: transform 0.3s ease;
}
.hamburger::before {
    top: -8px;
}
.hamburger::after {
    top: 8px;
}
.menu-close-toggle {
    position: absolute;
    top: 25px;
    right: 25px;
    background: transparent;
    border: none;
    width: 25px;
    height: 25px;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
}
.menu-close-toggle::before,
.menu-close-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: transform 0.3s ease;
}
.menu-close-toggle::before {
    transform: rotate(45deg);
}
.menu-close-toggle::after {
    transform: rotate(-45deg);
}
/* Стили для ссылок в мобильном меню */
.mobile-menu .menu-link::after {
    content: '?';
    font-size: 14px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}
.mobile-menu .menu-link.active::after {
    transform: rotate(90deg);
}

/* --- Секции сайта (контент) --- */
.hero {
    background-color: var(--main-color);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}
.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}
.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 25px;
}
.problem-solution {
    background-color: #fff;
}
.problem-solution .container {
    display: flex;
    gap: 40px;
}
.problem-block, .solution-block {
    flex: 1;
}
.problem-block h3, .solution-block h3 {
    text-align: left;
}
.how-it-works {
    background-color: var(--light-bg);
    text-align: center;
}
.steps-list {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}
.step {
    text-align: center;
}
.step .step-number {
    font-size: 40px;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 10px;
}
.form-container {
    max-width: 600px;
    margin: 0 auto;
}
.form-container input, .form-container button {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: none;
}
.form-container button {
    background-color: var(--accent-color);
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}
.footer {
    background-color: var(--text-color);
    color: #fff;
    padding: 30px 0;
    text-align: center;
}
.footer a {
    background-color: var(--text-color);
    color: #fff;
    padding: 30px 0;
    text-align: center;
}


/* Стили для страницы статьи */
.article-content-block {
    padding-top: 50px;
    padding-bottom: 50px;
}
.article-title {
    text-align: left;
    font-size: 30px;
    color: var(--main-color);
}
.article-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
}
.article-content-block h2 {
    text-align: left;
    margin-top: 40px;
    margin-bottom: 20px;
}
.article-content-block h3 {
    text-align: left;
    margin-top: 30px;
    margin-bottom: 15px;
}
.article-content-block p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}
.article-content-block ul, 
.article-content-block ol {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 20px;
}
.article-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
}
@media (max-width: 768px) {
    .article-title {
        font-size: 32px;
    }
    .article-content-block p {
        font-size: 16px;
    }
}
/* --- Медиа-запросы (адаптивность) --- */
@media (max-width: 768px) {
    .main-nav, .header-phone {
        display: none; /* Скрываем десктопное меню и телефон */
    }
    .menu-toggle {
        display: block; /* Показываем гамбургер */
    }
    .header .container {
        justify-content: space-between;
    }
    .problem-solution .container,
    .how-it-works .steps-list {
        flex-direction: column;
        gap: 30px;
    }
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #f7b731; /* Яркий цвет, который выделяется на темном фоне */
    color: #000000; /* Черный текст для хорошей читаемости */
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px; /* Немного закругленные углы */
    transition: background-color 0.3s ease; /* Плавный переход при наведении */
}

.cta-button:hover {
    background-color: #f5a800; /* Цвет становится темнее при наведении, чтобы показать интерактивность */
}


.clients-section {
    padding: 50px 20px;
    text-align: center;
}

.section-title {
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.client-logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.client-logos-container img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%); /* Делает логотипы черно-белыми для стильного и единого вида */
    transition: filter 0.3s ease; /* Плавный переход при наведении */
}

.client-logos-container img:hover {
    filter: grayscale(0%); /* Возвращает оригинальные цвета при наведении */
}

.services-grid {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 30px;
}

.service-item {
width: calc(33.333% - 20px);
padding: 30px;
text-align: center;
border: 1px solid #e0e0e0;
border-radius: 8px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
box-sizing: border-box;
}

@media (max-width: 768px) {
.service-item {
width: 100%; /* На экранах до 768px ширина становится 100% */
}
}

.service-item:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-item img {
max-width: 300px;
height: auto;
margin-bottom: 20px;
}

.service-item h3 {
font-size: 18px;
font-weight: bold;
margin-bottom: 10px;
padding-left: 10px;
}

.service-item p {
font-size: 16px;
text-align: left;
color: #555;
padding-left: 10px;
}

.service-item a {
text-decoration: none;
color: inherit;
}

    .working-process-section h2 {
        text-align: center;
        font-size: 28px;
        margin-bottom: 10px;
    }

    .working-process-section p {
        text-align: center;
        font-size: 16px;
        color: #666;
        margin-bottom: 40px;
    }

    .steps-container {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .step-item {
        width: calc(50% - 10px); /* 50% минус половина отступа */
        padding: 20px;
        border-radius: 8px;
        background-color: #f9f9f9;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
        box-sizing: border-box; /* Важно для корректной ширины */
    }

    .step-item h3 {
        font-size: 20px;
        margin-top: 0;
        color: #333;
    }

    .step-item p {
        font-size: 14px;
        text-align: left;
        margin: 0;
        color: #555;
    }

    @media (max-width: 768px) {
        .step-item {
            width: 100%;
        }
    }
        .faq-section {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
        }

        .faq-section h2 {
            text-align: center;
            font-size: 28px;
            margin-bottom: 40px;
        }

        .faq-container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }

        .faq-item {
            width: calc(50% - 10px);
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
            transition: box-shadow 0.3s ease;
            box-sizing: border-box;
        }
        
        .faq-item:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        .faq-item summary {
            display: block;
            padding: 20px;
            font-weight: bold;
            font-size: 18px;
            cursor: pointer;
            outline: none;
            position: relative;
        }

        .faq-item summary::-webkit-details-marker, 
        .faq-item summary::marker {
            display: none;
        }

        .faq-item summary::after {
            content: '+';
            font-size: 24px;
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            transition: transform 0.3s ease;
        }

        .faq-item[open] summary::after {
            content: '-';
            transform: translateY(-50%) rotate(0deg);
        }

        .faq-item p {
            padding: 0 20px 20px;
            margin: 0;
            font-size: 16px;
            line-height: 1.6;
            color: #555;
        }

        @media (max-width: 768px) {
            .faq-item {
                width: 100%;
            }
        }

        .intro-section {
            display: flex;
            align-items: center;
            gap: 40px;
            max-width: 1200px;
            margin: 40px auto;
            padding: 20px;
            box-sizing: border-box;
            background-color: #f8f8f8;
            border-radius: 8px;
        }

        .intro-text-content {
            flex: 1;
            min-width: 300px;
        }

        .intro-text-content h1 {
            font-size: 32px;
            line-height: 1.2;
            margin-bottom: 20px;
        }

        .intro-text-content p {
            font-size: 16px;
            line-height: 1.6;
            color: #555;
            margin-bottom: 20px;
        }

        .intro-icons-container {
            flex: 1;
        }

        .intro-icon-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
            font-size: 16px;
            line-height: 1.6;
        }

        .intro-icon-item::before {
            content: '';
            display: block;
            width: 35px;
            height: 35px;
            min-width: 35px;
            margin-right: 15px;
            border-radius: 50%;
            background-color: #007bff;
            background-size: 60%;
            background-repeat: no-repeat;
            background-position: center;
        }
        
        /* Icons via SVG in CSS */
        .intro-icon-item:nth-child(1)::before {
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-8.83"/><polyline points="22 4 12 14.01 9 11.01"/></svg>');
        }
        .intro-icon-item:nth-child(2)::before {
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>');
        }
        .intro-icon-item:nth-child(3)::before {
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 6.09 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 4.6a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.51-1l.09-.09H15a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"/></svg>');
         }
         
         @media (max-width: 768px) {
             .intro-section {
                 flex-direction: column;
             }
         }
 
         .advantages-section {
             padding: 30px 15px; /* Уменьшен padding */
             background-color: #fff;
             max-width: 1200px;
             margin: 0 auto;
         }
 
         .advantages-section h2 {
             text-align: center;
             font-size: 26px; /* Уменьшен шрифт */
             margin-bottom: 10px;
         }
 
         .advantages-section > p {
             text-align: center;
             font-size: 15px; /* Уменьшен шрифт */
             color: #666;
             margin-bottom: 30px; /* Уменьшен margin */
         }
 
         .advantages-grid {
             display: flex;
             flex-wrap: wrap;
             gap: 15px; /* Уменьшен gap */
             justify-content: center;
         }
 
         .advantage-card {
             width: calc(33.333% - 10px); /* Уменьшен размер ячеек */
             padding: 20px; /* Уменьшен padding */
             background-color: #f9f9f9;
             border-radius: 8px;
             box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
             transition: transform 0.3s ease, box-shadow 0.3s ease;
             box-sizing: border-box;
             display: flex;
             flex-direction: column;
             align-items: center;
             text-align: center;
         }
         
         .advantage-card:hover {
             transform: translateY(-5px);
             box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
         }
 
         .advantage-icon {
             width: 45px; /* Уменьшен размер иконки */
             height: 45px; /* Уменьшен размер иконки */
             min-width: 45px;
             margin-bottom: 15px; /* Уменьшен margin */
             border-radius: 50%;
             background-color: #007bff;
             background-size: 50%;
             background-repeat: no-repeat;
             background-position: center;
         }
 
         .advantage-icon.expert {
             background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-8.83"/><polyline points="22 4 12 14.01 9 11.01"/></svg>');
         }
         
         .advantage-icon.legal {
             background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/><polyline points="10 9 9 9 8 9"/></svg>');
         }
         
         .advantage-icon.tech {
             background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2v20M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"/></svg>');
         }
         
         .advantage-icon.speed {
             background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>');
         }
         
         .advantage-icon.flex {
             background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16 16.27A5.996 5.996 0 0 0 12 10V4H8a4 4 0 1 1 0 8h.59"/><path d="M22 12h-4a4 4 0 1 1 0-8h4a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-4a4 4 0 0 0-4 4v.27"/></svg>');
         }
 
         .advantage-icon.price {
             background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 1S12 12 12 12M12 12S6 11 6 17c0 2 2 4 6 4s6-2 6-4c0-6-6-5-6-5z"/><path d="M16 14c0 2-2 4-6 4s-6-2-6-4c0-6 6-5 6-5s6 1 6 5z"/><path d="M12 12S12 12 12 12M12 12S6 11 6 17c0 2 2 4 6 4s6-2 6-4c0-6-6-5-6-5z"/></svg>');
         }
         
         .advantage-card h3 {
             font-size: 18px; /* Уменьшен шрифт */
             font-weight: bold;
             margin-bottom: 8px; /* Уменьшен margin */
         }
 
         .advantage-card p {
             font-size: 14px; /* Уменьшен шрифт */
             color: #555;
             margin: 0;
         }
 
         @media (max-width: 768px) {
             .advantage-card {
                 width: 100%;
             }
         }
 
 .clients-section {
             padding: 40px 20px;
             text-align: center;
             background-color: #f8f8f8;
         }
 
 .section-title h2 {
     font-size: 28px;
     margin-bottom: 10px;
 }
 
 .section-title p {
     max-width: 1200px;
     margin: 0 auto 40px;
     line-height: 1.6;
     color: #555;
 }
 
 .client-logos-container {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 30px;
 }
 
 .client-logos-container img {
     max-width: 150px;
     height: auto;
     opacity: 0.7;
     transition: opacity 0.3s ease, transform 0.3s ease;
 }
 
 .client-logos-container img:hover {
     opacity: 1;
     transform: scale(1.05);
 }
 
 @media (max-width: 768px) {
     .client-logos-container {
         gap: 20px;
     }
 }
 
 
 .contact-cta-section {
     background-color: #2c3e50;
     color: #fff;
     padding: 60px 20px;
     text-align: center;
 }
 
 .contact-cta-section h2 {
     font-size: 32px;
     color: #fff;
     margin-bottom: 10px;
 }
 
 .contact-cta-section p {
     font-size: 18px;
     opacity: 0.8;
     margin-bottom: 30px;
 }
 
 .cta-button-light {
     display: inline-block;
     padding: 12px 25px;
     background-color: #fff;
     color: #007bff;
     text-decoration: none;
     border-radius: 5px;
     font-weight: bold;
     transition: background-color 0.3s ease;
 }
 
 .cta-button-light:hover {
     background-color: #eee;
 }
 
 .main-footer {
     background-color: #222;
     color: #eee;
     padding: 50px 20px 20px;
     font-family: Arial, sans-serif;
     border-top: 5px solid #2c3e50;
 }
 .main-footer a {
     background-color: #222;
     color: #ffffff;
     padding: 50px 20px 20px;
     font-family: Arial, sans-serif;
     border-top: 5px solid #2c3e50;
    text-decoration: none;
 }

 
 .footer-content {
     display: flex;
     justify-content: space-between;
     flex-wrap: wrap;
     gap: 40px;
     max-width: 1200px;
     margin: 0 auto;
     text-align: left;
 }
 
 .footer-section {
     flex: 1;
     min-width: 200px;
 }
 
 .footer-section h3 {
     font-size: 18px;
     color: #fff;
     margin-bottom: 20px;
 }
 
 .footer-section p, .footer-section a, .footer-section li {
     font-size: 15px;
     line-height: 1.6;
     color: #ccc;
     text-decoration: none;
     margin-bottom: 10px;
 }
 
 .footer-section ul {
     list-style: none;
     padding: 0;
     margin: 0;
 }
 
 .footer-section a:hover {
     color: #fff;
     text-decoration: underline;
 }
 
 .contact-info-footer {
     display: flex;
     flex-direction: column;
 }
 
 .contact-item-footer {
     display: flex;
     align-items: center;
     font-size: 15px;
     font-weight: bold;
     color: #eee;
     margin-bottom: 10px;
     text-decoration: none;
 }
 
 .contact-item-footer::before {
     content: '';
     display: inline-block;
     width: 20px;
     height: 20px;
     margin-right: 10px;
     background-size: contain;
     background-repeat: no-repeat;
     background-position: center;
 }
 
 .contact-item-footer.phone::before {
     background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23eee" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-phone"><path d="M22 16.92v3a2 2 0 0 1-2.18 2h-1.61a1.5 1.5 0 0 1-1.3-1.66 12 12 0 0 0-4.71-5.06 12 12 0 0 0-5.06-4.71 1.5 1.5 0 0 1-1.66-1.3V4.18A2 2 0 0 1 4.18 2H7a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1h-1a1 1 0 0 0-1-1v-1a1 1 0 0 0 1-1h1a1 1 0 0 0 1-1v-2h-1.82zM2 13h20M12 2v20"/></svg>');
 }
 
 .contact-item-footer.email::before {
     background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23eee" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-mail"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>');
 }
 
 .footer-bottom {
     max-width: 1200px;
     margin: 40px auto 0;
     border-top: 1px solid #555;
     padding-top: 20px;
     text-align: center;
     font-size: 14px;
     color: #888;
 }
 
 @media (max-width: 768px) {
     .footer-content {
         flex-direction: column;
         text-align: center;
     }
 }
 
    .breadcrumbs {
      font-size: 14px;
      margin-bottom: 10px;
    }
    .breadcrumbs a {
      text-decoration: none;
      color: #0073e6;
    }

.main-footer a {
    background: none !important;
    padding: 0 !important;
    border: none !important;
    color: #ffffff !important;
    text-decoration: none !important;
}
.main-footer p a {
    white-space: nowrap;
}


.fb-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
}

.fb-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.fb-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(3px);
}

.fb-modal__window {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  animation: fbFadeUp 0.25s ease;
}

@keyframes fbFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fb-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: #1f2937;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
  z-index: 5;
}

.fb-modal__close:hover {
  background: rgba(0, 0, 0, 0.12);
  transform: rotate(90deg);
}

.form-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 34px 30px 26px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.form-card h3 {
  margin: 0 0 10px;
  padding-right: 45px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
}

.form-card::before {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2c3e50, #47627d);
  margin-bottom: 18px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.input,
.textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d8dee6;
  border-radius: 14px;
  background: #f8fafc;
  padding: 14px 16px;
  font-size: 15px;
  color: #0f172a;
  transition: 0.2s ease;
  outline: none;
}

.input::placeholder,
.textarea::placeholder {
  color: #94a3b8;
}

.input:hover,
.textarea:hover {
  border-color: #b8c2cf;
  background: #ffffff;
}

.input:focus,
.textarea:focus {
  border-color: #2c3e50;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(44, 62, 80, 0.10);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #2c3e50, #3f5871);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: 0 12px 24px rgba(44, 62, 80, 0.22);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(44, 62, 80, 0.28);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.hint {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
  text-align: center;
}

.form-note {
  display: none;
  margin-bottom: 16px;
  padding: 13px 15px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.form-note.success {
  display: block !important;
  background: #ecfdf3;
  border: 1px solid #abefc6;
  color: #067647;
}

.form-note.error {
  display: block !important;
  background: #fef3f2;
  border: 1px solid #fecdca;
  color: #b42318;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 640px) {
  .fb-modal.is-open {
    padding: 12px;
    align-items: flex-end;
  }

  .fb-modal__window {
    max-width: 100%;
  }

  .form-card {
    padding: 26px 18px 20px;
    border-radius: 20px 20px 0 0;
  }

  .form-card h3 {
    font-size: 24px;
  }

  .fb-modal__close {
    top: 10px;
    right: 10px;
  }

  .input,
  .textarea {
    font-size: 16px;
  }
}
/* =========================================
   ПУБЛИКАЦИИ / LISTING
   В стиле общего файла styles.css
   ========================================= */

.listing {
    margin-top: 30px;
    max-width: 1200px;
}

.listing__title {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: bold;
    color: var(--main-color);
    text-align: left;
}

.listing__list {
    margin: 0;
    padding: 0;
    list-style: none;

    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.listing__item {
    width: calc(50% - 10px);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.listing__link {
    display: block;
    position: relative;
    height: 100%;
    box-sizing: border-box;

    padding: 18px 20px 18px 44px;

    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;

    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;

    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.listing__link::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 24px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-color);
}

.listing__link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #d6dbe1;
    color: var(--main-color);
    text-decoration: none;
}

.listing__sublist {
    margin: 14px 0 0 0;
    padding: 0 0 0 18px;
    list-style: none;
    display: grid;
    gap: 10px;
    border-left: 2px solid #e8ecf1;
}

.listing__sublist .listing__item {
    width: 100%;
}

.listing__sublist .listing__link {
    padding: 14px 16px 14px 38px;
    font-size: 15px;
    border-radius: 8px;
    box-shadow: none;
}

.listing__sublist .listing__link::before {
    width: 8px;
    height: 8px;
    left: 16px;
    top: 21px;
    background: var(--main-color);
}

.listing__sublist .listing__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}


/* =========================================
   КАРТА САЙТА
   В том же стиле
   ========================================= */

.site-map {
    margin-top: 30px;
    max-width: 1200px;
}

.site-map-list,
.site-map-sublist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-map-list {
    display: grid;
    gap: 24px;
}

.site-map-item {
    margin: 0;
    padding: 0;
}

.site-map-list > .site-map-item {
    padding: 22px 24px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-map-list > .site-map-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.site-map-link {
    position: relative;
    display: inline-block;
    padding-left: 20px;

    color: var(--text-color);
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.site-map-link:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.site-map-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
}

.site-map-list > .site-map-item > .site-map-link {
    font-size: 22px;
    font-weight: bold;
    color: var(--main-color);
}

.site-map-list > .site-map-item > .site-map-link:hover {
    color: var(--accent-color);
}

.site-map-list > .site-map-item > .site-map-link::before {
    width: 10px;
    height: 10px;
    top: 12px;
}

.site-map-sublist {
    margin-top: 16px;
    margin-left: 10px;
    padding-left: 20px;
    border-left: 2px solid #e8ecf1;

    display: grid;
    gap: 12px;
}

.site-map-sublist .site-map-link {
    font-size: 16px;
    font-weight: normal;
    color: var(--text-color);
}

.site-map-sublist .site-map-link::before {
    width: 7px;
    height: 7px;
    top: 10px;
    background: var(--main-color);
}


/* =========================================
   АДАПТИВНОСТЬ
   ========================================= */

@media (max-width: 768px) {
    .listing__item {
        width: 100%;
    }

    .listing__title {
        font-size: 22px;
    }

    .listing__link {
        font-size: 15px;
        padding: 16px 16px 16px 40px;
    }

    .listing__link::before {
        left: 16px;
        top: 22px;
    }

    .site-map-list {
        gap: 18px;
    }

    .site-map-list > .site-map-item {
        padding: 18px 16px;
    }

    .site-map-list > .site-map-item > .site-map-link {
        font-size: 19px;
    }

    .site-map-sublist {
        margin-left: 4px;
        padding-left: 14px;
    }

    .site-map-sublist .site-map-link {
        font-size: 15px;
    }
}