/* Подключение шрифта Ouvality */
@font-face {
    font-family: 'Ouvality';
    src: url('./assets/fonts/Ouvality.woff2') format('woff2'),
         url('./assets/fonts/Ouvality.ttf') format('truetype'),
         url('./assets/fonts/Ouvality.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== Эффект обводки карандашом для ссылок (овал с незамкнутыми концами) ===== */
a:not(.header__nav-link):not(.header__dropdown-link):not(.btn):not(.cta-btn):not(.service-cta):not(.footer-link):not([class*="button"]):not(.header__logo):not(.search-button):not(.form-download-link):not(.mobile-menu__link):not(.mobile-menu__sublink) {
    position: relative;
    display: inline-block;
}

a:not(.header__nav-link):not(.header__dropdown-link):not(.btn):not(.cta-btn):not(.service-cta):not(.footer-link):not([class*="button"]):not(.header__logo):not(.search-button):not(.form-download-link):not(.mobile-menu__link):not(.mobile-menu__sublink)::after {
    content: '';
    position: absolute;
    left: -4px;
    right: -4px;
    top: -2px;
    bottom: -2px;
    border: 1.5px solid transparent;
    border-radius: 50%;
    transition: opacity 0.2s ease;
    pointer-events: none;
    opacity: 0;
}

a:not(.header__nav-link):not(.header__dropdown-link):not(.btn):not(.cta-btn):not(.service-cta):not(.footer-link):not([class*="button"]):not(.header__logo):not(.search-button):not(.form-download-link):not(.mobile-menu__link):not(.mobile-menu__sublink):hover::after {
    opacity: 1;
    border-color: var(--primary);
    border-top-color: transparent;
    border-right-color: transparent;
    animation: drawOval 0.8s ease-in-out forwards;
    transform: rotate(-5deg);
}


/* Отключаем эффект овальной обводки для ссылок в документации */
.doc-link::after {
    display: none !important;
}

.doc-link:hover::after {
    display: none !important;
}

/* Отключаем эффект овальной обводки для ссылок на формы заявлений */
.form-download-link::after,
.form-download-link::before,
.forms-download-list a::after,
.forms-download-list a::before,
.forms-download-list .form-download-link::after,
.forms-download-list .form-download-link::before,
.requests-container .requests-content-panel .requests-grid .request-card .forms-download-list a::after,
.requests-container .requests-content-panel .requests-grid .request-card .forms-download-list a::before,
.requests-container .requests-content-panel .requests-grid .request-card .forms-download-list .form-download-link::after,
.requests-container .requests-content-panel .requests-grid .request-card .forms-download-list .form-download-link::before {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    border: none !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    animation: none !important;
}

.form-download-link:hover::after,
.form-download-link:hover::before,
.form-download-link:focus::after,
.form-download-link:focus::before,
.form-download-link:active::after,
.form-download-link:active::before,
.forms-download-list a:hover::after,
.forms-download-list a:hover::before,
.forms-download-list a:focus::after,
.forms-download-list a:focus::before,
.forms-download-list a:active::after,
.forms-download-list a:active::before,
.forms-download-list .form-download-link:hover::after,
.forms-download-list .form-download-link:hover::before,
.forms-download-list .form-download-link:focus::after,
.forms-download-list .form-download-link:focus::before,
.forms-download-list .form-download-link:active::after,
.forms-download-list .form-download-link:active::before {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    border: none !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    animation: none !important;
}

/* Полностью отключаем овальную обводку у ссылок в документации */
#documentation a::after,
#documentation a::before {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

#documentation a:hover::after,
#documentation a:hover::before {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

@keyframes drawOval {
    0% {
        clip-path: path('M 0,50 A 50,50 0 0,1 0,50');
    }
    20% {
        clip-path: path('M 0,50 A 50,50 0 0,1 50,50');
    }
    40% {
        clip-path: path('M 0,50 A 50,50 0 0,1 100,50');
    }
    60% {
        clip-path: path('M 0,50 A 50,50 0 0,1 100,50 A 50,50 0 0,1 100,50');
    }
    80% {
        clip-path: path('M 0,50 A 50,50 0 0,1 100,50 A 50,50 0 0,1 50,50');
    }
    100% {
        clip-path: path('M 0,50 A 50,50 0 0,1 100,50 A 50,50 0 0,1 0,50');
        stroke-dasharray: 100;
        stroke-dashoffset: 0;
    }
}

/* Альтернативный метод с SVG-обводкой */
a:not(.header__nav-link):not(.header__dropdown-link):not(.btn):not(.cta-btn):not(.service-cta):not(.footer-link):not([class*="button"]):not(.header__logo):not(.search-button):not(.mobile-menu__link):not(.mobile-menu__sublink)::before {
    content: '';
    position: absolute;
    left: -6px;
    right: -6px;
    top: -3px;
    bottom: -3px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 60" preserveAspectRatio="none"><ellipse cx="100" cy="30" rx="90" ry="22" fill="none" stroke="%23008080" stroke-width="1.5" stroke-linecap="round" stroke-dasharray="0 10" pathLength="100" style="stroke-dasharray: 270 15; stroke-dashoffset: 0;" /></svg>') no-repeat center;
    background-size: 100% 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    animation: none;
}

a:not(.header__nav-link):not(.header__dropdown-link):not(.btn):not(.cta-btn):not(.service-cta):not(.footer-link):not([class*="button"]):not(.header__logo):not(.search-button):not(.mobile-menu__link):not(.mobile-menu__sublink):hover::before {
    opacity: 1;
    animation: fadeInOval 0.6s ease-in-out forwards;
}

@keyframes fadeInOval {
    0% {
        opacity: 0;
        transform: scale(0.85) rotate(-4deg);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.95) rotate(-2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(-1deg);
    }
}

/* FAQ */
.faq-controls { display: flex; gap: 10px; margin-bottom: 12px; }
.faq-search { flex: 1 1 auto; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; }
.faq-select { flex: 0 0 260px; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 14px 16px; background: #f8fafc; border: 0; border-bottom: 1px solid #eef2f7; cursor: pointer; font-weight: 700; color: #0f172a; display: flex; justify-content: space-between; align-items: center; }
.faq-q:hover { background: #f1f5f9; }
.faq-a { 
    padding: 0 16px; 
    color: #334155; 
    line-height: 1.55; 
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}
.faq-item[open] .faq-a { 
    max-height: 1000px;
    padding: 12px 16px;
    transition: max-height 0.5s ease-in, padding 0.5s ease-in;
}
.faq-kicker { font-size: 12px; color: #64748b; margin-right: 8px; }
.faq-q .chev { transition: transform .25s ease; color: #64748b; }
.faq-item[open] .chev { transform: rotate(180deg); }

/* ===== Legislation (Законодательство) ===== */
.legislation-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.legislation-search {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.legislation-search:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

.legislation-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.legislation-category-btn {
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.legislation-category-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 100, 0, 0.05);
}

.legislation-category-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.legislation-list {
    display: grid;
    gap: 16px;
}

.legislation-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.legislation-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.1);
    transform: translateY(-2px);
}

.legislation-item h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.legislation-item p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.legislation-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.doc-date,
.doc-status {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
    color: #64748b;
    padding: 4px 10px;
    background: #f8fafc;
    border-radius: 6px;
}

.doc-status {
    color: #008080;
    background: rgba(0, 128, 128, 0.1);
}

.legislation-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    background: rgba(0, 128, 128, 0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.legislation-link:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateX(4px);
}

.legislation-item.hidden {
    display: none;
}

/* Палитра и Reset */
:root {
    --bg:#FFFFFF; --bg-soft:#F8FAFC;
    --text:#1E293B; --text-muted:#64748B;
    --primary:#008080; --primary-600:#20B2AA; --primary-400:#48D1CC;
    --secondary:#64748B; --secondary-600:#475569;
    --accent:#94A3B8; --border:#E2E8F0;
    --g-primary:linear-gradient(135deg,#008080 0%,#20B2AA 100%);
    --g-secondary:linear-gradient(135deg,#64748B 0%,#475569 100%);
}

/* Reset и базовые стили */
html, body { height: 100%; min-height: 100%; }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
[hidden] { display: none !important; }

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Экран загрузки удалён */

/* Header в стиле GQ Japan */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    z-index: 9999;
    pointer-events: auto;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 1);
    transition: background-color 0.3s ease, opacity 0.2s ease, box-shadow 0.3s ease;
}

.header__inner {
    position: relative;
    z-index: 10000;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    padding: 0 24px;
}

.header__logo {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: block;
    opacity: 1;
    transition: opacity 0.5s ease;
    z-index: 10;
    margin-top: 15px;
}

.header__logo .logo-img {
    height: 60px;
    width: auto;
    filter: none;
    transition: all 0.3s ease;
}

.header__logo:hover .logo-img {
    filter: drop-shadow(0 0 8px rgba(0, 128, 128, 0.3));
}

/* Показываем логотип при скролле вниз из hero */
.header.is-scrolling .header__logo {
    display: block;
    opacity: 1;
}

.header__search {
    position: relative;
    margin: 0 2rem;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 128, 128, 0.2);
    border-radius: 25px;
    padding: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 128, 128, 0.1);
}

.search-form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(0, 128, 128, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.search-input {
    border: none;
    outline: none;
    background: transparent;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: #1a1a1a;
    width: 200px;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: #64748B;
    font-weight: 400;
}

.search-input:focus {
    width: 250px;
}

.search-button {
    background: var(--primary);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 2px;
}

.search-button:hover {
    background: var(--primary-600);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 128, 128, 0.3);
}

.search-button i {
    font-size: 0.8rem;
}

.header__nav {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 10001;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.5rem;
    color: var(--primary);
    z-index: 10002;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    color: var(--primary-dark);
}

/* Вертикальные разделители между пунктами меню */
.header__nav > a:not(:last-child)::after,
.header__nav-dropdown:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: #CBD5E1;
}

.header__nav-link {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
}

/* Обеспечиваем относительное позиционирование для всех элементов навигации */
.header__nav > a,
.header__nav-dropdown {
    position: relative;
}

/* Бирюзовые полосочки при наведении */
.header__nav-link::before,
.header__nav-link--dropdown::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 128, 128, 0.6);
    border-radius: 1.5px;
}

.header__nav-link:hover {
    color: var(--primary);
    transform: translateX(8px);
    text-shadow: 0 0 8px rgba(0, 128, 128, 0.3);
}

.header__nav-link:hover::before,
.header__nav-link--dropdown:hover::before {
    width: 0.8rem;
}

/* Dropdown меню */
.header__nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.header__nav-link--dropdown {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.header__nav-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.header__nav-dropdown:hover .header__nav-arrow {
    transform: rotate(180deg);
}

.header__dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 12px 0;
    min-width: 260px;
    box-shadow: 0 16px 40px rgba(0, 50, 0, 0.18);
    border: 1px solid rgba(0, 100, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 10010;
}

.header__nav-dropdown:hover .header__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.header__dropdown-link::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, #006400 0%, #20B2AA 100%);
    transition: width 0.3s ease, right 0.3s ease;
}

.header__dropdown-link:hover {
    color: var(--primary);
    background: rgba(0, 100, 0, 0.05);
    padding-right: 2rem;
}

.header__dropdown-link:hover::before {
    width: 4px;
    right: 0;
}

/* Доступность: заметные фокусы */
:where(a, button, .btn, .header__nav-link, .header__dropdown-link, .consumer-link, .legislation-link):focus-visible {
    outline: 3px solid #006400;
    outline-offset: 3px;
    border-radius: 8px;
}

/* Предпочтение снижения анимаций */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

.header__contact { display: none; }

.header.is-start .header__contact {
    opacity: 1;
}

.header__phone {
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border: 2px solid var(--primary);
    border-radius: 50px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.header__phone:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 128, 128, 0.4);
}

