/* ===================== sections.css ===================== */

/* Блоки с фоновым цветом, тенью и hover можно сделать карточками */

#how-it-works,
#advantages,
#seo-text-block,
#contacts {
    padding: 60px 0;
    background-color: #1a1c21;
    /* тот же фон или чуть светлее #2b2f38 */
}

/* Заголовок секции */
#how-it-works h2,
#advantages h2,
#seo-text-block h2,
#contacts h2 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.8rem;
}

/* Общий текст в секциях */
#how-it-works p,
#advantages p,
#seo-text-block p,
#contacts p {
    line-height: 1.6;
    margin-bottom: 1em;
    color: #b2b4bb;
}

/* Списки (убираем маркеры, если хотите карточный стиль) */
#advantages ul {
    list-style: none;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 20px;
}

#advantages ul li {
    background-color: #2b2f38;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#advantages ul li:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

#advantages ul li strong {
    color: #fff;
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

/* how-it-works: <ol> */
#how-it-works ol {
    margin-top: 20px;
    padding-left: 1.5em;
    /* или 0, если хотите убрать */
    list-style: decimal;
}

#how-it-works li {
    margin-bottom: 1em;
}

/* SEO-text */
#seo-text-block p {
    max-width: 800px;
    margin: 0 auto 1.5em;
}

/* CONTACTS */
#contacts ul {
    list-style: none;
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 20px;
}

#contacts ul li {
    color: #b2b4bb;
    font-size: 0.95rem;
}

/* FOOTER */
#footer {
    background-color: #18191d;
    padding: 20px 0;
    text-align: center;
    color: #b2b4bb;
    font-size: 0.9rem;
    border-top: 1px solid #333;
}

#footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#footer a {
    color: #e8732e;
    font-weight: 600;
}
