* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
     font-family: EB garamond;
}

/* === Навигация === */
.nav-container {
    width: 100%;
}

.stranici {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    font-family: "Gill Sans", sans-serif;
}

.stranici a {
    text-decoration: none;
    color: black;
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
}

.stranici a.glav,
.stranici a:hover {
    color: orange;
    border-bottom: 1px solid orange;
}

.stranici a.glav {
    font-weight: 600;
}

.menu-toggle, .menu-overlay, .close-btn {
    display: none;
}

/* Контейнер для позиционирования справа в навигации */
.lang-wrapper {
    display: flex;
    align-items: center;
    padding-right: 20px;
}

.lang-switcher {
    position: relative;
    font-family: 'Lora', serif;
    cursor: pointer;
    user-select: none;
    z-index: 1100;
}

.selected-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    background: orange; /* Легкий фон, заметный на белом и цветном */
    border-radius: 6px;
    padding: 2px 10px;
    color: #ffffff; 
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
}

.selected-lang:hover {
    background: darkorange;
    border-color: orange;
}

.selected-lang svg {
    transition: transform 0.3s ease;
}

/* Поворот стрелочки при открытии */
.lang-switcher.active .selected-lang svg {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    right: 0;
    background: white;
    list-style: none;
    padding: 5px 0;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    display: none;
    min-width: 100px;
    overflow: hidden;
    animation: fadeIn 0.2s ease-out;
}

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

.lang-switcher.active .lang-dropdown {
    display: block;
}

.lang-dropdown li {
    padding: 10px 20px;
    color: #444;
    transition: 0.2s;
    font-size: 14px;
    text-align: left;
}

.lang-dropdown li:hover {
    background: #fff9f0;
    color: orange;
}

.lang-dropdown li.active {
    font-weight: bold;
    color: orange;
    background: #fff4e6;
}

/* Адаптивность для мобильного меню */
@media (max-width: 1000px) {
    .lang-wrapper {

        position: absolute;
        top: 20px;
        order: -1; /* Ставит выбор языка в начало мобильного списка */
    }
    .lang-switcher {
        width: 100%;
    }
    .selected-lang {
        justify-content: space-between;
    }
}

.section-title{
    background-image:linear-gradient(rgba(0, 0, 0, 0.285), rgba(0, 0, 0, 0.6)), url('../img/creative-feng-shui-composition\ —\ копия.jpg');
    background-size: cover;
    
    padding:  190px  0 20px 20px;

        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

}
.section-title h1{
    font-size: 100px;
    font-weight: 900;
    color: white;
    margin: 0;
}

/* Общие стили */

        body {
            color: #1e1811;
            
        }


/* Основной ряд: Контакты (лево) и Форма (право) */
.contacts-main-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: flex-start;
 
    margin: 0 auto;
}

.info-column { flex: 1.5; }
.form-column { flex: 1; position: sticky; top: 20px; }

/* Карточка контактов */
.contact-details h2 {
    font-size: 36px;
    margin-bottom: 30px;
    font-family: 'EB Garamond', serif;
    border-bottom: 3px solid orange;
    display: inline-block;
}

.contact-card {
    background: white;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 20px;
    border-left: 3px solid orange;
    padding-left: 15px;
}

