body{
    padding: 0;
    margin: 0;
    background-color: black;
}
.site_block {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    box-sizing: border-box;

    border: 2px solid #132871;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.95;

    z-index: 1999; /* Поверх всего */

    padding-left: 20px;
    padding-right: 20px;
    font-size: 18px;

}
.contact_numbers{
    font-size: 18px;
}
.header_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 20px;
}
.header_left {
    display: flex;
    align-items: center;
}

.header_logo {
    height: 40px;
}

.header_nav a {
    margin: 0 35px;
    text-decoration: none;
    font-weight: 500;
    color: #132871;
    transition: color 0.3s;
}

.header_nav a:hover {
    color: #0f1e6e;
}

.header_contacts {
    display: flex;
    align-items: center;
}

.contact_numbers {
    display: flex;
    flex-direction: column;
    margin-right: 10px;
    font-weight: 500;
}

.contact_icons a {
    margin-left: 10px;
}

.contact_icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.burger_menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.burger_menu div {
    width: 25px;
    height: 3px;
    background-color: #132871;
    border-radius: 2px;
}

.mobile_menu_overlay {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    z-index: 9999;
    justify-content: flex-end;
    align-items: stretch;
    transition: background 0.3s ease;
}

.mobile_menu {
    width: 250px;
    background-color: #132871;
    height: 100vh;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
    color: white;
    display: flex;
    flex-direction: column;
}

.mobile_menu.show {
    transform: translateX(0);
}

.close_button {
    font-size: 30px;
    cursor: pointer;
    align-self: flex-end;
}

.mobile_nav a {
    display: block;
    margin: 15px 0;
    color: white;
    font-weight: 500;
    text-decoration: none;
    font-size: 18px;
}

.mobile_nav a:hover {
    text-decoration: underline;
}

.mobile_contacts {
    display: none;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    padding: 10px 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .header_nav,
    .header_contacts {
        display: none;
    }
    .header_container{
        width: 60%;
    }

    .burger_menu {
        display: flex;
    }

    .mobile_contacts {
        display: flex;
        font-size: 11px;
    }
}

body.no_scroll {
    overflow: hidden;
    position: relative;
}

.select-search {
    width: 100%;
    padding: 6px 10px;
    margin-bottom: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}



/* Попап-оверлей */
.popup_overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;   /* ✅ заменили 100% на 100vw */
    height: 100vh;  /* ✅ заменили 100% на 100vh */
    backdrop-filter: blur(12px);
    background-color: rgba(0, 0, 0, 0.2);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    overflow: hidden;

    animation: fadeInOverlay 0.4s ease forwards;
}

/* Анимация появления оверлея */
@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Контент попапа */
.popup_content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 30px 25px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    animation: popupSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1c1c1e;
}

/* Анимация появления попапа */
@keyframes popupSlideIn {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.form_group {
    margin-bottom: 20px;
    text-align: left;
}

.form_group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 15px;
}

.form_group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.form_group input:focus {
    border-color: #132871;
    box-shadow: 0 0 10px rgba(19, 40, 113, 0.3);
    outline: none;
}

