/* 
   Project: AuditCol Colombia - Final CSS 
   Style: Professional Fintech / Audit Journal
   Layout: Responsive Grid 
*/

:root {
    --color-bg: #ffffff;
    --color-surface: #f8fafc;
    --color-primary: #0f172a; /* Slate Black */
    --color-accent: #1d4ed8;  /* Blue */
    --color-gold: #ca8a04;    /* Gold for Badges */
    --color-text: #334155;
    --color-text-light: #64748b;
    --color-border: #e2e8f0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- Layout --- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow { max-width: 800px; }
.container--text { max-width: 750px; }

.text-center { text-align: center; }
.text-left { text-align: left; }

/* --- Legal Top Bar --- */
.legal-bar, .legal-top-bar {
    background: #000;
    color: #94a3b8;
    font-size: 11px;
    padding: 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* --- Header --- */
.header, .site-header {
    border-bottom: 1px solid var(--color-border);
    padding: 20px 0;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__wrapper, .header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand, .site-logo {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--color-primary);
    text-decoration: none;
}

.brand span, .site-logo span { color: var(--color-accent); }

.nav__list, .nav-list {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav__list a, .nav-list a {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.nav__list a:hover, .nav-list a:hover { color: var(--color-accent); }

/* --- Hero Section --- */
.hero, .hero-section {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 100%);
}

.hero__title, .hero-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 48px);
    color: var(--color-primary);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero__lead, .hero-lead {
    font-size: 19px;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* --- Audit Cards (Ranking) --- */
.ranking-section, .ranking-block { padding: 80px 0; }

.section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 50px;
    color: var(--color-primary);
}

.audit-card, .audit-item {
    display: grid;
    grid-template-columns: 220px 1fr 200px;
    gap: 40px;
    border: 1px solid var(--color-border);
    padding: 32px;
    border-radius: 12px;
    align-items: center;
    margin-bottom: 24px;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.audit-card:hover, .audit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

/* Логотип: Решение проблемы с размерами */
.audit-card__brand, .audit-item__brand {
    width: 100%;
    height: 120px; /* Фиксированная высота "коробки" */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    padding: 15px;
    position: relative;
}

.operator-logo {
    max-width: 100%;
    max-height: 70px; /* Ограничение высоты самого лого */
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Бейджи и статусы */
.status-tag, .badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    display: inline-block;
}

.status-tag { color: #10b981; background: rgba(16, 185, 129, 0.1); }
.badge--gold { color: var(--color-gold); background: rgba(202, 138, 4, 0.1); }

/* Контент карточки */
.audit-card__content h3, .audit-item__info h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.audit-card__content p, .audit-item__info p {
    font-size: 14px;
    color: var(--color-text-light);
}

/* Рейтинг и Кнопки */
.audit-card__rating, .audit-item__cta {
    text-align: center;
}

.score, .audit-score {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
    cursor: pointer;
}

.btn--solid, .btn--action {
    background: var(--color-accent);
    color: #fff;
}

.btn--solid:hover, .btn--action:hover {
    background: #1e40af;
}

.btn--outline {
    border: 2px solid var(--color-border);
    color: var(--color-primary);
}

.btn--outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* --- Expert / Methodology Section --- */
.expert-block, .expert-section {
    padding: 80px 0;
    background: var(--color-surface);
}

.expert-section h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 20px;
}

.expert-section p, .expert-section ul {
    margin-bottom: 20px;
}

.expert-section ul {
    padding-left: 20px;
}

.expert-section li {
    margin-bottom: 10px;
}

/* --- Footer --- */
.footer, .site-footer {
    background: #f8fafc;
    padding: 80px 0 40px;
    border-top: 1px solid var(--color-border);
    font-size: 14px;
}

.footer__grid, .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer__col h4, .footer-col h4 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.footer__links, .footer-links {
    list-style: none;
}

.footer__links li, .footer-links li { margin-bottom: 12px; }

.footer__links a, .footer-links a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.footer__links a:hover, .footer-links a:hover { color: var(--color-accent); }

.footer-disclaimer {
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
    font-size: 12px;
    color: #94a3b8;
}

.warning-text, .legal-warning {
    font-weight: 700;
    color: #ef4444;
    margin-top: 20px;
    text-transform: uppercase;
}

.footer__bottom, .footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: #cbd5e1;
}

/* --- Responsive (Mobile) --- */
@media (max-width: 900px) {
    .audit-card, .audit-item {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px;
    }

    .audit-card__brand, .audit-item__brand {
        margin: 0 auto 20px;
        max-width: 250px;
    }

    .footer__grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .header__wrapper, .header-flex {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero { padding: 60px 0; }
}