/* Мобильная адаптация для header */
@media (max-width: 768px) {
    .header__inner { 
        padding: 0 8px;
        gap: 12px;
        justify-content: space-between;
    }
    
    .header {
        padding: 0;
    }

    .header__logo {
        margin-right: auto;
        margin-left: 8px;
    }
    
    .header__logo .logo-img {
        height: 48px;
        max-width: 180px;
    }

    .header__search {
        margin: 0 1rem;
    }

    .search-input {
        width: 150px;
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .search-input:focus {
        width: 180px;
    }

    .search-button {
        width: 32px;
        height: 32px;
    }

    
    .header__title {
        padding-left: 1rem;
        font-size: 2.5rem;
    }
    
    .header__nav { gap: 1rem; }
    
    .header__nav-link {
        font-size: 1rem;
    }
    
    .header__dropdown-menu { position: absolute; }
    
    .header__dropdown-link {
        font-size: 0.95rem;
        color: var(--secondary);
        padding: 0.75rem 1.5rem;
        border-radius: 0;
        background: transparent;
        width: 100%;
        max-width: none;
        text-align: left;
        font-family: 'Manrope', sans-serif;
    }
    
    .header__dropdown-link:hover {
        background: rgba(0, 128, 128, 0.05);
        color: var(--primary);
    }
    
    .header__contact {
        bottom: 1rem;
        right: 1rem;
    }
    
    .header__phone {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}

/* Главный экран */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    padding-top: 64px; /* чтобы контент не уходил под фиксированную шапку */
}

/* Декоративный фон первого блока (изображение справа, лёгкая анимация) */
.hero::before {
    content: '';
    position: absolute;
    top: 100;
    left: 0;
    width: 40%;
    height: 50%;
    background: url('assets/images/MainPageTruck.png') no-repeat right center;
    background-size: cover;
    opacity: 1;
    transform: translateZ(0);
    animation: heroFloat 12s ease-in-out infinite;
    pointer-events: none;
}

/* Убираем любой цветной фон справа от картинки: белая подложка */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 40%;
    right: 0;
    bottom: 0;
    background: #ffffff;
    pointer-events: none;
}

@keyframes heroFloat {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
    100% { transform: translateY(0) scale(1); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Оформление первого раздела: карточка с логотипом и текстом */
.hero-card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    margin: 0 auto;
}

.hero-logo {
    width: 160px;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: logoPulse 4s ease-in-out infinite;
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes logoPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(0, 128, 128, 0.1));
    }
    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 12px rgba(0, 128, 128, 0.2));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(0, 128, 128, 0.1));
    }
}

@keyframes logoPulseLite {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(30, 58, 138, 0.40); }
    50% { transform: scale(1.03); box-shadow: 0 0 0 12px rgba(30, 58, 138, 0); }
}

.hero-company-name {
    font-family: 'Ouvality', 'Manrope', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial;
    font-weight: 400;
    font-size: clamp(2.07rem, 4.6vw, 2.76rem);
    color: var(--text);
    letter-spacing: 0.5px;
}

.hero-company-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.5;
}

/* Закреплённый блок контактов в правом нижнем углу первого экрана */
.hero-fab {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    z-index: 2;
}

.hero-fab .contact-chip {
    background: transparent;
    color: #000000;
}

@media (max-width: 768px) {
    .hero-fab { right: 12px; bottom: 16px; }
}

/* Компактные чипы для телефона и e-mail */
.hero-contacts {
    margin-top: 0.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: transparent;
    color: #000000;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-chip i {
    color: #000000;
    font-size: 1.2rem;
}

.contact-chip:hover { 
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .hero::before { width: 50%; opacity: 1; }
}

@media (max-width: 768px) {
    .hero::before { display: none; }
    .hero-logo { width: 132px; height: 132px; padding: 12px; }
    .hero-company-description { padding: 0 8px; }
    .contact-chip { font-size: 1rem; padding: 6px 12px; }
}

/* Показываем логотип в шапке */
.header__logo { display: block; }