.error_message {
    color: red;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Apple-style кнопка */
.popup_submit_button {
    background: #132871;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 10px;
}

.popup_submit_button:hover {
    background-color: #0f1e6e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

body.no_scroll {
    overflow: hidden;
}

/* Адаптив */
@media (max-width: 480px) {
    .popup_content {
        padding: 20px 15px;
    }

    .popup_submit_button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* базовый стиль: скрыто и не перехватывает клики */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #132871, #555555);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;

    /* важно: изначально не мешать кликам и не занимать место */
    display: none;
    pointer-events: none;
}

/* видимое состояние */
.notification.show {
    display: block;            /* делаем видимым (display включаем до transition) */
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;      /* кликабельно, но только когда видно */
}

/* ошибка */
.notification.error {
    background: linear-gradient(135deg, #ff4b4b, #a00000);
}



@media (min-width: 700px) {
    .products-container {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .product-card {
        max-width: 350px;
        flex: 1 1 300px;
    }
}

























.site_footer {
    background-color: #132871;
    padding: 40px 0 20px 0;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.footer_container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer_logo img {
    height: 60px;
    margin-bottom: 30px;
}

.footer_top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer_nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer_nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer_nav a:hover {
    opacity: 0.7;
}

.footer_contacts {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.footer_contacts a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.contact_icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.footer_separator {
    width: 100%;
    height: 1px;
    background-color: white;
    margin: 20px 0;
    opacity: 0.3;
}

.footer_bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 14px;
}

.footer_bottom a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    transition: opacity 0.3s ease;
}

.footer_bottom a:hover {
    opacity: 0.7;
}

.footer_company {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.8;
}

/* Мобильная версия */
@media (max-width: 768px) {

    .footer_top {
        flex-direction: column;
        align-items: center;
    }

    .footer_nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px 30px;
        margin-bottom: 20px;
    }

    .footer_contacts {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 20px;
        margin-bottom: 20px;
    }

    .footer_bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .footer_bottom a {
        margin-left: 0;
    }
}













.block1 {
    position: relative;
    background-image: linear-gradient(0.492turn, rgba(0,0,0,1) 64%, rgba(19,40,113,1) 85%);
    color: #fff;
    padding: 60px 20px;
    overflow: hidden;

    font-family: Arial, sans-serif; /* шрифт */
    font-weight: bold;              /* жирный */
}

.half-circle {
    position: absolute;
    bottom: 0;
    left: -150px;
    width: 750px;
    height: 750px;
    border-radius: 50%;
    background: rgba(19,40,113,0.8);
    z-index: 1;
}

/* ------------------ внутренняя сетка ------------------ */
.block1-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "header image"
        "textside image"
        "features image"
        "button image";
    gap: 20px;
    border: 2px solid #fff;
    border-radius: 20px;
    padding: 40px;
    align-items: start;
}

/* ------------------ области грида ------------------ */
.text-header { grid-area: header; }
.block1-textside { grid-area: textside; }
.block1-imageside { grid-area: image; }
.features { grid-area: features; }
.cta-btn { grid-area: button; }

/* ------------------ заголовок ------------------ */
.text-header h1 { font-size: 2rem; margin: 0; }
.text-header .subtitle { font-size: 1.2rem; color: #ddd; margin-bottom: 10px; }

/* ------------------ фичи ------------------ */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    border: 2px solid #fff;
    border-radius: 12px;
    padding: 10px 15px;
    gap: 12px;
    min-height: 70px;
    box-sizing: border-box;
}

.feature img { width: 42px; height: 42px; }

/* ------------------ кнопка ------------------ */
.cta-btn {
    background-image: linear-gradient(0.746turn, rgba(43, 80, 210, 1) 0%, rgba(0, 20, 89, 1) 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 20px;
}

.cta-btn:hover { background: #ddd; }

/* ------------------ изображение ------------------ */
.block1-imageside {
    position: relative;
    overflow: hidden; /* скрывает остальные изображения */
    display: flex;
    justify-content: center;
    align-items: center;
}

.car-slider {
    z-index: 2;
    display: flex;
    transition: transform 0.5s ease; /* плавный сдвиг */
    width: 300%; /* 3 слайда = 3 * 100% */
}

.car-slide {
    min-width: 100%; /* каждый слайд занимает 100% ширины блока */
    display: flex;
    justify-content: center;
    align-items: center;
}

.car-slide img {
    max-width: 100%;
    height: auto;
    display: block;
}

.car-wrapper { position: relative; display: inline-block; }

.car-img { display: block; position: relative; z-index: 2; max-width: 100%; height: auto; }

.flag-gif {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 400px;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

/* ------------------ мобильная версия ------------------ */
@media (max-width: 768px) {
    .block1 { padding: 30px 15px; }
    .half-circle { display: none; }

    .block1-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "image"
            "features"
            "button";
        padding: 20px;
        gap: 15px;
        text-align: center;
    }

    .features { grid-template-columns: 1fr; justify-items: center; }
    .feature { justify-content: flex-start; }
    .cta-btn { width: fit-content; margin: 0 auto; }

    .text-header h1 { font-size: 1.6rem; }
    .text-header .subtitle { font-size: 1rem; margin-bottom: 15px; }

    .car-img { max-width: 80%; margin: 0 auto; }
    .flag-gif { width: 200px; top: -15px; right: -15px; }
    .feature{width: 100%}
    .features{width: 100%}
}
@media (max-width: 768px) {
    .block1-inner {
        display: flex;
        flex-direction: column;
        align-items: center;  /* центрирует все внутренние блоки по горизонтали */
        padding: 20px;
        gap: 15px;
        text-align: center;
    }

    .features {
        width: 100%;           /* ширина 90% родителя */
        display: grid;        /* можно оставить grid внутри features для фич */
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: left;
    }

    .feature {
        width: 100%;
        justify-content: flex-start;
    }

    .cta-btn {
        width: fit-content;
        margin: 0 auto;
    }

    .text-header h1 { font-size: 1.6rem; }
    .text-header .subtitle { font-size: 1rem; margin-bottom: 15px; }

    .car-img { max-width: 80%; margin: 0 auto; }
    .flag-gif { width: 200px; top: -15px; right: -15px; }
}























/* ------------------ Блок 2 ------------------ */
.block2 {
    width: 100%;
    background-color: #fff;
    padding: 60px 20px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Заголовок */
.block2-header {
    display: block; /* делаем блочным, чтобы текст был под 01 */
    margin-bottom: 40px;
}

.block2-number {
    color: #9ba7d1;
    font-size: 80px;
    font-family: 'TildaSans', Arial, sans-serif;
    line-height: 1.0;
    font-weight: 800;
    display: block; /* блок, чтобы занимал всю ширину */
    margin-bottom: 0; /* убираем нижний отступ */
}

.block2-title {
    font-size: 60px;
    line-height: 1.2;
    font-weight: bold;
    display: block;
    margin: 0; /* максимально близко к 01 */
}

.block2-title span {
    color: #132871;
}

/* ----------------- Логотипы ----------------- */
.block2-logos-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.block2-logos-track {
    display: flex;
    width: max-content;
    animation: scroll-logos 20s linear infinite;
}

.block2-logos {
    display: flex;
    gap: 40px;
    white-space: nowrap;
}

.block2-logos img {
    max-height: 80px;
    flex-shrink: 0;
}

/* Анимация бесконечного скролла */
@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ----------------- Мобильная версия ----------------- */
@media (max-width: 768px) {
    .block2 {
        padding: 30px 15px;
    }

    .block2-number {
        font-size: 50px;
        margin-bottom: 10px;
    }

    .block2-title {
        font-size: 35px;
        line-height: 1.3;
    }

    .block2-title span {
        display: block;        /* перенос на новую строку */
    }

    .block2-title span::first-letter {
        text-transform: uppercase; /* первая буква заглавная */
    }

    .block2-logos {
        gap: 20px;
    }

    .block2-logos img {
        max-height: 50px;
    }
}
























/* ------------------ Блок 3 ------------------ */
.block3 {
    width: 100%;
    background-color: #fff;
    padding: 60px 20px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    text-align: center;
}

.block3-number {
    color: #9ba7d1;
    font-size: 80px;
    font-family: 'TildaSans', Arial, sans-serif;
    line-height: 1.0;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
}

.block3-title {
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 40px;
}

.block3-title span {
    color: #132871;
}

/* ---------------- Форма ---------------- */
.block3-form {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    min-width: 200px;
    flex: 1;
}

.form-group label {
    font-size: 14px;
    margin-bottom: 5px;
    text-align: left;
}

.form-group input {
    color: rgb(0, 0, 0);
    border: 1px solid rgb(19, 40, 113);
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 400;
    height: 50px;
    padding: 0 12px;
    box-sizing: border-box;
}



#b3-submit {
    background-color: #132871;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
    width: 50%;
    font-size: 22px;
}

#b3-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* ---------------- Кнопки соцсетей ---------------- */
.block3-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex
;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 8px;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    justify-content: center;
}

.social-btn img {
    height: 40px;
}

.social-btn.telegram {
    width: 40%;
    color: #01b0eb;
}

.social-btn.whatsapp {
    color: #38971f;
    width: 40%;
}

/* ---------------- Мобильная версия ---------------- */
@media (max-width: 768px) {
    .block3-title {
        font-size: 35px;
        margin-bottom: 20px;
    }
    .social-btn.whatsapp{
        width: 90%;
    }
    .social-btn.telegram{
        width: 90%;
    }
    .block3-form {
        flex-direction: column;
        gap: 15px;
    }

    .form-group {
        min-width: 100%;
    }

    #b3-submit {
        width: 100%;
        font-size: 18px;
    }

    .block3-socials {
        flex-direction: column;
        gap: 15px;
    }

    .social-btn {
        justify-content: center;
    }
}
.checkbox-label2 {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.3;
    margin-top: 15px;
    text-align: left;
    justify-content: center;
}
.checkbox-label2 input[type="checkbox"] {
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    margin-top: 2px;
}
/* Ссылка в тексте */
.checkbox-label2 .link-span {
    color: #132871;
    text-decoration: underline;
}
@media (max-width: 768px) {
    .checkbox-label2 {
        flex-direction: column;   /* ставим текст под чекбоксом */
        align-items: center;      /* выравнивание по центру */
        text-align: center;
    }

    .checkbox-label2 input[type="checkbox"] {
        margin: 0 0 8px 0;  /* отступ снизу */
    }
}
.checkbox-label2 input {
    margin-right: 8px;
    vertical-align: middle;
    width: 30px;
    height: 30px;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}
.shake {
    animation: shake 0.4s;
}
.block3-header{
    text-align: left;
}





























/* ------------------ Блок 4 ------------------ */
.block4 {
    width: 100%;
    background-color: #fff;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    text-align: center;
}

.block4-header {
    text-align: left;
    margin-bottom: 40px;
    padding-left: 20px;
}

.block4-number {
    color: #9ba7d1;
    font-size: 80px;
    font-family: 'TildaSans', Arial, sans-serif;
    line-height: 1.0;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
}

.block4-title {
    font-size: 60px;
    font-weight: bold;
    margin: 0;

}

.block4-title span {
    color: #132871; /* синий для "В наличии" */
}

/* Мобильная версия */
@media (max-width: 768px) {
    .block4-title {
        font-size: 35px;
    }
}


























.block5 {
    display: flex;
    flex-direction: column;
    width: 100%;

    padding: 40px;
    border-radius: 10px;
    background-color: #132871;
    color: #fff;
    box-sizing: border-box;
    gap: 20px;
}

/* Левая часть: текст и кнопка */
.block5-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}

/* Заголовок и подзаголовок */
.block5-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
}

