* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

/* =========================================
 *      Переменные CSS
 *      Определяем основные цвета и шрифты, используемые в проекте
 *   ========================================= */
:root {
    --primary-color: rgb(40, 53, 91);
    /* Глубокий тёмно-синий */
    --secondary-color: #00a8e8;
    /* Устойчивый зелёный */
    --accent-color: #00a672;
    /* Яркий оранжевый */
    --dark-gray: #2f3030;
    --light-gray: #f0f0f0;
    --font-family-heading: 'Montserrat', sans-serif;
    --font-family-body: 'Open Sans', sans-serif;
}

/* =========================================
 *      Общие стили
 *      Настройка базовых параметров для всего тела документа
 *   ========================================= */
body {
    font-family: var(--font-family-body);
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--light-gray);
}

/* =========================================
 *      Шапка (Header)
 *      Стилизация верхней части сайта
 *   ========================================= */
header {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: #fff;
    text-align: center;
    padding: 3rem 1.25rem;
}

header h1 {
    font-family: var(--font-family-heading);
    font-size: 2.5rem;
    margin-bottom: 0.625rem;
    font-weight: 700;
}

header p {
    font-size: 1rem;
}

/* =========================================
 *      Основной контент (Main)
 *      Контейнер для основного содержимого страницы
 *   ========================================= */
main {
    padding: 1.25rem;
    max-width: 75rem;
    margin: auto;
}

/* -----------------------------------------
 *      Введение (Intro)
 *      Секция с вводным текстом
 *   ----------------------------------------- */
.intro {
    max-width: 850px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}

.intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
    text-align: center;
}

/* -----------------------------------------
 *      Секции контента
 *      Общие стили для различных секций сайта
 *   ----------------------------------------- */
.features,
.how-it-works,
.benefits,
.faq,
.reviews,
.call-to-action {
    margin-bottom: 50px;
    text-align: center;
}

.features h2,
.how-it-works h2,
.benefits h2,
.options h2,
.faq h2,
.reviews h2,
.call-to-action h2 {
    font-family: var(--font-family-heading);
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 700;
}

/* =========================================
 *      Карточки (Cards)
 *      Стили для карточек с информацией
 *   ========================================= */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    flex: 1 1 calc(33.333% - 20px);
    /* 3 карточки в ряд на десктопе */
    max-width: calc(33.333% - 20px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    opacity: 0;
    transform: translateY(1rem);
    animation: fadeInUp 0.6s forwards;
}

.card:nth-child(1) {
    animation-delay: 0.2s;
}

.card:nth-child(2) {
    animation-delay: 0.4s;
}

.card:nth-child(3) {
    animation-delay: 0.6s;
}

.card-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.card i {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    transition: color 0.3s ease;
    display: block;
    text-align: center;
}

.card h3 {
    font-family: var(--font-family-heading);
    color: var(--dark-gray);
    margin-bottom: 10px;
    font-weight: 600;
    transition: color 0.3s ease;
    text-align: center;
}

.card p,
.card ul {
    font-family: var(--font-family-body);
    color: #4a4a4a;
    font-weight: 400;
    line-height: 1.6;
    transition: color 0.3s ease;
    text-align: left;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Стили для остальных карточек */
.options-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
}

.option-card {
    flex: 1 1 calc(60% - 20px);
    min-width: 280px;
    max-width: 700px;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-card i {
    font-size: 2.2rem;
    color: #D5383D;
    margin-bottom: 15px;
}

.option-card h3 {
    font-family: var(--font-family-heading);
    color: var(--dark-gray);
    margin-bottom: 10px;
    font-weight: 600;
}

.option-card p {
    font-family: var(--font-family-body);
    color: #4a4a4a;
    font-weight: 400;
    line-height: 1.6;
}

/* Псевдоэлемент ::before для синего наложения */
.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(0, 168, 232, 0.2), transparent);
    transform: skewX(-45deg);
    transition: all 0.5s ease;
}

.option-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.option-card:hover::before {
    left: 100%;
}

/* Секция "Как это работает?" */
.how-it-works ol {
    list-style: none;
    counter-reset: step-counter;
    max-width: 800px;
    margin: 0 auto;
}

.how-it-works li {
    position: relative;
    padding-left: 70px;
    margin-bottom: 30px;
    text-align: left;
}

