@charset "UTF-8";
@font-face {
    font-family: 'EvolventaRegular';
    src: url('../font/Evolventa-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
* {
  box-sizing: border-box;
}
body {
    font-size: 14px;
    margin: 0;
    background: rgba(248, 242, 233, 1); /* фон всей страницы */
}
.bg {
    min-height: 100vh;
    background: rgba(248, 242, 233, 1);
    padding-bottom: 1px; /* чтобы не схлопывались margin'ы */
}
/* ----- ШАПКА (flex) ----- */
.header_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 101px;
    background: rgba(8, 71, 103, 1);
    padding: 0 70px;
    position: relative;
    margin: 0 auto;
}

.header {
    display: none; /* больше не нужен, фон задан на .header_wrapper */
}

.logoLeto {
    width: 124px;
    height: 58px;
	position: relative;
	top: 3px;
    background: url("../svg/логотип Лето.svg") no-repeat center center / cover;
    flex-shrink: 0; /* не сжимается */
}

/* ----- НАВИГАЦИЯ (контейнер для ссылок и бургера) ----- */
.nav-container {
    display: flex;
    align-items: center;
    margin-left: auto;   /* прижимаем к правому краю перед контактами */
    margin-right: 70px;  /* отступ от контактного блока */
}

/* Обычные ссылки (видны на ПК) */
.nav-links {
    display: flex;
    gap: 40px;
	position: relative;
	top: 20px;
    align-items: center;
}

.nav-link {
    color: rgba(237, 204, 111, 1);
    font-family: 'EvolventaRegular', Arial, sans-serif;
    font-size: 24px;
    text-decoration: none;
    white-space: nowrap; /* не переносить */
    transition: color 0.2s;
}

.nav-link:hover {
    color: rgba(241, 156, 20, 1);
}

/* Бургер-меню (скрыт на ПК) */
.nav-dropdown {
    display: none; /* показываем только на узких экранах */
	position: relative;
	top: 14px;
    position: relative;
}

/* ----- КОНТАКТНОЕ МЕНЮ (в потоке) ----- */
.contact-dropdown {
    position: relative;
	top: 14px;
	z-index: 200;
    flex-shrink: 0;
}

.contact-dropdown-btn {
    width: 193px;
    height: 34px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: url("../svg/связь.svg") no-repeat center / contain;
    border: none;
    border-radius: 21px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-dropdown-btn:hover {
    background: url("../svg/связь выделена.svg") no-repeat center / contain;
}

.contact-dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    min-width: 220px;
    background: rgba(248, 242, 233, 1);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 200;
}

.contact-dropdown-menu.open {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: rgba(8, 71, 103, 1);
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(8, 71, 103, 0.05);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item:hover {
    background: rgba(237, 204, 111, 1);
}

.contact-item img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-item span {
    white-space: nowrap;
}

/* ===== СТИЛИ ДЛЯ БУРГЕР-МЕНЮ (когда оно видно) ===== */
.nav-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(8, 71, 103, 1);
    border: 2px solid rgba(237, 204, 111, 1);
    border-radius: 21px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(237, 204, 111, 1);
    font-family: 'EvolventaRegular', Arial, sans-serif;
    font-size: 20px;
}

.nav-dropdown-btn:hover {
    background: rgba(237, 204, 111, 1);
    color: rgba(8, 71, 103, 1);
    border-color: rgba(8, 71, 103, 1);
}

.hamburger-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
    height: 18px;
}

.hamburger-icon span {
    display: block;
    height: 3px;
    background: currentColor;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-dropdown-btn.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-dropdown-btn.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}
.nav-dropdown-btn.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-dropdown-btn.active .nav-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    min-width: 200px;
    background: rgba(248, 242, 233, 1);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 200;
}