.block5-subtitle {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
}

/* Кнопка */
.block5-btn {
    color: #fff;
    font-size: 18px;
    font-family: Arial, sans-serif;
    line-height: 1.55;
    font-weight: 600;
    border-radius: 5px;
    background-color: #2a58f5;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    margin-top: 10px;
}

.block5-btn:hover {
    background-color: #1e3fc2;
}

/* Слайдер */
.block5-slider-wrapper {
    width: 100%;
    overflow: hidden;
}

.car-slider-block5 {
    display: flex;
    flex-direction: column;
}

.car-img-block5 {
    display: none; /* по умолчанию скрыты */
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Десктоп */
@media (min-width: 1024px) {
    .block5 {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
    }

    .block5-left {
        width: 40%;
        align-items: flex-start;
        text-align: left;
    }

    .block5-slider-wrapper {
        width: 500px;
    }
}

/* Мобильная версия */
@media (max-width: 1023px) {
    .block5 {
        flex-direction: column;
        width: 100%;
        padding: 25px;
    }

    .block5-left {
        align-items: center;
        text-align: center;
    }

    .block5-slider-wrapper {
        width: 100%;
        margin: 20px 0;
    }

    .block5-btn {
        width: 100%;
        margin-top: 10px;
    }
}














.block6 {
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    background-color: white;
}

.block6-header {
    text-align: center;
    margin-bottom: 40px;
}

.block6-number {
    color: #9ba7d1;
    font-size: 80px;
    font-family: 'TildaSans', Arial, sans-serif;
    line-height: 1.0; /* уже маленький, оставляем */
    font-weight: 800;
    display: block;
    margin-bottom: 5px; /* уменьшили марджин */
    text-align: left;
}

.block6-title {
    text-align: left;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1; /* уменьшили интерлиньяж */
    display: block;
    margin-top: 0; /* на всякий случай убрали верхний марджин */
}


.block6-title span {
    color: #132871;
}
@media (max-width: 768px) {
    .block6-title {
        font-size: 35px;
    }
}
/* Сетка блоков */
.block6-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.block6-item {
    background-color: #132871;
    color: #fff;
    padding: 25px 20px;
    border-radius: 10px;
}

.block6-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
}

