@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;
}

/* ===== ШАПКА (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; }
.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;
}
.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;
}

/* ===== ЗАГОЛОВОК СТРАНИЦЫ ===== */
.questions_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;
}

/* ===== ВОПРОСЫ ===== */
.questions-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}
.question-item {
    background: rgba(237, 204, 111, 1);
    border-radius: 20px;
    padding: 27px 25px 30px;
}
.question-h {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-weight: bold;
    font-size: 18px;
    color: rgba(8, 71, 103, 1);
    margin: 0 0 8px;
}
.question-text {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 18px;
    color: rgba(8, 71, 103, 1);
    line-height: 1.5;
    margin: 0;
}

/* ===== БЛОК "ОСТАЛИСЬ ВОПРОСЫ?" ===== */
.communication {
    background: rgba(8, 71, 103, 1);
    border-radius: 15px;
    padding: 0px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 60%;              /* ← ширина 60% */
    max-width: 60%;          /* чтобы не растягивался */
    gap: 20px;
    margin: 50px auto 60px;  /* ← центрирование по горизонтали */
}
.communication_text {
    font-family: 'EvolventaRegular', Arial, sans-serif;
    font-size: 26px;
    color: rgba(122, 206, 211, 1);
	margin-top: 28px;
	margin-bottom: 25px;
    white-space: nowrap;
}
.communication-icons {
    display: flex;
    gap: 18px;
    margin-top: 19px;
	margin-bottom: 15px;
}
.comm-icon {
    width: 38px;
    height: 38px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    transition: transform 0.2s;
}
.comm-icon:hover { transform: scale(1.1); }
.comm-phone    { background-image: url("../svg/иконка телефон.svg"); }
.comm-email    { background-image: url("../svg/иконка почта.svg"); }
.comm-telegram { background-image: url("../svg/иконка телеграм.svg"); }
.comm-whatsapp { background-image: url("../svg/иконка ватцап.svg"); }
.comm-vk       { background-image: url("../svg/иконка вк.svg"); }
.comm-max      { background-image: url("../svg/иконка макс.svg"); }

/* ===== АДАПТИВНОСТЬ КОНТЕНТА ===== */
@media (max-width: 1200px) {
    .content { padding: 0 30px; }
    .communication { flex-direction: column; align-items: center; text-align: center; }
    .communication_text { white-space: normal; }
}
@media (max-width: 768px) {
    .content { padding: 0 15px; }
    .comm-icon { width: 32px; height: 32px; }
    .communication-icons { gap: 12px; }
}
@media (max-width: 480px) {
    .question-item { padding: 15px; }
    .communication { padding: 15px; }
    .comm-icon { width: 28px; height: 28px; }
}
@media (max-width: 1800px) {
    .communication {
        flex-direction: column;     /* перестраиваем в колонку */
        align-items: center;        /* центрируем всё по центру */
        text-align: center;
    }
    .communication_text {
        white-space: normal;        /* разрешаем перенос текста */
		margin: 28px auto 0px;
		text-align: center;
    }
	.communication-icons {
        margin: 0px auto 15px;
    }
}

@media (max-width: 768px) {
    .communication {
        width: 90%;                /* на планшетах делаем шире */
        padding: 15px 20px;
    }
    .communication_text {
		margin: 28px auto 0px;
		text-align: center;
    }
    .communication-icons {
        gap: 12px;
		margin: 0px auto 15px;
    }
    .comm-icon {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .communication {
        width: 100%;               /* на телефонах на всю ширину */
        padding: 15px;
    }
    .communication_text {
		margin: 28px auto 0px;
		text-align: center;
    }
    .comm-icon {
        width: 28px;
        height: 28px;
		margin: 0px auto 15px;
    }
}

/* ===== ФУТЕР ===== */
.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);
}