.nav-dropdown-menu.open {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.nav-item {
    display: block;
    padding: 14px 24px;
    color: rgba(8, 71, 103, 1);
    font-family: 'EvolventaRegular', Arial, sans-serif;
    font-size: 20px;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(8, 71, 103, 0.05);
}

.nav-item:last-child {
    border-bottom: none;
}

.nav-item:hover {
    background: rgba(237, 204, 111, 1);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1200px) {
    .nav-links {
        display: none;          /* скрываем обычные ссылки */
    }
    .nav-dropdown {
        display: block;         /* показываем бургер */
    }
    .header_wrapper {
        padding: 0 30px;        /* уменьшаем отступы на узких экранах */
    }
}

@media (max-width: 768px) {
    .header_wrapper {
        padding: 0 15px;
    }
    
    .nav-dropdown-btn {
        padding: 6px 14px;
    }
    .nav-dropdown-menu {
        min-width: 160px;
    }
    .nav-item {
        padding: 10px 16px;
    }
}
@media (max-width: 480px) {
    .nav-container {
		margin-right: 10px;
	}
}
/* ===== АДАПТАЦИЯ НАВИГАЦИИ ДЛЯ ОЧЕНЬ МАЛЕНЬКИХ ЭКРАНОВ ===== */
@media (max-width: 400px) {
    .header_wrapper {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 15px;
        align-items: center;
        gap: 5px 0;
    }

    .logoLeto {
        order: 1;
        flex: 0 0 auto;
        top: 0;
    }

    .nav-container {
        order: 2;
        margin-left: auto;
        margin-right: 0;
        top: 0;
    }

    .contact-dropdown {
        order: 3;
        width: 100%;
        text-align: right;
        margin-top: 5px;
        top: 0;
        flex-shrink: 0;
    }

    /* Кнопка "Связаться" – если она не растягивается на всю ширину, оставляем её ширину, но выравниваем вправо */
    .contact-dropdown-btn {
        margin-left: auto;
        /* если нужно, можно сделать чуть меньше ширину */
        width: 170px;
    }

    /* Убираем лишние отступы у контейнера, если они есть */
    .nav-container .nav-dropdown {
        top: 0;
    }

    /* Убедимся, что выпадающее меню контактов не сдвигается влево */
    .contact-dropdown-menu {
        right: 0;
        left: auto;
    }
}
/* ===== ОБЩИЙ КОНТЕЙНЕР ===== */
.content {
    max-width: 1920px;
	position: relative;
	top: 101px;
    margin: 0 auto;
    padding: 0 70px;
}

/* ===== ЗАГОЛОВОК СТРАНИЦЫ ===== */
.about_text {
    display: block;
    font-family: 'EvolventaRegular', Arial, sans-serif;
    font-size: 36px;
    color: rgba(8, 71, 103, 1);
    text-align: center;
    margin: 30px 0 27px;
}

/* ===== БЛОК "О КОМПАНИИ" ===== */
.about_block {
    position: relative;
    background: rgba(237, 204, 111, 1);
    border-radius: 20px;
    padding: 27px 25px 30px;
    margin-bottom: 40px;
    min-height: 300px; /* чтобы фон не схлопывался */
}

.about_bg {
    /* фон уже задан у about_block, можно удалить этот элемент */
    display: none;
}

.about_inner {
    position: relative;
    z-index: 2;
}

.about_h1,
.about_h2,
.about_h3,
.about_h4,
.about_h5,
.about_h6 {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-weight: bold;
    font-size: 18px;
    color: rgba(8, 71, 103, 1);
    margin: 20px 0 8px;
}

.about_h1 {
    margin-top: 0;
}
.about_h6 {
    margin-top: 52px;
}

.about_text1,
.about_text2,
.about_text3,
.about_text4,
.about_text6 {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 18px;
    color: rgba(8, 71, 103, 1);
    line-height: 1.18;
    margin: 11px 0 41px;
}
.about_text6 {
    margin-bottom: -10px;
}
.about_text5 {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 18px;
    color: rgba(8, 71, 103, 1);
    line-height: 1.18;
}

.about_text5 p {
    margin: 0 0 10px 0;
}

.about_text5 ul {
    margin: 0;
    padding-left: 20px;
    padding-bottom: 9px;
    list-style-type: disc;
}

/* ===== ОТЗЫВЫ ===== */
.review {
    font-family: 'EvolventaRegular', Arial, sans-serif;
    font-size: 36px;
    color: rgba(8, 71, 103, 1);
    text-align: center;
    margin: 126px 0 27px;
}

.review_slider_container {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-bottom: 50px;
}

.review_bar {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.review_track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
}

.review_card {
    flex-shrink: 0;
    width: 520px;
    max-width: 100%;
    background: rgba(237, 204, 111, 1);
    border-radius: 20px;
    padding: 25px;
    box-sizing: border-box;
    min-height: 410px;
    height: auto;
}

.review_card .review_h {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 31px;
    font-weight: bold;
    color: rgba(8, 71, 103, 1);
    margin: 0 0 15px;
}

.review_card .review_text {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 18px;
    color: rgba(8, 71, 103, 1);
    line-height: 1.5;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
}

/* Скролл для текста отзывов */
.review_card .review_text::-webkit-scrollbar {
    width: 5px;
}
.review_card .review_text::-webkit-scrollbar-track {
    background: rgba(88, 53, 30, 0.1);
    border-radius: 10px;
}
.review_card .review_text::-webkit-scrollbar-thumb {
    background: rgba(88, 53, 30, 0.4);
    border-radius: 10px;
}

/* Кнопки слайдера */
.slider-btn {
    width: 50px;
    height: 50px;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    background: transparent;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

#prevReviewBtn {
    background-image: url("../svg/стрелка влево.svg");
}
#prevReviewBtn:hover {
    background-image: url("../svg/стрелка влево выделена.svg");
}
#nextReviewBtn {
    background-image: url("../svg/стрелка вправо.svg");
}
#nextReviewBtn:hover {
    background-image: url("../svg/стрелка вправо выделена.svg");
}

