.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    grid-auto-rows: minmax(150px, auto);    
    gap: 24px;                              
}


.categories-grid .card-category {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    height: 100%; 
}


.card-category--large {
    grid-row: span 2; 
}

.categories-grid .card__wrap-media {
  position: absolute;
  height: 150px;
  width: 100%;
}
.categories-grid .card-category--large .card__wrap-media {
  height: 100%;
}
.categories-grid .card__wrap-media .card__img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.categories-grid .card__content {
  position: absolute;
  bottom: 0;
  height: auto;
  color: #fff;
  position: relative;
  z-index: 2;
  gap:0.1px;
}

.categories-grid .card__trigger img {
  border: 1px solid #fff;
  border-radius: 50px;
  padding: 15px;
  box-sizing: content-box;
  height: 10px;
  width: 10px;
  filter: brightness(100);
}
.categories-grid .card-category .card__trigger {
  padding: 0 15px 0 0;
}


/* qwiz */
/* ==========================================================================
   БАЗОВЫЕ НАСТРОЙКИ СЕКЦИИ
   ========================================================================== */
.estimation-section {
    background-color: #162a3f; /* Точный темно-синий цвет фона */
    padding: 100px 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

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

.estimation-container {
    max-width: 1140px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две равные колонки */
    gap: 60px;
    align-items: center;
}

/* Адаптив для планшетов и мобильных */
@media (max-width: 992px) {
    .estimation-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================================================================
   ЛЕВАЯ ПАНЕЛЬ (КОНТЕНТ)
   ========================================================================== */
.estimation-info .estimation-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #38bdf8;
    font-weight: 700;
    margin-bottom: 20px;
}

.estimation-info .estimation-badge::before {
    content: "";
    width: 16px;
    height: 2px;
    background-color: #38bdf8;
    margin-right: 10px;
}

.estimation-info .estimation-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 24px;
}

.estimation-info .estimation-descr {
    font-size: 16px;
    line-height: 1.6;
    color: #94a3b8; /* Приглушенный серо-голубой цвет текста */
    margin-bottom: 32px;
}

/* Список преимуществ с галочками */
.estimation-info .estimation-list {
    list-style: none;
}

.estimation-info .estimation-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
}

.estimation-info .estimation-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #10b981; /* Зеленый цвет галочки */
    font-weight: 700;
    font-size: 15px;
}

/* ==========================================================================
   ПРАВАЯ ПАНЕЛЬ (БЕЛАЯ КАРТОЧКА КВИЗА)
   ========================================================================== */
.quiz-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 44px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
    .quiz-card {
        padding: 24px 16px;
    }
}

.quiz-card .quiz-meta {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 12px;
}

/* Прогресс-бар */
.quiz-card .quiz-progress {
    width: 100%;
    height: 5px;
    background-color: #f1f5f9;
    border-radius: 10px;
    margin-bottom: 36px;
    overflow: hidden;
}

.quiz-card .quiz-progress-bar {
    height: 100%;
    background-color: #38bdf8; /* Сине-голубая шкала прогресса */
    border-radius: 10px;
    transition: width 0.3s ease;
}

.quiz-card .quiz-question {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    line-height: 1.3;
}

/* Сетка вариантов ответа 2х2 */
.quiz-card .quiz-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 32px;
}

@media (max-width: 576px) {
    .quiz-card .quiz-grid {
        grid-template-columns: 1fr; /* На мобилках выстраиваем кнопки в одну колонку */
        gap: 10px;
    }
}

/* Кастомизация радио-кнопок под плашки */
.quiz-item {
    position: relative;
    cursor: pointer;
    display: block;
}

.quiz-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Внешний вид кнопки-варианта по умолчанию */
.quiz-item .quiz-box {
    display: block;
    padding: 16px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

/* Эффект наведения */
.quiz-item:hover .quiz-box {
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

/* СОСТОЯНИЕ: Вариант выбран (светло-голубая плашка с синей рамкой) */
.quiz-item input[type="radio"]:checked + .quiz-box {
    background-color: #e0f2fe; /* Светло-голубой фон */
    border-color: #0f82b5;     /* Глубокий синий бордюр */
    color: #0f172a;            /* Темный текст */
}

/* Подвал и кнопка Далее */
.quiz-card .quiz-footer {
    display: flex;
    justify-content: flex-end;
}

.quiz-card .quiz-btn-next {
    background-color: #0f82b5; /* Фирменный синий цвет кнопки */
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.quiz-card .quiz-btn-next:hover {
    background-color: #0b6992; /* Темнеет при наведении */
}

@media (max-width: 576px) {
    .quiz-card .quiz-btn-next {
        width: 100%; /* Кнопка во весь экран на смартфонах */
        text-align: center;
    }
}
/* qwiz end */