/* Общие стили */
body {
    font-family: 'Roboto', sans-serif; /* Основной текст */
    margin: 0;
    padding: 0;
    background-color: #F8F8F8; /* Светло-серый фон */
    color: #333333; /* Темно-серый текст */
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Хедер */
header {
    background-color: #1A2E40; /* Темно-синий */
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

header h1 {
    font-family: 'Montserrat', sans-serif; /* Заголовки */
    margin: 0;
    font-size: 3em;
    line-height: 1.2;
}

header .subtitle {
    font-size: 1.4em;
    margin-top: 15px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: #FF8C00; /* Ярко-оранжевый акцент */
    color: #fff;
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 30px;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #E67E00;
    transform: translateY(-2px);
}

/* Секции */
section {
    padding: 60px 0;
    background-color: #FFFFFF; /* Белый фон */
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

section h2 {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    color: #1A2E40; /* Темно-синий */
    font-size: 2.5em;
    margin-bottom: 40px;
}

/* Секция преимуществ */
.features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

.features li {
    background-color: #E0F2F7; /* Светло-голубой/Бирюзовый */
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.15em;
    font-weight: 500;
    color: #1A2E40;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.features li:hover {
    transform: translateY(-5px);
}

/* Секция 


как это работает */
.how-it-works-section .steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.how-it-works-section .step {
    background-color: #E0F2F7; /* Светло-голубой/Бирюзовый */
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.how-it-works-section .step h3 {
    color: #1A2E40; /* Темно-синий */
    margin-top: 0;
    font-size: 1.5em;
}

.how-it-works-section .step p {
    font-size: 1.1em;
    color: #333333;
}

/* Секция FAQ */
.faq-section .faq-item {
    background-color: #E0F2F7; /* Светло-голубой/Бирюзовый */
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.faq-section .faq-item h3 {
    color: #1A2E40; /* Темно-синий */
    margin-top: 0;
    cursor: pointer;
    font-size: 1.3em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-section .faq-item h3::after {
    content: ">";
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.faq-section .faq-item.active h3::after {
    transform: rotate(-90deg);
}

.faq-section .faq-item p {
    display: none;
    margin-top: 15px;
    font-size: 1.05em;
    color: #333333;
}

.faq-section .faq-item.active p {
    display: block;
}

/* Секция формы */
.form-section form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.form-section input[type="text"],
.form-section input[type="tel"],
.form-section input[type="number"],
.form-section textarea {
    padding: 15px;
    border: 1px solid #B0C4DE; /* Светло-синий */
    border-radius: 5px;
    font-size: 1.1em;
    color: #333333;
}

.form-section textarea {
    resize: vertical;
    min-height: 100px;
}

.form-section button[type="submit"] {
    background-color: #FF8C00; /* Ярко-оранжевый акцент */
    color: #fff;
    padding: 18px;
    border: none;
    border-radius: 8px;
    font-size: 1.3em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.form-section button[type="submit"]:hover {
    background-color: #E67E00;
    transform: translateY(-2px);
}

#formSuccess {
    text-align: center;
    color: #4CAF50; /* Зеленый для успеха */
    font-weight: bold;
    margin-top: 20px;
    font-size: 1.4em;
}

/* Футер */
footer {
    background-color: #1A2E40; /* Темно-синий */
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

footer p {
    margin: 5px 0;
    font-size: 0.95em;
}

footer a {
    color: #FF8C00; /* Ярко-оранжевый акцент */
    text-decoration: none;
}

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

/* Медиа-запросы для адаптивности */
@media (max-width: 992px) {
    header h1 {
        font-size: 2.5em;
    }

    section h2 {
        font-size: 2em;
    }

    .features li {
        width: calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    header h1 {
        font-size: 2em;
    }

    header .subtitle {
        font-size: 1.1em;
    }

    .cta-button {
        padding: 15px 25px;
        font-size: 1.1em;
    }

    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 1.8em;
    }

    .features ul {
        grid-template-columns: 1fr;
    }

    .how-it-works-section .steps {
        flex-direction: column;
    }

    .how-it-works-section .step {
        min-width: unset;
    }

    .form-section form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.6em;
    }

    header .subtitle {
        font-size: 1em;
    }

    .cta-button {
        padding: 12px 20px;
        font-size: 1em;
    }

    section h2 {
        font-size: 1.5em;
    }

    .features li,
    .how-it-works-section .step,
    .faq-section .faq-item {
        font-size: 1em;
    }

    .form-section input,
    .form-section textarea,
    .form-section button {
        font-size: 1em;
    }
}




/* Секция статей */
.articles-section .article-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.articles-section .article-item {
    background-color: #E0F2F7; /* Светло-голубой/Бирюзовый */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.articles-section .article-item h3 {
    color: #1A2E40;
    margin-top: 0;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.articles-section .article-item p {
    flex-grow: 1;
    font-size: 1.05em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.articles-section .article-item .read-more {
    display: inline-block;
    color: #FF8C00;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.articles-section .article-item .read-more:hover {
    color: #E67E00;
}

/* Секция отзывов */
.reviews-section .review-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.reviews-section .review-item {
    background-color: #E0F2F7; /* Светло-голубой/Бирюзовый */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.reviews-section .review-item .review-text {
    font-style: italic;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333333;
}

.reviews-section .review-item .review-author {
    font-weight: bold;
    text-align: right;
    color: #1A2E40;
    font-size: 0.95em;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 768px) {
    .articles-section .article-list,
    .reviews-section .review-list {
        grid-template-columns: 1fr;
    }
}






@media (max-width: 768px) {
    .articles-section .article-list {
        grid-template-columns: 1fr; /* Одна колонка на мобильных */
    }
}

@media (min-width: 769px) {
    .articles-section .article-list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Несколько колонок на десктопах */
    }
}