/* ===== ТУРОПЕРАТОРЫ ===== */
.turoperator_wrapper {
    position: relative;
    margin-bottom: 40px;
}

.turoperator_text {
    font-family: 'EvolventaRegular', Arial, sans-serif;
    font-size: 36px;
    color: rgba(8, 71, 103, 1);
    text-align: center;
    margin: 126px 0 27px;
    display: block;
}

.turoperator_bg {
    height: 214px;
    background: rgba(237, 204, 111, 1);
    border-radius: 20px;
    position: relative;
}

.turoperator_bar {
    position: absolute;
    top: 63%;
    left: 30px;
    right: 30px;
    transform: translateY(-50%);
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}
.turoperator_bar::-webkit-scrollbar {
    display: none;
}

.turoperator_bar > div {
    display: inline-block;
    width: 253px;
    height: 156px;
    margin-right: 41px; /* отступ между логотипами (294-253) */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 15px;
    flex-shrink: 0;
    vertical-align: top;
}

.turoperator_1  { background-image: url("../svg/туроператор 1.svg");  }
.turoperator_2  { background-image: url("../svg/туроператор 2.svg");  }
.turoperator_3  { background-image: url("../svg/туроператор 3.svg");  }
.turoperator_4  { background-image: url("../svg/туроператор 4.svg");  }
.turoperator_5  { background-image: url("../svg/туроператор 5.svg");  }
.turoperator_6  { background-image: url("../svg/туроператор 6.svg");  }
.turoperator_7  { background-image: url("../svg/туроператор 7.svg");  }
.turoperator_8  { background-image: url("../svg/туроператор 8.svg");  }
.turoperator_9  { background-image: url("../svg/туроператор 9.svg");  }
.turoperator_10 { background-image: url("../svg/туроператор 10.svg"); }
.turoperator_11 { background-image: url("../svg/туроператор 11.svg"); }
.turoperator_12 { background-image: url("../svg/туроператор 12.svg"); }
.turoperator_13 { background-image: url("../svg/туроператор 13.svg"); }
.turoperator_14 { background-image: url("../svg/туроператор 14.svg"); }
.turoperator_15 { background-image: url("../svg/туроператор 15.svg"); }
.turoperator_16 { background-image: url("../svg/туроператор 16.svg"); }
.turoperator_17 { background-image: url("../svg/туроператор 17.svg"); }
.turoperator_18 { background-image: url("../svg/туроператор 18.svg"); }
.turoperator_19 { background-image: url("../svg/туроператор 19.svg"); }
.turoperator_20 { background-image: url("../svg/туроператор 20.svg"); }
.turoperator_21 { background-image: url("../svg/туроператор 21.svg"); }
.turoperator_22 { background-image: url("../svg/туроператор 22.svg"); }
.turoperator_23 { background-image: url("../svg/туроператор 23.svg"); }
.turoperator_24 { background-image: url("../svg/туроператор 24.svg"); }

/* ===== ТРИ БЛОКА ВНИЗУ ===== */
.bottom-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 126px 0 50px;
}

/* Общие стили для всех трёх блоков (вынесены, чтобы не дублировать) */
.ur_info,
.rosestr,
.office {
    background: rgba(237, 204, 111, 1);
    border-radius: 20px;
    padding: 20px 25px;
    position: relative;
    min-height: 208px;
    display: flex;
    flex-direction: column;
}

/* Индивидуальные размеры */
.ur_info {
    flex: 1.2 1 280px;      /* 1 часть, минимальная ширина 280px */
    min-width: 280px;
}