.contact-item-title {
    display: block;
    font-weight: 700;
    color: orange;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.contact-item-value { font-size: 18px; color: #333; line-height: 1.5; }

/* Список телефонов */
.phones-list { margin-top: 25px; }
.phone-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.phone-entry b { font-size: 16px; color: #555; }
.phone-entry a {
    color: #1e1811;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.phone-entry img { width: 16px; opacity: 0.7; }
   
/* Блок Реквизитов */
.full-requisites {
    background: #eaeaea;
    color: white;
    padding: 40px;
    margin-top: 20px;
}

.full-requisites h3 {
    color: orange;
    font-size: 24px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.requisites-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.req-item { font-size: 14px; display: flex; gap: 10px;  padding-bottom: 8px; }
.req-label { color: #888; font-weight: 600; min-width: 80px; }
.req-val { color: #484848; font-weight: 500; }
.req-item.wide { grid-column: 1 / -1; }

/* Форма */
.contact-form-container {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)), url('../img/creative-feng-shui-composition.jpg');
    background-size: cover;
    padding: 40px;
    color: white;
}

.contact-form-container h2 span { color: orange; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12px; text-transform: uppercase; margin-bottom: 8px; color: #ccc; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(239, 239, 239, 0.1);
    border: 1px solid #444;
    color: white;
}

.submit-button {
    width: 100%;
    background: orange;
    color: white;
    padding: 15px;
    border: none;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.submit-button:hover { background: #ffb733; }

/* Адаптивность для мобилок */
@media (max-width: 900px) {
    .contacts-main-row { flex-direction: column; }
    .form-column { position: static; width: 100%; }
    .requisites-grid { grid-template-columns: 1fr; }
}
/* --- Стиль для Свидетельства по НДС (Полная строка) --- */

/* =========================================
   Адаптивность (Grid)
   ========================================= */

/* --- Контейнер Формы --- */
        .contact-form-container {
            background-image:linear-gradient(rgba(0, 0, 0, 0.285), rgba(0, 0, 0, 0.6)), url('../img/creative-feng-shui-composition.jpg');
            background-size: cover;
            padding: 45px;
            width: 500px;
            position: sticky;
            top: 20px; 
    
    /* Дополнительно: убедитесь, что высота родителя позволяет скроллить */
            align-self: flex-start;
            backdrop-filter: blur(5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Глубокая тень */
            border-radius: 0; /* Строго прямые углы */
            box-sizing: border-box;
        }

        /* --- Заголовки --- */
        .contact-form-container h2 {
            font-size: 34px;
            margin: 0 0 35px 0;
            color: #ffffff;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            line-height: 1.2;
        }
        
        .contact-form-container h2 span {
            color: orange; /* Выделение цветом */
        }

        /* --- Группировка полей --- */
        .form-group {
            margin-bottom: 25px;
            position: relative;
        }

        /* --- Лейблы (Подписи) --- */
        .contact-form label {
            display: block;
            font-size: 13px;
            color: #ffffff; /* Светло-голубой для мягкости */
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
        }

        /* --- Поля ввода и Textarea --- */
        .contact-form input[type="text"],
        .contact-form input[type="email"],
        .contact-form textarea {
            width: 100%;
            padding: 15px;
            background-color: #ffffff67; /* Чуть светлее фона контейнера */
            border: 1px solid #4f4f4f; /* Темная рамка */
            color: #ffffff;
            font-size: 16px;
            border-radius: 0 !important; /* ВАЖНО: никаких скруглений */
            box-sizing: border-box;
            transition: all 0.3s ease;
            outline: none;
        }

        /* Эффект при клике (Фокус) */
        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: orange;
            background-color: rgba(194, 165, 110, 0.797);
            box-shadow: -4px 4px 0px rgba(255, 165, 0, 0.2); /* Жесткая тень при фокусе */
        }

        /* Плейсхолдеры */
        ::placeholder {
            color: #ffffffa1;
            opacity: 1;
        }

        .contact-form textarea {
            resize: vertical;
            min-height: 120px;
        }

        /* --- Кнопка --- */
        .submit-button {
            width: 100%;
            background-color: orange;
            color: #ffffff; /* Темный текст для контраста */
            padding: 18px;
            border: none;
            cursor: pointer;
            border-radius: 0 !important; /* Прямые углы */
            font-size: 16px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 2px;
            transition: all 0.2s ease;
            position: relative;
            top: 0;
        }

        /* Эффекты кнопки */
        .submit-button:hover {
            background-color: #ffb733;
            transform: translateY(-2px); /* Легкий подъем */
            box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3);
        }

        .submit-button:active {
            transform: translateY(0);
            background-color: darkorange;
        }  
     
        .req-item-label {
            font-weight: 600;
            white-space: nowrap; /* Не переносить метку */
        }
        
        .req-item-value {
            color: #3a3a3a;
            font-weight: 700;
        }



/* === Футер (site-footer) === */
.site-footer {
    background-color: #f5f5f5;
    color: #4d4d4d;
    padding: 5px 0 20px 0;
}
.footer-bottom {
    padding: 10px 90px 0 90px;
    text-align: center;
    font-size: 16px;
    color: #777;
    display: flex;
    justify-content: space-between;
}



.footer-bottom a {
    color: orange;
    text-decoration: none;
}


    .scroll-to-top-btn {
    display: none; /* Сначала скрыта */
    position: fixed; /* Закреплена на экране */
    bottom: 20px; /* Отступ от нижнего края */
    right:  30px; /* Отступ от левого края (ВАШЕ ТРЕБОВАНИЕ) */
    z-index: 999; /* Поверх всех элементов */
    width: 50px;
    height: 50px;
    background-color: orange; /* Цвет кнопки */
    color: white;
    border: none;
    border-radius: 50%; /* Круглая форма */
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s, background-color 0.3s;
}
/* produce.css или другой файл */
 /* Стили секции */
   :root {
  --map-height: 500px;
}

body {
  margin: 0;
}

.map-controls {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 10px 20px;
  background-color: #f9f8f8;
}

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

.map-frame.active {
  display: block;
}
  .btn {
    gap:8px;
    padding: 10px 14px;
    border: none;
    background: var(--accent);
    color: orange;
    font-weight: 600;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(157, 83, 13, 0.096);
  }
  .btn.secondary {
    background: #f0f0f0;
    color: darkorange;
    box-shadow: none;
    font-weight:500;
  }
.scroll-to-top-btn:hover {
    background-color: darkorange;
}

/* Класс, который делает кнопку видимой */
.scroll-to-top-btn.show {
    display: block;
}
.contacts-container{
    padding: 50px ;
}
  @media (max-width: 1200px){
    .contact-form-container{
        width: 100%; margin-top: 40px;
    }
    .contacts-main-row{
        gap: 0;
    }
  }

  @media (max-width: 1111px){
  

  }
@media (max-width: 1070px){
    .stranici{
        gap: 20px;
    }
}

/* === МОБИЛЬНОЕ МЕНЮ (до 1000px) === */
@media (max-width: 1000px) {
    .req-item{
        flex-wrap: wrap;
    }
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        background: transparent;
        border: none;
        cursor: pointer;
        position: fixed; /* Fixed чтобы была видна всегда */
        top: 20px;
        right: 20px;
        z-index: 1200;
        padding: 0;
    }
    .menu-toggle span {
        width: 100%;
        height: 3px;
               background-color: #f8f8f8;
         box-shadow: -5px 0 15px rgba(0, 0, 0, 0.674);

        border-radius: 2px;
        transition: 0.3s;
    }
    .menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(3px);
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease-in-out;
    }
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    .stranici {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: auto;
        min-width: 250px;
        max-width: 80%;
        background-color: #fff;
        z-index: 1002;
        padding: 60px 40px 40px 40px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        gap: 20px;
        align-items: flex-start;
        transform: translateX(110%);
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }
    .stranici.active {
        transform: translateX(0);
    }
    .stranici a {
        font-size: 20px;
        border-bottom: 1px solid #eee;
        width: 100%;
        padding-bottom: 10px;
    }
    .close-btn {
        display: none;
        position: absolute;
        top: 15px;
        right: 20px;
        background: none;
        border: none;
        font-size: 36px;
        color: #555;
        cursor: pointer;
        line-height: 1;
        z-index: 1200;
    }
    .close-btn:hover {
        color: orange;
    }
    .stranici.active .close-btn {
        display: block;
    }
    .menu-toggle.hidden {
        display: none;
    }


}
@media (max-width: 1009px){
    .contacts-content{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .contact-form-container{
        max-width: 100%;
    }
    .contact-details{
        border-bottom: none;
    }
    .map-controls{
        padding: 0;
    }
}
@media (max-width: 750px){
    .section-title h1{
        font-size: 70px;
    }
    .section-title{
        padding: 140px 20px;
        text-align: center;
    }
    .contact-item-value{
        flex-wrap: wrap;
    }
    .contact-item-value b{
      flex: 0;
    }
    .contact-item-value a{
        flex: auto;
        align-items: flex-start;
        justify-content: center;
    }
}
@media (max-width: 900px) {
    .requisites-list {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
    }
}
@media (max-width: 650px){
    .map-controls{
        flex-direction: column;
        text-align: center;
    }
     .map-controls p{
        text-align: center;
        margin-right: auto;
     }
    .buttu{
        padding: 0 0 20px 0;
        display: flex;
        justify-content: end;
        gap: 20px;
    }
    .contact-details h2{
        text-align: center;
    }
     .footer-bottom{
        font-size: 20px;
        padding: 2px;
    }
}

@media (max-width: 500px){
    .contacts-section{
        padding: 30px 20px;
    }
    .requisites-list{
        grid-template-columns: 1fr;
    }
        .contact-item-value{
        flex-direction: column;
        text-align: left;
    }
    .contacts-container{
        padding: 0;
    }
}
@media (max-width: 450px){
    .contact-form-container{
        padding: 30px;
    }
    .phone-entry{
        flex-direction: column;
        text-align: left;
        justify-content: left;
        align-items: flex-start;
    }
    .contact-details{
        padding: 20px;
    }
}
@media (max-width: 376px){
    .section-title h1{
        font-size: 60px;
    }
    .contact-details h2{
        font-size: 30px;
    }
}
@media (max-width: 363px){
    .map-controls p{
        font-size: 35px;
    }
}
@media (max-width: 768px){
    /* Футер */
    .site-footer {
        padding: 40px 20px 20px 20px;
    }
    .footer-bottom {
        font-size: 12px;
    }
}
@media (max-width: 680px){
    .footer-bottom{
        padding: 3px 60px 3px 10px;
    }
}
@media (max-width: 580px){
    .footer-bottom{
        flex-direction: column;
       gap: 10px;
        padding: 3px 20px 3px 10px;
    }
}