.how-it-works li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--accent-color);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-it-works h3 {
    font-family: var(--font-family-heading);
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.how-it-works p {
    font-size: 1rem;
    color: #4a4a4a;
}

/* Секция "Преимущества" */
.benefits-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.benefits-list li {
    flex: 1 1 calc(25% - 20px);
    min-width: 200px;
    max-width: 250px;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefits-list li i {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.benefits-list li h3 {
    font-family: var(--font-family-heading);
    color: var(--dark-gray);
    margin-bottom: 10px;
    font-weight: 600;
}

.benefits-list li p {
    font-family: var(--font-family-body);
    color: #4a4a4a;
    font-weight: 400;
    line-height: 1.6;
}

.benefits-list li:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}


/* FAQ */
.faq-item {
    max-width: 850px;
    margin: 20px auto;
    text-align: left;
    opacity: 0;
    transform: translateY(1rem);
    animation: fadeInUp 0.6s forwards;
}

.faq-item:nth-child(1) {
    animation-delay: 1s;
}

.faq-item:nth-child(2) {
    animation-delay: 1.2s;
}

.faq-item:nth-child(3) {
    animation-delay: 1.4s;
}

.faq-item:nth-child(4) {
    animation-delay: 1.6s;
}

.faq-item h3 {
    font-family: var(--font-family-heading);
    font-size: 1 rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.faq-item h3 i {
    margin-right: 10px;
    color: var(--accent-color);

}

.faq-item p {
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.8;
}

/* Отзывы */
.reviews {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.review-card {
    background: #f9f9f9;
    margin: 20px auto;
    padding: 20px;
    border-left: 5px solid var(--accent-color);
    border-radius: 5px;
    max-width: 600px;
    text-align: left;
}

.review-card p {
    font-family: var(--font-family-body);
    font-weight: 400;
}

.review-card span {
    display: flex;
    align-items: center;
    margin-top: 10px;
    color: var(--dark-gray);
    font-weight: 700;
    font-family: var(--font-family-heading);
}

.review-card span i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* Призыв к действию */
.call-to-action ul {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
}

.call-to-action li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(1rem);
    animation: fadeInUp 0.6s forwards;
}

.call-to-action li:nth-child(1) {
    animation-delay: 2.4s;
}

.call-to-action li:nth-child(2) {
    animation-delay: 2.6s;
}

.call-to-action li:nth-child(3) {
    animation-delay: 2.8s;
}

.call-to-action li i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

.call-to-action li a {
    color: var(--primary-color);
    text-decoration: none;
}

.call-to-action li a:hover {
    text-decoration: underline;
}

.call-to-action p {
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(1rem);
    animation: fadeInUp 0.6s forwards;
    animation-delay: 3s;
}

/* Заключение */
.conclusion h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-family: var(--font-family-heading);
    font-weight: 700;
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

/* Адаптивность */
/* =========================================
 *      Адаптивность (Responsive Design)
 *      Медиа-запросы для различных размеров экранов
 *   ========================================= */

/* Планшеты и устройства среднего размера (до 992px) */
@media (max-width: 992px) {
    .card {
        flex: 1 1 calc(50% - 20px);
        /* 2 карточки в ряд */
        max-width: calc(50% - 20px);
    }

    .benefits-list li {
        flex: 1 1 calc(50% - 20px);
        /* 2 элемента в ряд */
        max-width: calc(50% - 20px);
    }

    .how-it-works li {
        padding-left: 60px;
    }

    .how-it-works li::before {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        left: 0;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    .card {
        flex: 1 1 100%;
        /* 1 карточка в ряд */
        max-width: 100%;
    }

    .benefits-list li {
        flex: 1 1 100%;
        /* 1 элемент в ряд */
        max-width: 100%;
    }
}

/* Дополнительные настройки для очень маленьких экранов (до 576px) */
@media (max-width: 576px) {
    .call-to-action li {
        flex-direction: column;
        align-items: flex-start;
    }

    .call-to-action li i {
        margin-bottom: 5px;
    }
}


/* Футер */
footer {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 50px;
}

footer a {
    font-family: var(--font-family-heading);
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
}

footer a:hover {
    text-decoration: underline;
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Стили для доступности */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px dashed var(--accent-color);
    outline-offset: 2px;
}

/* Анимации */
.card,
.benefits-list li,
.how-it-works li,
.faq-item,
.review-card,
.call-to-action h2 {
    opacity: 0;
    transform: translateY(1rem);
    animation: fadeInUp 0.6s forwards;
}

.card:nth-child(1),
.benefits-list li:nth-child(1),
.how-it-works li:nth-child(1),
.review-card:nth-child(1) {
    animation-delay: 0.2s;
}

.card:nth-child(2),
.benefits-list li:nth-child(2),
.how-it-works li:nth-child(2),
.review-card:nth-child(2) {
    animation-delay: 0.4s;
}

.card:nth-child(3),
.benefits-list li:nth-child(3),
.how-it-works li:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Атрибуты доступности для иконок */
.fa-truck-loading,
.fa-shipping-fast,
.fa-balance-scale,
.fa-award,
.fa-wallet,
.fa-check-circle,
.fa-question-circle,
.fa-comments,
.fa-user,
.fa-envelope,
.fa-phone,
.fa-shopping-cart {
    aria-hidden: true;
    focusable: false;
}
.col-12.ds-page-title.pb-3 {
    display: none !important;
}
