/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    border: 0;
    outline: 0;
}

.container {
    max-width: 1400px;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

/* Шапка */
.header {
    background: #005BBB;
    color: #FFFFFF;
    padding: 20px 0;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.header__logo {
    display: flex;
    align-items: center;
    font-size: 30px;
    font-weight: bold;
}

.header__logo-image {
    width: 50px;
    margin-right: 10px;
}

.header__contacts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header__contacts a {
    color: #FFFFFF;
    font-weight: bold;
    transition: color 0.3s;
}

.header__contacts a:hover {
    color: #FFA500;
}

.header__social {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header__social img {
    width: 30px;
}

.fixed {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 99;
}

/* Навигация */
.nav {
    background: #333333;
    padding: 15px 0;
}

.nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.nav__list {
    display: flex;
    gap: 20px;
}

.nav__link {
    color: #FFFFFF;
    padding: 12px 18px;
    transition: background 0.3s, color 0.3s;
    border-radius: 5px;
    font-size: 18px;
}

.nav__link:hover {
    background: #007BFF;
    color: #FFFFFF;
}

.button--primary {
    background: #FF7F00;
    color: #ffff;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s;
    border: 0;
    outline: 0;
    cursor: pointer;
}

.button--primary:hover {
    background: #E66A00;
}

/* Кнопка меню для мобильных */
.nav__toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
}

/* nav */

main {
    padding-top: 150px;
}

/* section hero */

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../image/5-6.jpeg') no-repeat center/cover;
    color: #FFFFFF;
    padding: 100px 0;
}


.hero__title {
    font-size: 52px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.hero__guarantees {
    font-size: 16px;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 20px;
}

.hero__buttons {
    display: flex;
    gap: 20px;
}

.hero__button {
    display: inline-block;
    padding: 15px 25px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    text-align: center;
    transition: background 0.3s;
}

.hero__button--primary {
    background: #007BFF;
    color: #FFFFFF;
}

.hero__button--primary:hover {
    background: #005BBB;
}

.hero__button--secondary {
    background: #FFFFFF;
    color: #333333;
}

.hero__button--secondary:hover {
    background: #E6E6E6;
}

/* section hero  */

/* section service */

/* Секция услуг */
.services {
    background: #fff;
    padding: 60px 0;
    text-align: center;
}

.services__title {
    font-size: 32px;
    font-weight: bold;
    color: #005BBB;
    margin-bottom: 40px;
}

.services__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.services__item {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: left;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.services__item:nth-child(3) {
    background-position: right;
}

.services__item:nth-child(4) {
    background-position: right;
}

.services__item:nth-child(5) {
    background-position: right;
}

.services__item:nth-child(6) {
    background-position: right;
}


.services__item:hover {
    transform: scale(1.03);
}

.services__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: opacity 0.3s ease;
}

.services__item:hover .services__overlay {
    background: rgba(0, 0, 0, 0.6);
}

.services__text {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.services__description {
    font-size: 16px;
    margin-bottom: 20px;
}

.services__button {
    background: #FF7F00;
    color: #FFFFFF;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.services__button:hover {
    background: #E66A00;
}


/* service */

/* pricing */
.price {
    background: #f7f8fa;
    padding: 60px 0;
    text-align: center;
}

.price__title {
    font-size: 32px;
    font-weight: bold;
    color: #005BBB;
    margin-bottom: 40px;
}

.price__content {
    max-width: 1200px;
    margin: 0 auto;
}

.price__section {
    margin-bottom: 40px;
}

.price__subheading {
    font-size: 24px;
    font-weight: bold;
    color: #005BBB;
    margin-bottom: 20px;
}

.price__item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price__item:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
}

.price__image {
    max-width: 250px;
    width: 100%;
    border-radius: 12px;
    margin-right: 20px;
    transition: transform 0.3s ease;
}

.price__item:hover .price__image {
    transform: scale(1.05);
}

.price__details {
    flex: 1;
    text-align: left;
}

.price__heading {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.price__rate {
    font-size: 18px;
    color: #FF7F00;
    margin-bottom: 10px;
}

.price__features {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.price__features li {
    font-size: 16px;
    color: #666;
}

.price__buttons {
    margin-top: 40px;
}

.price__button {
    background: #FF7F00;
    color: #FFFFFF;
    padding: 15px 25px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: inline-block;
    margin: 10px;
}

.price__button:hover {
    background: #E66A00;
}

/* Анимация появления при скроллинге */
[data-animate] {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease-out;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* pricing */

/* advantages */
/* Секция преимуществ */
.advantages {
    background: #f7f8fa;
    padding: 60px 0;
    text-align: center;
}

.advantages__title {
    font-size: 32px;
    font-weight: bold;
    color: #005BBB;
    margin-bottom: 40px;
}

.advantages__content {
    max-width: 1200px;
    margin: 0 auto;
}

.advantages__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantages__item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.advantages__item:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
}

.advantages__icon-wrap {
    background: #005BBB;
    padding: 15px;
    border-radius: 50%;
    display: grid;
    place-content: center;
    place-items: center;
    margin: 0 auto;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 30px;
    color: white;
    font-size: 30px;
    transition: background 0.3s ease;
}

.advantages__item:hover .advantages__icon-wrap {
    background: #FF7F00;
}

.advantages__heading {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-top: 15px;
    margin-bottom: 10px;
}

.advantages__text {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.advantages__button {
    background: #FF7F00;
    color: #FFFFFF;
    padding: 15px 25px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: inline-block;
    margin-top: 30px;
}

.advantages__button:hover {
    background: #E66A00;
}

/* Анимация появления при скроллинге */
[data-animate] {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease-out;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* advantages */

/* calculate */

/* Стиль для калькулятора стоимости */

.calculator {
    background-color: #f9f9f9;
    padding: 40px 0;
}

.calculator__helper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.calculator__title {
    font-size: 28px;
    font-weight: bold;
    color: #005BBB;
    text-align: center;
    margin-bottom: 40px;
}

#calculator-form {
    max-width: 700px;
    width: 100%;
}

.calculator__form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 700px;
    /* Уменьшаем максимальную ширину до 700px */
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.calculator__field {
    width: 100%;
    margin-bottom: 20px;
}

.calculator__field label {
    font-size: 16px;
    margin-bottom: 5px;
    text-align: left;
    width: 100%;
    padding-left: 10px;
}

.calculator__field select,
.calculator__field input[type="datetime-local"] {
    width: 100%;
    padding: 10px;
    /* Меньше отступов */
    margin-bottom: 15px;
    /* Меньше отступов между полями */
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 16px;
}

.calculator__checkbox-label {
    font-size: 16px;
    color: #555;
}

.calculator__checkbox-label a {
    color: #FF7F00;
    text-decoration: none;
}

.calculator__checkbox-label a:hover {
    text-decoration: underline;
}

.calculator__button {
    background-color: #FF7F00;
    color: white;
    padding: 12px 25px;
    /* Меньше отступов */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    /* Меньший размер шрифта */
    transition: background-color 0.3s ease;
    width: 100%;
}

.calculator__button:hover {
    background-color: #E66A00;
}

.calculator__result {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 0 auto;
}

.calculator__result p {
    font-size: 18px;
    color: #333;
}

.calculator__result span {
    font-weight: bold;
    color: #FF7F00;
}

/* Стили для формы заявки */
#request-form {
    margin-top: 30px;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    /* Ограничиваем ширину формы до 700px */
    margin: 0 auto;
}

#request-form label {
    display: block;
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

#request-form input,
#request-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    /* Меньше отступов */
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 16px;
}

#request-form textarea {
    height: 100px;
    /* Меньшая высота для текстовой области */
    resize: vertical;
}

#request-form .checkbox-wrapper {
    display: flex;
    margin-bottom: 15px;
    /* Меньше отступов */
}

#request-form .checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
}

