/* Стили главной и информационных страниц */

.page-home .header-actions { margin-left: auto; }
body.page-home .content {
    background: #f8fafc;
}
body.page-home .main-container {
    background: #f8fafc;
}

.page-home {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 8px;
}
@media (min-width: 1400px) {
    .page-home { max-width: 1920px; }
}
@media (max-width: 768px) {
    .page-home { padding: 0 4px; }
}

/* Hero */
.page-hero {
    text-align: center;
    padding: 56px 24px 48px;
    max-width: 640px;
    margin: 0 auto 48px;
}
.page-hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.page-hero .hero-lead {
    font-size: 1.0625rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Hero search with suggestions */
.hero-search-wrap {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.12);
    border: 1px solid #e5e7eb;
    background: #fff;
    overflow: visible;
}
.hero-search-wrap .hero-search-input {
    flex: 1;
    padding: 14px 18px;
    font-size: 1rem;
    border: none;
    border-radius: 10px 0 0 10px;
    outline: none;
}
.hero-search-wrap .hero-search-input::placeholder { color: #9ca3af; }
.hero-search-wrap .hero-search-btn {
    padding: 14px 22px;
    border-radius: 0 10px 10px 0;
    font-size: 1rem;
}
.hero-search-wrap .search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    z-index: 100;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    text-align: left;
}
.hero-search-wrap .search-suggestions .suggestion-item,
.hero-search-wrap .search-suggestions .suggestion-footer,
.hero-search-wrap .search-suggestions .suggestion-details {
    text-align: left;
}
.hero-search-wrap .search-suggestions.hidden { display: none !important; }

/* Секции */
.page-section {
    margin-bottom: 48px;
}
.page-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 20px;
    padding-bottom: 8px;
    letter-spacing: -0.01em;
}

