/* ============================================
   БЛОК «ЭСМИС В ЦИФРАХ» (шорткод [esmis_stats])
   Подключается только при наличии шорткода.
   ============================================ */

/* Сетка и базовые отступы */
.company-stats {
    background: #f9f9f9;
    padding: 20px 0;
}

.company-stats__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.company-stats__title {
    font-family: 'Exo 2', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #34495e;
    text-align: center;
    margin: 0 0 12px;
}

.company-stats__subtitle {
    font-family: 'Inter 18pt', sans-serif;
    font-size: 16px;
    color: #404271;
    text-align: center;
    margin: 0 0 56px;
}

.company-stats__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px 16px;
}

/* Карточка */
.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* КРУГ-ИНДИКАТОР (Dial) */
.stat-card__dial {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 2px solid #34495e; /* Тёмно-синий контур */
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(52, 73, 94, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Оранжевая риска сверху (эффект манометра) */
.stat-card__dial::before {
    content: '';
    position: absolute;
    top: -2px; /* Чтобы риска легла поверх границы */
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 4px;
    background: #e67e22;
    border-radius: 2px;
}

.stat-card:hover .stat-card__dial {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(52, 73, 94, 0.12);
}

/* Цифры внутри круга */
.stat-card__number {
    font-family: 'Exo 2', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #e67e22;
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.stat-card__prefix,
.stat-card__suffix {
    font-size: 20px;
    font-weight: 600;
    margin: 0 2px;
}

/* Текст под кругом */
.stat-card__label {
    font-family: 'Inter 18pt', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #404271;
    font-weight: 500;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .company-stats__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px 24px;
    }
}

@media (max-width: 600px) {
    .company-stats {
        padding: 48px 0;
    }

    .company-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 16px;
    }

    .stat-card__dial {
        width: 110px;
        height: 110px;
    }

    .stat-card__number {
        font-size: 28px;
    }

    .stat-card__prefix,
    .stat-card__suffix {
        font-size: 16px;
    }

    .stat-card__label {
        font-size: 13px;
        max-width: 110px;
    }
}