#request-form .checkbox-label {
    font-size: 16px;
    color: #555;
}

#request-form .checkbox-label a {
    color: #FF7F00;
    text-decoration: none;
}

#request-form .checkbox-label a:hover {
    text-decoration: underline;
}

#request-form .request-form__button {
    background-color: #FF7F00;
    color: white;
    padding: 12px 25px;
    /* Меньше отступов */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    width: 100%;
}

#request-form .request-form__button:hover {
    background-color: #E66A00;
}


/* calculate */

/* review */

.reviews {
    background: #f7f8fa;
    padding: 60px 0;
    text-align: center;
}

.reviews__title {
    font-size: 32px;
    font-weight: bold;
    color: #005BBB;
    margin-bottom: 40px;
}

/* Настройка слайдов */
.swiper {
    width: 100%;
    height: auto;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 33.33%;
    /* 3 слайда на экране */
    padding: 10px;
}

.reviews__photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.reviews__button {
    background: #FF7F00;
    color: #FFFFFF;
    padding: 15px 25px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    display: inline-block;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.reviews__button:hover {
    background: #E66A00;
}

/* Стили для секции отзывов */
.reviews {
    background: #f7f8fa;
    padding: 60px 0;
    text-align: center;
}

/* Заголовок секции отзывов */
.reviews__title {
    font-size: 32px;
    font-weight: bold;
    color: #005BBB;
    margin-bottom: 40px;
}

/* Стиль для скрытой формы */
.review-form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 30px auto 0;
    text-align: left;
    display: none;
    /* По умолчанию скрыта */
}