.block6-item p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

/* Изображение */
.block6-image img {
    width: 100%;
    border-radius: 10px;
    display: block;
    margin-top: -40px;
}

/* Десктоп */
@media(min-width: 1024px) {
    .block6-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        align-items: start;
    }

    /* Последний блок заменяется изображением, если нечетное количество блоков */
    .block6-image {
        grid-column: 2;
        grid-row: span 2; /* по высоте заменяет 2 блока */
        align-self: start;
        margin-top: 0;
    }
}

/* Мобильная версия */
@media(max-width: 1023px) {
    .block6-grid {
        grid-template-columns: 1fr;
    }

    .block6-image {
        margin-top: -70px;
    }
}



























/* -------------------- Общие стили block7 -------------------- */
.block7 {
    width: 100%;

    padding: 40px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: #132871;
    overflow-x: hidden; /* запрещаем горизонтальный скролл */
    background-color: white;
}

.block7-number {
    font-size: 80px;
    font-weight: 800;
    line-height: 1.0;
    margin-bottom: 10px;
    text-align: left;
    color: #9ba7d1;
}

.block7-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: black;
    margin-top: 0;
}
.blue{
    color: #132871;
}
/* Сетка карточек */
.block7-cards {
    display: grid;
    grid-template-columns: 1fr; /* мобильная — одна колонка */
    gap: 20px;
    align-items: stretch; /* карточки одинаковой высоты */
}

