/* CSS переменные для тем */
:root {
    /* Светлая тема - стеклянная голубая палитра */
    --primary-gradient: linear-gradient(135deg, #0ea5e9 0%, #0284c7 30%, #0369a1 70%, #075985 100%);
    --bg-primary: #f0f9ff;
    --bg-secondary: #e0f2fe;
    --bg-tertiary: #bae6fd;
    --text-primary: #0c4a6e;
    --text-secondary: #0369a1;
    --text-light: #0284c7;
    --border-color: #bae6fd;
    --card-bg: rgba(255, 255, 255, 0.9);
    --accent-color: #0ea5e9;
    --accent-hover: #0284c7;
    --shadow: rgba(14, 165, 233, 0.15);
    --shadow-lg: rgba(14, 165, 233, 0.25);
    --overlay: rgba(240, 249, 255, 0.95);
    --gradient-card: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(2, 132, 199, 0.15) 100%);
    --glass-effect: backdrop-filter: blur(10px);
}

[data-theme="dark"] {
    /* Темная тема - глубокие стеклянные оттенки */
    --primary-gradient: linear-gradient(135deg, #164e63 0%, #155e75 30%, #0e7490 70%, #0891b2 100%);
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #e0f2fe;
    --text-secondary: #bae6fd;
    --text-light: #7dd3fc;
    --border-color: #334155;
    --card-bg: rgba(30, 41, 59, 0.9);
    --accent-color: #0ea5e9;
    --accent-hover: #38bdf8;
    --shadow: rgba(14, 165, 233, 0.2);
    --shadow-lg: rgba(14, 165, 233, 0.3);
    --overlay: rgba(15, 23, 42, 0.95);
    --gradient-card: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(56, 189, 248, 0.2) 100%);
    --glass-effect: backdrop-filter: blur(15px);
}

/* Сброс стилей и базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'TildaSans', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    text-transform: uppercase;
    font-weight: 700;
}

/* Отключение автоматического определения телефонных номеров */
a[href^="tel:"] {
    color: inherit !important;
    text-decoration: none !important;
}

/* Отключение стилей для автоматически определяемых номеров */
a[href^="tel:"]:link,
a[href^="tel:"]:visited,
a[href^="tel:"]:hover,
a[href^="tel:"]:active {
    color: inherit !important;
    text-decoration: none !important;
}

/* Отключение стилей для всех телефонных номеров */
.contact-details p,
.contact-item p,
.footer-section li {
    color: var(--text-secondary) !important;
}

/* Специфичные стили для текста с номерами */
.contact-details p a,
.footer-section li a {
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    pointer-events: none;
}

/* Убираем все стили с телефонных номеров */
.contact-details p span,
.footer-section li span,
.contact-item p span {
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    border: none !important;
    background: none !important;
}

/* Отключаем выделение текста для номеров */
.contact-details p,
.footer-section li,
.contact-item p {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Глобальное отключение стилей браузера для телефонов */
* {
    -webkit-text-size-adjust: none;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--overlay);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--overlay);
    box-shadow: 0 2px 20px var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Навигационные контролы */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px var(--shadow);
    backdrop-filter: blur(10px);
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.theme-toggle:hover {
    background: var(--accent-color);
    color: var(--bg-primary);
    border-color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* Мобильное меню */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.hamburger .bar {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
    display: block;
}

/* Hero секция */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-size: 200% 200%;
    animation: gradient-animation 10s ease infinite;
}

[data-theme="light"] .hero {
    background-image: var(--primary-gradient);
}

[data-theme="dark"] .hero {
    background-image: var(--primary-gradient);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(2, 132, 199, 0.05) 0%, transparent 50%);
    z-index: 1;
}

[data-theme="dark"] .hero::before {
    background: 
        radial-gradient(circle at 30% 20%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(56, 189, 248, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(2, 132, 199, 0.08) 0%, transparent 50%);
}


.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
    animation: fadeInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 0;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-right: 10px;
    border-radius: 50px;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border: 2px solid var(--accent-color);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .btn-primary {
    color: white;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: white;
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(14, 165, 233, 0.4);
}

[data-theme="dark"] .btn-primary:hover {
    color: white;
    box-shadow: 0 12px 35px rgba(14, 165, 233, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 15px 40px;
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: transparent;
}

.hero .btn-secondary {
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn-secondary:hover {
    background: white;
    color: #111;
    border-color: white;
}

[data-theme="light"] .hero .btn-primary {
    background: white;
    color: var(--accent-color);
    border-color: white;
}

[data-theme="light"] .hero .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent-hover);
}

.hero-image {
    display: none;
}

/* Секции */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 100;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* О компании */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 300;
    letter-spacing: 1px;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--card-bg);
    border-radius: 0;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 100;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 300;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img-placeholder {
    width: 100%;
    max-width: 400px;
    height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2069&q=80') center/cover no-repeat;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

/* Продукция */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px var(--shadow);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px var(--shadow-lg);
    border-color: var(--accent-color);
}

