@import 'fonts.css';

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1550px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* nav */
.nav {
    background: #333;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    z-index: 9999;
}

.nav__logo-image {
    width: 60px;
}

.nav__top {
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__top-mobile {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav__logo {
    color: #fff;
    font-size: 25px;
}

.nav__top-link {
    color: #fff;
    font-size: 18px;
    transition: 0.5s;
}

.nav__top-link:hover {
    color: #ff6347;
}

.nav__top-desc {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav__top-image {
    width: 30px;
}

.nav__top-image:hover {
    transform: scale(1.01);
}

.nav__top-txt {
    color: #fff;
    font-weight: 700;
    font-size: clamp(16px, 5vw, 22px);
}

/* Десктопное меню */
.nav__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.nav__link {
    color: #fff;
    font-size: 18px;
    transition: 0.5s;
}

.nav__link:hover {
    color: #ff6347;
}

.nav__menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav__menu-bar {
    width: 30px;
    height: 4px;
    background-color: #fff;
    transition: 0.3s;
}

.nav__top-mobile-menu {
    display: none;
}

.nav-mobile-link {
    display: none;
}

/* Mobile */
@media (max-width: 768px) {

    .nav .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav__list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        background-color: #333;
        position: fixed;
        top: 0;
        right: -100%;
        height: 100%;
        width: 100%;
        padding-top: 60px;
        padding-left: 30px;
        transition: all 0.3s ease-in-out;
        z-index: 9999;

    }

    .nav__list.open {
        right: -30%;
    }

    .nav-mobile-link-none {
        display: none;
    }

    .nav-mobile-link {
        display: block;
    }

    .nav__menu-toggle {
        display: flex;
        width: 30px;
        height: 30px;
    }

    .nav__menu-toggle.open .nav__menu-bar:nth-child(1) {
        transform: rotate(45deg);
        position: relative;
        top: 8px;
    }

    .nav__menu-toggle.open .nav__menu-bar:nth-child(2) {
        opacity: 0;
    }

    .nav__menu-toggle.open .nav__menu-bar:nth-child(3) {
        transform: rotate(-45deg);
        position: relative;
        top: -8px;
    }

    .nav__top-mobile {
        display: none;
    }

    .nav__top-mobile-menu {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }

    .nav__top-mobile-menu-helper {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .nav__top-link {
        color: #fff;
        font-size: 18px;
        transition: 0.5s;
    }

    .nav__top-link:hover {
        color: #ff6347;
    }

    .nav__top-image {
        width: 30px;
    }

    .nav__top-image:hover {
        transform: scale(1.01);
    }
}

/* nav */

/* header */
.header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./image/header-bg.jpg') center center/cover no-repeat;
    padding: 170px 0 0 0;
    color: #fff;
    height: 100vh;
    min-height: 100%;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
    display: flex;
    background-position: top;
}

.header .container {
    flex-grow: 1;
    display: flex;
}

.header__content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header__title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.6);
    animation: slideInFromTop 1s ease-out;
}

.header__txt {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
    /* opacity: 0; */
    animation: fadeInText 2s ease-out 0.5s;
}

.header__btn {
    width: 53%;
    display: inline-block;
    padding: 15px 30px;
    font-size: 20px;
    background-color: #ff6347;
    color: #fff;
    border-radius: 5px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    animation: scaleUpButton 0.5s ease-out 1.5s;
    border: none;
    outline: none;
}

.header__btn:hover {
    background-color: #e53e2d;
    transform: scale(1.01);
}

.mobile-btn {
    display: none; border: none;
    outline: none;
}

