/* --- БАЗОВЫЕ НАСТРОЙКИ --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Чтобы отступы не ломали ширину блоков */
}

body {
    font-family: 'Inter', sans-serif; /* Шрифт */
    color: #333; /* Цвет текста */
    line-height: 1.6; /* Межстрочный интервал для читаемости */
}

/* Ограничитель ширины контента */
.container {
    max-width: 1100px;
    margin: 0 auto; /* Центрирует блок */
    padding: 0 20px; /* Отступы слева и справа, чтобы текст не прилипал к краям на телефонах */
}

/* --- ШАПКА --- */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Легкая тень снизу */
    padding: 15px 0;
    position: sticky; /* Шапка будет прилипать к верху при скролле */
    top: 0;
    z-index: 100;
}

header .container {
    display: flex; /* Выстраиваем логотип и меню в одну строку */
    justify-content: space-between; /* Логотип слева, меню справа */
    align-items: center; /* Выравниваем по центру по высоте */
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ff6600; /* Оранжевый цвет логотипа */
}

/* Делаем навигацию гибкой строкой */
nav {
    display: flex;
    align-items: center;
    gap: 15px; /* Идеальное расстояние между ссылками, экономит место */
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap; /* ЖЕСТКИЙ ЗАПРЕТ: текст ссылки никогда не переносится на вторую строку */
}

nav a:hover {
    color: #ff6600;
}
/* --- СЕКЦИИ ОБЩИЕ --- */
section {
    padding: 80px 0; /* Отступы сверху и снизу у каждой секции */
}

h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

/* --- ГЛАВНЫЙ ЭКРАН (HERO) --- */
/* --- ГЛАВНЫЙ ЭКРАН (HERO С ФОНОМ) --- */
.hero-section {
    /* 1. Сама картинка (временная, для примера) */
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?q=80&w=1920&auto=format&fit=crop');
    
    /* 2. Настройки отображения картинки */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Красивый эффект параллакса при скролле */
    
    /* 3. Запасной цвет, если картинка не загрузится */
    background-color: #1a1a1a; 
    
    text-align: center;
    padding-top: 120px;
    padding-bottom: 120px;
}

/* Делаем текст на главном экране белым */
.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffffff; /* Было скрыто, теперь белый */
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); /* Легкая тень для читаемости */
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9); /* Полупрозрачный белый */
    font-size: 20px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* Убираем эффект параллакса на телефонах (чтобы не тормозил) */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .hero-section h1 {
        font-size: 32px;
    }
    .hero-section p {
        font-size: 16px;
    }
}
/* --- КНОПКИ --- */
.btn {
    display: inline-block;
    background-color: #ff6600;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #e55b00; /* Темнее при наведении */
}

/* --- УСЛУГИ (СЕТКА КАРТОЧЕК) --- */
.services-grid {
    display: grid;
    /* Магическая строка: карточки будут строиться в ряд, пока влезают (минимум 250px), иначе переносятся на новую строку */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px; /* Расстояние между карточками */
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px); /* Карточка чуть приподнимается при наведении */
}

.service-card h3 {
    margin-bottom: 15px;
    color: #ff6600;
}

/* --- КАЛЬКУЛЯТОР --- */
#calculator {
    background-color: #f4f4f4;
}

.calc-form {
    background: #fff;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.calc-form label {
    display: block;
    margin-bottom: 15px;
    font-size: 18px;
    cursor: pointer;
}

.calc-form input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2); /* Делаем галочки чуть больше */
}

.total-text {
    font-size: 24px;
    font-weight: bold;
    margin: 30px 0;
    text-align: center;
}

.total-text span {
    color: #ff6600;
    font-size: 32px;
}

/* Стили для полей ввода внутри калькулятора и форм */
input[type="text"], input[type="tel"], textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

textarea {
    resize: vertical; /* Разрешаем растягивать только по высоте */
}

button[type="submit"] {
    width: 100%;
    padding: 15px;
    background-color: #28a745; /* Зеленая кнопка отправки */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #218838;
}

/* --- КОМАНДА --- */
.about-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto; /* Центрируем текст */
    color: #666;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    text-align: center;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}

.photo-placeholder {
    width: 150px;
    height: 150px;
    background-color: #ddd; /* Серый квадрат вместо фото */
    border-radius: 50%; /* Делаем круг */
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

/* --- ПОДВАЛ --- */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

footer a {
    color: #ff6600;
    text-decoration: none;
}
/* =========================================
   ПЛАВАЮЩИЕ КНОПКИ (ТЕЛЕГРАМ И ВОТСАП)
   ========================================= */

.float-btn {
    position: fixed;
    right: 25px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.float-btn:hover {
    transform: scale(1.15);
}

/* Telegram - самая нижняя */
.telegram-btn {
    bottom: 25px;
    background-color: #0088cc;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.5);
}
.telegram-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.7);
}

