/* =============================================
   RUSBIZ Alert — Основные стили
   Минималистичный, нейтральный дизайн
   Mobile-first подход
   ============================================= */

:root {
    --color-bg: #f8f9fa;
    --color-white: #ffffff;
    --color-text: #1a1a2e;
    --color-text-muted: #6b7280;
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-border: #e5e7eb;
    --color-success: #22c55e;
    --color-warning: #eab308;
    --color-danger: #ef4444;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1140px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* === Container === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }

/* === Buttons === */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 20px; border-radius: var(--radius);
    font-size: 0.9rem; font-weight: 500;
    border: none; cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-outline { background: transparent; border: 1px solid var(--color-border); color: var(--color-text); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-sm { padding: 6px 12px; font-size: 0.8rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-success { background: var(--color-success); color: #fff; }
.btn-danger { background: var(--color-danger); color: #fff; }

/* === Header === */
.site-header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky; top: 0; z-index: 100;
}
.site-header .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 60px;
}
.logo {
    font-size: 1.2rem; font-weight: 700; color: var(--color-text);
    text-decoration: none !important;
}
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { color: var(--color-text-muted); font-size: 0.9rem; text-decoration: none; }
.main-nav a:hover { color: var(--color-primary); }
.main-nav .btn-primary { color: #fff !important; }
.main-nav .btn-primary:hover { color: #fff !important; text-decoration: none; }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-btn span {
    display: block; width: 22px; height: 2px; background: var(--color-text);
    margin: 5px 0; transition: 0.3s;
}

/* === Hero === */
.hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    color: #fff;
    text-align: center;
    padding: 64px 0 56px;
}
.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.hero h1 { font-size: 1.8rem; font-weight: 700; line-height: 1.2; }
.hero p  { font-size: 1rem; opacity: 0.85; max-width: 520px; line-height: 1.6; }

/* === Search === */
.search-section { padding: 24px 0; background: var(--color-white); border-bottom: 1px solid var(--color-border); }
.search-bar { display: flex; gap: 8px; margin-bottom: 16px; }
.search-bar input {
    flex: 1; padding: 12px 16px; border: 1px solid var(--color-border);
    border-radius: var(--radius); font-size: 0.95rem; outline: none;
}
.search-bar input:focus { border-color: var(--color-primary); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters select {
    padding: 8px 12px; border: 1px solid var(--color-border);
    border-radius: var(--radius); font-size: 0.85rem; background: var(--color-white);
    cursor: pointer; outline: none;
}
.filters select:focus { border-color: var(--color-primary); }

/* === Reports Grid === */
.reports-section { padding: 32px 0; }
.results-count { margin-bottom: 20px; color: var(--color-text-muted); font-size: 0.9rem; }
.reports-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

/* === Report Card === */
.report-card {
    background: var(--color-white); border-radius: var(--radius-lg);
    padding: 20px; border: 1px solid var(--color-border);
    transition: box-shadow 0.2s;
}
.report-card:hover { box-shadow: var(--shadow-md); }
.card-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.card-category, .card-problem {
    font-size: 0.75rem; color: var(--color-text-muted);
    background: var(--color-bg); padding: 3px 8px; border-radius: 4px;
}
.report-card h3 { font-size: 1rem; margin-bottom: 6px; line-height: 1.4; }
.report-card h3 a { color: var(--color-text); }
.report-card h3 a:hover { color: var(--color-primary); }
.card-company {
    font-size: 0.85rem;
    color: var(--color-text);
    margin-bottom: 10px;
    background: #f1f5f9;
    border-left: 3px solid #cbd5e1;
    border-radius: 4px;
    padding: 6px 10px;
    line-height: 1.4;
}
.card-company-label {
    font-size: 0.8rem;
    color: #94a3b8;
}
.card-company-name { font-weight: 500; }
.card-city { font-size: 0.8rem; color: var(--color-text-muted); }
.card-city { font-size: 0.85rem; }
.card-desc { font-size: 0.88rem; color: var(--color-text-muted); line-height: 1.5; margin-bottom: 12px; }
.card-footer { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--color-text-muted); }

/* === Badge === */
.badge {
    display: inline-block; padding: 3px 10px; border-radius: 20px;
    font-size: 0.75rem; font-weight: 600;
}
.risk-green { background: #f0fdf4; color: #22c55e; border: 1px solid #22c55e; }
.risk-yellow { background: #fefce8; color: #ca8a04; border: 1px solid #eab308; }
.risk-red { background: #fef2f2; color: #ef4444; border: 1px solid #ef4444; }
.status-pending { background: #f3f4f6; color: #6b7280; }
.status-published { background: #f0fdf4; color: #22c55e; }
.status-rejected { background: #fef2f2; color: #ef4444; }
.status-info { background: #eff6ff; color: #2563eb; }
.status-resolved { background: #f0fdf4; color: #16a34a; }

/* === Breadcrumb === */
.breadcrumb { padding: 16px 0; font-size: 0.85rem; color: var(--color-text-muted); }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }

/* === Report Detail === */
.report-detail { padding: 24px 0 48px; }
.report-header { margin-bottom: 24px; }
.report-meta-top { display: flex; gap: 8px; margin-bottom: 12px; }
.report-header h1 { font-size: 1.6rem; margin-bottom: 12px; }
.report-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.9rem; color: var(--color-text-muted); }
.report-summary { padding: 16px; background: #f1f5f9; border-radius: var(--radius); margin-bottom: 24px; }
.report-summary p { font-size: 0.95rem; }
.report-full { margin-bottom: 24px; line-height: 1.7; }
.report-details { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 16px; margin-bottom: 24px; }
.detail-item { display: flex; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--color-border); }
.detail-item:last-child { border: none; }
.detail-label { font-weight: 600; min-width: 160px; }
.report-attachments { margin-bottom: 24px; }
.report-attachments h3 { font-size: 1rem; margin-bottom: 12px; }
.attachments-list { display: flex; flex-wrap: wrap; gap: 8px; }
.attachment-link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; background: var(--color-bg); border: 1px solid var(--color-border);
    border-radius: var(--radius); font-size: 0.85rem;
}
.report-footer { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--color-border); }

/* === Company Detail === */
.company-detail { padding: 24px 0 48px; }
.company-header { margin-bottom: 24px; }
.company-header h1 { font-size: 1.6rem; margin-bottom: 12px; }
.company-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.company-actions { margin-bottom: 32px; }

/* === Form === */
.submit-form { max-width: 720px; padding-bottom: 48px; }
fieldset { border: none; margin-bottom: 24px; }
legend { font-size: 1.1rem; font-weight: 600; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--color-border); width: 100%; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 0.9rem; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 10px 14px; border: 1px solid var(--color-border);
    border-radius: var(--radius); font-size: 0.9rem; font-family: var(--font);
    outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--color-primary);
}
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }
.form-hint { color: var(--color-text-muted); font-size: 0.8rem; margin-top: 4px; display: block; }
.required { color: var(--color-danger); }
.form-checkbox { margin-bottom: 20px; }
.form-checkbox label {
    display: flex; gap: 12px; align-items: flex-start;
    font-size: 0.88rem; cursor: pointer; line-height: 1.5;
    padding: 14px 16px; background: #f8f9fa;
    border: 1px solid var(--color-border); border-radius: var(--radius);
}
.form-checkbox input[type="checkbox"] {
    width: 18px; height: 18px; flex-shrink: 0;
    margin-top: 2px; cursor: pointer; accent-color: var(--color-primary);
}
.form-checkbox .checkbox-text { flex: 1; }
.form-actions { padding-top: 16px; }
.page-subtitle { color: var(--color-text-muted); margin-bottom: 24px; }

/* === Alerts === */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.9rem; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert ul { margin-top: 8px; padding-left: 20px; }

/* === Pagination === */
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 32px; flex-wrap: wrap; }
.page-link {
    padding: 8px 14px; border: 1px solid var(--color-border);
    border-radius: var(--radius); font-size: 0.85rem;
    color: var(--color-text); text-decoration: none;
}
.page-link:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); text-decoration: none; }
.page-link.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* === Empty state === */
.empty-state { text-align: center; padding: 60px 20px; color: var(--color-text-muted); }
.empty-state p { margin-bottom: 16px; }

/* === 404 === */
.error-page { text-align: center; padding: 80px 20px; }
.error-page h1 { font-size: 4rem; color: var(--color-text-muted); }
.error-page p { margin: 12px 0 24px; color: var(--color-text-muted); }

/* === Footer === */
.site-footer { background: #1a1a2e; color: #9ca3af; padding: 48px 0 24px; margin-top: 48px; }
.footer-content { display: flex; gap: 48px; flex-wrap: wrap; margin-bottom: 32px; }
.footer-info { flex: 1; min-width: 240px; }
.footer-brand { color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.footer-desc { font-size: 0.85rem; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-heading { color: #fff; font-weight: 600; margin-bottom: 4px; font-size: 0.9rem; }
.footer-links a { color: #9ca3af; font-size: 0.85rem; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-legal { border-top: 1px solid #2a2a3e; padding-top: 20px; font-size: 0.8rem; }
.footer-legal a { color: #93c5fd; }

/* === Companies List Page === */
.companies-page { padding: 24px 0 48px; }
.page-header { margin-bottom: 24px; }
.page-header h1 { font-size: 1.8rem; margin-bottom: 8px; }
.companies-filters { margin-bottom: 24px; }

.companies-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }

.company-card {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--color-white); border: 1px solid var(--color-border);
    border-radius: var(--radius-lg); padding: 16px 20px;
    transition: box-shadow 0.2s;
    gap: 16px;
}
.company-card:hover { box-shadow: var(--shadow-md); }

.company-card-left { flex: 1; min-width: 0; }
.company-card-name { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.company-card-name a { color: var(--color-text); text-decoration: none; }
.company-card-name a:hover { color: var(--color-primary); }
.company-card-meta { display: flex; gap: 8px; flex-wrap: wrap; }

.meta-tag {
    font-size: 0.75rem; color: var(--color-text-muted);
    background: var(--color-bg); padding: 3px 10px;
    border-radius: 20px; border: 1px solid var(--color-border);
}

.company-card-right {
    display: flex; align-items: center; gap: 12px;
    flex-shrink: 0;
}

.case-count { font-size: 0.85rem; white-space: nowrap; }
.count-zero { color: var(--color-text-muted); }
.count-link { text-decoration: none; font-weight: 500; }
.count-link:hover { text-decoration: underline; }
.count-warning { color: #ca8a04; }
.count-danger { color: var(--color-danger); }

/* === Photo Gallery (report page) === */
.photo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 20px;
}

.photo-thumb {
    position: relative;
    display: block;
    width: 130px;
    height: 100px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    flex-shrink: 0;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.photo-thumb:hover {
    transform: scale(1.04);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.photo-thumb img {
    width: 130px !important;
    height: 100px !important;
    min-width: 130px !important;
    max-width: 130px !important;
    min-height: 100px !important;
    max-height: 100px !important;
    object-fit: cover !important;
    display: block !important;
}

.photo-size {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 0.7rem;
    text-align: center;
    padding: 2px 4px;
}

.report-attachments h3 {
    font-size: 1rem;
    margin: 16px 0 8px;
}

/* === Provider Response (public report page) === */
.provider-response {
    margin-top: 32px;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-lg);
    background: #f0fdf4;
    overflow: hidden;
}

.response-header {
    display: flex; align-items: center; gap: 12px;
    flex-wrap: wrap;
    padding: 12px 20px;
    background: #dcfce7;
    border-bottom: 1px solid #bbf7d0;
}

.response-badge {
    font-weight: 600; font-size: 0.85rem;
    color: #15803d;
}

.response-meta {
    font-size: 0.8rem; color: #4b7c59;
}

.response-body {
    padding: 16px 20px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text);
}

/* === Respond Page (provider self-service) === */
.respond-page {
    max-width: 720px;
    margin: 40px auto;
    padding: 0 16px 60px;
}

.respond-header { margin-bottom: 24px; }
.respond-header h1 { font-size: 1.6rem; margin-bottom: 6px; }

.respond-report-preview {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 24px;
}

.preview-label {
    font-size: 0.75rem; color: var(--color-text-muted);
    text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.respond-report-preview h3 { font-size: 1.1rem; margin-bottom: 8px; }
.respond-report-preview p { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 12px; }

.respond-form { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px; }

/* === Admin: Response Link Box === */
.response-link-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 16px;
}

.response-link-box p { margin-bottom: 10px; font-size: 0.9rem; }

.response-link-row {
    display: flex; gap: 8px; align-items: center;
}

.response-link-row input[type="text"] {
    flex: 1; font-size: 0.8rem; font-family: monospace;
    background: var(--color-white); cursor: text;
}

.existing-response {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius);
    padding: 16px;
}

.existing-response blockquote {
    border-left: 3px solid #4ade80;
    margin: 10px 0;
    padding-left: 12px;
    font-size: 0.9rem;
    color: var(--color-text);
}

/* === Private Notice (submit form) === */
.private-notice {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 0.85rem;
    color: #166534;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* === Legal Pages (terms, privacy, disclaimer, dispute, about, contact) === */
.legal-page {
    max-width: 800px;
    margin: 40px auto;
    padding-bottom: 60px;
}

.legal-header { margin-bottom: 32px; }
.legal-header h1 { font-size: 2rem; margin-bottom: 8px; }
.legal-updated { color: var(--color-text-muted); font-size: 0.85rem; }

.legal-toc {
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 32px;
    font-size: 0.9rem;
}
.legal-toc ol { margin: 8px 0 0 20px; }
.legal-toc li { margin-bottom: 4px; }

.legal-body section {
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--color-border);
}
.legal-body section:last-child { border-bottom: none; }

.legal-body h2 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--color-text);
}
.legal-body h3 {
    font-size: 1rem;
    margin: 16px 0 8px;
    color: var(--color-text);
}
.legal-body p { margin-bottom: 12px; line-height: 1.7; }
.legal-body ul, .legal-body ol {
    margin: 0 0 12px 24px;
    line-height: 1.7;
}
.legal-body li { margin-bottom: 6px; }

.legal-notice {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.6;
}
.legal-notice-important {
    background: #fef2f2;
    border-color: #fecaca;
}

.legal-footer-links {
    display: flex; gap: 16px; flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
}

/* === Contact Page === */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}
.contact-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.contact-card-icon { font-size: 2rem; margin-bottom: 12px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 8px; }
.contact-card p { font-size: 0.88rem; color: var(--color-text-muted); margin-bottom: 12px; }
.contact-hint { font-size: 0.8rem !important; margin-top: 8px !important; }
.contact-response-time {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 24px;
}
.contact-response-time h3 { font-size: 0.95rem; margin-bottom: 10px; }
.contact-response-time ul { margin-left: 20px; font-size: 0.9rem; }
.contact-response-time li { margin-bottom: 4px; }

/* === How It Works CTA === */
.how-cta {
    display: flex; gap: 12px; flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

/* === Provider Invite (report page, no response yet) === */
.provider-invite {
    display: flex; align-items: center; gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding: 16px 20px;
    border: 1px dashed #93c5fd;
    border-radius: var(--radius-lg);
    background: #eff6ff;
}

.provider-invite-icon { font-size: 1.6rem; flex-shrink: 0; }

.provider-invite div {
    flex: 1; min-width: 200px;
}

.provider-invite strong {
    display: block; font-size: 0.95rem; margin-bottom: 3px;
}

.provider-invite span {
    font-size: 0.85rem; color: var(--color-text-muted);
}

/* === Admin: Danger Zone === */
.danger-zone {
    margin-top: 40px;
    padding: 20px 24px;
    border: 1px solid #fecaca;
    border-radius: var(--radius-lg);
    background: #fff5f5;
}

.danger-zone h4 {
    font-size: 0.95rem;
    color: #b91c1c;
    margin-bottom: 6px;
}

.danger-zone p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 14px;
}

/* === Hero Stats — pill-значки === */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.hero-stat {
    padding: 6px 18px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 40px;
    background: rgba(255,255,255,0.12);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
}

/* === Reset filters button === */
.btn-reset-filters {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 0.82rem;
    color: var(--color-danger);
    border: 1px solid #fecaca;
    border-radius: var(--radius);
    background: #fef2f2;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.15s;
    cursor: pointer;
}
.btn-reset-filters:hover {
    background: var(--color-danger);
    color: #fff;
    border-color: var(--color-danger);
}

/* === Pagination dots === */
.page-link.page-dots {
    border-color: transparent;
    background: none;
    color: var(--color-text-muted);
    cursor: default;
    padding: 8px 4px;
    pointer-events: none;
}
.page-link.page-dots:hover {
    background: none;
    color: var(--color-text-muted);
    border-color: transparent;
}

/* === Similar Reports === */
.similar-reports {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}
.similar-reports__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-text);
}

/* === Responsive === */
@media (min-width: 640px) {
    .reports-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 2.2rem; }
    .hero-search { max-width: 620px; }
}

@media (min-width: 960px) {
    .reports-grid { grid-template-columns: repeat(3, 1fr); }
    .hero { padding: 72px 0 60px; }
    .hero h1 { font-size: 2.6rem; }
    .hero-search { max-width: 660px; }
}

@media (max-width: 768px) {
    .main-nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--color-white); padding: 16px; flex-direction: column; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
    .main-nav.open { display: flex; }
    .mobile-menu-btn { display: block; }
    .form-row { flex-direction: column; gap: 0; }
    .filters { flex-direction: column; }
    .filters select { width: 100%; }
    .search-bar { flex-direction: column; }
    .detail-item { flex-direction: column; gap: 2px; }
    .detail-label { min-width: auto; }
    .report-footer { flex-direction: column; }
    .footer-content { flex-direction: column; gap: 24px; }
    .company-card { flex-direction: column; align-items: flex-start; }
    .company-card-right { width: 100%; justify-content: space-between; }
}