/* Сетка сервисов */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.service-card {
    background: #fff;
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}
.service-card:hover {
    box-shadow: 0 8px 24px rgba(21, 101, 192, 0.08);
    border-color: #1565c0;
    transform: translateY(-1px);
}
/* Пиктограммы сервисов в стиле datanewton — цветной круг/квадрат */
.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 1.25rem;
    color: #fff;
    flex-shrink: 0;
}
.service-icon i {
    font-size: 1.25rem;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-block;
}
.service-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    display: block;
}
.service-icon-filter { background: linear-gradient(135deg, #1565c0, #0d47a1); }
.service-icon-export { background: linear-gradient(135deg, #2e7d32, #1b5e20); }
.service-icon-api { background: linear-gradient(135deg, #6a1b9a, #4a148c); }
.service-icon-court { background: linear-gradient(135deg, #37474f, #263238); }
.service-icon-lease { background: linear-gradient(135deg, #0277bd, #01579b); }
.service-icon-check { background: linear-gradient(135deg, #ef6c00, #e65100); }
.service-icon-person { background: linear-gradient(135deg, #00838f, #006064); }
.service-icon-pledge { background: linear-gradient(135deg, #5d4037, #3e2723); }
.service-icon-bankrupt { background: linear-gradient(135deg, #455a64, #263238); }
.service-icon-zsk { background: linear-gradient(135deg, #1565c0, #0d47a1); }
.service-card i {
    font-size: 1.25rem;
    color: #fff;
    margin: 0;
}
.service-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}
.service-card p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* Возможности — список */
.capabilities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.capabilities-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.9375rem;
    line-height: 1.5;
}
.capabilities-list li:last-child { border-bottom: none; }
.capabilities-list .cap-icon {
    color: #1565c0;
    font-size: 1.125rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.capabilities-list strong { color: #111827; }

/* Источники данных с логотипами */
.sources-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.sources-list .source-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.875rem;
    color: #374151;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.sources-list .source-item:hover {
    border-color: #1565c0;
    box-shadow: 0 2px 12px rgba(21, 101, 192, 0.08);
}
.source-logo {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f7fa;
}
.source-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.source-text {
    line-height: 1.4;
    font-weight: 500;
}

/* Info page */
.page-info {
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: 40px;
}
.page-info h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}
.page-info-section {
    margin-bottom: 40px;
    scroll-margin-top: 80px;
}
.page-info-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}
.page-info-section p,
.page-info-section ul {
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.65;
    margin-bottom: 12px;
}
.page-info-section ul {
    padding-left: 1.25rem;
    margin-bottom: 16px;
}
.page-info-section a {
    color: #1565c0;
    text-decoration: none;
}
.page-info-section a:hover { text-decoration: underline; }
.page-info-nav {
    background: #f9fafb;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 32px;
}
.page-info-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}
.page-info-nav a {
    color: #1565c0;
    font-size: 0.9375rem;
    text-decoration: none;
}
.page-info-nav a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .page-hero { padding: 40px 16px 32px; }
    .hero-search-wrap { max-width: 100%; }
    .services-grid { grid-template-columns: 1fr; }
    .sources-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .page-hero { padding: 32px 12px 28px; }
    .page-hero h1 { font-size: 1.5rem; }
    .service-icon { width: 44px; height: 44px; font-size: 1.1rem; }
    .source-item { padding: 12px 14px; }
    .source-logo img { width: 36px; height: 36px; }
}

/* ========== Современный стиль информационных страниц ========== */
:root{
    --page-primary: #0f766e;
    --page-primary-light: #14b8a6;
    --page-primary-dark: #0d9488;
    --page-accent: #0891b2;
    --page-text: #0f172a;
    --page-text-muted: #64748b;
    --page-bg: #f8fafc;
    --page-card: #ffffff;
    --page-border: #e2e8f0;
    --page-shadow: 0 1px 3px rgba(0,0,0,0.06);
    --page-shadow-hover: 0 10px 40px -10px rgba(15, 118, 110, 0.2);
}

.modern-page {
    max-width: 1920px;
    margin: 0 auto;
    padding: 32px 24px 64px;
    min-height: 60vh;
}
.modern-page .page-hero-modern {
    text-align: center;
    padding: 40px 0 48px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--page-border);
}
.modern-page .page-hero-modern h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--page-text);
    letter-spacing: -0.025em;
    margin-bottom: 12px;
    line-height: 1.2;
}
.modern-page .page-hero-modern .lead {
    font-size: 1.0625rem;
    color: var(--page-text-muted);
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto;
}

.modern-card {
    background: var(--page-card);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: var(--page-shadow);
    border: 1px solid var(--page-border);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.modern-card:hover {
    box-shadow: var(--page-shadow-hover);
    border-color: rgba(15, 118, 110, 0.2);
}
.modern-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--page-text);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.modern-card h2::before {
    content: '';
    width: 4px;
    height: 1.25em;
    background: linear-gradient(180deg, var(--page-primary), var(--page-primary-light));
    border-radius: 2px;
}
.modern-card p, .modern-card ul, .modern-card ol {
    font-size: 0.9375rem;
    color: var(--page-text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}
.modern-card ul, .modern-card ol { padding-left: 1.25rem; margin-bottom: 16px; }
.modern-card li { margin-bottom: 6px; }
.modern-card a {
    color: var(--page-primary);
    text-decoration: none;
    font-weight: 500;
}
.modern-card a:hover { text-decoration: underline; }

.modern-nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}
.modern-nav-pills a {
    display: inline-block;
    padding: 10px 18px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--page-text-muted);
    background: var(--page-card);
    border: 1px solid var(--page-border);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.modern-nav-pills a:hover {
    color: var(--page-primary);
    border-color: var(--page-primary);
    background: rgba(15, 118, 110, 0.05);
}

.contact-card {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(8, 145, 178, 0.06));
    border: 1px solid rgba(15, 118, 110, 0.2);
}
.contact-card .contact-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--page-primary);
    padding: 16px 24px;
    background: var(--page-card);
    border-radius: 12px;
    margin-top: 12px;
    text-decoration: none;
    border: 1px solid var(--page-border);
    transition: all 0.2s ease;
}
.contact-card .contact-email:hover {
    border-color: var(--page-primary);
    box-shadow: 0 4px 20px rgba(15, 118, 110, 0.15);
}
.contact-card .contact-email i { font-size: 1.125rem; color: var(--page-primary); }

.site-data-table-wrap, .prices-table-wrap { overflow-x: auto; margin: 16px 0; border-radius: 12px; border: 1px solid var(--page-border); }
.site-data-table, .prices-table {
    width: 100%; border-collapse: collapse; font-size: 0.9375rem;
}
.site-data-table th, .site-data-table td, .prices-table th, .prices-table td {
    padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--page-border);
}
.site-data-table th, .prices-table th {
    background: var(--page-bg); font-weight: 600; color: var(--page-text);
}
.site-data-table tr:last-child td, .prices-table tr:last-child td { border-bottom: none; }
.site-data-table tr:hover td, .prices-table tr:hover td { background: rgba(15, 118, 110, 0.03); }

.site-back-links {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--page-border);
    font-size: 0.875rem;
    color: var(--page-text-muted);
}
.site-back-links a { color: var(--page-primary); text-decoration: none; font-weight: 500; }
.site-back-links a:hover { text-decoration: underline; }
.site-back-links .sep { margin: 0 12px; color: var(--page-border); }

.site-cta-box {
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.06), rgba(8, 145, 178, 0.04));
    border: 1px solid rgba(15, 118, 110, 0.15);
    border-radius: 14px;
    font-size: 0.9375rem;
    color: var(--page-text-muted);
    margin-top: 32px;
}
.site-cta-box a { color: var(--page-primary); font-weight: 600; }

@media (max-width: 768px) {
    .modern-page { padding: 24px 16px 48px; }
    .modern-card { padding: 20px 20px; }
    .contact-card .contact-email { font-size: 1rem; padding: 14px 18px; }
}

/* ========== Rich cards (стиль как на странице Тарифы) ========== */
.page-hero-rich {
    text-align: center;
    padding: 48px 32px 56px;
    margin: -32px -24px 40px -24px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.06), rgba(8, 145, 178, 0.04));
    border-radius: 0 0 24px 24px;
    border-bottom: 1px solid var(--page-border);
}
.page-hero-rich h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--page-text);
    letter-spacing: -0.025em;
    margin-bottom: 12px;
    line-height: 1.2;
}
.page-hero-rich .lead {
    font-size: 1.0625rem;
    color: var(--page-text-muted);
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto;
}

.rich-card {
    background: var(--page-card);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 24px;
    border: 1px solid var(--page-border);
    box-shadow: var(--page-shadow);
    transition: box-shadow 0.25s ease, transform 0.2s ease;
}
.rich-card:hover {
    box-shadow: var(--page-shadow-hover);
    border-color: rgba(15, 118, 110, 0.2);
}
.rich-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.rich-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.rich-card-icon.teal { background: linear-gradient(135deg, rgba(15, 118, 110, 0.15), rgba(20, 184, 166, 0.1)); color: var(--page-primary); }
.rich-card-icon.blue { background: linear-gradient(135deg, rgba(29, 78, 216, 0.15), rgba(59, 130, 246, 0.1)); color: #1d4ed8; }
.rich-card-icon.amber { background: linear-gradient(135deg, rgba(180, 83, 9, 0.12), rgba(245, 158, 11, 0.08)); color: #b45309; }
.rich-card-icon.green { background: linear-gradient(135deg, rgba(4, 120, 87, 0.15), rgba(16, 185, 129, 0.1)); color: #047857; }
.rich-card-icon.purple { background: linear-gradient(135deg, rgba(107, 33, 168, 0.12), rgba(139, 92, 246, 0.08)); color: #6b21a8; }
.rich-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--page-text);
    margin: 0;
}
.rich-card p, .rich-card ul, .rich-card ol {
    font-size: 0.9375rem;
    color: var(--page-text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}
.rich-card ul, .rich-card ol { padding-left: 1.25rem; margin-bottom: 16px; }
.rich-card li { margin-bottom: 6px; }
.rich-card a {
    color: var(--page-primary);
    text-decoration: none;
    font-weight: 500;
}
.rich-card a:hover { text-decoration: underline; }

.rich-contact-card {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(8, 145, 178, 0.05));
    border: 2px solid rgba(15, 118, 110, 0.25);
}
.rich-contact-card .contact-email {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--page-primary);
    padding: 18px 28px;
    background: var(--page-card);
    border-radius: 14px;
    margin-top: 12px;
    text-decoration: none;
    border: 2px solid var(--page-primary);
    transition: all 0.2s ease;
}
.rich-contact-card .contact-email:hover {
    background: var(--page-primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.25);
}
.rich-contact-card .contact-email i { font-size: 1.25rem; }

.info-quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}
.info-quick-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--page-card);
    border-radius: 14px;
    border: 1px solid var(--page-border);
    text-decoration: none;
    color: var(--page-text);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}
