:root {
    --primary: #b71c1c;       /* Корпоративный красный */
    --primary-dark: #7f0000;  /* Темно-красный для ховера */
    --accent: #f9a825;        /* Золотой (цвет желтка/зерна) */
    --dark: #212529;
    --light: #f8f9fa;
    --text: #333;
    --ticker-height: 40px;
}

body {
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    color: var(--text);
    padding-bottom: var(--ticker-height); /* Отступ снизу для бегущей строки */
    overflow-x: hidden;
}
/* === БЕГУЩАЯ СТРОКА С ИКОНКАМИ === */
.bottom-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px; /* Чуть увеличили высоту */
    background: var(--primary); 
    color: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
    font-size: 1rem;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    margin-right: 50px; /* Отступ между блоками */
}

.ticker-icon {
    font-size: 1.2rem;
    color: var(--accent); /* Золотой цвет иконки */
    margin-right: 10px;
}

/* === ИСПРАВЛЕНИЕ КАРТЫ === */
.map-container {
    width: 100%;
    height: 450px; /* Стандартная фиксированная высота */
    border-radius: 12px; /* Аккуратные углы */
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border: 5px solid #fff; /* Белая рамка */
}

.map-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
    display: block;
}

/* === ВЕРХНЯЯ ИНФО-ПАНЕЛЬ === */
.top-bar {
    background-color: var(--dark);
    color: #ccc;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid #333;
}
.top-bar a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}
.top-bar a:hover { color: #fff; }
.top-info i { color: var(--accent); margin-right: 6px; }
.top-socials a { margin-left: 15px; }

/* Флаги языков */
.flag-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
    transition: transform 0.2s;
}
.lang-link { margin-left: 8px; opacity: 0.7; }
.lang-link:hover, .lang-link.active { opacity: 1; }
.lang-link.active .flag-icon { border-color: var(--accent); transform: scale(1.1); }

/* === НАВИГАЦИЯ === */
.navbar {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 15px 0;
}
.navbar-brand {
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary) !important;
    font-size: 1.4rem;
    letter-spacing: 1px;
}
.nav-link {
    color: var(--dark) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin: 0 10px;
    position: relative;
}
.nav-link::after {
    content: ''; display: block; width: 0; height: 2px;
    background: var(--primary); transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }

.btn-head-contact {
    background-color: var(--primary);
    color: #fff !important;
    border-radius: 30px;
    padding: 8px 25px;
    font-weight: 600;
    transition: 0.3s;
}
.btn-head-contact:hover { background-color: var(--primary-dark); transform: translateY(-2px); }

/* === ГЛАВНЫЙ ЭКРАН (HERO) === */
.hero-section {
    position: relative;
    height: 85vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
.hero-video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    z-index: -2;
    transform: translate(-50%, -50%);
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); /* Затемнение */
    z-index: -1;
}
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}
.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
}

/* === РАЗДЕЛЫ === */
.section-padding { padding: 80px 0; }
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    color: var(--dark);
}
.section-title::after {
    content: ''; display: block; width: 50px; height: 4px;
    background: var(--primary); margin: 15px auto 0;
}

/* Карточки продуктов */
.product-card {
    border: none;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}
.product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.product-img { height: 250px; object-fit: cover; width: 100%; }
.product-body { padding: 20px; text-align: center; }
.product-price { color: var(--primary); font-weight: bold; font-size: 1.2rem; }

/* Статистика */
.stats-bg { background: var(--light); }
.stat-item { text-align: center; padding: 20px; }
.stat-item i { font-size: 3rem; color: var(--accent); margin-bottom: 15px; }
.stat-num { font-size: 2.5rem; font-weight: 800; color: var(--dark); }

/* Футер */
footer { background: #111; color: #aaa; padding: 60px 0 20px; }
footer h5 { color: #fff; margin-bottom: 20px; }
footer a { color: #aaa; text-decoration: none; }
footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #333; margin-top: 40px; padding-top: 20px; text-align: center; font-size: 0.9rem; }

/* === БЕГУЩАЯ СТРОКА (ВНИЗУ) === */
.bottom-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--ticker-height);
    background: var(--primary); /* Красный фон */
    color: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

/* === WHATSAPP === */
.whatsapp-widget {
    position: fixed;
    bottom: 50px; /* Выше бегущей строки */
    left: 20px; /* Слева или справа */
    z-index: 9998;
}
.whatsapp-widget img {
    width: 55px; height: 55px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: 0.3s;
}
.whatsapp-widget:hover img { transform: scale(1.1); }