/* Стиль для полей формы */
.review-form label {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.review-form input,
.review-form textarea,
.review-form select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

.review-form input[type="text"],
.review-form select {
    height: 40px;
}

.review-form textarea {
    height: 100px;
    resize: none;
}

/* Стиль для кнопки отправки отзыва */
.review-form button {
    background: #FF7F00;
    color: #fff;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: inline-block;
    width: 100%;
    transition: background 0.3s ease;
}

.review-form button:hover {
    background: #E66A00;
}

/* Кнопка для открытия формы */
.reviews__button {
    background: #FF7F00;
    color: #FFFFFF;
    padding: 15px 25px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: inline-block;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.reviews__button:hover {
    background: #E66A00;
}

/* Стиль для чекбокса */
.checkbox-wrapper {
    display: flex;
    margin-bottom: 20px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
}

/* review */

/* simple */

/* Основной стиль для формы */
.forms {
    padding: 50px 0;
}


.simple-form {
    background-color: #f7f8fa;
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}

/* Заголовки и лейблы */
.simple-form__label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

/* Инпуты и textarea */
.simple-form__input,
.simple-form__textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.simple-form__textarea {
    height: 120px;
    resize: vertical;
}

/* Чекбокс */
.simple-form__checkbox-wrapper {
    margin-bottom: 20px;
}

.simple-form__checkbox {
    margin-right: 8px;
}

/* Кнопка отправки */
.simple-form__button {
    background-color: #FF7F00;
    color: #fff;
    padding: 15px 25px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
    width: 100%;
}

.simple-form__button:hover {
    background-color: #E66A00;
}

.simple-form__checkbox-wrapper {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.simple-form__checkbox-label{
    font-size: 14px;
    color: #666;
}

.forms__title {
    font-size: 32px;
    font-weight: bold;
    color: #005BBB;
    margin-bottom: 40px;
    text-align: center;
}


/* simple */

/* request */


/* request */

/* faq */

.faq {
    background: #f4f6f9;
    padding: 60px 0;
}

.faq__title {
    font-size: 32px;
    font-weight: 600;
    color: #005BBB;
    text-align: center;
    margin-bottom: 40px;
}

.faq__item {
    max-width: 850px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    padding: 20px;
}

.faq__item:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.faq__question {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    transition: color 0.3s ease;
}

.faq__question:after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 24px;
    color: #005BBB;
    transition: transform 0.3s ease;
}

.faq__answer {
    font-size: 16px;
    color: #555;
    display: none;
    padding-top: 10px;
}

.faq__item.active .faq__question {
    color: #FF7F00;
    /* Цвет вопроса при активном состоянии */
}

.faq__item.active .faq__question:after {
    transform: rotate(45deg);
    /* Поворот знака + на x при активации */
}

.faq__item.active .faq__answer {
    display: block;
}

/* faq */

/* сontact */

/* Секция Контактов */
.contacts {
    background-color: #f8f8f8;
    padding: 60px 0;
    font-family: 'Arial', sans-serif;
}

.contacts__title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    color: #333;
    margin-bottom: 40px;
}

.contacts__info {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.contacts__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 500px;
    width: 100%;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.contacts__label {
    font-size: 18px;
    color: #555;
    margin-bottom: 5px;
}

.contacts__link {
    font-size: 18px;
    font-weight: bold;
    color: #FF7F00;
    text-decoration: none;
}

.contacts__link:hover {
    color: #e66a00;
}

.contacts__map iframe {
    border: none;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .contacts__info {
        align-items: flex-start;
    }
}

/* contact */

/* footer */

/* Подвал */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 40px 0;
    font-family: 'Arial', sans-serif;
    text-align: left;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.footer img {
    width: 30px;
}

.footer__heading {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer__link {
    color: #FF7F00;
    text-decoration: none;
    font-size: 16px;
}

.footer__link:hover {
    color: #E66A00;
}

.footer__social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer__social-icon {
    /* background-color: #3b5998; */
    color: white;
    /* padding: 10px 15px; */
    border-radius: 5px;
    text-decoration: none;
    transition: 0.4s;
}

.footer__social-icon:hover {
    transform: scale(1.05);
}

.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__bottom {
    text-align: center;
    margin-top: 20px;
}

.footer__text {
    font-size: 14px;
    color: #ccc;
}

.footer__text a {
    color: #FF7F00;
    text-decoration: none;
}

.footer__text a:hover {
    color: #E66A00;
}

/* footer */

/* modal */

/* Стиль для модального окна */
.modal {
    display: none; /* Скрываем по умолчанию */
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4); /* Полупрозрачный фон */
    padding-top: 60px;
}

/* Контент модального окна */
.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 12px;
    width: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Кнопка закрытия */
.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 0;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Стили для меток */
label {
    font-size: 18px;
    color: #333;
    display: block;
    margin-top: 10px;
}

/* Стили для инпутов и текстовых полей */
input,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

/* Стили для чекбокса */
.checkbox-wrapper {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

/* Стили для текста чекбокса */
.checkbox-label {
    font-size: 14px;
    color: #666;
}

/* Кнопка отправки */
.submit-button {
    background-color: #FF7F00;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 18px;
}

.submit-button:hover {
    background-color: #E66A00;
}

/* Адаптация для маленьких экранов */
@media (max-width: 768px) {
    .modal-content {
        width: 80%; /* Уменьшаем ширину контента на мобильных устройствах */
        padding: 15px;
    }

    .close {
        font-size: 24px; /* Уменьшаем размер кнопки закрытия */
        right: 15px;
        top: 15px;
    }

    label {
        font-size: 16px; /* Уменьшаем размер шрифта для меток */
    }

    input,
    textarea {
        font-size: 14px; /* Уменьшаем размер шрифта для input и textarea */
        padding: 8px; /* Уменьшаем отступы для удобства на мобильных */
    }

    .submit-button {
        font-size: 16px; /* Уменьшаем размер шрифта для кнопки */
        padding: 8px 16px;
    }

    .checkbox-wrapper {
        flex-direction: column; /* Переходим на вертикальное расположение для мобильных устройств */
        align-items: flex-start; /* Располагаем элементы в начало */
    }

    .checkbox-label {
        font-size: 12px; /* Уменьшаем шрифт для чекбокса */
    }
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 480px) {
    .modal-content {
        width: 90%; /* Контент еще меньше для очень маленьких экранов */
    }

    .submit-button {
        width: 100%; /* Кнопка занимает всю ширину */
    }
}


/* modal */

/* Адаптивность */

@media (max-width: 992px) {
    .nav__list {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #333333;
        padding: 10px;
    }

    .nav__list--open {
        display: flex;
    }

    .nav__toggle {
        display: block;
        margin: 10px;
    }

    .hero__title {
        font-size: 28px;
    }

    .hero__subtitle {
        font-size: 18px;
    }

    .hero__button {
        font-size: 18px;
        padding: 12px 24px;
    }
}

@media (max-width: 768px) {
    .advantages__list {
        flex-direction: column;
        align-items: center;
    }

    .advantages__item {
        font-size: 18px;
        padding: 12px 20px;
    }

    .footer__content {
        flex-direction: column;
        /* align-items: center; */
    }

    .footer__column {
        margin-bottom: 30px;
    }
}

@media (max-width: 460px) {
    .nav {
        padding: 0px 0;
    }

    .header {
        padding: 0 0 8px 0;
    }

    main {
        padding-top: 100px;
    }

    .header__contacts {
        margin: 0 auto;
    }

    .header__social img {
        width: 20px;
    }

    .header__contacts a  {
        font-size: 12px;
    }
}

@media (max-width: 414px) {

    .header__logo {
        font-size: 25px;
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .header__contacts {
        justify-content: center;
    }

    .header__logo {
        font-size: 22px;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .price__title {
        font-size: 28px; /* Уменьшаем размер шрифта для заголовка */
    }

    .price__subheading {
        font-size: 20px; /* Уменьшаем размер подзаголовка */
    }

    .price__item {
        padding: 15px; /* Уменьшаем отступы внутри элемента */
    }

    .price__heading {
        font-size: 18px; /* Уменьшаем размер шрифта */
    }

    .price__rate {
        font-size: 16px; /* Уменьшаем размер шрифта */
    }

    .price__button {
        font-size: 16px; /* Уменьшаем размер шрифта для кнопки */
        padding: 10px 20px; /* Уменьшаем отступы */
    }
}

/* Для экранов до 768px */
@media (max-width: 768px) {
    .price__title {
        font-size: 24px; /* Уменьшаем размер заголовка */
    }

    .price__subheading {
        font-size: 18px; /* Уменьшаем размер подзаголовка */
    }

    .price__image {
        max-width: 200px; /* Уменьшаем размер изображений */
    }

    .price__item {
        padding: 10px; /* Уменьшаем отступы внутри карточки */
    }

    .price__heading {
        font-size: 16px; /* Уменьшаем шрифт для заголовка */
    }

    .price__rate {
        font-size: 14px; /* Уменьшаем размер шрифта */
    }

    .price__button {
        font-size: 14px; /* Уменьшаем размер шрифта для кнопки */
        padding: 8px 16px; /* Уменьшаем отступы */
    }
}

/* Для экранов до 576px */
@media (max-width: 576px) {
    .price__title {
        font-size: 20px; /* Уменьшаем размер заголовка */
    }

    .price__subheading {
        font-size: 16px; /* Уменьшаем размер подзаголовка */
    }

    .price__image {
        max-width: 150px;
    }

    .price__item {
        padding: 10px; /* Уменьшаем отступы внутри карточки */
        flex-direction: column;
        align-items: start;
    }

    .price__heading {
        font-size: 14px; /* Уменьшаем размер заголовка */
    }

    .price__rate {
        font-size: 12px; /* Уменьшаем размер шрифта */
    }

    .price__button {
        font-size: 12px; /* Уменьшаем размер шрифта */
        padding: 6px 12px; /* Уменьшаем отступы */
    }
}