/* WhatsApp 1 - посередине */
.whatsapp-btn {
    bottom: 95px;
    background-color: #25D366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5);
}
.whatsapp-btn:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.7);
}

/* WhatsApp 2 - самая верхняя */
.whatsapp-btn-2 {
    bottom: 165px;
    background-color: #128C7E;
    box-shadow: 0 4px 12px rgba(18, 140, 126, 0.5);
}
.whatsapp-btn-2:hover {
    box-shadow: 0 6px 20px rgba(18, 140, 126, 0.7);
}
/* =========================================
   ЛОГОТИП
   ========================================= */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1a1a1a;
}

.logo-icon {
    flex-shrink: 0; /* Чтобы иконка не сжималась на маленьких экранах */
    transition: transform 0.3s ease;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.5px;
    color: #111;
}

.logo-desc {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

/* Легкая анимация при наведении на логотип */
.logo:hover .logo-icon {
    transform: scale(1.1);
}

.logo:hover .logo-name {
    color: #FF4D00;
}
/* =========================================
   ШАПКА САЙТА (ВЫРАВНИВАНИЕ ЭЛЕМЕНТОВ)
   ========================================= */

/* =========================================
   ШАПКА САЙТА (ВЫРАВНИВАНИЕ ЭЛЕМЕНТОВ)
   ========================================= */

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- Блок с реквизитами --- */
.company-info {
    display: flex;
    flex-direction: column;
    margin-left: 30px;
    padding-left: 30px;
    border-left: 1px solid #e5e5e5;
}

.company-unp {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.5px;
    margin: 0; /* Убираем отступы */
    line-height: 1.2; /* Плотная строка */
}

.company-address {
    font-size: 12px;
    color: #777;
    margin: 2px 0 0 0; /* Оставляем всего 2 пикселя между УНП и адресом */
    white-space: nowrap;
    line-height: 1.2;
}

.company-email {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #FF4D00;
    text-decoration: none;
    margin: 2px 0 0 0; /* 2 пикселя между адресом и почтой */
    transition: color 0.3s ease;
    line-height: 1.2;
}.company-email:hover {
    color: #b33700; /* Темнее при наведении */
}

/* =========================================
   АДАПТИВНОСТЬ ШАПКИ
   ========================================= */

/* Планшеты: скрываем адрес и почту, оставляем только УНП */
@media (max-width: 1100px) {
    .company-address,
    .company-email {
        display: none;
    }
    
    .company-info {
        border-left: none;
        margin-left: 15px;
        padding-left: 15px;
    }
}

/* Телефоны: скрываем реквизиты полностью */
@media (max-width: 768px) {
    .company-info {
        display: none;
    }
    
    .header-inner {
        flex-wrap: wrap;
    }
}
/* =========================================
   СЕКЦИЯ УСЛУГИ (ПРОДАЮЩИЙ ВИД)
   ========================================= */

.services-subtitle {
    text-align: center;
    color: #666;
    font-size: 15px;
    max-width: 600px;
    margin: -20px auto 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 30px 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center; /* Выравнивает иконку по центру */
    text-align: center;  /* Выравнивает текст по центру */
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 77, 0, 0.3);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 77, 0, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.service-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    flex-grow: 1;
}

/* Адаптивность для услуг */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }
}
/* =========================================
   БЛОК FAQ (ВОПРОС-ОТВЕТ)
   ========================================= */

.faq-section {
    padding: 80px 0;
    background: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-family: inherit;
}

.faq-icon {
    font-size: 24px;
    color: #FF4D00;
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* Стиль открытого вопроса */
.faq-item.active .faq-icon {
    transform: rotate(45deg); /* Плюс превращается в крестик */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
    padding: 0 24px 20px 24px;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .faq-question {
        font-size: 15px;
        padding: 16px 18px;
    }
    
    .faq-answer p {
        padding: 0 18px 16px 18px;
        font-size: 14px;
    }
}
/* =========================================
   ПОДВАЛ САЙТА (ФУТЕР)
   ========================================= */

footer {
    background: #1a1a1a; /* Темный фон */
    color: #aaa;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Первая колонка шире под адрес */
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 18px;
    margin: 0 0 10px 0; /* Жестко задаем отступ только снизу */
    line-height: 1.2;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.3; /* Строки идут вплотную */
    margin: 0 0 4px 0; /* Минимальный отступ между абзацами */
    color: #999;
}

.footer-col a {
    display: block;
    color: #aaaaaa;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.3; /* Строки идут вплотную */
    margin: 0 0 4px 0; /* Минимальный отступ между ссылками */
    transition: color 0.3s ease;
}.footer-bottom a:hover {
    color: #FF4D00;
}

/* Адаптивность футера для телефонов */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Все колонки друг под другом */
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
/* =========================================
   СТИЛИ ФОРМ (КАЛЬКУЛЯТОР И ЗАЯВКА)
   ========================================= */

/* Общие стили для всех полей ввода */
.calc-request-form input,
.main-request-form input,
.main-request-form textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    font-family: inherit;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Чтобы padding не ломал ширину */
    margin-bottom: 15px;
}