.rosestr {
    flex: 2.5 1 320px;    /* 2.5 части — шире остальных */
    min-width: 300px;
    text-decoration: none;
    cursor: pointer;
}

.office {
    flex: 1 1 280px;      /* 1 часть */
    min-width: 280px;
}

/* Стили для содержимого внутри блоков (остаются без изменений) */
.ur_info_h,
.rosestr_h,
.office_h {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-weight: bold;
    font-size: 31px;
    color: rgba(8, 71, 103, 1);
    margin: 0 0 10px;
}

.ur_info_text,
.office_text {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 18px;
    color: rgba(8, 71, 103, 1);
    line-height: 1.6;
    margin: 0;
}

.rosestr_h {
    flex: 1; /* чтобы текст занимал всё свободное место, а иконка прижималась вниз */
}

.rosestr_ico {
    width: 53px;
    height: 64px;
    background: url("../svg/иконка росестр.svg") no-repeat center / contain;
    align-self: flex-end;
    margin-top: -10px;
}

.office_ico {
    width: 50px;
    height: 65px;
    background: url("../svg/иконка офис.svg") no-repeat center / contain;
    align-self: flex-end;
    margin-top: -10px;
}

/* ===== АДАПТИВНОСТЬ ===== */

/* Планшеты и узкие экраны */
@media (max-width: 1400px) {
    .content {
        padding: 0 40px;
    }
    .review_card {
        width: 400px;
        min-height: 350px;
    }
    .review_slider_container {
        gap: 15px;
    }
}

@media (max-width: 1200px) {
    .content {
        padding: 0 30px;
    }
    .review_card {
        width: 330px;
        min-height: 300px;
    }
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    .bottom-blocks {
        gap: 30px;
    }
    .ur_info, .rosestr, .office {
        flex: 1 1 100%;
        min-width: auto;
    }
}

@media (max-width: 900px) {
    .content {
        padding: 0 20px;
    }
    .review_card {
        width: 280px;
        min-height: 260px;
        padding: 18px;
    }
    .review_card .review_h {
        font-size: 20px;
    }
    .review_card .review_text {
        font-size: 14px;
        max-height: 200px;
    }
    .slider-btn {
        width: 35px;
        height: 35px;
    }
    .turoperator_bg {
        height: 160px;
    }
    .turoperator_bar > div {
        width: 180px;
        height: 110px;
        margin-right: 20px;
    }
    .rosestr_ico {
        width: 40px;
        height: 48px;
    }
    .office_ico {
        width: 38px;
        height: 50px;
    }
}

@media (max-width: 600px) {
    .content {
        padding: 0 10px;
    }
    .review_slider_container {
        gap: 10px;
    }
    .review_card {
        width: 220px;
        min-height: 220px;
        padding: 12px;
    }
    .review_card .review_text {
        max-height: 150px;
    }
    .slider-btn {
        width: 30px;
        height: 30px;
    }
    .turoperator_bg {
        height: 120px;
    }
    .turoperator_bar > div {
        width: 130px;
        height: 80px;
        margin-right: 15px;
    }
    .bottom-blocks {
        gap: 20px;
    }
    .ur_info, .rosestr, .office {
        padding: 15px;
        min-height: 150px;
    }
    .rosestr_ico {
        width: 32px;
        height: 38px;
    }
    .office_ico {
        width: 30px;
        height: 40px;
    }
}

/* ===== ФУТЕР ===== */
.futer_wrapper {
    margin: 0 auto;
    background: rgba(8, 71, 103, 1);
    padding: 24px 70px 20px;
    display: flex;
    flex-wrap: wrap;
	position: relative;
	margin-top: 246px;
    align-items: flex-start;
    gap: 0;
}

/* ----- Левая часть (логотип + соцсети) ----- */
.futer-left {
    flex: 0 0 267px;
    margin-right: 191px;
    display: flex;
    flex-direction: column;
	position: relative;
    align-items: flex-start;
}

.futer_logo {
    width: 186px;
    height: 87px;
    background: url("../svg/логотип Лето футер.svg") no-repeat center center / cover;
}

