/**
 * БФ «Ева» — Стили раздела «442-ФЗ» и проверок
 */

/* ==========================================================================
   Результаты проверок
   ========================================================================== */

/* Результаты проверок */
.report-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    margin-bottom: 40px;
}
.report-section h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: 'Manrope', sans-serif;
    display: flex;
    align-items: center;
    gap: 12px;
}
.report-section h2 svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

/* ==========================================================================
   442-ФЗ социальные услуги, таймлайн, статистика
   ========================================================================== */

/* 442-ФЗ Социальные услуги */
/* 442-ФЗ */
.fz-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(197, 78, 112, 0.95) 0%, rgba(156, 60, 87, 0.95) 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    border-radius: 0 0 40px 40px;
    margin-bottom: 60px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.fz-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('assets/stariki.jpeg') center/cover no-repeat;
    opacity: 0.15;
    z-index: -1;
}
.fz-hero h1 { position: relative; color: var(--white); font-size: 48px; margin-bottom: 20px; text-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.fz-hero p { position: relative; font-size: 20px; opacity: 0.95; max-width: 800px; margin: 0 auto; line-height: 1.6; }

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}
.dash-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.dash-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 15px 35px rgba(235, 160, 78, 0.15);
}
.dash-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: inline-block;
    background: rgba(235, 160, 78, 0.1);
    width: 80px; height: 80px;
    line-height: 80px;
    border-radius: 50%;
}

/* Инструкция: Таймлайн */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 30px; top: 0; bottom: 0;
    width: 4px;
    background: rgba(197, 78, 112, 0.2);
    border-radius: 2px;
}
.timeline-step {
    display: flex;
    gap: 30px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    position: relative;
    z-index: 1;
}
.step-number {
    width: 64px; height: 64px;
    background: var(--primary);
    color: var(--white);
    font-size: 28px; font-weight: bold;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(197, 78, 112, 0.3);
}
.step-content h3 { color: var(--text-dark); margin-bottom: 10px; font-size: 24px; }
.step-content p { color: var(--text-light); font-size: 16px; margin-bottom: 0;}

/* Аккордеон для подробной информации */
.accordion { margin-bottom: 60px; }
.accordion-item {
    background: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}
.accordion-header {
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fdfdfd;
    transition: var(--transition);
}
.accordion-header:hover { background: rgba(197, 78, 112, 0.03); }
.accordion-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--text-light);
    line-height: 1.6;
}
.accordion-item.active .accordion-content {
    padding: 20px 25px;
    max-height: 2000px; 
    border-top: 1px solid #eaeaea;
}
.accordion-icon {
    font-size: 24px;
    color: var(--primary);
    transition: transform 0.3s ease;
    font-weight: 300;
}
.accordion-item.active .accordion-icon { transform: rotate(45deg); }
.accordion-content ul { margin-left: 20px; margin-bottom: 15px; }
.accordion-content li { margin-bottom: 8px; }
.accordion-content a { color: var(--primary); text-decoration: underline; }

/* Статистика */
.stats-infographic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}
.stat-box {
    background: linear-gradient(to right bottom, #ffffff, #f9fafb);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--accent);
}
.stat-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1;
}
.stat-label {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 600;
}
.stat-subtitle {
    font-size: 14px; color: var(--text-light); margin-top: 10px;
}

/* Документы */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}
.doc-link {
    display: flex; align-items: center; gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid #eaeaea;
    transition: var(--transition);
    text-decoration: none;
}
.doc-link:hover {
    border-color: var(--primary);
    background: rgba(197, 78, 112, 0.02);
    transform: translateX(5px);
}
.doc-link .icon { font-size: 36px; }
.doc-link .text { font-weight: 600; color: var(--text-dark); font-size: 16px; line-height: 1.4; }