/* Эффект при клике на поле */
.calc-request-form input:focus,
.main-request-form input:focus,
.main-request-form textarea:focus {
    border-color: #FF4D00;
    box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1); /* Оранжевое свечение */
}

.main-request-form textarea {
    resize: vertical; /* Разрешаем менять размер только по высоте */
    min-height: 120px;
}

/* Стиль для галочек в калькуляторе */
.calc-form label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #444;
    cursor: pointer;
    margin-bottom: 12px;
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.calc-form label:hover {
    background: #fafafa;
    border-color: #ddd;
}

/* Убираем стандартные кружки у чекбоксов и делаем свои */
.calc-item {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.calc-item:checked {
    background: #FF4D00;
    border-color: #FF4D00;
}

.calc-item:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Стиль итоговой цены */
.total-text {
    font-size: 20px;
    font-weight: 700;
    margin: 25px 0;
    color: #1a1a1a;
}

#total-price {
    color: #FF4D00;
    font-size: 24px;
}

/* =========================================
   КНОПКИ (BTN)
   ========================================= */

.btn,
.calc-request-form button,
.main-request-form button {
    display: inline-block;
    padding: 16px 32px;
    background: #111111; /* Темная кнопка */
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 50px; /* Скругленные края */
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    width: auto;
}

.btn:hover,
.calc-request-form button:hover,
.main-request-form button:hover {
    background: #FF4D00; /* При наведении становится оранжевой */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 77, 0, 0.3);
}

.btn:active,
.calc-request-form button:active,
.main-request-form button:active {
    transform: translateY(0);
}

/* Чтобы кнопка в форме занимала всю ширину (по желанию) */
.calc-request-form button,
.main-request-form button {
    width: 100%;
    margin-top: 5px;
}
/* --- Цена внутри галочки калькулятора --- */
.calc-form label strong {
    color: #FF4D00;
    font-weight: 700;
}