/* Поведение прозрачности шапки */
.header.is-scrolling {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.header.is-idle {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.hero-badge {
    display: inline-block;
    background: var(--g-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 20px rgba(0, 128, 128, 0.3);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 2rem;
    color: var(--text);
    perspective: 800px;
    transform-style: preserve-3d;
}

.title-line {
    display: block;
    transform: perspective(800px) translateX(-300%) rotateY(90deg);
    transition: transform 1.5s cubic-bezier(0, 0.7, 0, 1);
    will-change: transform;
}

.hero.is-loaded .title-line {
    transform: perspective(800px) translateX(0) rotateY(0);
}

.highlight {
    background: var(--g-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-shadow: 0 0 20px rgba(0, 128, 128, 0.3);
}

.highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--g-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(2px);
    opacity: 0.3;
    z-index: -1;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--g-primary);
    color: white;
    box-shadow: 0 5px 20px rgba(0, 128, 128, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 128, 128, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 128, 128, 0.4);
}


@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Статистика */
.stats {
    padding: 4rem 0;
    background: #f8f9fa;
    color: #1a1a1a;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    text-align: center;
}

.stat-item {
    padding: 2rem 0;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 128, 128, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* Секции */
section {
    padding: 6rem 0;
}

/* Разделитель секций */
.section-divider {
    width: 100%;
    height: 48px;
    display: grid;
    place-items: center;
}
.section-divider::before {
    content: '';
    width: min(1400px, 92%);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Услуги */
.services {
    background: var(--bg);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Вернём разделы, но пусть первый экран занимает всю высоту */
.hero + .stats { display: block; }
.hero + .stats + .services { display: block; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 100, 0, 0.15);
    border-color: var(--primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--g-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(0, 128, 128, 0.4);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.service-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 15px;
}

.service-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 5px rgba(0, 128, 128, 0.3);
}

/* О компании */
.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: stretch;
    min-height: 70vh; /* align with contacts visual weight */
    margin-top: 2rem;
}

.about-content-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: slideInFromLeft 0.8s ease-out;
}

.about-image-panel {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    animation: slideInFromRight 0.8s ease-out;
}

.about-image-panel .image-container {
    width: 100%;
    height: 100%;
    overflow: visible;
    border-radius: 12px;
}

.about-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    opacity: 1.0;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
    animation: slideInFromLeft 0.9s ease-out 0.2s both;
}

.about-description {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    animation: slideInFromLeft 0.8s ease-out;
}

.about-list {
    margin: 0 0 16px 0;
    padding-left: 18px;
    color: var(--text);
    animation: slideInFromLeft 1s ease-out 0.4s both;
}
.about-list li { margin-bottom: 8px; }

.about-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    margin-top: 8px;
    animation: slideInFromLeft 1.2s ease-out 0.6s both;
}
.about-fact-card {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 10px;
    align-items: center;
    background: #f8fafc;
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    padding: 12px;
}
.about-fact-card i { font-size: 18px; color: #006400; display: inline-block; text-align:center; }
.about-fact-title { font-weight: 700; color: var(--text); }
.about-fact-text { color: var(--text-muted); font-size: 15px; }

.visual-card {
    background: #1a1a1a;
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.visual-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.visual-card p {
    color: #ccc;
}

/* Одинаковая типографика в разделе "О компании" */
.about {
    --about-heading: 1.25rem; /* единый размер для подзаголовков/титулов карточек */
    --about-text: 15px;       /* единый размер для основного текста */
}

.about .about-subtitle,
.about .about-fact-title,
.about .visual-card h4 {
    font-size: var(--about-heading);
    line-height: 1.3;
}

.about .about-description,
.about .about-list li,
.about .about-fact-text,
.about .visual-card p {
    font-size: var(--about-text);
    line-height: 1.6;
    text-align: justify;
}

/* Стили для договора */
.contract-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-bottom: 20px;
    line-height: 1.8;
}

.contract-content h4 {
    text-align: center;
    font-weight: 700;
    margin: 30px 0 20px 0;
    font-size: 1.2rem;
}

.contract-content p {
    text-align: justify;
    margin-bottom: 15px;
}

.contract-header {
    text-align: center;
    margin-bottom: 30px;
}

.contract-header h3 {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.contract-date {
    text-align: right;
    margin-bottom: 20px;
}

.contract-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.contract-table th,
.contract-table td {
    border: 1px solid #cbd5e1;
    padding: 12px 8px;
    text-align: left;
    vertical-align: top;
}

.contract-table th {
    background: #f8fafc;
    font-weight: 600;
    text-align: center;
}

.contract-table tr:nth-child(even) {
    background: #f8fafc;
}

.contract-signatures {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.contract-signature {
    text-align: center;
}

.contract-signature-line {
    border-bottom: 1px solid #000;
    margin: 30px 0 10px 0;
    min-height: 1px;
}

/* Документация */
.documentation {
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.documentation::before {
    display: none;
}

.documentation::after {
    display: none;
}

/* Стили для заголовков в блоке документации */
.documentation .section-title {
    color: #1e293b !important;
    text-shadow: none;
}

.documentation .section-subtitle {
    color: #64748b !important;
    text-shadow: none;
}

.documentation-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Documentation showcase */
.docs-showcase {
    position: relative;
    margin: 16px 0 24px;
}
.docs-showcase::before {
    --size: 36px;
    --line: color-mix(in hsl, #0f172a, transparent 85%);
    content: '';
    position: absolute;
    inset: -20px -12px;
    background:
        linear-gradient(90deg, var(--line) 1px, transparent 1px var(--size)) 50% 50%/var(--size) var(--size),
        linear-gradient(var(--line) 1px, transparent 1px var(--size)) 50% 50%/var(--size) var(--size);
    /* remove mask that could clip rotated titles */
    mask: none;
    pointer-events: none;
}
.doc-cards {
    --gap: 8px;
    --base: clamp(2rem, 8cqi, 80px);
    --easing: cubic-bezier(.25,.46,.45,.94);
    --speed: .6s;
    display: grid;
    grid-template-columns: 10fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: var(--gap);
    list-style: none;
    padding: 0;
    margin: 0;
    height: clamp(280px, 38vh, 460px);
    transition: grid-template-columns var(--speed) var(--easing);
}
.doc-cards li { position: relative; min-width: var(--base); border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid #e5e7eb; }
.doc-cards article { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 14px 14px 16px 14px; z-index: 1; }
.doc-cards article h3 { position: absolute; top: 12px; right: 12px; left: auto; transform-origin: 100% 50%; rotate: -90deg; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #0f172a; opacity: .85; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; overflow: visible; text-overflow: clip; max-width: none; background: transparent; padding: 0; border-radius: 0; z-index: 2; transition: all var(--speed) var(--easing); }
.doc-cards article h3 i { font-size: 14px; }
.doc-cards article p { font-size: 15px; color: #334155; line-height: 1.35; opacity: .85; margin: 0; margin-left: 44px; }
.doc-cards article a { 
    position: absolute; 
    bottom: 14px; 
    color: var(--primary); 
    font-weight: 600; 
    text-decoration: none; 
    margin-left: 44px; 
}
.doc-cards li :is(h3,p,a) { transition: opacity var(--speed) var(--easing), transform var(--speed) var(--easing); }
/* hide text and link when collapsed */
.doc-cards li :is(p,a) { opacity: 0; pointer-events: none; transform: translateY(10px); }
.doc-cards li[data-active="true"] :is(p,a) { opacity: 1; pointer-events: auto; transform: translateY(0); }
.doc-cards li h3 { opacity: .75; transform: scale(0.95); }
.doc-cards li[data-active="true"] h3 { opacity: 1; transform: scale(1); }

/* Folder look for documentation cards */
.doc-cards li {
    background: #ffffff; /* neutral, no warm paper fill */
    border-color: #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.08);
    transition: box-shadow var(--speed) var(--easing), transform var(--speed) var(--easing), border-color var(--speed) var(--easing);
    cursor: pointer;
}
.doc-cards li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 128, 128, 0.12);
    border-color: #cbd5e1;
}
.doc-cards li::before {
    /* folder tab */
    content: '';
    position: absolute;
    z-index: 2;
    top: -1px;
    left: 12px;
    width: 48px;
    height: 16px;
    background: linear-gradient(180deg, #f3f4f6 0%, #e5e7eb 100%);
    border: 1px solid #e5e7eb;
    border-bottom: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.doc-cards li::after {
    /* inner paper sheet shine */
    content: '';
    position: absolute;
    z-index: 1;
    inset: 6px;
    border-radius: 8px;
    background: none;
    box-shadow: none;
    pointer-events: none;
}
/* in expanded state, keep link in normal flow to avoid overlap */
.doc-cards li[data-active="true"] article a { 
    position: static; 
    margin: 6px 0 0 44px; 
    display: inline-block; 
}

.doc-cards li[data-active="true"] {
    box-shadow: 0 12px 32px rgba(0, 128, 128, 0.15);
    border-color: #3B82F6;
    transform: translateY(-4px);
}
.doc-cards li[data-active="true"]::before {
    background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #3B82F6;
}

/* Documentation details panel */
/* removed doc-details panel styles */

@media (max-width: 1024px) {
    .doc-cards { grid-template-columns: 1fr; height: auto; }
    .doc-cards li { min-height: 240px; }
    .doc-cards article { position: relative; }
    .doc-cards article h3 { rotate: 0deg; position: static; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
    .doc-cards article h3 i { font-size: 16px; }
    .doc-cards article :is(p,a) { margin-left: 0; }
    
    .documentation {
        background-attachment: scroll;
    }
    
    .documentation-split {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 1rem;
    }
    
    .documentation-image-panel {
        height: 50vh;
        min-height: 400px;
    }
    
    .documentation-list {
        gap: 0.5rem;
    }
    
    .documentation-item {
        padding: 0.875rem 0;
    }
    
    
    .documentation-item__title {
        font-size: 1.125rem;
    }
    
    .documentation-item__desc {
        font-size: 0.875rem;
    }
    
    .documentation-item__link {
        width: auto;
        height: auto;
        font-size: 1.5rem;
    }
}

/* Документация */
.documentation {
    background: var(--bg);
    position: relative;
}

/* Split-screen дизайн для документации */
.documentation-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    width: 100%;
    gap: 2rem;
}

.documentation-content-panel {
    background: var(--bg);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.documentation-content {
    width: 100%;
    max-width: 100%;
    position: relative;
}

.documentation-content .section-header {
    position: relative;
    margin-bottom: 1rem;
}

.documentation-content .section-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    border-radius: 2px;
}

.documentation-content .section-title {
    background: linear-gradient(135deg, #1f2937, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.documentation-content .section-subtitle {
    color: #64748b;
    font-weight: 500;
    font-size: 1.25rem;
}

.documentation-image-panel {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    height: 80vh;
}

.documentation-main-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    animation: slideInFromRight 1s ease-out;
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Красивый список документов */
.documentation-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    max-width: 100%;
    position: relative;
}

.documentation-list::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6, #06B6D4);
    border-radius: 2px;
    opacity: 0.8;
}

.documentation-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e5e7eb;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.documentation-item:last-child {
    border-bottom: none;
}

.documentation-item:nth-child(1) { animation-delay: 0.1s; }
.documentation-item:nth-child(2) { animation-delay: 0.2s; }
.documentation-item:nth-child(3) { animation-delay: 0.3s; }
.documentation-item:nth-child(4) { animation-delay: 0.4s; }
.documentation-item:nth-child(5) { animation-delay: 0.5s; }
.documentation-item:nth-child(6) { animation-delay: 0.6s; }
.documentation-item:nth-child(7) { animation-delay: 0.7s; }
.documentation-item:nth-child(8) { animation-delay: 0.8s; }
.documentation-item:nth-child(9) { animation-delay: 0.9s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.documentation-item:hover {
    background-color: #f8fafc;
    padding-left: 0.5rem;
}


.documentation-item__content {
    flex-grow: 1;
    min-width: 0;
}

.documentation-item__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.documentation-item__desc {
    color: #6b7280;
    font-size: 1.25rem;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.documentation-item__action {
    margin-left: 0.75rem;
    flex-shrink: 0;
}

.documentation-item__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    color: #3B82F6;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.75rem;
    padding: 0.5rem;
}

.documentation-item__link:hover {
    color: #2563EB;
    transform: translateY(-2px) scale(1.1);
}

/* Новости */
.news { background: var(--bg); }
.news-container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

/* Слайдер новостей */
.news-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
    border: none;
    flex: 1;
}

.news-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.news-slide {
    min-width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    /* Фоновое изображение загружается лениво через JavaScript */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.news-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

.news-slide-content {
    position: relative;
    z-index: 1;
}

.news-slide-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.news-slide-image {
    margin: 0 auto 1.5rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    max-width: 75%;
}

.news-slide-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-slide:hover .news-slide-image img {
    transform: scale(1.05);
}

.news-slide-date {
    display: inline-block;
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    font-weight: 500;
}

.news-slide-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-slide-excerpt {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.news-slide-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.news-slide-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.news-slide-link i {
    font-size: 0.875rem;
}

/* Навигация слайдера */
.news-slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

.news-slider-btn {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.news-slider-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.news-slider-btn:hover::before {
    opacity: 1;
}

.news-slider-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.news-slider-btn:active {
    transform: translateY(0);
}

.news-slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.news-slider-btn:disabled:hover {
    transform: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.news-slider-btn i {
    position: relative;
    z-index: 1;
}

/* Точки навигации */
.news-slider-dots {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.news-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.news-slider-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s ease;
}

.news-slider-dot:hover::before {
    background: rgba(99, 102, 241, 0.1);
}

.news-slider-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.news-slider-dot.active::before {
    background: rgba(99, 102, 241, 0.2);
}

/* Анимации */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.news-slide.animate-right {
    animation: slideInFromRight 0.5s ease-out;
}

.news-slide.animate-left {
    animation: slideInFromLeft 0.5s ease-out;
}

/* Старые стили для совместимости */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.news-item { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.news-date { display: inline-block; font-size: 12px; color: #64748b; margin-bottom: 6px; }
.news-title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.news-excerpt { color: var(--text-muted); font-size: 15px; margin-bottom: 10px; line-height: 1.45; }
.news-link { color: var(--primary); font-weight: 600; text-decoration: none; font-size: .9rem; }
.news-link:hover { text-decoration: underline; }
.news-item.is-hidden { display: none; }
.news-actions { display: flex; justify-content: center; margin-top: 12px; }

/* Заявки и обращения */
.requests {
    background: var(--bg);
}

.requests .section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.1;
}

/* Схема процедуры заключения договора */
.procedure-scheme {
    margin: 2rem 0;
}

.procedure-scheme h4 {
    margin: 0 0 2rem 0;
    color: var(--text);
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    text-align: center;
}

.procedure-scheme h4 i {
    color: var(--primary);
    font-size: 1.4em;
    flex-shrink: 0;
}

.scheme-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.scheme-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all var(--speed) var(--easing);
}

.scheme-step:hover {
    background: var(--bg-card-hover);
    transform: translateX(4px);
    border-color: rgba(59, 130, 246, 0.2);
}

.scheme-step.final {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), var(--bg-card));
    border-color: rgba(34, 197, 94, 0.2);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.scheme-step.final .step-number {
    background: var(--success);
}

.step-content h5 {
    margin: 0 0 0.5rem 0;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-content h5 i {
    color: var(--primary);
    font-size: 1.2em;
    flex-shrink: 0;
}

.step-content p {
    margin: 0 0 0.75rem 0;
    color: var(--text-muted);
    font-size: 1.3rem;
}

.step-details {
    background: rgba(59, 130, 246, 0.05);
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    font-size: 1.3rem;
    line-height: 1.4;
}

.scheme-arrow {
    text-align: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin: 0.5rem 0;
    opacity: 0.6;
}

.scheme-additional {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), var(--bg-card));
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.08);
}

.scheme-additional h5 {
    margin: 0 0 1rem 0;
    color: var(--primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scheme-additional h5 i {
    color: var(--primary);
    font-size: 1.2em;
    flex-shrink: 0;
}

.additional-info p {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    color: var(--text-muted);
}

.additional-info ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.additional-info li {
    margin-bottom: 0.25rem;
    font-size: 1.3rem;
    color: var(--text);
}

/* Документы для заключения договора */
.contract-documents {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.08);
}

.contract-documents h4 {
    margin: 0 0 1.5rem 0;
    color: var(--text);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contract-documents h4 i {
    color: var(--primary);
    font-size: 1.3em;
    flex-shrink: 0;
}

.documents-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 8px 8px 0 0;
}

.doc-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    transition: all var(--speed) var(--easing);
    font-size: 0.9rem;
}

.doc-tab:hover {
    background: rgba(59, 130, 246, 0.08);
    color: var(--primary);
    border-color: rgba(59, 130, 246, 0.2);
}

.doc-tab.is-active {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
    border-color: rgba(59, 130, 246, 0.3);
}

.documents-panels {
    position: relative;
}

.documents-panel {
    display: none;
}

.documents-panel.is-active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.documents-panel h5 {
    margin: 0 0 1rem 0;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
}

.document-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.document-list li {
    padding: 1rem;
    background: rgba(59, 130, 246, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all var(--speed) var(--easing);
}

.document-list li:hover {
    background: rgba(59, 130, 246, 0.06);
    transform: translateX(2px);
    border-color: rgba(59, 130, 246, 0.2);
}

.document-list li strong {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.document-list li strong i {
    color: var(--primary);
    font-size: 1.1em;
    flex-shrink: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность для схемы и документов */
@media (max-width: 768px) {
    .scheme-step {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        align-self: center;
        margin-bottom: 0.5rem;
    }

    .step-content {
        text-align: center;
    }

    .step-content h5 {
        font-size: 1rem;
    }

    .step-details {
        text-align: left;
        font-size: 0.8rem;
        border: 1px solid rgba(59, 130, 246, 0.08);
    }

    .documents-tabs {
        flex-direction: column;
        gap: 0.25rem;
    }

    .doc-tab {
        border-radius: 8px;
        text-align: center;
    }

    .contract-documents {
        padding: 1rem;
    }

    .document-list {
        gap: 0.5rem;
    }

    .document-list li {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .document-list li strong {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .document-list li strong i {
        align-self: flex-start;
    }

    .step-content h5 {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        text-align: left;
    }

    .step-content h5 i {
        align-self: flex-start;
    }

    .scheme-additional {
        padding: 1rem;
    }

    .additional-info {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .requests .section-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .scheme-steps {
        gap: 0.5rem;
    }

    .scheme-step {
        padding: 0.75rem;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .step-content h5 {
        font-size: 0.9rem;
    }

    .step-content p {
        font-size: 0.8rem;
    }

    .step-details {
        font-size: 0.75rem;
        padding: 0.5rem;
        border: 1px solid rgba(59, 130, 246, 0.06);
    }

    .scheme-arrow {
        font-size: 1.2rem;
        margin: 0.25rem 0;
    }

    .procedure-scheme h4 {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }

    .procedure-scheme h4 i {
        font-size: 1.2em;
    }

    .contract-documents h4 {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }

    .contract-documents h4 i {
        font-size: 1.1em;
    }

    .scheme-additional h5 {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }

    .scheme-additional h5 i {
        font-size: 1em;
    }
}

.requests-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.requests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.request-card {
    background: #ffffff;
    border: 1px solid rgba(59, 130, 246, 0.08);
    border-radius: 16px;
    padding: 24px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.request-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 128, 128, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
}

.request-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 128, 128, 0.1);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
}

.request-card__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.request-card__desc { color: var(--text-muted); margin-bottom: 16px; font-size: 15px; }

.requests-forms { display: grid; gap: 24px; }
.request-form { background: #ffffff; border: 1px solid rgba(59, 130, 246, 0.08); border-radius: 16px; padding: 24px; display: block; max-width: 800px; }
.request-form h3 { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.request-form label { display: grid; gap: 8px; color: var(--text); font-weight: 600; font-size: 15px; }
.request-form input, .request-form select, .request-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 10px;
    background: #fff;
    color: var(--text);
}

.file-hint {
    display: block;
    color: #ef4444;
    font-size: 12px;
}

.file-total-hint {
    display: block;
    color: #0c7a74;
    font-size: 12px;
}

/* Honey pot field - hidden from users */
.honeypot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* Guide: Заключение договора */
.contract-guide {
    margin: 12px 0 20px 0;
    border: 1px solid rgba(59, 130, 246, 0.08);
    border-radius: 12px;
    background: #f8fafc;
    --contract-font: 1.3rem;
}
.contract-tabs {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}
.contract-tab {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    background: #ffffff;
    color: #334155;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: var(--contract-font);
}

.contract-tab:hover {
    background: rgba(59, 130, 246, 0.05);
    color: var(--primary);
    border-color: rgba(59, 130, 246, 0.2);
}
.contract-tab.is-active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-color: rgba(59, 130, 246, 0.3);
}
.contract-panels { padding: 12px 14px 14px 14px; }
.contract-panel { display: block; }
.contract-panel[hidden] { display: none; }
.contract-panel h4 { margin: 4px 0 8px 0; font-size: var(--contract-font); color: #0f172a; }
.contract-panel h4:first-child { margin-top: 0; }
.contract-panel ul { margin: 0 0 8px 16px; color: #334155; }
.contract-panel li { margin-bottom: 6px; font-size: var(--contract-font); }
.contract-panel p { font-size: var(--contract-font); }
.contract-note { color: #64748b; font-size: var(--contract-font); }

.request-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    border-radius: 12px;
    padding: 20px;
    display: grid;
    gap: 8px;
    align-items: center;
    justify-items: start;
}
.request-success__icon { font-size: 28px; color: #10b981; }
.request-success__title { margin: 0; font-size: 18px; }
.request-success__desc { margin: 0; color: #047857; }

@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

/* Галерея документов */
.doc-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 20px; }
.doc-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px; cursor: pointer; transition: all .3s ease; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.doc-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.doc-card__icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(12,122,116,.1); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 10px; }
.doc-card__title { font-weight: 700; color: var(--text); }
.doc-card__meta { color: var(--text-muted); font-size: 12px; }

.doc-modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; }
.doc-modal[hidden] { display: none; }
.doc-modal__backdrop { position: absolute; inset: 0; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(8px); }
.doc-modal__card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    width: min(800px, 92vw);
    border: 1px solid #e5e7eb;
    box-shadow: 0 24px 80px rgba(0,0,0,.2);
    display: grid;
    gap: 12px;
    max-height: 90vh;
    overflow-y: auto;
}
.doc-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-modal__close:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.25);
    color: var(--primary);
}
.doc-modal__icon { font-size: 28px; color: var(--primary); }
.doc-modal__title {
    margin: 0;
    font-size: 1.95rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}
.doc-modal__desc {
    color: var(--text-muted);
    margin: 0 0 4px 0;
    font-size: 1.3rem;
    line-height: 1.6;
}

#newsModalContent {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--text);
    margin: 1rem 0;
}

#newsModalContent p {
    margin: 0.75rem 0;
    font-size: 1.5rem;
}

.news-modal-image {
    width: 100%;
    max-width: 100%;
    margin: 1rem 0;
    border-radius: 12px;
    overflow: hidden;
}

.news-modal-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.doc-modal__download {
    justify-self: start;
    margin-top: 1rem;
}

#newsModalCloseBtn {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
}

.contract-download p i {
    color: var(--primary);
    margin-right: 6px;
    font-size: 0.9em;
}

.consumer-panel a i,
.normatives-hint a i,
.legislation-link i {
    margin-right: 6px;
    color: var(--primary);
    transition: color 0.3s ease;
}

.consumer-panel a:hover i,
.normatives-hint a:hover i,
.legislation-link:hover i {
    color: var(--primary-hover, #0c7a74);
}

.consumer-panel a:hover,
.normatives-hint a:hover,
.legislation-link:hover {
    color: var(--primary-hover, #0c7a74);
}

/* Фото-галерея документов */
.doc-photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 16px; }
.doc-photo-card { position: relative; padding-top: 65%; border-radius: 12px; overflow: hidden; cursor: pointer; background: #e2e8f0; }
.doc-photo-card::before { content: ''; position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(0.9); }
.doc-photo-card::after { content: ''; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, rgba(0,0,0,.55), transparent); }
.doc-photo-card[data-src]::before { background-image: attr(data-src url); }
.doc-photo-modal__img { width: 100%; height: auto; border-radius: 10px; }

/* Разрешительная документация блок (collapsible) */
#permits .category-header { cursor: pointer; user-select: none; }
#permits .category-header:hover { filter: brightness(1.05); }
#permits .category-header { display: flex; align-items: center; gap: 10px; }
#permits .category-header .permits-arrow { margin-left: auto; transition: transform .2s ease; }
#permits.open .category-header .permits-arrow { transform: rotate(180deg); }

.doc-category {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.category-header {
    background: #1a1a1a;
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-header i {
    font-size: 1.5rem;
}

.category-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.doc-list {
    padding: 2rem;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    text-decoration: none;
    color: #1a1a1a;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.doc-item:last-child {
    border-bottom: none;
}

.doc-item:hover {
    color: #1a1a1a;
    padding-left: 1rem;
}

.doc-item i {
    font-size: 1.25rem;
    color: #666;
}

/* Контакты */
.contacts {
    background: var(--bg);
    position: relative;
    padding: 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    will-change: transform;
}

.contacts-container {
    width: 100%;
    height: 100%;
    position: relative;
}


.contacts-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}


.contact-icon {
    width: 60px;
    height: 60px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.contact-details p {
    color: #666;
    font-size: 1.1rem;
}

.contact-details a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-messengers h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.messengers-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.messenger-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(248, 249, 250, 0.6);
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 600;
    transition: all 0.3s ease;
}

.messenger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.messenger-btn.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: white;
}

.messenger-btn.telegram:hover {
    background: #0088cc;
    border-color: #0088cc;
    color: white;
}

.messenger-btn.max:hover {
    background: #4c75a3;
    border-color: #4c75a3;
    color: white;
}

.messenger-btn img {
    width: 20px;
    height: 20px;
}

/* Футер */
.footer {
    background: url('./assets/images/4CsHFnpWUL.png') center center / auto 100% no-repeat;
    background-attachment: scroll;
    padding: 80px 0 40px;
    color: #000000;
    position: relative;
    min-height: 500px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Уменьшили минимальную ширину */
    gap: 24px; /* Уменьшили отступы */
    margin-bottom: 28px; /* Уменьшили отступы */
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #d4c4b0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px; /* Уменьшили отступы */
}

.footer-links a {
    color: #000000;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
    padding: 2px 0;
}

.footer-links a:hover {
    color: #333333;
    transform: translateX(3px);
}

.footer-social-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px; /* Уменьшили отступы */
    margin-bottom: 24px; /* Уменьшили отступы */
    padding: 20px 0; /* Уменьшили отступы */
    border-top: 1px solid #e8ddd4;
    border-bottom: 1px solid #e8ddd4;
}

.footer-social-links {
    display: flex;
    gap: 12px; /* Уменьшили отступы */
    margin-top: 8px; /* Уменьшили отступы */
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: rgba(0, 0, 0, 0.25);
    color: #000000;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.footer-social-link i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 16px;
    line-height: 1;
}

.footer-social-link img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer-contact-info {
    margin-top: 8px; /* Уменьшили отступы */
}

.footer-contact-info p {
    margin: 6px 0;
    color: #000000;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-contact-info i {
    color: #333333;
    width: 14px;
}

.footer-contact-info a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-info a:hover {
    color: #333333;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px; /* Уменьшили отступы */
    border-top: 1px solid #e8ddd4;
    flex-wrap: wrap;
    gap: 12px; /* Уменьшили отступы */
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 2px; /* Уменьшили отступы */
}

.footer-copyright {
    color: rgba(0, 0, 0, 0.6);
    font-size: 12px;
    margin: 0;
}

.footer-requisites {
    color: #333333;
    font-size: 11px;
    margin: 0;
}

.footer-bottom-right {
    display: flex;
    gap: 20px; /* Уменьшили отступы */
}

.footer-legal-link {
    color: #000000;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
}

.footer-legal-link:hover {
    color: #333333;
}

/* Адаптивность футера */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Уменьшили минимальную ширину */
        gap: 20px; /* Уменьшили отступы */
    }
    
    .footer-social-section {
        grid-template-columns: 1fr;
        gap: 20px; /* Уменьшили отступы */
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 24px 0 16px; /* Уменьшили отступы */
        background-size: auto 100%; /* Полная высота без обрезки */
        background-position: center center; /* Центрируем изображение */
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 16px; /* Уменьшили отступы */
        margin-bottom: 24px; /* Уменьшили отступы */
    }
    
    .footer-social-section {
        margin-bottom: 20px; /* Уменьшили отступы */
        padding: 16px 0; /* Уменьшили отступы */
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px; /* Уменьшили отступы */
        text-align: center;
    }
    
    .footer-bottom-right {
        justify-content: center;
    }
    
    .footer-social-links {
        justify-content: center;
    }
}

/* Старые стили футера - закомментированы */
/*
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.4fr;
    gap: 32px;
    align-items: start;
}
*/

/*
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    color: #e2e8f0;
}
*/

/*
.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 16px;
}

.footer-text {
    color: #94a3b8;
    font-size: 14px;
}

.footer-links,
.footer-contacts,
.footer-social,
.footer-legal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover { color: #006400; }

.footer-contacts li { color: #cbd5e1; font-size: 14px; }
.footer-contacts a { color: #e2e8f0; text-decoration: none; }
.footer-contacts a:hover { text-decoration: underline; }
.footer-contacts i { color: #006400; margin-right: 8px; }

.footer-social { grid-auto-flow: column; justify-content: start; gap: 12px; margin-top: 12px; }
.footer-social a { color: #cbd5e1; font-size: 18px; }
.footer-social a:hover { color: #006400; }

.footer-newsletter {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

.footer-newsletter input[type="email"] {
    background: #0b1220;
    border: 1px solid #233046;
    color: #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
}

.footer-newsletter .btn {
    padding: 12px 16px;
}

.footer-hint {
    grid-column: 1 / -1;
    color: #64748b;
    font-size: 12px;
}

.footer-msg { grid-column: 1 / -1; font-size: 13px; color: #006400; }

.footer-bottom {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-copy { color: #94a3b8; font-size: 14px; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: #94a3b8; text-decoration: none; font-size: 14px; }
.footer-legal a:hover { color: #e2e8f0; }
*/

.visually-hidden {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Footer stats */
.footer-stats { margin-top: 24px; }
.footer-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.footer-stat {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 16px;
}
.footer-stat__number { font-size: 28px; font-weight: 900; color: #006400; }
.footer-stat__label { color: #cbd5e1; }
.footer-stat__note { color: #94a3b8; font-size: 12px; margin-top: 6px; }

@media (max-width: 768px) {
    .footer-stats-grid { grid-template-columns: 1fr 1fr; }
}

/* Дополнительные анимации */
.animate-slide-up {
    animation: slideUp 0.8s cubic-bezier(0, 0.7, 0, 1) forwards;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Анимации для текста */
.hero-description span,
.section-subtitle span {
    display: inline-block;
    transition: all 0.3s ease;
}

/* Улучшенные hover эффекты */
.service-card,
.doc-category {
    transition: all 0.4s cubic-bezier(0, 0.7, 0, 1);
}

.service-card:hover,
.doc-category:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 128, 128, 0.2);
}

/* Анимация для кнопок */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Пульсирующая анимация для визуального элемента */
.visual-element {
    animation: float 6s ease-in-out infinite, pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 128, 128, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(30, 58, 138, 0);
    }
}

/* Анимация для статистики */
.stat-number {
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    color: #20B2AA;
    text-shadow: 0 0 15px rgba(0, 128, 128, 0.3);
}

/* Потребителям */
.consumers {
    background: #ffffff;
}

.consumers-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Сплит-структура для раздела Потребителям */
.consumers-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    margin-bottom: 3rem;
}

.consumers-content-panel {
    display: flex;
    flex-direction: column;
}

.consumers-image-panel {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.consumer-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Сплит-структура для раздела Интерактивные карты */
.maps-split {
    display: grid;
    grid-template-columns: minmax(400px, 650px) 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 3rem;
    min-height: 500px;
}

/* Сплит-структура для раздела Заявки и обращения */
.requests-split {
    display: grid;
    grid-template-columns: 1fr minmax(320px, 520px);
    gap: 2rem;
    align-items: start;
    margin-bottom: 3rem;
}
.requests-content-panel { display: flex; flex-direction: column; }
.requests-image-panel { grid-column: 2; display: flex; justify-content: center; align-items: flex-start; }
.requests-main-image { width: 100%; height: auto; max-height: 520px; object-fit: contain; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.08); }

/* Сплит-структура для раздела Оплата услуг */
.payments-split {
    display: grid;
    grid-template-columns: minmax(320px, 520px) 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 3rem;
}
.payments-image-panel { grid-column: 1; display: flex; justify-content: center; align-items: flex-start; }
.payments-content-panel { grid-column: 2; display: flex; flex-direction: column; }
.payments-main-image { width: 100%; height: auto; max-height: 520px; object-fit: contain; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.08); }

/* Сетка CTA: 2 колонки x 2 ряда в левой половине */
.payments-content-panel .debt-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(260px, 1fr)) !important;
    gap: 24px !important;
    margin-top: 32px !important;
    width: 100% !important;
}

/* Новая система карточек только для раздела Интерактивные карты */
.map-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 100%; margin: 0 auto 24px; }

@media (max-width: 1024px) {
    .maps-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .maps-image-panel {
        grid-column: 1;
        max-width: 100%;
    }
    .maps-content-panel {
        grid-column: 1;
    }
    .map-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .maps-image-panel {
        max-height: 500px;
    }
    .maps-main-image {
        max-height: 500px;
    }
}
.map-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(2,6,23,0.06);
}
.map-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.map-card__icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(12,122,116,.1); color: var(--primary); display: inline-flex; align-items:center; justify-content:center; font-size: 20px; flex: 0 0 48px; }
.map-card__icon i { font-size: 20px; }
.map-card__icon svg { width: 24px; height: 24px; display: block; }
.map-card__title { font-size: 1.25rem; font-weight: 700; color: #0f172a; margin: 0; }
.map-card__desc { color: #64748B; margin: 8px 0 8px; line-height: 1.55; }
.map-card__list { margin: 8px 0 12px; padding-left: 18px; color: #64748B; font-size: 14px; }
.map-card__list li { margin: 4px 0; }
.map-card__actions { margin-top: 8px; }
.map-card__actions .btn { width: auto !important; display: inline-flex; }

.maps-content-panel {
    display: flex;
    flex-direction: column;
    grid-column: 2;
    justify-content: flex-start;
    align-items: center;
}

.maps-image-panel {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    grid-column: 1;
    max-width: 650px;
    width: 100%;
    max-height: 700px;
    overflow: hidden;
}

.maps-main-image {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Компактные карточки для раздела Интерактивные карты */
.maps-content-panel .service-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(2,6,23,0.06);
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
}

.maps-content-panel .service-card:hover { transform: translateY(-6px) scale(1.01); border-color: rgba(12,122,116,.35); box-shadow: 0 22px 60px rgba(2,6,23,0.18); }

.maps-content-panel .service-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(12,122,116,.1) !important;
    color: var(--primary);
    display: inline-flex;
    align-items:center;
    justify-content:center;
    font-size: 18px;
    margin-bottom: 10px;
    flex: 0 0 44px;
}

.maps-content-panel .service-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }

.maps-content-panel .service-description { color: var(--text-muted); margin-bottom: 12px; font-size: 15px; line-height: 1.5; }

.maps-content-panel .service-card ul {
    margin: 0.75rem 0 !important;
    font-size: 0.8rem !important;
}

.maps-content-panel .service-card li {
    margin-bottom: 0.25rem;
}

.maps-content-panel .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    width: auto !important;
    display: inline-flex;
}

.maps-content-panel .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
    max-width: 560px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Consumers CTA */
.consumers-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}
.consumer-cta-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(2,6,23,0.06);
    transition: all 0.3s ease;
}
.consumer-cta-card:hover { transform: translateY(-6px) scale(1.01); border-color: rgba(12,122,116,.35); box-shadow: 0 22px 60px rgba(2,6,23,0.18); }
.consumer-cta-card__icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(12,122,116,.1); color: var(--primary); display: inline-flex; align-items:center; justify-content:center; font-size: 18px; margin-bottom: 10px; }
.consumer-cta-card__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.consumer-cta-card__desc { color: var(--text-muted); margin-bottom: 12px; font-size: 15px; }