.futer_socials {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.futer_m1,
.futer_m2,
.futer_m3,
.futer_m4 {
    width: 38px;
    height: 38px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: inline-block;
}

.futer_m1 { background: url("../svg/иконка телеграм.svg"); }
.futer_m2 { background: url("../svg/иконка ватцап.svg"); }
.futer_m3 { background: url("../svg/иконка вк.svg"); }
.futer_m4 { background: url("../svg/иконка макс.svg"); }

/* ----- Колонка 1: Правовые документы ----- */
.futer-col1 {
    flex: 0 0 350px;
    margin-right: 173px;
    display: flex;
	position: relative;
	top: -10px;
    flex-direction: column;
    gap: 10px;
}

.futer_pravo1 {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-weight: bold;
    font-size: 31px;
    color: rgba(248, 242, 233, 1);
    margin-bottom: 6px;
}

.futer_pravo2,
.futer_pravo3,
.futer_pravo4 {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 18px;
    color: rgba(248, 242, 233, 1);
    text-decoration: none;
    transition: color 0.3s ease;
}

.futer_pravo4 {
    width: 350px;
    white-space: normal;
}

.futer_pravo2:hover,
.futer_pravo3:hover,
.futer_pravo4:hover {
    color: rgba(122, 206, 211, 1);
}

/* ----- Колонка 2: Компания ----- */
.futer-col2 {
    flex: 0 0 150px;
    margin-right: 194px;
    display: flex;
	position: relative;
	top: -10px;
    flex-direction: column;
    gap: 10px;
}

.futer_company1 {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-weight: bold;
    font-size: 31px;
    color: rgba(248, 242, 233, 1);
    margin-bottom: 6px;
}

.futer_company2,
.futer_company3,
.futer_company4,
.futer_company5,
.futer_company6 {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 18px;
    color: rgba(248, 242, 233, 1);
    text-decoration: none;
    transition: color 0.3s ease;
}

.futer_company2:hover,
.futer_company3:hover,
.futer_company4:hover,
.futer_company5:hover,
.futer_company6:hover {
    color: rgba(122, 206, 211, 1);
}

/* ----- Колонка 3: Офис и Контакты ----- */
.futer-col3 {
    flex: 0 0 315px;
    display: flex;
	position: relative;
	top: -10px;
    flex-direction: column;
    gap: 10px;
}

.futer_office1,
.futer_contacts1 {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-weight: bold;
    font-size: 31px;
    color: rgba(248, 242, 233, 1);
    margin-bottom: 6px;
}

.futer_office2,
.futer_contacts2,
.futer_contacts3 {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 18px;
    color: rgba(248, 242, 233, 1);
    white-space: normal;
}

.futer_office2 {
    width: 415px;
}

.futer_contacts1 {
    margin-top: 10px;
}

/* ----- Информационная строка внизу ----- */
.futer-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 30px;
    padding-top: 20px;
}

.futer_info1 {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 18px;
    color: rgba(122, 206, 211, 1);
    max-width: 60%;
}

.futer_info2 {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 18px;
    color: rgba(122, 206, 211, 1);
    text-align: right;
}

/* ===== АДАПТИВНОСТЬ ===== */

/* При ширине меньше 1400px уменьшаем отступы */
@media (max-width: 1800px) {
	.futer-col3 {
        margin-right: 100px;
		top: 40px;
    }
	.futer-info {
        margin-top: 60px;
    }
}
@media (max-width: 1300px) {
    .futer_wrapper {
        padding: 24px 40px 20px;
    }
    .futer-left {
        margin-right: 150px;
    }
    .futer-col1 {
        margin-right: 100px;
    }
    .futer-col2 {
        margin-right: 100px;
		top: 40px;
    }
	.futer-col3 {
        margin-right: 100px;
		top: 40px;
    }
}

/* При ширине меньше 1200px перестраиваем все колонки вертикально */
@media (max-width: 1000px) {
    .futer_wrapper {
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
    }

    .futer-left,
    .futer-col1,
    .futer-col2,
    .futer-col3 {
        flex: 0 0 auto;
        width: 100%;
        margin-right: 0;
		top: 0px;
        margin-bottom: 30px;
    }

    .futer-left {
        align-items: flex-start;
    }

    .futer_socials {
        gap: 20px;
    }

    .futer-col1,
    .futer-col2,
    .futer-col3 {
        gap: 6px;
    }

    .futer_pravo4,
    .futer_office2 {
        width: 100%;
    }

    .futer-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        border-top: none;
        padding-top: 0;
        margin-top: 60px;
    }

    .futer_info1 {
        max-width: 100%;
    }

    .futer_info2 {
        text-align: left;
    }
}

/* Для мобильных устройств */
@media (max-width: 600px) {
    .futer_wrapper {
        padding: 15px;
    }
    .futer_logo {
        width: 120px;
        height: 56px;
    }
}
/* ===== ЧАТ-БОТ ===== */