/* Архив тарифов */
.tariff-archive-wrapper {
    margin-top: -30px;
    margin-bottom: 60px;
}
.tariff-archive-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid #eaeaea;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}
.tariff-archive-card:hover {
    box-shadow: var(--shadow);
    border-color: #e0e0e0;
}
.tariff-archive-header {
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    background: #ffffff;
    transition: background 0.2s ease;
}
.tariff-archive-header:hover {
    background: rgba(197, 78, 112, 0.02);
}
.tariff-archive-header-left {
    display: flex;
    align-items: center;
    gap: 18px;
}
.tariff-archive-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(197, 78, 112, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.tariff-archive-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.tariff-archive-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
}
.tariff-archive-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(235, 160, 78, 0.15);
    color: #c46914;
}
.tariff-archive-subtitle {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.4;
}
.tariff-archive-toggle-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.tariff-archive-status-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}
.tariff-archive-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text-dark);
    transition: transform 0.3s ease, background 0.2s ease;
}
.tariff-archive-card.is-open .tariff-archive-arrow {
    transform: rotate(180deg);
    background: rgba(197, 78, 112, 0.1);
    color: var(--primary);
}
.tariff-archive-content {
    display: none;
    padding: 0 28px 28px;
    border-top: 1px solid #f0f0f0;
    background: #fafbfc;
}
.tariff-archive-card.is-open .tariff-archive-content {
    display: block;
}
.tariff-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    padding-top: 24px;
}
.tariff-archive-col-title {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tariff-archive-col-title .dot-primary {
    display: inline-block;
    width: 6px;
    height: 16px;
    background: var(--primary);
    border-radius: 3px;
}
.tariff-archive-col-title .dot-secondary {
    display: inline-block;
    width: 6px;
    height: 16px;
    background: var(--secondary);
    border-radius: 3px;
}
.tariff-archive-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tariff-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #eef0f3;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.tariff-file-item:hover {
    border-color: var(--primary);
    background: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(197, 78, 112, 0.08);
}
.tariff-file-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.tariff-file-item-left .f-icon {
    font-size: 18px;
    flex-shrink: 0;
}
.tariff-file-item-left .f-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.35;
}
.tariff-file-item-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(197, 78, 112, 0.08);
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .tariff-archive-header {
        padding: 18px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .tariff-archive-toggle-btn {
        width: 100%;
        justify-content: space-between;
        padding-top: 10px;
        border-top: 1px solid #f0f0f0;
    }
    .tariff-archive-content {
        padding: 0 16px 20px;
    }
    .tariff-archive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

        
.section-header {
    font-size: 36px;
    color: var(--text-dark);
    margin: 80px 0 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
}
.section-header::before {
    content: '';
    display: inline-block;
    width: 8px; height: 36px;
    background: var(--secondary);
    border-radius: 4px;
}
        
html { scroll-behavior: smooth; }
@media (max-width: 768px) {
    .fz-hero {
        padding: 45px 16px;
        margin-bottom: 30px;
        border-radius: 0 0 24px 24px;
    }
    .fz-hero h1 {
        font-size: 28px;
        margin-bottom: 12px;
        word-break: break-word;
    }
    .fz-hero p {
        font-size: 15px;
    }
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 30px;
    }
    .dash-card {
        padding: 14px 10px;
        border-radius: 14px;
    }
    .dash-icon {
        width: 44px;
        height: 44px;
        line-height: 44px;
        margin-bottom: 8px;
    }
    .dash-icon svg {
        width: 24px;
        height: 24px;
    }
    .dash-card h3 {
        font-size: 14px;
        margin-bottom: 4px;
    }
    .dash-card p {
        font-size: 11px;
        line-height: 1.3;
    }
    .timeline {
        gap: 16px;
        margin-bottom: 35px;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-step {
        padding: 14px 12px;
        gap: 12px;
    }
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
        flex-shrink: 0;
    }
    .step-content h3 {
        font-size: 16px;
        line-height: 1.35;
    }
    .step-content p {
        font-size: 13px;
        line-height: 1.5;
    }
    .step-content .btn-primary,
    .timeline-step .btn-primary {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
        padding: 12px 14px;
        font-size: 14px;
        white-space: nowrap;
    }
    .accordion {
        margin-bottom: 30px;
    }
    .accordion-header {
        padding: 14px 16px;
        font-size: 15px;
        line-height: 1.35;
        gap: 10px;
    }
    .accordion-icon {
        font-size: 18px;
        flex-shrink: 0;
    }
    .accordion-content {
        padding: 0 16px;
        font-size: 14px;
        line-height: 1.55;
    }
    .accordion-item.active .accordion-content {
        padding: 14px 16px;
    }
    .stats-infographic {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 16px;
    }
    .stat-box {
        padding: 20px 16px;
        border-radius: 14px;
    }
    .stat-number {
        font-size: 32px;
        margin-bottom: 4px;
    }
    .stat-label {
        font-size: 14px;
    }
    .stat-subtitle {
        font-size: 12px;
        line-height: 1.4;
    }
    .fz-stat-highlight {
        padding: 16px 14px;
        border-radius: 14px;
        margin-top: 18px;
    }
    .fz-stat-highlight h4 {
        font-size: 15px;
        margin-bottom: 8px;
        line-height: 1.35;
    }
    .fz-stat-highlight li {
        font-size: 13px;
        padding-left: 14px;
        margin-bottom: 8px;
        line-height: 1.45;
    }
    .docs-grid {
        grid-template-columns: 1fr;
        margin-bottom: 30px;
        gap: 10px;
    }
    .fz-useful-links-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .doc-link {
        padding: 14px 12px;
        gap: 12px;
        border-radius: 12px;
    }
    .doc-link .icon {
        font-size: 26px;
        flex-shrink: 0;
    }
    .doc-link .text {
        font-size: 13px;
        line-height: 1.35;
        word-break: break-word;
    }
    .doc-link .text span {
        font-size: 11px !important;
    }
    .section-header {
        font-size: 22px;
        margin: 35px 0 18px;
        gap: 10px;
        word-break: break-word;
        line-height: 1.3;
    }
    .section-header::before {
        height: 22px;
        width: 5px;
        flex-shrink: 0;
    }

    /* Места на мобильных: переключение на адаптивные карточки */
    .places-box {
        padding: 18px 14px;
        margin: 15px 0 25px;
        border-radius: 16px;
    }
    .places-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 14px;
        padding-bottom: 10px;
    }
    .places-title {
        font-size: 16px;
        line-height: 1.35;
    }
    .places-date {
        font-size: 12px;
        padding: 3px 10px;
    }
    .places-desktop-only {
        display: none !important;
    }
    .places-mobile-card {
        display: block !important;
    }
    .places-mobile-service {
        font-size: 14px;
        font-weight: 700;
        color: var(--text-dark);
        line-height: 1.4;
        margin-bottom: 12px;
        padding-bottom: 10px;
        border-bottom: 1px solid #f0f0f0;
    }
    .places-mobile-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .places-m-box {
        background: #f8f9fa;
        border: 1px solid #eef0f3;
        border-radius: 12px;
        padding: 14px 10px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .places-m-box.places-m-free {
        background: rgba(217, 83, 79, 0.05);
        border-color: rgba(217, 83, 79, 0.15);
    }
    .places-m-label {
        font-size: 11px;
        font-weight: 600;
        color: var(--text-light);
        text-transform: uppercase;
        letter-spacing: 0.3px;
        margin-bottom: 4px;
    }
    .places-m-val {
        font-size: 26px;
        font-weight: 800;
        color: var(--text-dark);
        line-height: 1.1;
    }
    .places-m-val.text-free {
        color: #d9534f;
    }
    .places-m-note {
        font-size: 10px;
        color: var(--text-light);
        margin-top: 4px;
        line-height: 1.25;
    }

    /* Архив тарифов на мобильных */
    .tariff-archive-wrapper {
        margin-top: -15px;
        margin-bottom: 35px;
    }
    .tariff-archive-card {
        border-radius: 14px;
    }
    .tariff-archive-header {
        padding: 14px 12px;
        gap: 10px;
    }
    .tariff-archive-icon {
        font-size: 24px;
    }
    .tariff-archive-title {
        font-size: 15px;
    }
    .tariff-archive-subtitle {
        font-size: 12px;
    }
    .tariff-archive-content {
        padding: 0 12px 16px;
    }
    .tariff-archive-col-title {
        font-size: 13px;
        margin-bottom: 10px;
    }
    .tariff-file-item {
        padding: 10px 12px;
        gap: 8px;
    }
    .tariff-file-item-left .f-name {
        font-size: 12px;
        line-height: 1.3;
        word-break: break-word;
    }
    .tariff-file-item-badge {
        font-size: 10px;
        padding: 2px 6px;
    }

    /* Карточка отзывов на мобильных */
    .fz-rating-card {
        padding: 20px 14px;
        border-radius: 16px;
        margin-bottom: 35px;
        gap: 20px;
        flex-direction: column;
        align-items: stretch;
    }
    .fz-rating-info {
        min-width: 0;
        width: 100%;
        text-align: center;
    }
    .fz-rating-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .fz-rating-desc {
        font-size: 14px;
        margin-bottom: 18px;
        line-height: 1.5;
    }
    .fz-rating-actions {
        justify-content: center;
    }
    .fz-rating-actions .btn-primary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        font-size: 14px;
        padding: 12px 20px;
    }
    .fz-rating-badge {
        margin: 0 auto;
        width: 160px;
        height: 160px;
        padding: 20px 12px;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        min-width: 0;
    }
    .fz-rating-score {
        font-size: 42px;
        line-height: 1;
    }
    .fz-rating-label {
        font-size: 12px;
        margin-top: 6px;
        line-height: 1.25;
    }

    /* Полезные ссылки на мобильных */
    .fz-useful-links-card {
        padding: 20px 14px;
        border-radius: 16px;
        margin-bottom: 30px;
    }
    .fz-useful-links-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }
    .fz-useful-links-col h3 {
        font-size: 16px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    .fz-gov-links li {
        font-size: 13px;
        line-height: 1.55;
        margin-bottom: 10px;
        padding-left: 16px;
    }
    .fz-bus-notice {
        padding: 14px;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(197, 78, 112, 0.04) 0%, rgba(235, 160, 78, 0.03) 100%);
        border: 1px dashed rgba(197, 78, 112, 0.2);
    }
    .fz-bus-notice p {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* ==========================================================================
   Свободные места 442-ФЗ
   ========================================================================== */

/* Свободные места 442-ФЗ */
.places-box {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid #f0f0f0;
    box-shadow: var(--shadow-sm);
    margin: 20px 0 40px;
}
.places-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(197, 78, 112, 0.1);
    padding-bottom: 15px;
}
.places-title {
    font-size: 20px;
    color: var(--text-dark);
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.places-date {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
    background: rgba(0, 0, 0, 0.05);
    padding: 4px 12px;
    border-radius: 20px;
}
.places-table-wrap {
    overflow-x: auto;
}
.places-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 15px;
}
.places-table thead tr,
.places-table tr.header-row {
    background: rgba(197, 78, 112, 0.05);
    border-bottom: 2px solid var(--primary);
}
.places-table th {
    padding: 12px 15px;
    font-weight: bold;
    color: var(--text-dark);
}
.places-table th.center {
    text-align: center;
}
.places-table tbody tr,
.places-table tr.data-row {
    border-bottom: 1px solid #eee;
}
.places-table td {
    padding: 15px;
    color: var(--text-dark);
}
.places-table td.center {
    text-align: center;
    font-weight: bold;
}
.places-cell-free {
    text-align: center;
    font-weight: bold;
    color: #d9534f;
    background: rgba(217, 83, 79, 0.05);
    padding: 15px;
}
.places-cell-count {
    font-size: 20px;
    display: block;
}
.places-cell-note {
    font-size: 11px;
    color: var(--text-light);
    font-weight: normal;
    margin-top: 4px;
    display: block;
}
.places-mobile-card {
    display: none;
}