@media (max-width: 768px) {
    .header__title {
        font-size: 40px;
    }

    .header__txt {
        font-size: 18px;
    }

    .header__btn {
        display: none;
    }

    .mobile-btn {
        width: 100%;
        text-align: center;
        display: block !important;
    }

    .header {
        padding: 80px 0;
        height: auto;
    }

    .header__content {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .header {
        background-position: left;
    }
}

@media (max-width: 360px) {
    .header {
        background-position: to center left;
    }
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInText {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes scaleUpButton {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* header */

/* section examples */

.examples {
    background-color: #f5f5f5;
    padding: 60px 0;
}

.examples__title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.examples__slider {
    /* margin: 0 auto; */
}

.example-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    max-width: 350px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.example-card__text {
    margin-bottom: 20px;
}

.example-card__review {
    font-size: 1.2rem;
    font-weight: 500;
    color: #444;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: center;
}

.example-card__author {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    color: #555;
}

.example-card__audio {
    width: 100%;
    border-radius: 10px;
    margin-top: auto;
}

.swiper-container {
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.reviews__wrapper {
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 320px;
    transition: transform 0.3s ease;
}

.swiper-slide:hover {
    transform: scale(1.05);
}

.swiper-button-next,
.swiper-button-prev {
    color: #ffffff;
    background-color: #ff6347;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #e5533c;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .examples__title {
        font-size: 2rem;
    }

    .example-card {
        padding: 20px;
    }

    .swiper-slide {
        width: 90%;
    }
}

.reviews {
    margin-top: 50px;
    padding: 30px 0;
    background-color: #fafafa;
}

.reviews__title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.review {
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    max-width: 300px;
    width: 100%;
    height: 200px;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.reviews__slider {
    max-width: 800px;
    margin: 0 auto;
}

.reviews__slider .swiper-wrapper {
    display: flex;
}

.reviews__slider .swiper-slide {
    flex-shrink: 0;
    width: calc(100% - 30px);
    margin: 0 15px;
}

/* section examples */

/* why us */

.whyus {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.whyus__title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
}

.whyus__list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.whyus__item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 250px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whyus__icon {
    font-size: 24px;
    flex-shrink: 0;
}

.whyus__text {
    font-size: 16px;
}

.whyus__button {
    margin-top: 30px;
    background-color: #ff6347;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.whyus__button:hover {
    background-color: #ff4500;
}

@media (max-width: 768px) {
    .whyus__list {
        flex-direction: column;
        align-items: center;
    }

    .whyus__item {
        width: 100%;
    }
}

/* why us */

/* how-to-order */

.how-to-order {
    padding: 30px;
    background-color: #f9f9f9;
    font-family: 'Arial', sans-serif;
}

.how-to-order__title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.how-to-order__steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.how-to-order__step {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 30%;
    text-align: center;
}

.how-to-order__step-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.how-to-order__step-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.how-to-order__button {
    padding: 12px 24px;
    font-size: 16px;
    background-color: #ff6347;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.how-to-order__button:hover {
    background-color: #e5533c;
}

/* Адаптивность */
@media (max-width: 768px) {
    .how-to-order__steps {
        flex-direction: column;
        align-items: center;
    }

    .how-to-order__step {
        width: 80%;
        margin-bottom: 20px;
    }

    .how-to-order__title {
        font-size: 24px;
    }

    .how-to-order__step-title {
        font-size: 18px;
    }

    .how-to-order__step-description {
        font-size: 14px;
    }

    .how-to-order__button {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .how-to-order__title {
        font-size: 20px;
    }

    .how-to-order__step-title {
        font-size: 16px;
    }

    .how-to-order__step-description {
        font-size: 12px;
    }

    .how-to-order__button {
        font-size: 12px;
        padding: 10px 20px;
    }
}

/* how-to-order */

/* about-us */

.about-us {
    padding: 40px;
    background-color: #f9f9f9;
    font-family: 'Arial', sans-serif;
}

.about-us__title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.about-us__description {
    font-size: 18px;
    text-align: center;
    color: #555;
    margin-bottom: 30px;
}

.about-us__advantages {
    margin-bottom: 30px;
}

.about-us__advantages-title {
    font-size: 22px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.about-us__advantages-list {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

.about-us__advantages-item {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.about-us__cta-button {
    display: block;
    margin: 0 auto;
    padding: 15px 30px;
    font-size: 18px;
    background-color: #e5533c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

.about-us__cta-button:hover {
    background-color: #ff4500;
}

/* Адаптивность */
@media (max-width: 768px) {
    .about-us__team {
        flex-direction: column;
        align-items: center;
    }

    .about-us__team-member {
        margin-bottom: 30px;
    }

    .about-us__team-photo {
        width: 120px;
        height: 120px;
    }

    .about-us__title {
        font-size: 24px;
    }

    .about-us__description {
        font-size: 16px;
    }

    .about-us__cta-button {
        font-size: 16px;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .about-us__title {
        font-size: 20px;
    }

    .about-us__description {
        font-size: 14px;
    }

    .about-us__team-name {
        font-size: 14px;
    }

    .about-us__team-role {
        font-size: 12px;
    }

    .about-us__cta-button {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* about-us */

/* prices-services */

.prices-services {
    padding: 40px;
    background-color: #f9f9f9;
    font-family: 'Arial', sans-serif;
}

.prices-services__title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.prices-services__description {
    font-size: 18px;
    text-align: center;
    color: #555;
    margin-bottom: 30px;
}

/* Таблица для десктопа */
.prices-services__table-container {
    display: none;
}

.prices-services__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.prices-services__table th,
.prices-services__table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #ddd;
}

.prices-services__table th {
    background-color: #007bff;
    color: white;
}

.prices-services__table td {
    background-color: #fff;
}

/* Карточки для мобильной версии */
.prices-services__cards-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.prices-services__card {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 30%;
}

.prices-services__card-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
}

.prices-services__card-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.prices-services__card-price {
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 20px;
}

.prices-services__button {
    padding: 12px 20px;
    background-color: #e5533c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.prices-services__button:hover {
    background-color: #ff4500;
}

/* Акция */
.prices-services__promo {
    background-color: #ffcc00;
    padding: 30px;
    text-align: center;
    margin-top: 40px;
    border-radius: 8px;
}

.prices-services__promo-title {
    font-size: 24px;
    color: #e5533c;
    margin-bottom: 20px;
}

.prices-services__promo-description {
    font-size: 22px;
    color: #333;
    margin-bottom: 30px;
}

.prices-services__timer {
    /* font-size: 32px; */
    color: #ff4500;
    margin-bottom: 30px;
}

.prices-services__promo-button {
    padding: 15px 30px;
    background-color: #e5533c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
}

.for-mobile {
    display: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .prices-services__table-container {
        display: none;
    }

    .prices-services__cards-container {
        flex-direction: column;
        align-items: center;
    }

    .prices-services__card {
        width: 80%;
        margin-bottom: 20px;
    }
    
    .prices-services__promo-button {
        display: none;
    }

}

@media (max-width: 480px) {
    .prices-services__title {
        font-size: 22px;
    }

    .prices-services__description {
        font-size: 16px;
    }

    .prices-services__card-title {
        font-size: 20px;
    }

    .prices-services__card-description {
        font-size: 14px;
    }

    .prices-services__card-price {
        font-size: 16px;
    }

    .prices-services__button {
        font-size: 14px;
        padding: 10px 20px;
    }

    .prices-services__timer {
        display: none;
    }

    .for-mobile {
        display: block;
    }

}

/* prices-services */

/* faq */

.faq {
    padding: 40px;
    background-color: #f9f9f9;
    font-family: 'Arial', sans-serif;
}

.faq__title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.faq__description {
    font-size: 18px;
    text-align: center;
    color: #555;
    margin-bottom: 30px;
}

.faq__accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq__question {
    width: 100%;
    padding: 15px;
    text-align: left;
    background-color: #e5533c;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background-color 0.3s;
}

.faq__question:hover {
    background-color: #e53e2d;
}

.faq__answer {
    padding: 15px;
    background-color: #f1f1f1;
    display: none;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
}

.faq__additional-question {
    margin-top: 30px;
    padding: 12px 20px;
    background-color: #e5533c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    width: 100%;
    transition: background-color 0.3s;
}

.faq__additional-question:hover {
    background-color: #ff4500;
}

/* Адаптивность */
@media (max-width: 768px) {
    .faq__title {
        font-size: 24px;
    }

    .faq__description {
        font-size: 16px;
    }

    .faq__question {
        font-size: 16px;
        padding: 12px;
    }

    .faq__answer {
        font-size: 14px;
    }

    .faq__additional-question {
        font-size: 16px;
        padding: 10px 15px;
    }
}

/* faq */


/* contact */

.contacts {
    padding: 40px;
    background-color: #f9f9f9;
    font-family: 'Arial', sans-serif;
}

.contacts__title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.contacts__description {
    font-size: 18px;
    text-align: center;
    color: #555;
    margin-bottom: 30px;
}

.contacts__info {
    margin-bottom: 30px;
    text-align: center;
}

.contacts__link {
    color: #e5533c;
    text-decoration: none;
}

.contacts__link:hover {
    color: #ff4500;
}

.contacts__form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contacts__form-label {
    font-size: 16px;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

.contacts__form-input,
.contacts__form-textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.contacts__form-textarea {
    min-height: 120px;
    resize: vertical;
}

.contacts__form-button {
    padding: 12px 20px;
    background-color: #e5533c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    width: 100%;
}

.contacts__form-button:hover {
    background-color: #ff4500;
}

/* Адаптивность */
@media (max-width: 768px) {
    .contacts__title {
        font-size: 24px;
    }

    .contacts__description {
        font-size: 16px;
    }

    .contacts__form-input,
    .contacts__form-textarea {
        font-size: 14px;
        padding: 10px;
    }

    .contacts__form-button {
        font-size: 14px;
        padding: 10px;
    }
}

/* contact */

/* blog */

.blog {
    padding: 40px;
    background-color: #f9f9f9;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.blog__title {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
}

.blog__widget-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 0 10px;
    width: 100%;
}

#preview {
    width: 100%;
    max-width: 800px;
    height: 500px;
    margin: 0 auto;
    box-shadow: 0 0 16px 3px rgba(0, 0, 0, .2);
}

/* Адаптивность */
@media (max-width: 768px) {
    #preview {
        max-width: 100%;
        height: 400px;
        /* уменьшаем высоту на мобильных */
    }
}

/* blog */

/* footer */

.footer {
    background-color: #1f1f1f;
    color: #fff;
    padding: 40px 0;
    font-family: 'Arial', sans-serif;
    text-align: center;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer__phone,
.footer__address {
    font-size: 16px;
    color: #ddd;
    margin: 5px 0;
    text-align: left;
}

.footer__links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.footer__list {
    text-align: left;
}


.footer__link {
    display: block;
    font-size: 16px;
    color: #e5533c;
    margin: 5px 0;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #ff4500;
}

.footer__social {
    margin-top: 20px;
}

.footer__social-link {
    display: inline-block;
    margin: 0 10px;
}

.footer__social-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.footer__social-link:hover .footer__social-icon {
    transform: scale(1.2);
}

.footer__bottom {
    margin-top: 40px;
    font-size: 14px;
    color: #ddd;
}

.footer__contact-info {
    text-align: left;
}

.footer__copyright {
    color: #ddd;
}

/* Адаптивность */
@media (max-width: 768px) {
    .footer__top {
        flex-direction: column;
    }

    .footer__contact-info,
    .footer__links {
        flex: 1 0 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .footer__phone,
    .footer__address,
    .footer__link,
    .footer__social-icon {
        font-size: 14px;
    }

    .footer__social-icon {
        width: 25px;
        height: 25px;
    }
}

/* footer */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    padding-top: 50px;
    margin: 20px 0 70px 0;
}

.modal__content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    /* Ограничение максимальной ширины */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    margin: 0 auto;
    box-sizing: border-box;
    /* Учитываем padding в ширине */
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    cursor: pointer;
}

.modal__title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.modal__form {
    display: flex;
    flex-direction: column;
}

.form__group {
    margin-bottom: 20px;
}

.form__group label {
    font-size: 16px;
    margin-bottom: 5px;
}

.form__group input,
.form__group textarea,
.form__group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    margin-top: 5px;
    box-sizing: border-box;
}

.form__group textarea {
    resize: vertical;
}

.checkbox-label {
    font-size: 14px;
}

#privacyPolicy {
    width: 30px;
}

.form__submit {
    background-color: #e5533c;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form__submit:hover {
    background-color: #ff4500;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 1024px) {
    .modal__content {
        padding: 20px;
        max-width: 80%;
    }

    .modal__title {
        font-size: 22px;
    }

    .form__group label {
        font-size: 14px;
    }

    .form__group input,
    .form__group textarea,
    .form__group select {
        font-size: 14px;
        padding: 10px;
    }

    .form__submit {
        font-size: 16px;
        padding: 12px;
    }
}

/* Адаптивность для экранов 768px и меньше (например, планшеты) */
@media (max-width: 768px) {
    .modal__content {
        padding: 15px;
        max-width: 90%;
    }

    .modal__title {
        font-size: 20px;
    }

    .form__group label {
        font-size: 14px;
    }

    .form__group input,
    .form__group textarea,
    .form__group select {
        font-size: 14px;
        padding: 8px;
    }

    .form__submit {
        font-size: 15px;
        padding: 10px;
    }
}

/* Адаптивность для мобильных устройств (меньше 480px) */
@media (max-width: 480px) {
    .modal__content {
        padding: 10px;
        max-width: 75%;
    }

    .modal__title {
        font-size: 18px;
    }

    .form__group label {
        font-size: 13px;
    }

    .form__group input,
    .form__group textarea,
    .form__group select {
        font-size: 13px;
        padding: 7px;
    }

    .form__submit {
        font-size: 14px;
        padding: 8px;
    }
}