.product-card > * {
    position: relative;
    z-index: 1;
}

.product-icon {
    height: 90px;
    width: 90px;
    margin: 0 auto 1.5rem;
    background: var(--primary-gradient);
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px var(--shadow-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-card:hover .product-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px var(--shadow-lg);
}

.product-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.product-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Слайдер завода */
.gallery {
    background-color: var(--bg-secondary);
}

.slider-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 15px 50px var(--shadow-lg);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(15px);
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(102, 126, 234, 0.9);
    color: white;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.slider-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* Преимущества */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px var(--shadow);
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px var(--shadow-lg);
}

.advantage-card > * {
    position: relative;
    z-index: 1;
}

.advantage-icon {
    height: 80px;
    width: 80px;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    border: none;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    color: white;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px var(--shadow-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 30px var(--shadow-lg);
}

.advantage-card h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.advantage-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 300;
}

/* FAQ */
.faq {
    background: var(--bg-secondary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    transition: max-height 0.5s ease-in;
}

.faq-answer p {
    padding: 0 0 1.5rem 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Контакты */
.contact-content {
    display: block;
    margin-bottom: 3rem;
}

.company-info {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.company-info h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.company-details p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.whatsapp-link:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.whatsapp-btn {
    background: #25D366 !important;
    border-color: #25D366 !important;
}

.whatsapp-btn:hover {
    background: #128C7E !important;
    border-color: #128C7E !important;
}

.map-info {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    margin-top: 1rem;
}

.map-info h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.map-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid var(--accent-color);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 300;
}

.contact-form {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 0;
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 0;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.map-container {
    margin-top: 3rem;
}

.map-placeholder {
    height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1449824913935-59a10b8d2000?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    border: 1px solid #333;
}

.map-placeholder i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.map-placeholder p {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Футер */
.footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: #e2e8f0;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3,
.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-section h4 {
    font-size: 1.1rem;
    color: var(--accent-color);
}

.footer-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-whatsapp {
    background: #25D366;
    color: white;
}

.social-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.social-phone {
    background: var(--accent-color);
    color: white;
}

.social-phone:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.social-links a span {
    font-size: 0.9rem;
}

.social-links a i {
    font-size: 1.2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Анимации */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Мобильные контролы */
.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

.nav-item.mobile-only {
    display: none;
}

.mobile-nav-controls {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    margin: 0;
    width: 100%;
}

.mobile-language-switcher,
.mobile-theme-toggle {
    margin-bottom: 1rem;
}

.mobile-theme-toggle:last-child {
    margin-bottom: 0;
}

.mobile-control-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.mobile-lang-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.mobile-theme-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    justify-content: center;
    padding: 0.6rem 1rem;
}

.mobile-theme-btn .theme-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        left: -100%;
        top: 100%;
        flex-direction: column;
        background: var(--overlay);
        backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        gap: 0;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        border-radius: 0 0 20px 20px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        box-shadow: 0 8px 25px var(--shadow-lg);
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 1rem 2rem;
        display: block;
        width: 100%;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
    
    .nav-item.mobile-only {
        display: block !important;
        width: 100%;
        list-style: none;
    }
    
    .mobile-nav-controls {
        display: block !important;
        width: 100%;
    }
    
    .nav-item.desktop-only {
        display: none !important;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .contact-content {
        display: block;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-img-placeholder {
        width: 100%;
        max-width: 300px;
        height: 200px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card,
    .advantage-card {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }
    
    .product-icon,
    .advantage-icon {
        height: 70px;
        width: 70px;
        font-size: 1.8rem;
    }

    .slider-container {
        border-radius: 15px;
        margin: 0 10px;
    }
    
    .slide img {
        height: 280px;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .prev-btn {
        left: 15px;
    }
    
    .next-btn {
        right: 15px;
    }
    
    .slider-indicators {
        margin-top: 15px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .social-links a {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-bottom {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .product-card,
    .advantage-card {
        padding: 2rem 1.5rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .about-img-placeholder {
        width: 100%;
        max-width: 250px;
        height: 180px;
        font-size: 2.5rem;
    }
    
    .footer-content {
        gap: 1.5rem;
        padding-bottom: 2rem;
    }
    
    .footer-section {
        padding: 0 10px;
    }
    
    .social-links {
        gap: 0.5rem;
        margin-top: 1.5rem;
    }
    
    .social-links a {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .stat {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
} 