
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}/* Общие стили */
        :root {
            --primary-blue: #0056b3; /* Акцентный синий */
            --text-dark: #333;
            --text-on-bg: #fff; /* Белый текст для фона */
        }

        body {
            margin: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--text-dark);
        }

        /* --- ХЭДЕР (Минималистичный) --- */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 5%;
            background-color: #fff;
            /* Убрал явный фон, оставил белый и легкую тень для отделения */
            box-shadow: 0 1px 5px rgba(0,0,0,0.1); 
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .logo {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--primary-blue);
            text-transform: uppercase;
            text-decoration: none;
        }

        nav ul {
            list-style: none;
            display: flex;
            gap: 25px;
            margin: 0;
            padding: 0;
        }
        .nav-menu{
            display: flex;
            align-items: center;
        }
        nav a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.3s ease;
        }

        nav a:hover {
            color: var(--primary-blue);
        }

/* Основные стили секции */
.hero {
    position: relative;
    min-height: 300px; /* Высоту можно настроить под себя */
    display: flex;
    align-items: center;
    background: url('../img/contactfone.jpeg') no-repeat center center / cover;
    color: #ffffff;
    background-size: cover;
    background-position: 20% 90%; /* Настройка позиции фона */
    font-family: Arial, sans-serif; /* Или ваш основной шрифт */
}

/* Затемнение фона для читаемости текста */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 46, 99, 0.7), rgba(0, 86, 179, 0.5)); /* Прозрачность слоя */
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.hero p{
    font-size: 100px;
    font-weight: 700;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

                .logo img{
            width: 60px;
        }

        .logo{
            display: flex;
            align-items: center;
            gap: 10px;
        }



        /* --- Секция Контакты --- */
.contact-section {
    padding: 130px 0 40px 0;
    background-color: #fff; /* Белый фон, как на остальном сайте */
    overflow: hidden; /* Чтобы декоративные элементы не вылезали за экран */
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Выравнивание по верху */
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* --- Левая часть (Инфо) --- */
.contact-info {
    flex: 1;
}

.contact-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 40px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: #f4f8ff; /* Светло-голубой фон под иконкой */
    border-radius: 50%; /* Круглые иконки */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.contact-text h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.contact-text p, .contact-text a {
    margin: 0;
    color: #555;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.contact-text a:hover {
    color: var(--primary-blue);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.social-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: underline;
}

/* --- Правая часть (Форма) --- */
.contact-form-wrapper {
    flex: 1;
    position: relative; /* Чтобы позиционировать декор относительно формы */
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px; /* Немного скруглил углы */
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); /* Мягкая тень, как карточка */
    position: relative;
    z-index: 2; /* Форма над декором */
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 550px; /* Делаем форму визуально длиннее (вертикальной) */
}

.contact-form h3 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    color: var(--text-dark);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
   
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box; /* Важно, чтобы паддинги не ломали ширину */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

/* Кнопка отправки */
.btn-submit {
    background-color: var(--primary-blue);
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: auto; /* Прижимает кнопку к низу, если форма растянута */
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #004494; /* Чуть темнее при наведении */
}

/* --- ДЕКОР (Приколюхи) --- */
.deco-shape {
    position: absolute;
    z-index: 1; /* Под формой */
}

/* Круг сверху-справа */
.deco-circle-top {
    width: 150px;
    height: 150px;
    background-color: var(--primary-blue);
    opacity: 0.1; /* Прозрачный */
    border-radius: 50%;
    top: -40px;
    right: -40px;
}

/* Квадрат снизу-слева */
.deco-square-bottom {
    width: 200px;
    height: 200px;
    border: 4px solid var(--primary-blue); /* Только рамка */
    opacity: 0.2;
    bottom: -20px;
    left: -20px;
     /* Немного наклонил для стиля */
}

/* Адаптив для мобильных */
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
        gap: 50px;
        justify-content: center;
         width: 100%;
         align-items: center;
    }

    .contact-info {
        width: 100%;
        flex: 0;
    }
    .contact-form-wrapper{
  width: 500px;
    }
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 600px){
    .contact-form-wrapper{
        width: 100%;
        padding: 10px;
    }
    .deco-circle-top {

        top: -20px;
        right: -20px;
    }
    .hero p{
        font-size: 80px;
    }
}
/* Стили секции */
   :root {
  --map-height: 500px;
}

body {
  margin: 0;
}

.map-controls {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 10px 20px;
   position: absolute;
}

.btn {
  padding: 10px 16px;
  cursor: pointer;
}

.map {
  position: relative;
  width: 100%;
  height: var(--map-height);
}

.map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: none;
  position: relative;
}

.map-frame.active {
  display: block;
}
  .btnn {
    gap:8px;
    padding: 10px 14px;
    border: none;
    background: white;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(157, 83, 13, 0.096);
    text-transform: uppercase;
    z-index: 10;
  }
  .mapss{
    padding: 50px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
/* Анимация плавного появления */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Адаптив для фигур и карты */
@media (max-width: 768px) {
    .map-shape {
        width: 150px;
        height: 150px;
    }
    .maps-switcher-section {
        padding: 60px 5%;
    }
    .map-card-wrapper {
        height: 400px;
    }
}


.conec{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 2%;
    background-color: #f1f1f1;
    font-size: 0.9rem;
}
.conec span{
    color: red;
}
.conec a{
    text-decoration: none;
    color: #333;
}
@media (max-width: 570px){
    .conec{
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
@media (max-width: 375px){
    .conec{
        font-size: 0.8rem;
    }
}
/* --- КНОПКА "НАВЕРХ" --- */
.scroll-top-btn {
    position: fixed;
    bottom: 40px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue); /* Ваш синий цвет */
    color: #fff;
    border: none;
    border-radius: 50%; /* Делает кнопку круглой */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 9999; /* Чтобы была поверх всего */
    
    /* Скрываем кнопку по умолчанию */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* Класс, который мы добавим через JS, чтобы показать кнопку */
.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: #004494; /* Темнее при наведении */
    transform: translateY(-5px); /* Легкое всплытие */
}

/* Бургер меню */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 2001;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.burger-menu.active span:nth-child(2) { opacity: 0; }
.burger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Адаптация для мобильных */
@media (max-width: 900px) {
    header {
        justify-content: space-between;
        padding: 15px 5%;
    }

    .burger-menu {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin-bottom: 40px;
    }

    .nav-menu a {
        font-size: 1.5rem;
        font-weight: 700;
        color: #333;
    }
    
    .lang-switcher {
        margin-left: 0;
        transform: scale(1.2);
    }
}

/* Переключатель языков */
.lang-switcher {
    display: flex;
    gap: 8px;
    margin-left: 20px;
}

.lang-btn {
    border: 1px solid #ccc;
    background: transparent;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.lang-btn.active {
    background-color: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}
@media (max-width: 450px){
    .hero p{
        font-size: 60px;
        text-align: center;
    }
    .contact-section{
        padding: 50px 10px 20px 10px;
    }
}
.section-label{
        display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}
@media (max-width: 400px) {
    .scroll-top-btn{
        bottom: 53px;
    }
}