/* --- Серый фон для секции калькулятора и заявки --- */
#calculator,
#request {
    background-color: #f9f9f9; /* Светло-серый фон */
    padding: 60px 0; /* Немного воздуха сверху и снизу */
}
/* --- Текст про аттестаты ГТК --- */
.gtk-certificate-text {
    text-align: center;
    margin-top: 30px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

/* --- Сетка для руководителей (в 1 колонку) --- */
.team-grid {
    display: grid;
    grid-template-columns: 1fr; /* Теперь в 1 колонку (друг под другом) */
    gap: 24px;
    max-width: 500px; /* Ограничиваем ширину, чтобы карточка не была слишком широкой */
    margin: 0 auto;  /* Выравниваем по центру */
}
/* --- Почта в карточке сотрудника --- */
.team-email {
    color: #FF4D00;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.team-email:hover {
    color: #b33700;
    text-decoration: underline;
}

/* Адаптивность для 2-х карточек на телефонах */
@media (max-width: 640px) {
    .team-grid {
        grid-template-columns: 1fr; /* На телефонах в 1 колонку */
        max-width: 360px;
    }
} /* <--- ВОТ ЭТА СКОБКА БЫЛА ПОТЕРЯНА */

/* --- Цифры-преимущества (ТОЛЬКО ПО ЦЕНТРУ) --- */
.about-advantages {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Адаптивность для цифр (чтобы не ломались на планшетах и телефонах) */
@media (max-width: 1024px) {
    .about-advantages {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .about-advantages {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
/* --- Подзаголовок "Руководство:" по центру и крупнее --- */
.team-subtitle {
    font-size: 26px; /* Стало на 2px больше */
    text-align: center;
    margin-bottom: 30px;
}

/* --- Скрываем фото у сотрудников --- */
.photo-wrapper {
    display: none;
}
/* =========================================
   ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКОВ
   ========================================= */

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 25px;
    padding-left: 25px;
    border-left: 1px solid #e5e5e5;
}

.lang-link {
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    color: #999;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.lang-link:hover {
    color: #1a1a1a;
    background: #f4f4f4;
}

/* Активный язык (оранжевый) */
.lang-link.active {
    color: #FF4D00;
    background: rgba(255, 77, 0, 0.08);
}

/* Скрываем переключатель на очень маленьких телефонах, если места мало */
@media (max-width: 900px) {
    .lang-switcher {
        display: none;
    }
}
/* =========================================
   АНИМАЦИЯ ПОЯВЛЕНИЯ ПРИ СКРОЛЛЕ
   ========================================= */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
/* =========================================
   КАРТА МЕСТОПОЛОЖЕНИЯ
   ========================================= */
.map-section {
    padding: 60px 0;
    background: #fff;
}

.map-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    margin-top: 30px;
}

.map-wrapper iframe {
    display: block;
}

/* =========================================
   БАНКОВСКИЕ РЕКВИЗИТЫ
   ========================================= */
.bank-details-section {
    padding: 60px 0;
    background: #f9f9f9;
}

/* Кнопки переключения валют */
.bank-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.bank-tab {
    padding: 12px 24px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.bank-tab:hover {
    border-color: #FF4D00;
    color: #FF4D00;
}

.bank-tab.active {
    background: #FF4D00;
    border-color: #FF4D00;
    color: #fff;
}

/* Блоки с реквизитами */
.bank-item {
    display: none; /* Скрыты по умолчанию */
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.bank-item.active {
    display: block; /* Видим тот, что активен */
}

.bank-grid {
    display: grid;
    gap: 12px;
}

.bank-row {
    display: flex;
    gap: 15px;
    font-size: 15px;
    line-height: 1.5;
    border-bottom: 1px dashed #eee;
    padding-bottom: 8px;
}

.bank-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bank-row span {
    min-width: 180px;
    color: #777;
    flex-shrink: 0;
}

.bank-row strong {
    color: #1a1a1a;
    word-break: break-all; /* Чтобы длинные номера счетов не вылезали за край */
}

@media (max-width: 640px) {
    .bank-row {
        flex-direction: column;
        gap: 2px;
    }
    .bank-row span {
        min-width: auto;
        font-size: 13px;
    }
}
/* --- Стили для цифр преимуществ --- */
.advantage-item {
    text-align: center;
    padding: 20px 10px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}
.advantage-item:hover {
    transform: translateY(-3px);
}
.advantage-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #FF4D00;
    line-height: 1.2;
 white-space: nowrap; /* ЗАПРЕЩАЕМ ПЕРЕНОС ЦИФР НА НОВУЮ СТРОКУ */
}
.advantage-label {
    font-size: 13px;
    color: #777;
    margin-top: 5px;
    display: block;
}
.footer-col a:hover {
    color: #FF4D00;
}
/* --- МОБИЛЬНОЕ МЕНЮ --- */
.burger {
    display: none; /* Скрыто на компьютере */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}
.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #333;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .burger {
        display: flex; /* Показываем на телефоне */
    }
    nav {
        display: none; /* Прячем ссылки */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    nav a {
        margin: 0 0 15px 0 !important;
        margin-left: 0 !important;
        font-size: 18px;
    }
    /* Если добавить класс .active к nav через JS, оно откроется */
    nav.active {
        display: flex; 
    }
}
/* Заставляем языки быть всегда видимыми на мобильных */
@media (max-width: 768px) {
    .lang-switcher {
        display: flex !important;
        position: absolute;
        top: 15px;
        right: 60px; /* отодвигаем от бургера, чтобы не накладывались */
        z-index: 1000;
        background: #fff; /* белый фон, чтобы не сливалось с сайтом */
        padding: 5px;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .lang-switcher a {
        font-size: 12px;
        margin: 0 2px;
    }
}
/* =========================================
   МОБИЛЬНОЕ МЕНЮ (ТЕЛЕФОН)
   ========================================= */
@media (max-width: 768px) {
    /* 1. Делаем шапку относительно позиционированной для языков */
    .header-inner {
        position: relative;
    }

    /* 2. Прячем обычные ссылки меню */
    #main-nav a {
        display: none;
    }

    /* 3. Показываем и рисуем кнопку БУРГЕР */
    .burger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
        background: none;
        border: none;
        z-index: 1001;
    }
    .burger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #333; /* цвет полосок бургера */
        border-radius: 2px;
        transition: 0.3s;
    }

    /* 4. Прячем само меню за правый край экрана */
    #main-nav {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    /* 5. Если добавили класс active - выезжает меню */
    #main-nav.active {
        right: 0;
    }

    /* 6. Делаем ссылки внутри выехавшего меню видимыми */
    #main-nav.active a {
        display: block;
        font-size: 18px;
        margin: 15px 0;
        color: #333;
        text-decoration: none;
    }

    /* 7. Переключатель языков на телефоне */
    .lang-switcher {
        display: flex !important;
        position: absolute;
        top: 15px;
        right: 60px; /* отодвигаем от бургера */
        z-index: 1002;
        background: #fff;
        padding: 4px 6px;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .lang-switcher a {
        font-size: 12px !important;
        margin: 0 3px !important;
    }
}