.info-quick-link:hover {
    border-color: var(--page-primary);
    box-shadow: var(--page-shadow-hover);
    color: var(--page-primary);
}
.info-quick-link i {
    font-size: 1.25rem;
    color: var(--page-primary);
}

.blog-rich-item {
    padding: 20px 24px;
    margin-bottom: 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}
.blog-rich-item:hover {
    background: rgba(15, 118, 110, 0.05);
    border-color: rgba(15, 118, 110, 0.2);
}
.blog-rich-item h3 a { color: inherit; text-decoration: none; }
.blog-rich-item:hover h3 a { color: var(--page-primary); }

.site-data-table-wrap.sources-wrap {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.sources-rich-table thead th {
    background: linear-gradient(135deg, #0f766e, #14b8a6) !important;
    color: #fff !important;
    font-weight: 600;
    padding: 16px 20px !important;
}
.sources-rich-table tbody tr:nth-child(even) { background: rgba(15, 118, 110, 0.03); }
.sources-rich-table tbody tr:hover td { background: rgba(15, 118, 110, 0.08) !important; }

.stats-rich-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
.stats-rich-card {
    background: var(--page-card);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    border: 1px solid var(--page-border);
    box-shadow: var(--page-shadow);
    transition: all 0.25s ease;
}
.stats-rich-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--page-shadow-hover);
    border-color: rgba(15, 118, 110, 0.3);
}
.stats-rich-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    border-radius: 14px;
    font-size: 1.5rem;
    color: #fff;
}
.stats-rich-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--page-text);
    margin-bottom: 4px;
}
.stats-rich-label { font-size: 0.875rem; color: var(--page-text-muted); }

@media (max-width: 768px) {
    .page-hero-rich { margin: -24px -16px 32px -16px; padding: 36px 20px 44px; }
    .info-quick-links { grid-template-columns: 1fr; }
}
