* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope', sans-serif;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fff;
    color: #222;
    max-width: 1920px;
    margin: 0 auto;
}

.container {
    width: 100%;
    max-width: 1436px; /* 1920px - 242px - 242px */
    margin: 0 auto;
    padding: 0;
}

.header {
    width: 100%;
    padding: 35px 0 0 0;
    background: #fff;
}

.nav {
    display: flex;
    justify-content: center;
    gap: 48px;
    font-size: 24px;
    font-weight: 400;
}

.nav-item {
    color: #535050;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-item:hover {
    color: #298FFF;
}

/* Стили для элементов мобильного меню */
.mobile-menu-container .nav-item {
    display: block;
    padding: 10px 20px;
    font-size: 18px;
    color: #2B2B2B;
    background-color: rgba(239, 247, 255, 0.7);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 250px;
}

.mobile-menu-container .nav-item:hover {
    background-color: #469FFF;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin: 44px 0 40px 0;
    color: #2B2B2B;
    font-family: 'Alef', sans-serif;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}
.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 70px;
    width: 100%;
}
.hero-text {
    max-width: 744px;
    font-size: 32px;
    font-weight: 400;
    line-height: 130%;
    letter-spacing: 0;
    color: #2B2B2B;
}
.hero-text p {
    margin-bottom: 24px;
}
.hero-text p:last-child {
    margin-bottom: 0;
}
.hero-img {
    width: 586px;
    height: 378px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.cta {
    background: #EFF7FF;
    padding: 40px 0 30px 0;
    margin-bottom: 60px;
    border-radius: 20px;
}
.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 101px;
    margin-bottom: 24px;
}
.cta-content span {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Alef', sans-serif;
    line-height: 38.4px;
    color: #2B2B2B;
    max-width: 933px;
}
.cta-button {
    background: #469FFF;
    color: #F7F4F4;
    font-size: 24px;
    font-weight: 800;
    border-radius: 19px;
    padding: 20px;
    width: 410px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background 0.2s;
}
.cta-button:hover {
    background: #298FFF;
}
.openModal {
    background: #469FFF;
    color: #F7F4F4;
    font-size: 24px;
    font-weight: 800;
    border-radius: 19px;
    padding: 20px;
    width: 410px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background 0.2s;
}

.openModal:hover {
    background: #298FFF;
}

.cta-sub {
    color: #2B2B2B;
    font-size: 28px;
    font-weight: 400;
    margin-left: 0;
    line-height: 36.4px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin: 60px auto 60px;
    font-family: 'Alef', sans-serif;
    line-height: 48px;
    color: #2B2B2B;
    max-width: 1436px;
    padding: 0;
    text-align: left;
}

.for-whom {
    padding: 70px 0 60px 0;
    background: #FAFAFA;
    margin-top: 0;
}
.for-whom-cards {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
.for-whom-card {
    background: #FAFAFA;
    padding: 32px 20px;
    text-align: center;
}
.for-whom-card img {
    margin-bottom: 40px;
    width: 170px;
    height: 164px;
}
.for-whom-card h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 32px;
    line-height: 38.4px;
}
.for-whom-card p {
    font-size: 28px;
    line-height: 33.6px;
    color: black;
}

.services {
    padding: 70px 0 60px 0;
}
.services h2 {
    text-align: left;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 60px;
    font-family: 'Alef', sans-serif;
    line-height: 48px;
    color: #2B2B2B;
}
.services-cards {
    display: flex;
    justify-content: space-between;
    gap: 37px;
}
.service-card {
    background: #FAFAFA;
    border: 4px solid #469FFF;
    border-radius: 10px;
    padding: 58px 30px;
    width: 48%;
    text-align: center;
    height: 357px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-card.wider {
    width: 750px;
}

.service-card h3 {
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 24px;
    color: #363535;
    max-width: 700px; /* Ограничение ширины */
    margin: 0 auto;  /* автоматический перенос */
    text-align: center;
}
.service-price {
    color: #298FFF;
    font-size: 48px;
    font-weight: 700;
    font-family: 'Alef', sans-serif;
}

.advantages {
    padding: 70px 0 60px 0;
}
.advantages h2 {
    text-align: left;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 60px;
    font-family: 'Alef', sans-serif;
    line-height: 48px;
    color: #2B2B2B;
}
.advantages-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.advantage-card {
    background: #F8FBFF;
    border-radius: 10px;
    box-shadow: 6px 6px 12px #DEEFFF;
    padding: 40px 40px;
    width: 464px;
    text-align: center;
    height: 536px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.advantage-card img {
    margin-bottom: 40px;
    width: 333px;
    height: 201px;
    background: #DEEFFF;
    border-radius: 40px;
    object-fit: contain;
}
.advantage-card h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #2B2B2B;
    font-family: 'Manrope', sans-serif;
    line-height: 35.2px;
}
.advantage-card p {
    font-size: 20px;
    line-height: 24px;
    color: #302C2C;
}

.faq {
    padding: 70px 0 60px 0;
}
.faq h2 {
    text-align: left;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 60px;
    line-height: 48px;
    font-family: 'Manrope', sans-serif;
    color: #2B2B2B;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-item {
    background: #BCDCFF;
    border-radius: 0;
    width: 100%;
    padding: 32px 144px;
}
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
    position: relative;
}

.faq-question {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 0;
    color: #2B2B2B;
    font-family: 'Manrope', sans-serif;
    display: flex;
    align-items: center;
}

.faq-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.faq-toggle img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
    font-size: 18px;
    line-height: 1.5;
    color: #535050;
    padding: 0 20px;
    margin-top: 20px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .arrow-icon {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .faq-answer {
        font-size: 16px;
        line-height: 1.4;
        padding: 0 15px;
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .faq-answer {
        font-size: 14px;
    }
}

/* Создаем белую линию под заголовком при неактивном состоянии */
.faq-item:not(.active) .faq-header {
    border-bottom: 4px solid white;
    padding-bottom: 24px;
}

.footer {
    background: #497096;
    color: #fff;
    padding: 56px 0;
    font-size: 24px;
    margin-top: 60px;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left, .footer-center, .footer-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-center {
    margin-left: 30px;
}

.footer-right {
    max-width: 462px;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 5px;
}

.footer-center a {
    color: white;
    text-decoration: none;
    margin-bottom: 4px;
    font-size: 24px;
}
.footer-center a:hover {
    text-decoration: underline;
}
.footer-right a {
    color: white;
    text-decoration: underline;
}

/* Стили для модального окна */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.modal-content {
    position: relative;
    background-color: #35266B;
    color: white;
    margin: 10% auto;
    padding: 30px;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin: 0 auto;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.modal-subtitle {
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
    opacity: 0.8;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background-color: white;
    color: #333;
    font-size: 16px;
}

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

.submit-button {
    width: 100%;
    padding: 15px;
    background-color: #469FFF;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #3180d0;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 3px 2px rgba(70, 159, 255, 0.5);
}

#phone {
    letter-spacing: 1px;
    font-family: monospace;
    font-size: 18px;
}