@media (min-width: 1024px) {
    .block7-cards {
        grid-template-columns: repeat(3, 1fr); /* десктоп — три колонки */
    }
}

/* Карточка */
.block7-card {
    border: 2px solid #132871;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    box-sizing: border-box;
    background-color: #f9f9f9;
    max-width: 100%;
    word-break: break-word; /* чтобы текст не ломал ширину */
}

.block7-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.block7-card p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

/* Последний блок с кнопкой */
.block7-card-action {
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 20px;
    gap: 15px;
    background-color: transparent;
    height: 100%; /* растягиваем блок на всю высоту колонки */
}

.block7-card-action p {
    color: #132871;
    font-size: 16px;
    line-height: 1.5;
}

.block7-card-action button {
    background-color: #132871;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 20px 55px;
    cursor: pointer;
    font-size: 35px;
    font-weight: 600;
}

.block7-card-action button:hover {
    background-color: #0d1e5a;
}

/* -------------------- Мобильная версия -------------------- */
@media (max-width: 1023px) {
    .block7-number {
        text-align: left;
        font-size: 80px;
    }
    .block7-title {
        text-align: left;
        font-size: 35px;
    }
    .block7-card-action {
        width: 100%;
        padding: 15px 10px;
    }
}
body{
    max-width: 100%;
}










.block8 {
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: white;
}

.block8-number {
    color: #9ba7d1;
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
}

.block8-title {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.block8-title .blue-text {
    color: #132871;
}

.block8-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* мобильная — 2 блока */
    gap: 20px;
}

.block8-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 10px;
    background-color: #f0f4ff; /* светлый фон, при необходимости меняем */
    border-radius: 8px;
}

.block8-item p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.block8-item p span {
    color: #132871;
    font-weight: 700;
}

.block8-icon {
    margin-bottom: 10px;
}
@media (max-width: 800px) {
    .block8-title{
        font-size: 30px;
    }
}
@media (min-width: 1024px) {
    .block8-grid {
        grid-template-columns: repeat(6, 1fr); /* десктоп — все блоки в ряд */
    }
}





















.block9 {
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: white;
}

.block9-number {
    color: #9ba7d1;
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
}

.block9-title {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.block9-title .blue-text {
    color: #132871;
}

/* Видео-блок */
.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    padding: 20px 0;

}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #6a11cb 0%, #b06cff 100%);
    border: none;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button::before {
    content: '';
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent white;
    display: block;
    margin-left: 4px;
}

.load-more-btn {
    padding: 14px 28px;
    font-size: 16px;
    background-color: #0071e3;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.load-more-btn:hover {
    background-color: #005bb5;
}

@media (max-width: 768px) {
    .block9-title {
        font-size: 35px;
    }
}






















.block10 {
    width: 100%;

    padding: 40px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: white;
}

.block10-number {
    color: #9ba7d1;
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
}