/* Consumers panels */
.consumers-panels { display: grid; gap: 16px; margin-bottom: 16px; }
.consumer-panel { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 20px; }
.panel-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffffff;
    border: 2px solid #0c7a74;
    color: #0c7a74;
    border-radius: 50%;
    width: 36px; height: 36px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(12,122,116,0.2);
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.panel-close:hover {
    background: #0c7a74;
    color: #ffffff;
    transform: scale(1.05);
}
.request-form { position: relative; }
.consumer-panel { position: relative; }
.consumer-panel h3 { margin-bottom: 10px; }
.consumer-panel ul { margin: 0; padding-left: 18px; }
.consumer-panel li { margin-bottom: 8px; font-size: 15px; }
.consumer-panel p { font-size: 15px; }

/* ===== Normatives (ТКО) ===== */
.normatives-controls {
    display: flex;
    gap: 12px;
    margin: 16px 0 12px;
    flex-wrap: wrap;
}
.normatives-controls input[type="search"],
.normatives-controls select {
    padding: 10px 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
}
.normatives-table-wrapper {
    background: #ffffff;
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    overflow: hidden;
}
.normatives-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.normatives-table thead th {
    text-align: left;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 600;
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
}
.normatives-table tbody td { padding: 12px 14px; border-top: 1px solid #f1f5f9; }
.normatives-table tbody tr:hover { background: #f8fafc; }
.normatives-empty { padding: 16px; color: #64748b; }
.normatives-hint { margin-top: 10px; color: #64748b; font-size: 13px; }

/* Chips */
.chip {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    margin: 0 6px 4px 0;
}
.chip--muted {
    color: #334155;
    background: #f1f5f9;
    border-color: #e2e8f0;
}
.muted { color: #64748b; font-size: 12px; margin-top: 4px; }

.consumers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.consumer-category {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.06);
    border: 1px solid #e5e7eb;
    padding: 2rem;
    transition: all 0.3s ease;
}

.consumer-category:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 128, 128, 0.16);
    border-color: rgba(12,122,116,0.45);
}

.consumer-category h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #006400;
    position: relative;
}

.consumer-category h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.consumer-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.consumer-item {
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.consumer-item:hover {
    background: #f1f5f9;
    transform: translateX(6px);
    box-shadow: 0 8px 20px rgba(0, 100, 0, 0.10);
}

.consumer-item.expandable {
    cursor: pointer !important;
    user-select: none;
    pointer-events: auto !important;
    position: relative;
    z-index: 999 !important;
}

.consumer-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
}

.consumer-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.consumer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    background: linear-gradient(180deg, rgba(0, 128, 128, 0.08), rgba(30, 58, 138, 0.14));
    border-radius: 8px;
}