/* ==========================================================================
   Блок проверок и надзора
   ========================================================================== */

/* Блок проверок */
.inspection-cards-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.inspection-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    border: 1.5px solid rgba(0,0,0,0.03);
    box-shadow: var(--shadow-sm);
}
.inspection-card-inner {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.inspection-card-icon {
    color: var(--primary);
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
    padding-top: 2px;
}
.inspection-badge {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(197, 78, 112, 0.08);
    border: 1px solid rgba(197, 78, 112, 0.16);
    padding: 3px 12px;
    border-radius: 100px;
    letter-spacing: 0.3px;
    line-height: 1.5;
}
.inspection-card-title {
    font-size: 17px;
    color: var(--text-dark);
    margin: 0 0 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.4;
}
.inspection-card-desc {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0 0 16px;
}
.inspection-card-btn {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    width: auto;
}
.inspection-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin: 45px 0 20px;
}
.inspection-section-title {
    font-size: 26px;
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
@media (max-width: 768px) {
    .inspection-section-title {
        font-size: 21px;
    }
}

/* ==========================================================================
   442-ФЗ: информационные карточки
   ========================================================================== */

/* Блоки страницы 442-ФЗ */
.fz-rating-card {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0f0f0;
    margin-top: 40px;
}
.fz-rating-info {
    flex: 1;
    min-width: 300px;
}
.fz-rating-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
}
.fz-rating-desc {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}
.fz-rating-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.fz-rating-badge {
    flex: 0 0 auto;
    text-align: center;
    background: rgba(235, 160, 78, 0.1);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid rgba(235, 160, 78, 0.2);
    min-width: 220px;
}
.fz-rating-score {
    font-size: 64px;
    color: var(--secondary);
    font-weight: bold;
    line-height: 1;
    display: block;
}
.fz-rating-label {
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    display: block;
}
.fz-useful-links-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid #f0f0f0;
    box-shadow: var(--shadow-sm);
    margin-top: 40px;
}
.fz-useful-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}
.fz-useful-links-col h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: bold;
    border-bottom: 2px solid rgba(197, 78, 112, 0.1);
    padding-bottom: 8px;
}
.fz-useful-list {
    list-style: none;
    padding-left: 0;
    line-height: 1.8;
    margin: 0;
}
.fz-useful-list li {
    margin-bottom: 12px;
    padding-left: 18px;
    position: relative;
}
.fz-useful-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: bold;
}
.fz-useful-list a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.fz-useful-list a:hover {
    text-decoration: underline;
}
.fz-evaluation-notice {
    background: linear-gradient(135deg, rgba(197, 78, 112, 0.03) 0%, rgba(235, 160, 78, 0.02) 100%);
    border-radius: var(--radius-sm);
    border: 1px dashed rgba(197, 78, 112, 0.2);
    padding: 25px;
}
.fz-evaluation-notice p {
    font-size: 16px;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}