.block10-title {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.block10-title .blue-text {
    color: #132871;
}

/* Фото-сетка */
.photo-otziv {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 0 auto;
    padding: 20px 0;
}

.photo-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    background: #f2f2f2;
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: block;
}

.photo-wrapper img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.photo-load-more-wrapper {
    text-align: center;
    margin-top: 20px;
}

.load-more-btn {
    padding: 14px 28px;
    font-size: 16px;
    background-color: #0071e3;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.load-more-btn:hover {
    background-color: #005bb5;
}

/* Модалка */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-image {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 32px;
    color: white;
    cursor: pointer;
    z-index: 10000;
}

@media (max-width: 768px) {
    .block10-title { font-size: 28px; }
    .photo-otziv {
        grid-template-columns: repeat(2, 1fr);
    }
}





















.block11 {
    margin: 0 auto;
    padding: 40px 20px;
    background-color: white;
    margin-top: -5px;
}
.block11-number {
    color: #9ba7d1;
    font-size: 64px;
    font-weight: 800;
    display: block;
    margin-bottom: 8px;
}
.block11-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    margin: 0;
}
.blue-text { color: #132871; }

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    background: #fff;
    border: none;
    padding: 16px 20px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s ease;
}
.faq-question:hover { background: #f9f9f9; }
.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e0e0e0;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.faq-icon::before, .faq-icon::after {
    content: "";
    position: absolute;
    background: #000;
    transition: transform 0.3s ease;
}
.faq-icon::before {
    top: 50%; left: 20%;
    width: 60%; height: 2px;
    transform: translateY(-50%);
}
.faq-icon::after {
    left: 50%; top: 20%;
    width: 2px; height: 60%;
    transform: translateX(-50%);
}
.faq-item.open .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.5;
    padding: 0 20px;
    color: #333;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
    max-height: 1000px;
    padding: 16px 20px;
}


























/* -------------------- block12 (Контакты) -------------------- */
.block12 {

    margin: 0;
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: white;
}
.block12-number {
    color: #9ba7d1;
    font-size: 64px;
    font-weight: 800;
    display: block;

}
.block12-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    margin: 0;
}
.block12-title span { color: #132871; }

/* контейнер основного контента: слева инфо, справа карта */
.block12-content {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    flex-wrap: nowrap;
    align-items: center;
}

/* левая колонка (информация) */
.block12-info {
    flex: 1 1 420px; /* минимум для колонки с текстом */
    min-width: 280px;
}
.block12-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 12px 0 6px;
}
.block12-info p {
    font-size: 16px;
    margin: 0 0 12px;
    line-height: 1.5;
}

/* кнопки соцсетей: по умолчанию горизонтально (десктоп) */
.block12-socials {
    display: flex;
    flex-direction: row;      /* <-- горизонтально на десктопе */
    gap: 12px;
    margin-top: 20px;
    align-items: center;
}

/* общие стили кнопок */
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.15s ease, transform 0.12s ease;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* иконки внутри кнопок */
.social-btn img {
    width: 24px;
    height: 24px;
    display: inline-block;
}



/* правая колонка (карта) */
.block12-map {
    flex: 1 1 420px;
    min-width: 280px;
    min-height: 320px;
    border-radius: 12px;
    overflow: hidden;
}

/* -------------------- Адаптив -------------------- */
@media (max-width: 768px) {
    .block12-info{
        flex:none;
    }
    .block12-content {
        flex-direction: column;
        gap: 18px;


        align-items: flex-start
    }

    /* кнопки вертикально на мобилке */
    .block12-socials {
        flex-direction: column;  /* <-- теперь вертикально на мобильных */
        align-items: stretch;    /* растянуть кнопки по ширине контейнера */
    }

    .social-btn {
        justify-content: center; /* центрируем текст и иконку */
        width: 100%;
        padding: 12px 14px;
        border-radius: 10px;
    }

    .block12-map {
        order: 3;        /* карта всегда внизу */
        height: 300px;
        flex: none;
    }
}

/* мелкая корректировка для очень узких экранов */
@media (max-width: 420px) {
    .block12-number { font-size: 48px; }
    .block12-title { font-size: 22px; }
    .block12-info h3 { font-size: 16px; }
    .block12-info p { font-size: 15px; }
    .social-btn img { width: 20px; height: 20px; }
}