.consumer-link:hover {
    color: #ffffff;
    background: var(--primary);
    gap: 0.8rem;
}

.consumer-link i {
    transition: transform 0.3s ease;
}

.consumer-link:hover i {
    transform: translateX(4px);
}

/* Раскрывающиеся блоки inline */
.consumer-details-inline {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #006400;
    animation: slideDown 0.3s ease-out;
    pointer-events: auto !important;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.details-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    60% {
        opacity: 0.8;
        transform: translateX(5px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.details-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #006400;
    text-align: center;
}

.legislation-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legislation-item {
    background: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #006400;
    transition: all 0.3s ease;
}

.legislation-item:hover {
    transform: translateX(2px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.legislation-item h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
}

.legislation-item p {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.legislation-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    background: rgba(0, 128, 128, 0.1);
    border-radius: 8px;
}

.legislation-link:hover {
    color: #ffffff;
    background: var(--primary);
    gap: 0.8rem;
}

.legislation-link i {
    transition: transform 0.3s ease;
}

.legislation-link:hover i {
    transform: translateY(-2px);
}

.close-details {
    background: #6b7280;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}

.close-details:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

.expandable {
    cursor: pointer !important;
    position: relative;
    z-index: 10;
    user-select: none;
}

.expandable:hover {
    background: #f1f5f9 !important;
    transform: translateX(4px) !important;
    box-shadow: 0 3px 10px rgba(0, 128, 128, 0.1) !important;
}

.expand-icon {
    float: right;
    transition: transform 0.3s ease;
    color: #008080;
}

.expandable.expanded .expand-icon {
    transform: rotate(180deg);
}

.expand-trigger {
    pointer-events: none;
}

/* Информация о судебной задолженности */
.debt-info {
    background: var(--bg);
}

.debt-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.debt-info-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.debt-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 128, 128, 0.12);
    border-color: var(--primary);
}

.debt-info-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 24px;
}

.debt-info-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.debt-info-content {
    color: var(--text-muted);
    line-height: 1.6;
}

.debt-info-content p {
    margin-bottom: 1rem;
}

.debt-info-content h4 {
    color: var(--text);
    font-weight: 600;
    margin: 1.5rem 0 0.5rem 0;
}

.debt-info-highlight {
    background: #EFF6FF;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.debt-info-highlight ul {
    margin: 0.5rem 0 0 1rem;
    padding-left: 1rem;
}

.debt-info-highlight li {
    margin-bottom: 0.25rem;
}

.contact-info {
    background: #F8FAFC;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-info h4 {
    color: var(--text);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info p {
    margin-bottom: 0.25rem;
    font-size: 14px;
}

.solution-methods {
    margin: 1rem 0;
}

.method {
    background: #F8FAFC;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.method h4 {
    color: var(--text);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.method p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 6px;
}

.consequences {
    margin: 1rem 0;
}

.consequence {
    background: #FEF3C7;
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.consequence h4 {
    color: #92400E;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 13px;
}

.consequence p {
    font-size: 12px;
    color: #78350F;
    margin: 0;
}

.prevention {
    background: #ECFDF5;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.prevention h4 {
    color: #065F46;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.prevention ul {
    margin: 0;
    padding-left: 1rem;
}

.prevention li {
    font-size: 13px;
    color: #047857;
    margin-bottom: 0.25rem;
}

/* Контакты */
.contacts {
    background: var(--bg);
    position: relative;
    padding: 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    will-change: transform;
}

.contacts-container {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Contacts showcase (inspired grid with selectable cards) */
.contacts-showcase {
    position: relative;
    margin-bottom: 24px;
    overflow-x: auto;
}
.contacts-showcase::before {
    --size: 36px;
    --line: color-mix(in hsl, #0f172a, transparent 80%);
    content: '';
    position: absolute;
    inset: -24px -16px;
    background:
        linear-gradient(90deg, var(--line) 1px, transparent 1px var(--size)) 50% 50%/var(--size) var(--size),
        linear-gradient(var(--line) 1px, transparent 1px var(--size)) 50% 50%/var(--size) var(--size);
    mask: linear-gradient(-20deg, transparent 45%, white);
    pointer-events: none;
    z-index: 0;
}
.contact-cards {
    --gap: 8px;
    --base: clamp(2rem, 8cqi, 80px);
    --easing: cubic-bezier(.2,.7,0,1);
    --speed: .45s;
    --ideal: 420px; /* width for first expanded card */
    display: grid;
    grid-template-columns: 10fr 1fr 1fr 1fr; /* will be updated by JS */
    gap: var(--gap);
    list-style: none;
    padding: 0;
    margin: 0;
    height: clamp(280px, 38vh, 460px);
    position: relative;
    z-index: 1;
    transition: grid-template-columns var(--speed) var(--easing);
}
.contact-cards li {
    position: relative;
    overflow: hidden;
    min-width: var(--base);
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
}
.contact-cards article {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 14px 16px 14px;
    font-family: 'Manrope', 'Inter', system-ui, sans-serif;
}
.contact-cards article h3 {
    position: absolute;
    top: 12px;
    left: 12px;
    transform-origin: 0 50%;
    rotate: 90deg;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0f172a;
    opacity: .7;
}
.contact-cards article p { font-size: 13px; color: #334155; line-height: 1.35; opacity: .85; margin: 0; margin-left: 44px; }
.contact-cards article a { position: absolute; bottom: 14px; color: var(--primary); font-weight: 600; text-decoration: none; margin-left: 44px; }
.contact-cards article a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-cards article img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(1.4); mask: radial-gradient(100% 100% at 100% 0, #fff, transparent); pointer-events: none; }
.contact-cards li[data-active="true"] article img { filter: grayscale(0) brightness(1); }
.contact-cards li[data-active="true"] article :is(h3, p, a) { opacity: 1; }
.contact-cards li :is(h3, p) { transition: opacity var(--speed) var(--easing); }
.contact-cards li:not([data-active="true"]) a { pointer-events: none; }

@media (max-width: 768px) {
    .contact-cards { grid-template-columns: 1fr; height: auto; }
    .contact-cards li { min-height: 240px; }
    .contact-cards article { position: relative; width: 100%; }
    .contact-cards article h3 { rotate: 0deg; position: static; margin-bottom: 6px; }
    .contact-cards article :is(p,a) { margin-left: 0; }
}


/* Split-screen дизайн */
.contacts-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 80vh;
    width: 100%;
}

.news-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 80vh;
    width: 100%;
    minwidth: 0;
    
}

.contacts-image-panel {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    height: 80vh;
}

.news-image-panel {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    height: 80vh;
}

.news-image-panel .news-slider-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.image-container {
    position: relative;
    z-index: 2;
    width: 200%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.contact-main-image {
    width: auto;
    height: 100%;
    object-fit: contain;
    animation: slideInFromLeft 0.6s ease-out;
    will-change: transform, opacity;
    transform: translateZ(0); /* Принудительное использование GPU */
}

.news-main-image {
    width: auto;
    height: 90%;
    object-fit: contain;
    animation: slideInFromLeft 1s ease-out;
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.contacts-content-panel {
    background: var(--bg);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.news-content-panel {
    background: var(--bg);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}


.news-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.news-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.news-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.news-feature i {
    color: var(--primary);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.news-feature span {
    font-weight: 600;
    color: var(--text);
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    height: 100%;
    align-content: start;
}

.news-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
    align-content: start;
}

.contact-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-section.span-2 {
    grid-column: 1 / -1;
}

.contact-section {
    padding: 1rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-section--accent {
    position: relative;
}

.contact-section--accent::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, #006400, #20B2AA);
}


.contact-section h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #f0f9ff;
    font-size: 1.4rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    font-size: 1.4rem;
    color: #008080;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item h3 {
    margin-bottom: 5px;
    color: #1e293b;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-map {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.map-embed {
    border: 0;
    width: 100%;
    height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Скрываем атрибуцию Leaflet с флагом */
.leaflet-control-attribution {
    display: none !important;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
}

.map-link:hover {
    text-decoration: underline;
}

.contact-right {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.messengers-contact {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.messenger-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: all 0.3s ease;
}

.messenger-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.messenger-contact i {
    font-size: 18px;
}

.messenger-contact img {
    width: 18px;
    height: 18px;
}

.messenger-contact.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: white;
}

.messenger-contact.telegram:hover {
    background: #0088cc;
    border-color: #0088cc;
    color: white;
}

.messenger-contact.max:hover {
    background: #4c75a3;
    border-color: #4c75a3;
    color: white;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image-panel {
        order: -1;
    }
    
    .about-main-image {
        max-height: 300px;
    }
    
    
    .contacts-split {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .news-split {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .contacts-image-panel {
        height: 50vh;
        min-height: 400px;
    }
    
    .news-image-panel {
        height: 50vh;
        min-height: 400px;
    }
    
    .contacts-content-panel {
        padding: 2.5rem 1.5rem;
    }
    
    .news-content-panel {
        padding: 2.5rem 1.5rem;
    }

    /* Адаптивность для слайдера новостей */
    .news-slider-container {
        height: auto;
        min-height: 400px;
    }
    
    .news-slider-wrapper {
        height: 400px;
    }
    
    .news-slide {
        padding: 1.5rem;
    }
    
    .news-slide-image {
        margin-bottom: 1rem;
    }
    
    .news-slide-image img {
        height: 150px;
    }
    
    .news-slide-title {
        font-size: 1.25rem;
    }
    
    .news-slide-excerpt {
        font-size: 0.9rem;
    }
    
    .news-slider-controls {
        margin-top: 1rem;
        padding: 0 0.5rem;
    }
    
    .news-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .news-slider-dots {
        gap: 0.5rem;
    }
    
    .news-slider-dot {
        width: 10px;
        height: 10px;
    }

    .debt-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .debt-info-card {
        padding: 1.5rem;
    }
    .contact-info {
        gap: 0.5rem;
    }
    
    .contact-info {
        gap: 30px;
    }
    
    .contact-section {
        padding: 20px;
    }
    
    .messengers-contact {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
    text-align: center;
    }
}

/* Адаптивность для блока контактов */
@media (max-width: 768px) {
    .contacts {
        min-height: auto;
    }
    
    .contacts-split {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .news-split {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .consumers-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contacts-image-panel {
        height: 40vh;
        min-height: 300px;
    }
    
    .documentation-split {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 0;
    }
    
    .documentation-image-panel {
        height: 40vh;
        min-height: 300px;
        order: 2;
    }
    
    .documentation-content-panel {
        padding: 2rem 1rem;
        order: 1;
    }
    
    .documentation-list {
        gap: 0.5rem;
        margin-top: 1.5rem;
    }
    
    .documentation-item {
        padding: 0.75rem 0;
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
    
    
    .documentation-item__content {
        flex-grow: 1;
        margin-bottom: 0;
    }
    
    .documentation-item__title {
        font-size: 1rem;
        margin-bottom: 0.375rem;
    }
    
    .documentation-item__desc {
        font-size: 0.875rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    
    .documentation-item__action {
        margin-left: 1rem;
    }
    
    .documentation-item__link {
        width: auto;
        height: auto;
        font-size: 1.25rem;
    }
    
    .consumers-image-panel {
        height: 50vh;
        min-height: 400px;
    }
    
    .consumer-main-image {
        object-fit: contain;
    }
    
    .maps-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .maps-content-panel {
        grid-column: 1;
    }
    
    .maps-image-panel {
        grid-column: 1;
        max-width: 100%;
        height: 50vh;
        min-height: 400px;
    }
    
    .maps-content-panel .services-grid {
        max-width: 100%;
    }
    
    .maps-main-image {
        object-fit: contain;
    }
    
    .maps-content-panel .service-card {
        padding: 1.25rem 1rem;
    }
    
    .maps-content-panel .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .maps-content-panel .service-title {
        font-size: 1rem;
    }
    
    .maps-content-panel .service-description {
        font-size: 0.85rem;
    }
    
    .maps-content-panel .service-card ul {
        font-size: 0.75rem !important;
    }

    /* Requests split responsive */
    .requests-split { grid-template-columns: 1fr; gap: 2rem; }
    .requests-content-panel { grid-column: 1; }
    .requests-image-panel { grid-column: 1; max-width: 100%; }
    .requests-main-image { object-fit: contain; }

    /* Payments split responsive */
    .payments-split { grid-template-columns: 1fr; gap: 2rem; }
    .payments-image-panel { grid-column: 1; max-width: 100%; order: 2; }
    .payments-content-panel { grid-column: 1; order: 1; }
    .payments-main-image { object-fit: contain; }
    .payments-content-panel .debt-cards-grid { grid-template-columns: 1fr !important; }
    
    .news-image-panel {
        height: 40vh;
        min-height: 300px;
    }
    
    .news-calendar-container {
        max-width: 350px;
        padding: 15px;
    }
    
    .news-calendar {
        border-radius: 12px;
    }
    
    .calendar-header {
        padding: 15px;
    }
    
    .calendar-month-year {
        font-size: 1.1rem;
    }
    
    .calendar-grid {
        padding: 15px;
    }
    
    .calendar-weekdays {
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .calendar-weekday {
        font-size: 0.8rem;
        padding: 6px 0;
    }
    
    .calendar-days {
        gap: 6px;
    }
    
    .calendar-day {
        font-size: 0.9rem;
    }
    
    .calendar-view-controls {
        padding: 12px 15px;
        gap: 6px;
    }
    
    .calendar-view-btn {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .calendar-instruction {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
    
    .calendar-year-months {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .calendar-year-month {
        padding: 10px;
    }
    
    .calendar-year-month-title {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .calendar-year-day {
        font-size: 0.6rem;
    }
    
    .contacts-content-panel {
        padding: 2rem 1rem;
    }
    
    .news-content-panel {
        padding: 2rem 1rem;
    }
    
    
    .news-info h3 {
        font-size: 1.5rem;
    }
    
    .news-info p {
        font-size: 1rem;
    }
    
    .news-features {
        gap: 0.8rem;
    }
    
    .news-feature {
        padding: 10px;
    }

    /* Адаптивность для слайдера новостей на маленьких экранах */
    .news-slider-container {
        height: auto;
        min-height: 350px;
    }
    
    .news-slider-wrapper {
        height: 350px;
    }
    
    .news-slide {
        padding: 1rem;
    }
    
    .news-slide-image {
        margin-bottom: 0.75rem;
    }
    
    .news-slide-image img {
        height: 120px;
    }
    
    .news-slide-excerpt {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    
    .news-slide-link {
        font-size: 0.9rem;
        padding: 0.625rem 1.25rem;
    }
    
    .news-slider-controls {
        margin-top: 0.75rem;
        padding: 0;
    }
    
    .news-slider-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .news-slider-dots {
        gap: 0.375rem;
    }
    
    .news-slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Hide mobile menu by default on all screens */
.mobile-menu {
    display: none;
}

/* Hamburger menu button - hidden by default */
.nav-toggle {
    display: none;
    background: #008080;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    padding: 12px 14px;
    font-size: 1.4rem;
    color: #ffffff;
    z-index: 10002;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.4);
    position: relative;
    min-width: 48px;
    min-height: 48px;
}

.nav-toggle:hover {
    background: #006666;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 128, 128, 0.5);
}

.nav-toggle.active {
    background: #006666;
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.6);
}

.nav-toggle i {
    display: block;
    line-height: 1;
}

@media (max-width: 768px) {
    /* Show hamburger button on mobile */
    .nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: #008080;
        border: 2px solid #ffffff;
        box-shadow: 0 4px 16px rgba(0, 128, 128, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.3);
        padding: 14px 16px;
        font-size: 1.5rem;
        min-width: 52px;
        min-height: 52px;
        position: fixed;
        top: 12px;
        right: 12px;
        z-index: 10003;
    }
    
    .nav-toggle:hover,
    .nav-toggle:active {
        background: #006666;
        transform: scale(1.08);
        box-shadow: 0 6px 20px rgba(0, 128, 128, 0.6), 0 0 0 3px rgba(255, 255, 255, 0.4);
    }

    /* ===== Mobile Menu (New Structure) ===== */
    .mobile-menu {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        height: calc(100vh - 64px);
        background: #ffffff;
        z-index: 20000;
        overflow-y: auto;
        border: none;
        box-shadow: 0 10px 25px rgba(0, 128, 128, 0.15);
    }
    
    .mobile-menu.active {
        display: block !important;
    }
    
    .mobile-menu__inner {
        padding: 0;
        display: flex;
        flex-direction: column;
    }
    
    .mobile-menu__item {
        border: none;
    }
    
    .mobile-menu__link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 1rem 1.5rem;
        background: none;
        border: none;
        font-family: 'Manrope', sans-serif;
        font-size: 0.95rem;
        font-weight: 600;
        color: #1a1a1a;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        text-decoration: none;
        text-align: left;
        cursor: pointer;
        transition: all 0.2s ease;
        outline: none;
    }
    
    .mobile-menu__link:last-child {
        border-bottom: none;
    }
    
    .mobile-menu__link:hover, .mobile-menu__link.active {
        background: var(--bg-soft);
        color: var(--primary);
    }
    
    .mobile-menu__arrow {
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }
    
    .mobile-menu__link.active .mobile-menu__arrow {
        transform: rotate(180deg);
    }
    
    .mobile-menu__dropdown {
        display: none;
        flex-direction: column;
        background: var(--bg-soft);
        padding: 0;
        border: none;
    }
    
    .mobile-menu__link.active + .mobile-menu__dropdown {
        display: flex;
    }
    
    .mobile-menu__sublink {
        display: block;
        padding: 0.75rem 2rem;
        font-family: 'Manrope', sans-serif;
        font-size: 0.9rem;
        color: var(--secondary);
        text-decoration: none;
        border: none;
        transition: all 0.2s ease;
    }
    
    .mobile-menu__sublink:hover {
        background: rgba(0, 128, 128, 0.05);
        color: var(--primary);
    }
    
    /* Remove all outlines from mobile menu elements */
    .mobile-menu__link:focus,
    .mobile-menu__sublink:focus,
    .mobile-menu button:focus,
    .mobile-menu a:focus,
    .mobile-menu__link,
    .mobile-menu a {
        outline: none !important;
        border: none !important;
        box-shadow: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    
    /* Disable oval effect pseudo-elements for mobile menu links */
    .mobile-menu__link::before,
    .mobile-menu__link::after,
    .mobile-menu__sublink::before,
    .mobile-menu__sublink::after,
    .mobile-menu a::before,
    .mobile-menu a::after {
        display: none !important;
        content: none !important;
        opacity: 0 !important;
    }
    
    /* ===== Новое мобильное меню (mobile-menu__grid) ===== */
    .mobile-menu__grid {
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 0;
        height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .mobile-menu__item-card {
        border-bottom: 1px solid #E5E7EB;
        background: white;
    }
    
    .mobile-menu__item-card:last-child {
        border-bottom: none;
    }
    
    .mobile-menu__card-btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        background: white;
        border: none;
        cursor: pointer;
        text-align: left;
        font-family: 'Manrope', sans-serif;
        font-size: 16px;
        font-weight: 600;
        color: #1F2937;
        transition: all 0.2s ease;
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    .mobile-menu__card-btn:hover,
    .mobile-menu__card-btn:active,
    .mobile-menu__card-btn:focus {
        background: #F9FAFB;
        outline: none;
    }
    
    /* Улучшенная визуальная обратная связь для touch устройств */
    .mobile-menu__card-btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .mobile-menu__item-card.active .mobile-menu__card-btn {
        background: #F3F4F6;
        color: #008080;
    }
    
    .mobile-menu__icon {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 12px;
        color: #008080;
        font-size: 18px;
    }
    
    .mobile-menu__label {
        flex: 1;
        font-weight: 600;
    }
    
    .mobile-menu__indicator {
        font-size: 12px;
        color: #6B7280;
        transition: transform 0.3s ease;
        margin-left: 12px;
    }
    
    .mobile-menu__item-card.active .mobile-menu__indicator {
        transform: rotate(180deg);
        color: #008080;
    }
    
    .mobile-menu__dropdown-content {
        display: none;
        flex-direction: column;
        background: #F9FAFB;
        padding: 0;
        border-top: 1px solid #E5E7EB;
    }
    
    .mobile-menu__item-card.active .mobile-menu__dropdown-content {
        display: flex;
    }
    
    .mobile-menu__dropdown-content a {
        display: block;
        padding: 14px 20px 14px 56px;
        color: #374151;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        transition: all 0.2s ease;
        border-bottom: 1px solid #E5E7EB;
        -webkit-tap-highlight-color: transparent;
    }
    
    .mobile-menu__dropdown-content a:last-child {
        border-bottom: none;
    }
    
    .mobile-menu__dropdown-content a:hover,
    .mobile-menu__dropdown-content a:active {
        background: #F3F4F6;
        color: #008080;
        padding-left: 60px;
    }
    
    .mobile-menu__direct-link {
        display: flex;
        align-items: center;
        padding: 18px 20px;
        color: #1F2937;
        text-decoration: none;
        font-size: 16px;
        font-weight: 600;
        transition: all 0.2s ease;
        border-bottom: 1px solid #E5E7EB;
        -webkit-tap-highlight-color: transparent;
    }
    
    .mobile-menu__direct-link:hover,
    .mobile-menu__direct-link:active,
    .mobile-menu__direct-link:focus {
        background: #F9FAFB;
        color: #008080;
        outline: none;
    }
    
    /* Улучшенная визуальная обратная связь для touch устройств */
    .mobile-menu__direct-link:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .mobile-menu__direct-link .mobile-menu__icon {
        margin-right: 12px;
    }
    
    .mobile-menu__direct-link .mobile-menu__label {
        flex: 1;
    }
    
    /* Улучшение прокрутки на мобильных */
    .mobile-menu {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    
    /* Предотвращение закрытия меню при клике внутри */
    .mobile-menu__item-card,
    .mobile-menu__dropdown-content {
        touch-action: manipulation;
    }

    .header__nav {
        display: none !important;
    }

    /* Hide desktop dropdown related styles in mobile if needed, but the new structure handles it */
    .header__nav > a:not(:last-child)::after,
    .header__nav-dropdown:not(:last-child)::after,
    .header__nav-link::before,
    .header__nav-link--dropdown::before {
        display: none;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero-container,
    .stats-container,
    .services-container,
    .about-container,
    .consumers-container,
    .documentation-container,
    .contacts-container,
    .footer-container {
        padding: 0 0.75rem;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Оптимизация ширины для всех секций */
    section {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Убираем избыточные отступы */
    .service-card,
    .consumer-item,
    .contact-item,
    .doc-card {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image-panel {
        order: -1;
    }
    
    .about-main-image {
        height: auto;           /* override desktop fill */
        max-height: 250px;
        object-fit: contain;    /* avoid cropping on phones */
    }
    
    .about-facts {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .consumers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .consumer-category {
        padding: 1.25rem 1rem;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .consumer-category h3 {
        font-size: 1.2rem;
    }
    
    .consumer-item {
        padding: 1rem 0.75rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .docs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Предотвращаем горизонтальный скролл */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        position: relative;
    }
    
    /* Оптимизация для всех контейнеров */
    .container,
    [class*="container"],
    [class*="Container"] {
        max-width: 100%;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        box-sizing: border-box;
    }
    
    /* Улучшение touch-целей для мобильных устройств (минимум 44x44px) */
    button,
    .btn,
    a.btn,
    input[type="submit"],
    input[type="button"],
    .mobile-menu__link,
    .mobile-menu__sublink,
    .mobile-menu__card-btn,
    .mobile-menu__direct-link {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0, 128, 128, 0.1);
    }
    
    /* Улучшение читаемости текста на мобильных */
    body {
        font-size: 16px; /* Минимум для предотвращения зума в iOS */
        line-height: 1.6;
        -webkit-text-size-adjust: 100%;
        -moz-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    /* Улучшение форм на мобильных */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    textarea,
    select {
        font-size: 16px; /* Предотвращает зум в iOS */
        padding: 12px 16px;
        min-height: 44px;
        border-radius: 8px;
    }
    
    /* Улучшение таблиц на мобильных */
    table {
        font-size: 14px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Улучшение модальных окон на мобильных */
    .modal {
        padding: 20px 16px;
        max-height: 90vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Улучшение карточек на мобильных */
    .service-card,
    .consumer-item,
    .doc-card {
        padding: 20px 16px;
        margin-bottom: 16px;
    }
    
    /* Улучшение кнопок в формах */
    .btn-primary,
    .btn-submit {
        width: 100%;
        padding: 16px;
        font-size: 16px;
        font-weight: 600;
    }
    
    /* Улучшение навигации по якорям */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Предотвращение горизонтального скролла */
    * {
        max-width: 100%;
    }
    
    img, video, iframe, embed, object {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card,
    .contact-item {
        padding: 1.5rem 1rem;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .visual-element {
        width: 300px;
        height: 300px;
        max-width: 100%;
    }
    
    .visual-element::before {
        width: 150px;
        height: 150px;
    }
    
    /* Дополнительная оптимизация ширины для очень маленьких экранов */
    .hero-container,
    .stats-container,
    .services-container,
    .about-container,
    .consumers-container,
    .documentation-container,
    .contacts-container {
        padding: 0 0.5rem;
    }
    
    section {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    /* Убираем горизонтальный скролл */
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    img, video, iframe {
        max-width: 100%;
        height: auto;
    }
}

/* Старые стили футера - закомментированы */
/*
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
    padding: 60px 0 0;
    margin-top: 80px;
}
*/

/*
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col--main {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-logo span {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.footer-desc {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 15px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    cursor: default;
}

.footer-social-link i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 18px;
    line-height: 1;
}

.footer-social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.3);
}

.footer-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-links i {
    font-size: 14px;
    color: var(--primary);
    width: 18px;
}

.footer-bottom {
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    color: #94a3b8;
    font-size: 14px;
    margin: 0;
}

.footer-links-bottom {
    display: flex;
    gap: 24px;
}

.footer-links-bottom a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .footer-col--main {
        grid-column: 1 / -1;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
        margin-top: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 32px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links-bottom {
        justify-content: center;
    }
}

/*
.footer-search-wrapper {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.footer-search-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

.footer-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #e2e8f0;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
}

.footer-search-input::placeholder {
    color: #94a3b8;
}

.footer-search-button {
    background: var(--primary);
    border: none;
    color: white;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
}

.footer-search-button:hover {
    background: #008080;
    transform: scale(1.05);
}

.footer-search-button:active {
    transform: scale(0.95);
}

.search-results {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    margin-top: 12px;
    max-height: 300px;
    overflow-y: auto;
}

.search-results h5 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-results ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-results li {
    margin-bottom: 8px;
}

.search-results a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.search-results a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
    border-left-color: var(--primary);
    transform: translateX(4px);
}

.search-results .search-highlight {
    background: rgba(0, 128, 128, 0.2);
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: 600;
}

.search-results .no-results {
    color: #94a3b8;
    font-size: 13px;
    text-align: center;
    padding: 20px;
    font-style: italic;
}
*/


/* Стили для блока приобретения контейнера */
.container-form-wrapper {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
    padding: 20px;
}

.container-image {
    width: 250px;
    height: auto;
    min-height: 250px;
    max-width: 250px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.container-form-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    padding: 24px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.container-form-content h3 {
    margin: 0 0 20px 0;
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Адаптивность для блока контейнера - временно отключена */
/*
@media (max-width: 768px) {
    .container-form-wrapper {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }
    
    .container-image {
        width: 100%;
        height: auto;
        min-height: 200px;
    }
    
    .container-form-content {
        padding: 20px;
    }
}
*/

/* ===== Debt Check Styles ===== */
.debt-search-tab {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #E2E8F0;
    background: #FFFFFF;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #64748B;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.debt-search-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.debt-search-tab.active {
    background: var(--g-primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

.debt-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.debt-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.debt-result-success {
    padding: 20px;
    background: #EFF6FF;
    border: 2px solid #3B82F6;
    border-radius: 12px;
    animation: slideDown 0.3s ease;
}

.debt-result-error {
    padding: 20px;
    background: #FEF2F2;
    border: 2px solid #EF4444;
    border-radius: 12px;
    animation: slideDown 0.3s ease;
}

.debt-result-info {
    padding: 20px;
    background: #FFFBEB;
    border: 2px solid #F59E0B;
    border-radius: 12px;
    animation: slideDown 0.3s ease;
}

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

/* ===== Maps Modal Styles ===== */
.maps-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.maps-modal-content {
    background: #FFFFFF;
    border-radius: 12px;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 128, 128, 0.4);
    border: 1px solid rgba(0, 128, 128, 0.2);
}

.maps-modal-header {
    padding: 12px 16px;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F8FAFC;
}

.maps-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #1E293B;
    font-weight: 600;
}

.maps-modal-close {
    background: rgba(0, 128, 128, 0.1);
    border: 1px solid rgba(0, 128, 128, 0.2);
    font-size: 20px;
    color: #008080;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: bold;
}

.maps-modal-close:hover {
    background: #008080;
    color: #FFFFFF;
    transform: scale(1.05);
}

.maps-modal-body {
    height: calc(90vh - 60px);
    overflow: auto;
}

.maps-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Адаптивность для модальных окон новостей */
@media (min-width: 1400px) {
    .doc-modal__card {
        width: min(1000px, 80vw);
        padding: 36px;
    }
}

@media (min-width: 1200px) {
    .doc-modal__card {
        width: min(900px, 85vw);
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .doc-modal__card {
        width: min(560px, 95vw);
        padding: 20px;
    }

    .doc-modal__title {
        font-size: 1.625rem;
    }

    #newsModalContent {
        font-size: 1.365rem;
        line-height: 1.7;
    }
    
    #newsModalContent p {
        font-size: 1.365rem;
    }

    .maps-modal-content {
        max-height: 95vh;
        margin: 0;
        border-radius: 8px;
    }

    .maps-modal-body {
        height: calc(95vh - 50px);
    }

    .maps-modal-header {
        padding: 10px 12px;
    }

    .maps-modal-header h3 {
        font-size: 1rem;
    }
    
    /* Адаптивность для карточки оплаты */
    .service-card > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    .service-card #paymentQR {
        margin: 0 auto;
    }
}

/* ===== СТИЛИ ДЛЯ КАРТОЧЕК ЗАДОЛЖЕННОСТИ ===== */

/* Основные стили карточек */
.debt-card {
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.debt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Иконки карточек */
.debt-card .card-icon {
    transition: all 0.3s ease;
}

.debt-card:hover .card-icon {
    transform: scale(1.1);
}

/* Кнопки в карточках */
.debt-card .btn {
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.debt-card .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Адаптивность для карточек */
@media (max-width: 768px) {
    .debt-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .debt-card {
        padding: 20px !important;
    }
    
    .debt-card .card-icon {
        width: 56px !important;
        height: 56px !important;
    }
    
    .debt-card h3 {
        font-size: 16px !important;
    }
    
    .debt-card p {
        font-size: 13px !important;
    }
}

/* ===== СТИЛИ ДЛЯ МОДАЛЬНЫХ ОКОН ===== */

/* Основные стили модальных окон */
.modal {
    animation: fadeIn 0.3s ease;
}

.modal-content {
    animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Заголовки модальных окон */
.modal-header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

/* Кнопка закрытия */
.modal-header button {
    transition: all 0.2s ease;
}

.modal-header button:hover {
    background: #F3F4F6 !important;
    color: #374151 !important;
}

/* Тело модального окна */
.modal-body {
    line-height: 1.6;
}

/* Формы в модальных окнах */
.modal-body input {
    transition: all 0.2s ease;
}

.modal-body input:focus {
    outline: none;
    border-color: #3B82F6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Кнопки в модальных окнах */
.modal-body .btn {
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.modal-body .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Результаты проверки задолженности */
#debtResult {
    transition: all 0.3s ease;
    border-radius: 8px;
    border: 1px solid;
}

/* Адаптивность модальных окон */
@media (max-width: 768px) {
    .modal-content {
        width: 95% !important;
        margin: 2% auto !important;
        max-height: 95vh !important;
    }
    
    .modal-header {
        padding: 16px 16px 0 16px !important;
    }
    
    .modal-body {
        padding: 16px !important;
    }
    
    .modal-header h2 {
        font-size: 18px !important;
    }
    
    .modal-header p {
        font-size: 13px !important;
    }
    
    /* Адаптация сетки в модальном окне информации */
    .modal-body div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Адаптация кнопок в результатах */
    .modal-body div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .modal-body div[style*="display: flex"] .btn {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98% !important;
        margin: 1% auto !important;
        border-radius: 8px !important;
    }
    
    .modal-header {
        padding: 12px 12px 0 12px !important;
    }
    
    .modal-body {
        padding: 12px !important;
    }
    
    .modal-header h2 {
        font-size: 16px !important;
    }

    .modal-header p {
        font-size: 12px !important;
    }

    .doc-modal__card {
        width: min(480px, 98vw);
        padding: 16px;
    }

    .doc-modal__title {
        font-size: 1.43rem;
    }

    #newsModalContent {
        font-size: 1.3rem;
        line-height: 1.6;
    }
    
    #newsModalContent p {
        font-size: 1.3rem;
    }

    .doc-modal__close {
        width: 32px;
        height: 32px;
        font-size: 18px;
        top: 8px;
        right: 8px;
    }
}

/* Исправление выравнивания иконок в социальных сетях */
.footer-social-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

.footer-social-link i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 1 !important;
    text-align: center !important;
    vertical-align: middle !important;
}

.footer-contact-info p {
    margin: 6px 0;
    color: #000000;
    font-size: 13px;
}

.footer-contact-info i {
    color: #333333;
    width: 14px;
}

.footer-contact-info a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-info a:hover {
    color: #333333;
}

/* ===== Search Modal Styles ===== */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10vh;
}

.search-modal.is-open {
    display: flex;
}

.search-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.search-modal__content {
    position: relative;
    width: 100%;
    max-width: 600px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    animation: slideDown 0.3s ease-out;
    margin: 0 16px;
}

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

.search-modal__header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.search-modal__icon {
    font-size: 18px;
    color: #64748b;
    margin-right: 12px;
}

.search-modal__input {
    flex: 1;
    border: none;
    font-size: 18px;
    color: #0f172a;
    outline: none;
    background: transparent;
}

.search-modal__input::placeholder {
    color: #94a3b8;
}

.search-modal__close {
    background: none;
    border: none;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}

.search-modal__close:hover {
    color: #0f172a;
}

.search-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.search-results {
    display: flex;
    flex-direction: column;
}

.search-result-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.2s;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover,
.search-result-item:focus {
    background: #f8fafc;
    outline: none;
}

.search-result__icon {
    width: 32px;
    height: 32px;
    background: #e0f2fe;
    color: #0284c7;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.search-result__icon:empty {
    display: none;
    margin-right: 0;
}

.search-result__content {
    flex: 1;
    min-width: 0;
}

.search-result__title {
    font-weight: 600;
    color: #0f172a;
    font-size: 15px;
    margin-bottom: 2px;
}

.search-result__text {
    color: #64748b;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-placeholder,
.search-no-results {
    padding: 40px 20px;
    text-align: center;
    color: #64748b;
    font-size: 15px;
}

.search-modal__footer {
    padding: 12px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    color: #64748b;
    font-size: 12px;
}

.search-modal__footer kbd {
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 2px 4px;
    font-family: inherit;
    font-weight: 600;
    color: #475569;
}

/* Header Search Button */
.search-trigger {
    background: transparent;
    border: none;
    color: #0d4d0d;
    cursor: pointer;
    font-size: 1.6rem;
    padding: 0.6rem;
    transition: all 0.3s ease;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.search-trigger::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(13, 77, 13, 0.1);
    opacity: 0;
    animation: glow-search 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glow-search {
    0%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.search-trigger i {
    font-size: 1.6rem;
    font-weight: 600;
    color: #0d4d0d;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.search-trigger:hover {
    color: #006400;
    transform: scale(1.1);
}

.search-trigger:hover::before {
    animation: none;
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.3);
}

.search-trigger:hover i {
    color: #006400;
    text-shadow: 0 0 10px rgba(0, 100, 0, 0.5);
}

/* Кнопка с обводкой (outline) */
.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: transparent;
    color: #3B82F6;
    border: 2px solid #3B82F6;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.btn-outline:active {
    transform: translateY(0);
}

/* Стильный дизайн таблицы тарифов */
.tariff-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
}

.tariff-table {
    width: 100%;
    min-width: 600px;
    border-collapse: separate;
    border-spacing: 0;
}

.tariff-table thead th {
    background: #f8fafc;
    padding: 20px;
    text-align: left;
    font-weight: 600;
    color: #475569;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e2e8f0;
}

.tariff-table tbody tr {
    transition: all 0.2s ease;
}

.tariff-table tbody tr:hover {
    background: #f1f5f9;
}

.tariff-table tbody td {
    padding: 20px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    font-size: 15px;
}

.tariff-table tbody tr:last-child td {
    border-bottom: none;
}

.tariff-name-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.tariff-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tariff-price {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #0f172a;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
}

.tariff-period {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.tariff-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #2563eb;
    background: #eff6ff;
    transition: all 0.2s ease;
}

.tariff-download-btn:hover {
    background: #dbeafe;
    color: #1d4ed8;
    transform: translateY(-1px);
}

/* Стилизация категорий иконок */
.icon-box-blue { background: #eff6ff; color: #2563eb; }
.icon-box-orange { background: #fff7ed; color: #ea580c; }
.icon-box-red { background: #fef2f2; color: #dc2626; }

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .tariff-table thead { display: none; }
    .tariff-table, .tariff-table tbody, .tariff-table tr, .tariff-table td { display: block; width: 100%; }
    .tariff-table tbody tr {
        margin-bottom: 16px;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 16px;
        background: #ffffff;
    }
    .tariff-table tbody td {
        padding: 8px 0;
        border: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
    }
    .tariff-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #64748b;
        font-size: 13px;
        text-align: left;
        margin-right: 16px;
    }
    .tariff-name-cell { margin-bottom: 8px; }
    .tariff-table tbody td:first-child { 
        display: block; 
        text-align: left;
        padding-bottom: 16px;
        border-bottom: 1px solid #f1f5f9;
        margin-bottom: 8px;
    }
    .tariff-table tbody td:first-child::before { display: none; }
    .tariff-download-btn { width: 100%; justify-content: center; margin-top: 8px; }
}