/* ==========================================================================
   CSS ДЛЯ СТРАНИЦ КАТАЛОГА ОПАЛУБКИ
   (opalubka-stenovaya.html, opalubka-perekrytiy.html,
    opalubka-kolonn.html, opalubka-fundament.html, stroitelnye-lesa.html)
   ========================================================================== */

/* ---------- Подзаголовок под section-title ---------- */
.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ---------- Узкая сетка для 3 карточек в ряд ---------- */
.services-grid-narrow {
    margin-top: 40px;
}

/* ---------- Статусы (размеры щита, циклы) в карточках ---------- */
.category-status {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 10px 0 5px;
}

.status-new,
.status-used {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
}

.status-new {
    background: rgba(249, 115, 22, 0.12);
    color: var(--accent);
}

.status-used {
    background: rgba(37, 99, 235, 0.12);
    color: var(--primary);
}

/* ---------- Мелкая подпись под ценой ---------- */
.price-note {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 10px 0;
}

/* ---------- Калькулятор: контейнер поверх фона ---------- */
.calculator .container {
    position: relative;
    z-index: 2;
}

/* ---------- FAQ (аккордеон) ---------- */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.faq-card:hover {
    border-color: var(--accent);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.faq-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--secondary);
    line-height: 1.4;
}

.faq-header i {
    color: var(--accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    font-size: 1rem;
}

.faq-card.active .faq-header {
    background: rgba(249, 115, 22, 0.06);
}

.faq-card.active .faq-header i {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
    padding: 0 25px;
}

.faq-card.active .faq-content {
    max-height: 500px;
    padding: 0 25px 22px;
}

.faq-content p {
    color: var(--dark-gray);
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.65;
}

/* ---------- Мобильная адаптация ---------- */
@media (max-width: 768px) {
    .section-subtitle {
        font-size: 0.98rem;
        margin: 0 auto 30px;
        padding: 0 10px;
    }

    .faq-header {
        padding: 16px 18px;
    }

    .faq-header h3 {
        font-size: 1rem;
    }

    .faq-content {
        padding: 0 18px;
    }

    .faq-card.active .faq-content {
        padding: 0 18px 18px;
    }

    .category-status {
        gap: 6px;
    }

    .status-new,
    .status-used {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
}
/* ---------- Маркированный список внутри секции About ---------- */
.about-list {
    margin: 20px 0 20px 20px;
    color: var(--gray);
}

.about-list li {
    margin-bottom: 8px;
    line-height: 1.6;
    position: relative;
    padding-left: 18px;
}

.about-list li::before {
    content: '\2022';
    color: var(--accent);
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 0;
}

.about-list strong {
    color: var(--secondary);
}