.fz-evaluation-notice a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
}
.fz-stat-highlight {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 16px;
    margin-top: 25px;
    border: 1px solid rgba(0,0,0,0.04);
}
.fz-stat-highlight h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
}
.fz-stat-highlight ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.fz-stat-highlight li {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
    padding-left: 15px;
    position: relative;
}
.fz-stat-highlight li:last-child {
    margin-bottom: 0;
}
.fz-stat-highlight li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
}
.stat-box--secondary { border-top-color: var(--secondary); }
.stat-box--accent { border-top-color: var(--accent); }
.stat-box--primary { border-top-color: var(--primary); }

/* Блок ссылок на госорганы */
.fz-gov-links ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
    line-height: 1.8 !important;
}
.fz-gov-links li {
    margin-bottom: 12px !important;
    padding-left: 20px !important;
    position: relative !important;
}
.fz-gov-links li::before {
    content: '•' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: var(--primary) !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
}
.fz-gov-links a {
    color: var(--primary) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
.fz-gov-links a:hover {
    text-decoration: underline !important;
    color: #a33b58 !important;
}

/* ==========================================================================
   Блок преимуществ электронных услуг
   ========================================================================== */
.fz-electronic-services-block {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid #eef0f3;
}
.fz-electronic-services-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Manrope', sans-serif;
    line-height: 1.35;
}
.fz-es-icon {
    color: var(--primary);
    flex-shrink: 0;
}
.fz-electronic-services-content ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 28px;
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}
.fz-electronic-services-content li {
    position: relative;
    padding-left: 20px !important;
    margin-bottom: 0 !important;
    font-size: 14.5px;
    line-height: 1.55;
    color: #4a5568;
}
.fz-electronic-services-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: -1px;
    color: var(--primary);
    font-size: 20px;
    line-height: 1.2;
    font-weight: bold;
}

