@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 { font-size: 16px; padding: 6px 14px; }
    .nav-dropdown-menu { min-width: 160px; }
    .nav-item { font-size: 16px; 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;
}

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

/* ===== СЕТКА СТРАН ===== */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.country-card {
    aspect-ratio: 415 / 363;
    background: #e0d5c8;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 0;
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.country-card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.country-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(248, 242, 233, 0.7);
    padding: 15px 20px;
    z-index: 2;
    backdrop-filter: blur(2px);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.country-card-title {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-weight: bold;
    font-size: 31px;
    color: rgba(8, 71, 103, 1);
    margin: 0;
    line-height: 1.2;
    pointer-events: none; /* чтобы клик проходил через заголовок к карточке */
}

/* ===== АДАПТИВНОСТЬ СЕТКИ ===== */
@media (max-width: 1400px) {
    .content { padding: 0 40px; }
    .countries-grid { gap: 30px; }
}

@media (max-width: 1200px) {
    .content { padding: 0 30px; }
    .countries-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    .country-card-title { font-size: 24px; }
}

@media (max-width: 768px) {
    .content { padding: 0 15px; }
    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .country-card-title { font-size: 20px; }
    .country-card-content { padding: 12px; }
}

@media (max-width: 480px) {
    .countries-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .country-card-title { font-size: 18px; }
    .country-card-content { padding: 10px; }
}

/* ===== ФУТЕР (как в news) ===== */
.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;
    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"); }

.futer-col1 {
    flex: 0 0 350px;
    margin-right: 173px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    top: -10px;
}
.futer-col2 {
    flex: 0 0 150px;
    margin-right: 194px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    top: -10px;
}
.futer-col3 {
    flex: 0 0 315px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    top: -10px;
}

.futer_pravo1, .futer_company1, .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_pravo2, .futer_pravo3, .futer_pravo4,
.futer_company2, .futer_company3, .futer_company4, .futer_company5, .futer_company6,
.futer_office2, .futer_contacts2, .futer_contacts3 {
    font-family: 'Libre Franklin', Arial, sans-serif;
    font-size: 18px;
    color: rgba(248, 242, 233, 1);
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: normal;
}
.futer_pravo4 { width: 350px; }
.futer_office2 { width: 415px; }
.futer_contacts1 { margin-top: 10px; }

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

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

/* ===== АДАПТИВНОСТЬ ФУТЕРА ===== */
@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; }
}
@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: 0;
        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;
        margin-top: 10px;
        padding-top: 0;
    }
    .futer_info1 { max-width: 100%; }
    .futer_info2 { text-align: left; }
}
@media (max-width: 600px) {
    .futer_wrapper { padding: 15px; }
    .futer_logo { width: 120px; height: 56px; }
    .futer_pravo1, .futer_company1, .futer_office1, .futer_contacts1 { font-size: 24px; }
    .futer_pravo2, .futer_pravo3, .futer_pravo4,
    .futer_company2, .futer_company3, .futer_company4,
    .futer_company5, .futer_company6,
    .futer_office2, .futer_contacts2, .futer_contacts3,
    .futer_info1, .futer_info2 { font-size: 16px; }
}

/* ===== ЧАТ-БОТ (без изменений) ===== */
.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);
}