/* Кнопка открытия чата */
.chat-toggle {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 60px;
	height: 60px;
	background: url("../svg/чат.svg");
	border-radius: 50%;
	cursor: pointer;
	z-index: 998;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	transition: all 0.3s ease;
}

.chat-toggle:hover {
	background: url("../svg/чат выделено.svg");
}

.chat-toggle-icon {
	background: url("../svg/чат.svg");
}

.chat-toggle:hover .chat-toggle-icon {
	background: url("../svg/чат выделено.svg");
}

.chat-toggle-badge {
	position: absolute;
	top: -5px;
	right: -5px;
	background: rgba(241,156,20,1);
	color: rgba(8,71,103,1);
	font-family: Libre Franklin;
	font-size: 12px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
}

/* Само окно чата */
.chat-bot {
	position: fixed;
	bottom: 100px;
	right: 30px;
	width: 380px;
	height: 550px;
	background: rgba(248,242,233,1);
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
	z-index: 999;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transform: scale(0);
	opacity: 0;
	transform-origin: bottom right;
	transition: all 0.3s ease;
}

.chat-bot.open {
	transform: scale(1);
	opacity: 1;
}

/* Шапка чата */
.chat-header {
	background: rgba(8,71,103,1);
	padding: 15px;
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.chat-header-title {
	font-family: Libre Franklin;
  font-weight: bold;
	font-size: 18px;
	color: rgba(237,204,111,1);
	flex: 1;
}

.chat-header-status {
	font-family: Libre Franklin;
	font-size: 12px;
	color: rgba(76,175,80,1);
}

.chat-close {
	background: none;
	border: none;
	color: rgba(237,204,111,1);
	font-size: 24px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.chat-close:hover {
	color: rgba(241,156,20,1);
}

/* Область сообщений */
.chat-messages {
	flex: 1;
	padding: 15px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Стилизация скролла */
.chat-messages::-webkit-scrollbar {
	width: 5px;
}

.chat-messages::-webkit-scrollbar-track {
	background: rgba(88,53,30,0.1);
	border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb {
	background: rgba(88,53,30,0.3);
	border-radius: 10px;
}

/* Сообщения */
.chat-message {
	display: flex;
	gap: 10px;
	animation: messageAppear 0.3s ease;
}

@keyframes messageAppear {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.chat-message.user {
	flex-direction: row-reverse;
}

.message-avatar {
	width: 35px;
	height: 35px;
	background: url("../svg/чат бот.svg");
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
}

.chat-message.user .message-avatar {
	background: url("../svg/чат пользователь.svg");
}

.message-text {
	max-width: 70%;
	padding: 10px 15px;
	background: rgba(237,204,111,1);
	border-radius: 15px;
	font-family: Libre Franklin;
	font-size: 14px;
	color: rgba(8,71,103,1);
	line-height: 1.4;
	word-wrap: break-word;
}

.chat-message.user .message-text {
	background: rgba(241,156,20,1);
}

/* Кнопки-опции */
.chat-options {
	padding: 10px 15px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	border-top: 1px solid rgba(88,53,30,0.1);
}

.chat-option-btn {
	background: rgba(237,204,111,1);
	border: none;
	padding: 8px 12px;
	border-radius: 20px;
	font-family: Libre Franklin;
	font-size: 13px;
	color: rgba(8,71,103,1);
	cursor: pointer;
	transition: all 0.2s ease;
}

.chat-option-btn:hover {
	background: rgba(241,156,20,1);
	transform: scale(1.02);
}

/* Поле ввода */
.chat-input-area {
	display: flex;
	padding: 15px;
	gap: 10px;
	border-top: 1px solid rgba(88,53,30,0.1);
	background: rgba(248,242,233,1);
}

.chat-input {
	flex: 1;
	padding: 10px 15px;
	border: 1px solid rgba(88,53,30,0.2);
	border-radius: 25px;
	font-family: Libre Franklin;
	font-size: 14px;
	outline: none;
	background: white;
}

.chat-input:focus {
	border-color: rgba(241,156,20,1);
}

.chat-send {
	width: 40px;
	height: 40px;
	background: rgba(8,71,103,1);
	border: none;
	border-radius: 50%;
	color: rgba(237,204,111,1);
	font-size: 18px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.chat-send:hover {
	background: rgba(241,156,20,1);
	color: rgba(8,71,103,1);
	transform: scale(1.05);
}