/* ==========================================================================
   Сетка Общественного совета и мобильная адаптивность проверок
   ========================================================================== */
.inspection-council-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 18px;
    margin-top: 25px;
}
@media (max-width: 600px) {
    .inspection-council-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .inspection-card {
        padding: 18px 14px;
    }
    .inspection-card-inner {
        flex-direction: column;
        gap: 10px;
    }
    .inspection-card-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .fz-rating-card {
        padding: 24px 18px;
    }
    .fz-rating-info {
        min-width: 0;
    }
    .fz-rating-badge {
        min-width: 0;
        width: 100%;
        padding: 24px 16px;
    }
    .fz-useful-links-card {
        padding: 22px 16px;
    }
    .fz-useful-links-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .fz-useful-links-col {
        min-width: 0;
        width: 100%;
    }
    .fz-electronic-services-block {
        margin-top: 22px;
        padding-top: 20px;
    }
    .fz-electronic-services-title {
        font-size: 16px;
        align-items: flex-start;
        gap: 8px;
    }
    .fz-es-icon {
        margin-top: 2px;
    }
    .fz-electronic-services-content ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .fz-electronic-services-content li {
        font-size: 13.5px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .timeline-step {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 14px;
    }
    .step-content {
        width: 100%;
        min-width: 0;
    }
    .step-content .btn-primary,
    .timeline-step .btn-primary {
        width: 100%;
        white-space: normal;
        word-break: normal;
        font-size: 13px;
        padding: 10px 12px;
    }
}

