/* --- Кастомизация hero-section --- */
.hero-content-left {
    position: absolute;
    top: 120px;
    left: 60px;
    max-width: 600px;
    z-index: 2;
    text-align: left;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0,0,0,0.7), 0 0 2px #fff;
    background: rgba(0,0,0,0.15);
    border-radius: 18px;
    padding: 2.2rem 2.7rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.hero-contact-card {
    position: absolute;
    top: 0;
    right: 60px;
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(250,250,250,0.95));
    backdrop-filter: blur(15px);
    padding: 2rem 2.7rem;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25), 0 0 0 1px rgba(227,30,36,0.1), inset 0 1px 0 rgba(255,255,255,0.8);
    z-index: 20;
    border: 3px solid rgba(227,30,36,0.3);
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    align-items: flex-start;
}
.hero-contact-item {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    font-size: 1.2rem;
}
.hero-contact-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(227,30,36,0.2));
}
.hero-contact-item a {
    color: #1a1a1a;
    text-decoration: none;
    
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s;
}
.hero-contact-item a:hover {
    color: var(--primary-red);
    text-shadow: 0 0 10px rgba(227,30,36,0.3);
}

/* Social Media Buttons Fixed Right Bottom */
.social-buttons-fixed-bottom {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.social-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.social-btn:hover::before {
    width: 100%;
    height: 100%;
}

.social-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
    z-index: 1;
    position: relative;
}

.social-btn-telegram {
    background: linear-gradient(135deg, #0088cc, #00a0dc);
}

.social-btn-telegram:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
}

.social-btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.social-btn-whatsapp:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.hero-social-buttons {
    position: fixed;
    right: 60px;
    bottom: 60px;
    display: flex;
    gap: 1.3rem;
    z-index: 20;
}
.hero-social-btn {
    width: 73px;
    height: 73px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    text-decoration: none;
    font-size: 2rem;
}
.hero-social-telegram {
    background: linear-gradient(135deg, #0088cc, #00a0dc);
    color: white;
}
.hero-social-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}
.hero-social-btn:hover {
    transform: translateY(-8px) scale(1.15);
    box-shadow: 0 12px 35px rgba(227,30,36,0.5);
}
.hero-social-btn svg {
    width: 36px;
    height: 36px;
}

@media (max-width: 1024px) {
    .social-buttons-fixed-bottom {
        right: 15px;
        bottom: 15px;
        gap: 12px;
    }

    .social-btn {
        width: 48px;
        height: 48px;
    }

    .social-btn svg {
        width: 20px;
        height: 20px;
    }

    .social-btn-telegram img {
        width: 96px !important;
        height: 96px !important;
    }

    .hero-content-left {
        position: static;
        max-width: 100%;
        left: 0;
        top: 0;
        padding: 0 10px;
        text-align: center;
    }
    .hero-contact-card {
        position: static;
        margin: 2rem auto 0 auto;
        right: auto;
        top: auto;
        min-width: unset;
        max-width: 350px;
    }
    .hero-social-buttons {
        position: static;
        margin: 2rem auto 0 auto;
        right: auto;
        bottom: auto;
        justify-content: center;
    }
}
/*
Theme Name: HITERS
Theme URI: https://hiters.ru
Author: HITERS Team
Author URI: https://hiters.ru
Description: Современная тема для производителя упаковки препаков с динамическими анимациями
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hiters
Tags: landing-page, one-page, custom-colors, responsive-layout, flexible-header
*/

:root {
    --primary-red: #E31E24;
    --dark-red: #B71C1C;
    --black: #1a1a1a;
    --dark-bg: #ffffff;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #2a2a2a;
    --gray: #666666;
    --text-dark: #1a1a1a;
    --transition: all 0.3s ease;

    /* Enhanced Design System */
    --color-black: #000000;
    --color-red: #E31E24;
    --color-white: #FFFFFF;

    /* Gray Scale */
    --color-gray-50: #F8F8F8;
    --color-gray-100: #F0F0F0;
    --color-gray-200: #E0E0E0;
    --color-gray-300: #C8C8C8;
    --color-gray-400: #A0A0A0;
    --color-gray-500: #808080;
    --color-gray-600: #606060;
    --color-gray-700: #404040;
    --color-gray-800: #2A2A2A;
    --color-gray-900: #1A1A1A;

    /* Spacing System */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-8: 64px;
    --space-12: 96px;

    /* Font Sizes */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 15px;
    --text-md: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 22px;
    --text-3xl: 28px;
    --text-4xl: 36px;
    --text-5xl: 42px;
    --text-6xl: 56px;
    --text-7xl: 68px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 50px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.20);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--color-black);
    background: var(--color-white);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
    padding-top: 0 !important;
    font-feature-settings: 'liga' 1, 'calt' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: var(--text-base);
    font-weight: 400;
}

/* Subtle ambient lighting - disabled for white theme */
body::before,
body::after {
    display: none;
}

@keyframes ambientGlow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* Smooth transitions for containers */
.container, .about-content, .services-grid, .materials-grid, .benefits-grid {
    background: transparent;
    border-radius: 24px;
    box-shadow: none;
    transition: box-shadow 0.7s cubic-bezier(0.4,0,0.2,1);
}

/* Smooth button animations */
.cta-button, .mobile-sidebar__cta {
    transition: background 0.4s cubic-bezier(0.4,0,0.2,1), color 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s cubic-bezier(0.4,0,0.2,1), transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

/* Card stagger animation */
.service-card,
.stat-card,
.material-card,
.industry-card,
.contact-item,
.about-text {
    opacity: 1 !important;
}

.feature-card {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
    transition: none !important;
}

.feature-card.slide-left,
.feature-card.slide-right,
.feature-card.scale-up,
.feature-card.flip-in,
.feature-card.bounce-in,
.feature-card.rotate-scale {
    transform: none !important;
    opacity: 1 !important;
}

.feature-card.slide-left.animated,
.feature-card.slide-right.animated,
.feature-card.scale-up.animated,
.feature-card.flip-in.animated,
.feature-card.bounce-in.animated,
.feature-card.rotate-scale.animated {
    transform: none !important;
    opacity: 1 !important;
}

@keyframes cardFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Stagger delays for cards */
.service-card:nth-child(1),
.stat-card:nth-child(1),
.material-card:nth-child(1),
.industry-card:nth-child(1),
.contact-item:nth-child(1),
.benefit-item:nth-child(1) {
    animation-delay: 0.3s;
}

.service-card:nth-child(2),
.stat-card:nth-child(2),
.material-card:nth-child(2),
.industry-card:nth-child(2),
.contact-item:nth-child(2),
.benefit-item:nth-child(2) {
    animation-delay: 0.5s;
}

.service-card:nth-child(3),
.stat-card:nth-child(3),
.material-card:nth-child(3),
.industry-card:nth-child(3),
.contact-item:nth-child(3),
.benefit-item:nth-child(3) {
    animation-delay: 0.7s;
}

.service-card:nth-child(4),
.stat-card:nth-child(4),
.material-card:nth-child(4),
.industry-card:nth-child(4),
.contact-item:nth-child(4),
.benefit-item:nth-child(4) {
    animation-delay: 0.9s;
}

.service-card:nth-child(5),
.stat-card:nth-child(5),
.material-card:nth-child(5),
.industry-card:nth-child(5),
.feature-card:nth-child(5),
.benefit-item:nth-child(5) {
    animation-delay: 1.1s;
}

.service-card:nth-child(6),
.stat-card:nth-child(6),
.material-card:nth-child(6),
.industry-card:nth-child(6),
.feature-card:nth-child(6),
.benefit-item:nth-child(6) {
    animation-delay: 1.3s;
}

/* Typography - Enhanced Readability */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-family: 'Montserrat', 'Inter', sans-serif;
    color: var(--color-black);
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -1px;
}
h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
h3 {
    font-size: 2rem;
    font-weight: 700;
}
h4 {
    font-size: 1.5rem;
    font-weight: 600;
}
h5 {
    font-size: 1.25rem;
    font-weight: 600;
}
h6 {
    font-size: 1.1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--color-gray-700);
    font-weight: 400;
}

/* Links */
a {
    color: var(--color-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-gray-900);
    text-decoration: underline;
}

/* Text selection */
::selection {
    background: var(--color-red);
    color: var(--color-white);
}

::-moz-selection {
    background: var(--color-red);
    color: var(--color-white);
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--color-red);
    outline-offset: 2px;
}

/* Better contrast for reading */
.text-large {
    font-size: var(--text-lg);
    line-height: 1.6;
}

.text-small {
    font-size: var(--text-sm);
    line-height: 1.5;
}

.text-muted {
    color: var(--color-gray-500);
}

.text-primary {
    color: var(--color-red);
}

.text-dark {
    color: var(--color-black);
}

/* New Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: var(--space-3) var(--space-8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-6);
}

/* Logo - Как на скриншоте */
.logo {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-black);
    letter-spacing: -1.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.8))
            drop-shadow(0 0 2px rgba(0, 0, 0, 0.6))
            drop-shadow(0 0 3px rgba(0, 0, 0, 0.4));
    padding: 2px;
}

.logo-dot {
    color: var(--color-red);
    font-size: 40px;
    line-height: 0;
    margin-left: 2px;
}

/* Navigation - По центру как на скриншоте */
.nav-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: var(--space-6);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--color-black);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-base);
    transition: all 0.3s ease;
    position: relative;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-red);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--color-red);
    background: rgba(227, 30, 36, 0.1);
    transform: translateY(-1px);
}

.nav-menu a:hover::before {
    width: 80%;
}

/* Navigation Responsive */
@media (max-width: 768px) {
    .nav-menu {
        gap: var(--space-3);
    }

    .nav-menu a {
        font-size: var(--text-sm);
        padding: var(--space-1) var(--space-2);
    }
}

@media (max-width: 640px) {
    .nav-menu {
        flex-direction: column;
        gap: var(--space-2);
        text-align: center;
    }

    .nav-menu a {
        font-size: var(--text-xs);
        padding: var(--space-1) var(--space-2);
    }
}

/* CTA Button - Черная как на скриншоте */
.header-cta {
    background: var(--color-black);
    color: var(--color-white) !important;
    padding: 16px 36px;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--text-base);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
}

.header-cta:hover {
    background: var(--color-red);
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(227, 30, 36, 0.3);
}

/* Mobile Toggle - Hidden */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--space-1);
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-black);
    border-radius: 2px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    position: relative;
    min-height: 60px;
    background: transparent;
}

.site-logo {
    font-size: 2rem;
    font-weight: 900;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: 2px;
    position: relative;
    left: 0;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, left;
    z-index: 1001;
    animation: logoGlow 4s ease-in-out infinite;
    flex-shrink: 0;
    max-width: 200px;
    margin-right: 20px;
}

.site-header.scrolled .site-logo {
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8rem;
}

.site-header.scrolled .site-logo:hover {
    transform: translateX(-50%) scale(1.05);
}

/* Mobile Header Styles */
@media (max-width: 1024px) {
    html body .site-header,
    body .site-header,
    .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        backdrop-filter: none !important;
        z-index: 1000 !important;
        transform: translateZ(0) !important; /* Force GPU acceleration */
        -webkit-transform: translateZ(0) !important;
        border-bottom: 3px solid rgba(180, 180, 180, 0.6) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    }

    /* Fix for WordPress admin bar */
    body.admin-bar .site-header {
        top: 46px !important;
    }

    @media screen and (min-width: 783px) {
        body.admin-bar .site-header {
            top: 32px !important;
        }
    }

    .header-inner {
        justify-content: space-between;
        padding: 0;
        min-height: 60px !important;
    }

    .site-logo {
        position: relative;
        left: auto;
        transform: none;
        margin: 0;
        font-size: 1.5rem;
    }

    .site-header.scrolled .site-logo {
        position: relative;
        left: auto;
        transform: none;
        font-size: 1.5rem;
    }

    /* КРИТИЧНО: Всегда фиксируем хедер на мобильных */
    html body .site-header,
    body .site-header,
    .site-header {
        position: fixed !important;
        top: 0 !important;
    }

    .site-header.scrolled {
        position: fixed !important;
        top: 0 !important;
    }
}

.site-logo:hover {
    text-shadow: 
        0 2px 8px rgba(227, 30, 36, 0.3),
        0 4px 16px rgba(227, 30, 36, 0.2);
}

.site-logo .logo-image {
    height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: all 0.3s ease;
}

.site-header.scrolled .site-logo .logo-image {
    height: 50px;
}

@media (max-width: 1024px) {
    .site-logo .logo-image {
        height: 50px;
    }
    
    .site-header.scrolled .site-logo .logo-image {
        height: 45px;
    }
}

.site-logo span {
    color: var(--primary-red);
    display: inline-block;
    animation: colorPulse 2s ease-in-out infinite;
}

@keyframes colorPulse {
    0%, 100% {
        color: var(--primary-red);
        text-shadow: 0 0 10px rgba(227, 30, 36, 0.5);
    }
    50% {
        color: #ff6b6b;
        text-shadow: 0 0 20px rgba(255, 107, 107, 0.8);
    }
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(227, 30, 36, 0.4))
                drop-shadow(0 0 15px rgba(227, 30, 36, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(227, 30, 36, 0.6))
                drop-shadow(0 0 25px rgba(227, 30, 36, 0.4))
                drop-shadow(0 0 35px rgba(227, 30, 36, 0.2));
    }
}

/* ========================================
   NAVIGATION STYLES
   ======================================== */

/* Main Navigation - Always Visible */
body .main-nav {
    display: flex;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    position: relative;
    z-index: 1000;
    flex: 1;
    justify-content: flex-end;
    margin-left: auto;
    margin-right: 20px;
}

/* Only hide navigation when scrolled on desktop */
@media (min-width: 1025px) {
    .site-header.scrolled .main-nav {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

/* Mobile menu toggle - ALWAYS HIDDEN by default */
.mobile-sidebar-toggle {
    display: none !important;
}

/* Show on mobile always (override) */
@media (max-width: 1024px) {
    .mobile-sidebar-toggle {
        display: flex !important;
    }
}

/* Hide toggle on desktop */
@media (min-width: 1025px) {
    .mobile-sidebar-toggle {
        display: none !important;
    }
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
    margin: 0;
}

.main-nav a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: #000000;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Animated underline effect */
.main-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(227, 30, 36, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-red);
    text-shadow: 0 0 20px rgba(227, 30, 36, 0.5);
}

.main-nav a:hover::before {
    width: 100%;
}

.main-nav a:hover::after {
    opacity: 1;
}

/* Active menu item */
.main-nav a.active {
    color: var(--primary-red);
    background: rgba(227, 30, 36, 0.05);
}

.main-nav a.active::before {
    width: 100%;
    background: var(--primary-red);
}

/* Glowing icon effect on hover */
.main-nav a:hover {
    transform: translateY(-2px);
}

/* Mobile Menu Toggle Button - Презентабельная версия */
.mobile-sidebar-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.08), rgba(227, 30, 36, 0.03));
    border: 2px solid rgba(227, 30, 36, 0.25);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mobile-sidebar-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.2), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.mobile-sidebar-toggle:hover::before {
    width: 150%;
    height: 150%;
}

.mobile-sidebar-toggle:hover {
    border-color: var(--primary-red);
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.15), rgba(227, 30, 36, 0.08));
    box-shadow: 
        0 4px 16px rgba(227, 30, 36, 0.25),
        0 0 20px rgba(227, 30, 36, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.mobile-sidebar-toggle:active {
    transform: translateY(0) scale(0.96);
    box-shadow: 0 2px 8px rgba(227, 30, 36, 0.2);
}

.mobile-sidebar-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.9));
    border-radius: 3px;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.mobile-sidebar-toggle span:not(:last-child) {
    margin-bottom: 5px;
}

.mobile-sidebar-toggle:hover span {
    background: linear-gradient(90deg, var(--primary-red), #ff4444);
    box-shadow: 
        0 0 8px rgba(227, 30, 36, 0.6),
        0 1px 2px rgba(0, 0, 0, 0.3);
    width: 24px;
}

/* Hamburger animation to X */
.mobile-sidebar-toggle.active {
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.2), rgba(227, 30, 36, 0.1));
    border-color: var(--primary-red);
    box-shadow: 
        0 4px 16px rgba(227, 30, 36, 0.35),
        0 0 25px rgba(227, 30, 36, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.mobile-sidebar-toggle.active span {
    background: linear-gradient(90deg, var(--primary-red), #ff4444);
}

.mobile-sidebar-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
    width: 24px;
}

.mobile-sidebar-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px) scale(0.5);
}

.mobile-sidebar-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
    width: 24px;
}

/* Toggle visibility handled in main nav section above */

/* ========================================
   MOBILE SIDEBAR MENU
   ======================================== */

.mobile-sidebar-overlay {
    position: fixed;
    top: 60px; /* Начинается под шапкой на мобильных */
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9997; /* Ниже шапки и панели */
}

.mobile-sidebar-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 60px; /* Начинается под шапкой на мобильных */
    right: 0;
    bottom: 0;
    width: min(360px, 85vw);
    background: #ffffff;
    border-left: 2px solid rgba(227, 30, 36, 0.2);
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, visibility 0.25s ease;
    z-index: 9998; /* Ниже шапки */
    display: flex;
    flex-direction: column;
    color: #1a1a1a;
}

.mobile-sidebar::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 0% 0%, rgba(227, 30, 36, 0.18), transparent 60%),
                radial-gradient(circle at 100% 40%, rgba(227, 30, 36, 0.08), transparent 55%);
    opacity: 0.8;
}

.mobile-sidebar.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-sidebar__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0 2rem 2.5rem;
    gap: 2rem;
    overflow-y: auto;
    background: #ffffff;
}

.mobile-sidebar__inner::-webkit-scrollbar {
    width: 5px;
}

.mobile-sidebar__inner::-webkit-scrollbar-thumb {
    background: rgba(227, 30, 36, 0.5);
    border-radius: 4px;
}

.mobile-sidebar__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    position: sticky;
    top: 0;
    z-index: 2;
    margin-left: -2rem;
    margin-right: -2rem;
    padding: 2.2rem 2rem 1.25rem;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-bottom: 2px solid rgba(227, 30, 36, 0.1);
}

.mobile-sidebar__brand {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.mobile-sidebar__logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: 2px;
    display: inline-flex;
    gap: 0.25rem;
    transition: color 0.3s ease;
}

.mobile-sidebar__logo span {
    color: var(--primary-red);
}

.mobile-sidebar__logo:hover {
    color: var(--primary-red);
    text-shadow: 0 0 20px rgba(227, 30, 36, 0.6);
}

.mobile-sidebar__subtitle {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    max-width: 16rem;
}

.mobile-sidebar__close {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 2px solid rgba(227, 30, 36, 0.5);
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.25), rgba(227, 30, 36, 0.12));
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.mobile-sidebar__close span {
    position: absolute;
    width: 20px;
    height: 2.5px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-sidebar__close span:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-sidebar__close span:nth-child(2) {
    transform: rotate(-45deg);
}

.mobile-sidebar__close:hover,
.mobile-sidebar__close:focus-visible {
    border-color: var(--primary-red);
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.35), rgba(227, 30, 36, 0.18));
    box-shadow: 0 6px 18px rgba(227, 30, 36, 0.4);
    outline: none;
}

.mobile-sidebar__close:hover span {
    background: var(--primary-red);
}

.mobile-sidebar__nav {
    display: block;
}

.mobile-sidebar__menu,
.mobile-sidebar__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-sidebar__menu li,
.mobile-sidebar__nav ul li {
    opacity: 0;
    transform: translateX(24px);
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.mobile-sidebar.open .mobile-sidebar__menu li,
.mobile-sidebar.open .mobile-sidebar__nav ul li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-sidebar.open .mobile-sidebar__menu li:nth-child(1),
.mobile-sidebar.open .mobile-sidebar__nav ul li:nth-child(1) { transition-delay: 0.05s; }
.mobile-sidebar.open .mobile-sidebar__menu li:nth-child(2),
.mobile-sidebar.open .mobile-sidebar__nav ul li:nth-child(2) { transition-delay: 0.1s; }
.mobile-sidebar.open .mobile-sidebar__menu li:nth-child(3),
.mobile-sidebar.open .mobile-sidebar__nav ul li:nth-child(3) { transition-delay: 0.15s; }
.mobile-sidebar.open .mobile-sidebar__menu li:nth-child(4),
.mobile-sidebar.open .mobile-sidebar__nav ul li:nth-child(4) { transition-delay: 0.2s; }
.mobile-sidebar.open .mobile-sidebar__menu li:nth-child(5),
.mobile-sidebar.open .mobile-sidebar__nav ul li:nth-child(5) { transition-delay: 0.25s; }
.mobile-sidebar.open .mobile-sidebar__menu li:nth-child(6),
.mobile-sidebar.open .mobile-sidebar__nav ul li:nth-child(6) { transition-delay: 0.3s; }
.mobile-sidebar.open .mobile-sidebar__menu li:nth-child(7),
.mobile-sidebar.open .mobile-sidebar__nav ul li:nth-child(7) { transition-delay: 0.35s; }
.mobile-sidebar.open .mobile-sidebar__menu li:nth-child(8),
.mobile-sidebar.open .mobile-sidebar__nav ul li:nth-child(8) { transition-delay: 0.4s; }

.mobile-sidebar__menu a,
.mobile-sidebar__nav ul a {
    display: block;
    padding: var(--space-2) var(--space-3);
    color: var(--color-black);
    text-decoration: none;
    font-size: var(--text-base);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: transparent;
    border-radius: var(--radius-md);
    position: relative;
    transition: all 0.3s ease;
}

.mobile-sidebar__menu a::before,
.mobile-sidebar__nav ul a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-red);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}


.mobile-sidebar__menu a:hover,
.mobile-sidebar__menu a:focus-visible,
.mobile-sidebar__nav ul a:hover,
.mobile-sidebar__nav ul a:focus-visible {
    color: var(--color-red);
    background: rgba(227, 30, 36, 0.1);
    transform: translateY(-1px);
}

.mobile-sidebar__menu a:hover::before,
.mobile-sidebar__menu a:focus-visible::before,
.mobile-sidebar__nav ul a:hover::before,
.mobile-sidebar__nav ul a:focus-visible::before {
    width: 80%;
}


.mobile-sidebar__footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-sidebar__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(227, 30, 36, 0.2);
    background: rgba(227, 30, 36, 0.08);
    text-decoration: none;
    color: #333333;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mobile-sidebar__contact:hover,
.mobile-sidebar__contact:focus-visible {
    transform: translateY(-2px);
    border-color: var(--primary-red);
    box-shadow: 0 8px 22px rgba(227, 30, 36, 0.2);
    outline: none;
}

.mobile-sidebar__contact-label {
    font-size: 0.75rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #666666;
}

.mobile-sidebar__contact-value {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.mobile-sidebar__contact--address {
    cursor: default;
    background: rgba(227, 30, 36, 0.05);
}

.mobile-sidebar__contact--address:hover,
.mobile-sidebar__contact--address:focus-visible {
    transform: none;
    box-shadow: none;
    border-color: rgba(227, 30, 36, 0.2);
}

.mobile-sidebar__cta {
    margin-top: 0.5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-red), #ff5555);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    box-shadow: 0 12px 35px rgba(227, 30, 36, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-sidebar__cta:hover,
.mobile-sidebar__cta:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(227, 30, 36, 0.45);
    outline: none;
}

@media (max-width: 1024px) {
    /* Фиксация шапки для мобильных - максимальная специфичность */
    html body header.site-header,
    html body .site-header,
    body header.site-header,
    body .site-header,
    header.site-header,
    .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        z-index: 99999 !important;
        transform: translate3d(0, 0, 0) !important;
        -webkit-transform: translate3d(0, 0, 0) !important;
        margin: 0 !important;
        margin-top: 0 !important;
    }

    /* Компенсация высоты фиксированной шапки */
    html body,
    body {
        padding-top: 60px !important;
    }

    /* Основной контент - отступ сверху */
    main,
    #main-content,
    .site-content {
        margin-top: 0 !important;
    }

    body .main-nav {
        display: none !important;
    }

    .mobile-sidebar-toggle {
        margin-right: auto;
    }

    .mobile-sidebar {
        display: flex;
    }

    .mobile-sidebar-overlay {
        display: block;
    }
}

@media (max-width: 768px) {
    /* Фиксация шапки для планшетов */
    html body header.site-header,
    html body .site-header,
    body header.site-header,
    body .site-header,
    header.site-header,
    .site-header {
        position: fixed !important;
        top: 0 !important;
        z-index: 99999 !important;
    }

    html body,
    body {
        padding-top: 60px !important;
    }
}

@media (max-width: 600px) {
    /* Фиксация шапки для малых экранов */
    html body header.site-header,
    html body .site-header,
    body header.site-header,
    body .site-header,
    header.site-header,
    .site-header {
        position: fixed !important;
        top: 0 !important;
        z-index: 99999 !important;
    }

    html body,
    body {
        padding-top: 60px !important;
    }

    .mobile-sidebar {
        width: min(320px, 88vw);
    }

    .mobile-sidebar__inner {
        padding: 0 1.5rem 2.2rem;
        gap: 1.8rem;
    }

    .mobile-sidebar__top {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        padding: 2rem 1.5rem 1.1rem;
    }

    .mobile-sidebar__cta {
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    /* Фиксация шапки для самых малых экранов */
    html body header.site-header,
    html body .site-header,
    body header.site-header,
    body .site-header,
    header.site-header,
    .site-header {
        position: fixed !important;
        top: 0 !important;
        z-index: 99999 !important;
    }

    html body,
    body {
        padding-top: 60px !important;
    }
}

@media (min-width: 1025px) {
    .mobile-sidebar,
    .mobile-sidebar-overlay {
        display: none !important;
    }
}

/* Mobile menu overlay effect */
@media (max-width: 1024px) {
    body.menu-open {
        overflow: hidden;
        touch-action: none;
    }
}

/* ========================================
   DESKTOP DROPDOWN MENU (when scrolled)
   ======================================== */

@media (min-width: 1025px) {
    /* When scrolled, make nav dropdown style */
    .site-header.scrolled .main-nav {
        display: block !important;
        position: fixed;
        top: 60px;
        right: 0;
        width: 280px;
        background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(20, 20, 20, 0.98) 100%);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s ease,
                    visibility 0.3s ease;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(227, 30, 36, 0.3);
        border-radius: 0 0 12px 12px;
        z-index: 999;
    }
    
    .site-header.scrolled .main-nav.active {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }
    
    .site-header.scrolled .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
    }
    
    .site-header.scrolled .main-nav li {
        width: 100%;
    }
    
    .site-header.scrolled .main-nav a {
        padding: 0.9rem 1.5rem;
        border-left: 3px solid transparent;
        justify-content: flex-start;
    }
    
    .site-header.scrolled .main-nav a:hover,
    .site-header.scrolled .main-nav a.active {
        border-left-color: var(--primary-red);
        background: linear-gradient(90deg, rgba(227, 30, 36, 0.15) 0%, transparent 100%);
    }
    
    .site-header.scrolled .main-nav a::before {
        display: none;
    }
}

/* Main content offset for fixed header */
#main-content {
    padding-top: 0;
    position: relative;
    z-index: 1;
}

/* ============================================
   HERO SECTION - Split Layout (50/50)
   ============================================ */

/* Компенсация фиксированной шапки */
body {
    padding-top: 70px;
}

.hero {
    min-height: calc(100vh - 70px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 !important;
    padding: 0 !important;
}

/* Left Side - White Background */
.hero-left {
    background: var(--color-white);
    padding: var(--space-8) var(--space-8) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hero-content {
    max-width: 600px;
}

/* Typography - Как на скриншоте */
.hero-title {
    font-size: var(--text-7xl);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-4);
    letter-spacing: -2.5px;
    color: var(--color-black);
}

.hero-title-red {
    color: var(--color-red);
    display: block;
}

.hero-subtitle {
    font-size: var(--text-2xl);
    color: var(--color-gray-500);
    margin-bottom: var(--space-6);
    line-height: 1.6;
    font-weight: 400;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.btn {
    padding: 22px 52px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-red);
    color: var(--color-white);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(227, 30, 36, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-black);
    border: 2px solid var(--color-black);
}

.btn-secondary:hover {
    background: var(--color-black);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* Right Side - Dark Gradient Background */
.hero-right {
    background: linear-gradient(135deg, #4A4A4A 0%, #3A3A3A 30%, #2A2A2A 70%, #1A1A1A 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Main Box - Точно как на скриншоте */
.main-box {
    position: relative;
    /* width: 420px; */
    /* height: 420px; */
    background-color: #4A4A4A;
    background-image: linear-gradient(135deg, rgba(90, 90, 90, 0.3) 0%, rgba(74, 74, 74, 0.3) 100%), 
                      url('media/fotobannera.png');
    background-size: cover, contain;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    border: 4px solid var(--color-red);
    border-radius: var(--radius-2xl);
    box-shadow:
        0 40px 80px rgba(227, 30, 36, 0.4),
        inset 0 0 80px rgba(227, 30, 36, 0.15);
    animation: rotateBox 20s ease-in-out infinite;
    transform-style: preserve-3d;
}

.main-box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background: var(--color-red);
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(60px);
    animation: pulseGlow 3s ease-in-out infinite;
    z-index: -1;
}

/* Floating Product Items */
.product-item {
    position: absolute;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-gray-100) 100%);
    border: 2px solid rgba(227, 30, 36, 0.3);
    border-radius: var(--radius-xl);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    animation: floatProduct 5s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.product-item:nth-child(1) {
    width: 90px;
    height: 90px;
    top: 5%;
    left: 8%;
    animation-delay: 0s;
}

.product-item:nth-child(2) {
    width: 110px;
    height: 110px;
    top: 2%;
    right: 10%;
    animation-delay: 1s;
    background: var(--color-red);
    color: var(--color-white);
}

.product-item:nth-child(3) {
    width: 85px;
    height: 85px;
    bottom: 35%;
    left: 0%;
    animation-delay: 2s;
}

.product-item:nth-child(4) {
    width: 100px;
    height: 100px;
    bottom: 40%;
    right: 5%;
    animation-delay: 1.5s;
}

.product-item:nth-child(5) {
    width: 75px;
    height: 75px;
    top: 35%;
    left: -3%;
    animation-delay: 3s;
}

/* Stats Strip - Красная полоса внизу */
.stats-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-red);
    padding: 40px var(--space-8);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.stat-item {
    text-align: center;
    color: var(--color-white);
}

.stat-number {
    font-size: var(--text-5xl);
    font-weight: 900;
    margin-bottom: var(--space-1);
    letter-spacing: -1px;
}

.stat-label {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.95;
    font-weight: 600;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes rotateBox {
    0%, 100% {
        transform: rotateY(0deg) rotateX(0deg);
    }
    25% {
        transform: rotateY(5deg) rotateX(2deg);
    }
    50% {
        transform: rotateY(0deg) rotateX(-2deg);
    }
    75% {
        transform: rotateY(-5deg) rotateX(2deg);
    }
}

@keyframes floatProduct {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) rotate(8deg);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.12;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh !important;
    display: flex;
    align-items: center;
    background: #FFFFFF !important;
    position: relative;
    overflow: hidden;
    padding-top: 0 !important;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.15;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #000000;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

.hero-title {
    font-size: 4.8rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    color: #000000;
    text-shadow: none;
    font-weight: 900;
    letter-spacing: -1px;
}

.hero-title .highlight {
    color: var(--primary-red);
    display: block;
    text-shadow: 
        0 2px 10px rgba(227, 30, 36, 0.5),
        0 4px 20px rgba(227, 30, 36, 0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #808080;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-description {
    font-size: 1.44rem;
    margin-bottom: 3rem;
    max-width: 700px;
    color: #606060;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 1.2rem 3.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--primary-red);
    animation: fadeInUp 1s ease-out 0.8s both;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 20px rgba(227, 30, 36, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 3px;
    background: linear-gradient(45deg, #ff6b6b, var(--white), var(--primary-red), #ff6b6b);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cta-button:hover::before {
    width: 400px;
    height: 400px;
}

.cta-button:hover::after {
    opacity: 1;
    animation: rotate 2s linear infinite;
}

.cta-button:hover {
    color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 
        0 12px 30px rgba(227, 30, 36, 0.4),
        0 6px 15px rgba(0, 0, 0, 0.3);
    border-color: var(--white);
    background: var(--white);
}

.cta-button span {
    position: relative;
    z-index: 1;
}

/* Section Styles */
section {
    padding: 0;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    opacity: 1 !important; /* Force visibility - animation disabled */
    /* animation: sectionFadeIn 1.2s ease-out forwards; */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Section Container */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Background Classes */
.section-bg-white {
    background: var(--color-white);
}

.section-bg-gray {
    background: var(--color-gray-50);
}

.section-bg-dark {
    background: var(--color-gray-900);
    color: var(--color-white);
}

.section-bg-dark .section-title h2 {
    color: var(--color-white);
}

.section-bg-dark .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

/* Градиентные разделители между секциями */
section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(227, 30, 36, 0.1) 30%,
        rgba(227, 30, 36, 0.25) 50%,
        rgba(227, 30, 36, 0.1) 70%,
        transparent 100%
    );
    opacity: 0.5;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(1px);
}

section:last-of-type::after {
    display: none;
}

section:hover::after {
    opacity: 0.8;
    width: 70%;
    filter: blur(0px);
}

@keyframes sectionFadeIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    animation: fadeIn 1s ease-out;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--color-black);
    position: relative;
    display: inline-block;
    font-weight: 800;
    letter-spacing: -0.5px;
}



.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg,
        rgba(227, 30, 36, 0.6),
        rgba(227, 30, 36, 1),
        rgba(227, 30, 36, 0.6)
    );
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(227, 30, 36, 0.5);
    animation: underlineExpand 0.8s ease-out 0.5s forwards;
}

@keyframes underlineExpand {
    0% {
        transform: translateX(-50%) scaleX(0);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) scaleX(1);
        opacity: 1;
    }
}



.section-title p {
    font-size: 1.2rem;
    color: #606060;
    margin-top: 1.5rem;
}

/* Section titles are now uniform white on dark background - removed old overrides */

/* Services Section */
.services-section {
    background: var(--color-gray-50);
    position: relative;
    overflow: hidden;
    animation-delay: 0.2s;
    padding: 5rem 0;
}

.services-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.12) 0%, transparent 60%);
    border-radius: 50%;
    animation: gentlePulse 8s ease-in-out infinite;
    filter: blur(80px);
    z-index: -1;
}

@keyframes gentlePulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}


/* About Section Styles */
.about-section {
    padding: 6rem 0;
    background: #FFFFFF;
    position: relative;
    animation-delay: 0.4s;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(227, 30, 36, 0.5), transparent);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-text {
    background: #FFFFFF;
    backdrop-filter: none;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-text .section-title h2 {
    color: #1a1a1a !important;
    text-shadow: none;
}

.about-text .section-title p {
    color: #606060 !important;
}

.about-description p {
    color: #404040;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-description h3 {
    color: #1a1a1a;
    font-size: 1.8rem;
    margin: 2rem 0 1.5rem;
    text-shadow: none;
}

.about-features {
    list-style: none;
    padding: 0;
}

.about-features li {
    color: #404040;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
}

.about-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-features strong {
    color: #1a1a1a;
    font-weight: 700;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background: #FFFFFF;
    backdrop-filter: none;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(227, 30, 36, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(227, 30, 36, 0.6);
    box-shadow: 0 12px 32px rgba(227, 30, 36, 0.2);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #e31e24;
    text-shadow: none;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #404040;
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: none;
}

.about-benefits {
    background: #F8F8F8;
    backdrop-filter: none;
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.about-benefits h3 {
    color: #1a1a1a;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    text-shadow: none;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: #FFFFFF;
    backdrop-filter: none;
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary-red);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    opacity: 0;
    animation: cardFadeIn 0.8s ease-out forwards;
}

.benefit-item:hover {
    background: #FFFFFF;
    transform: translateX(10px) translateY(-2px);
    box-shadow: 0 12px 32px rgba(227, 30, 36, 0.15);
}

.benefit-item h4 {
    color: #1a1a1a;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-shadow: none;
}

.benefit-item p {
    color: #404040;
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-section {
        padding: 4rem 0;
    }
    
    .about-text {
        padding: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .about-benefits {
        padding: 2rem;
    }
}

.service-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(227, 30, 36, 0.1);
    color: var(--color-black);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.3) 0%, transparent 50%);
    transform: scale(0);
    transition: transform 0.6s ease;
    filter: blur(30px);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), #ff6b6b, var(--primary-red));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow:
        0 12px 36px rgba(0, 0, 0, 0.12),
        0 6px 18px rgba(227, 30, 36, 0.2);
    border-color: rgba(227, 30, 36, 0.5);
    background: #F8F8F8;
}

.service-card:hover::before {
    transform: scale(1);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.15);
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.6), rgba(255, 107, 107, 0.4));
    border-color: rgba(227, 30, 36, 0.9);
    box-shadow: 
        0 0 40px rgba(227, 30, 36, 0.6),
        0 12px 40px rgba(227, 30, 36, 0.4),
        inset 0 2px 15px rgba(255, 255, 255, 0.2);
}

.service-icon {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-red);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.1), rgba(255, 107, 107, 0.05));
    border-radius: 50%;
    border: 3px solid rgba(227, 30, 36, 0.3);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-shadow: none;
    box-shadow: 
        0 8px 30px rgba(227, 30, 36, 0.15),
        inset 0 2px 10px rgba(227, 30, 36, 0.05);
}

.service-icon img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(227, 30, 36, 0.5));
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: block;
    margin: 0 auto;
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 20px rgba(227, 30, 36, 0.8));
}

.service-card h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-shadow: none;
}

.service-card p {
    color: #404040;
    line-height: 1.8;
}

/* Materials Section */
.materials-section {
    background: #FFFFFF;
    position: relative;
    overflow: visible;
    animation-delay: 0.6s;
}

.materials-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background:
        radial-gradient(circle at 30% 50%, rgba(227, 30, 36, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 107, 107, 0.06) 0%, transparent 50%);
    animation: gentlePulse 11s ease-in-out infinite;
    filter: blur(90px);
    z-index: -1;
}

.materials-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.material-card:nth-child(1) {
    animation-delay: 0.1s;
}

.material-card:nth-child(2) {
    animation-delay: 0.25s;
}

.material-card:nth-child(3) {
    animation-delay: 0.4s;
}

.material-card:nth-child(4) {
    animation-delay: 0.55s;
}

.material-card {
    text-align: center;
    padding: 2.5rem;
    background: #FFFFFF;
    backdrop-filter: blur(20px);
    border-radius: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid rgba(227, 30, 36, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.05),
        0 2px 8px rgba(227, 30, 36, 0.08);
}

.material-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, var(--primary-red), #ff6b6b, var(--primary-red));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.material-card:hover {
    transform: scale(1.05) rotate(2deg);
    background: linear-gradient(135deg, var(--primary-red) 0%, #D81B21 100%);
    box-shadow: 
        0 10px 30px rgba(227, 30, 36, 0.25),
        0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-red);
}

.material-card:hover::before {
    opacity: 1;
    animation: rotate 3s linear infinite;
}

.material-card:hover .material-icon {
    transform: scale(1.15) rotate(-5deg);
}

.material-card:hover .material-icon img {
    filter: 
        brightness(1.5)
        drop-shadow(0 0 15px rgba(255, 255, 255, 0.6))
        drop-shadow(0 5px 20px rgba(227, 30, 36, 0.5));
    transform: scale(1.05);
}

.material-card:hover h3 {
    color: #ffffff;
    transform: scale(1.05);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.material-icon {
    font-size: 5rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-shadow: none;
    filter: drop-shadow(0 4px 15px rgba(227, 30, 36, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

.material-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: 
        brightness(1.2)
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.3))
        drop-shadow(0 4px 15px rgba(227, 30, 36, 0.4));
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.material-card h3 {
    transition: all 0.4s ease;
    font-size: 1.2rem;
    color: #1a1a1a;
}

/* Industries Section */
.industries-section {
    background: #F8F8F8;
    color: #1a1a1a;
    position: relative;
    animation-delay: 0.8s;
    overflow: hidden;
}

.industries-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(227, 30, 36, 0.12) 0%,
        transparent 50%
    );
    animation: gentlePulse 9s ease-in-out infinite;
    filter: blur(70px);
    z-index: -1;
}



.industries-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.industry-item {
    background: #FFFFFF;
    backdrop-filter: blur(20px);
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    border-radius: 16px;
    border-left: 4px solid rgba(227, 30, 36, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.05),
        0 1px 4px rgba(227, 30, 36, 0.08);
}

.industry-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(227, 30, 36, 0.08), transparent);
    transition: width 0.4s ease;
}

.industry-item:hover {
    background: #F8F8F8;
    transform: translateX(12px) translateY(-2px);
    border-left-width: 4px;
    border-left-color: var(--primary-red);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.08),
        0 3px 10px rgba(227, 30, 36, 0.15);
}

.industry-item:hover::before {
    width: 100%;
}

.industry-item:hover h4 {
    color: var(--primary-red);
    transform: translateX(5px);
}

.industry-item h4 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    transition: all 0.4s ease;
    font-size: 1.3rem;
}

.industry-item p {
    color: #606060;
}

/* Features Section */
.features-section {
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
    animation-delay: 1s;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(227, 30, 36, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 107, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(227, 30, 36, 0.06) 0%, transparent 60%);
    animation: gentlePulse 10s ease-in-out infinite;
    filter: blur(80px);
    z-index: -1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e8e8e8;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* Внутренний световой эффект */
.feature-card .inner-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center,
        rgba(227, 30, 36, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 30%,
        transparent 60%);
    opacity: 0;
    transition: all 0.8s ease;
    transform: scale(0.5) rotate(45deg);
    pointer-events: none;
    z-index: 1;
}

.feature-card:hover .inner-glow {
    opacity: 1;
    transform: scale(1) rotate(45deg);
    animation: gentleRotate 12s linear infinite;
}

@keyframes gentleRotate {
    0% { transform: scale(1) rotate(45deg); }
    100% { transform: scale(1) rotate(405deg); }
}

/* Улучшение z-index для контента */
.feature-card .feature-icon,
.feature-card h3,
.feature-card p {
    position: relative;
    z-index: 2;
}

/* Анимированный фон-градиент */
.feature-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
        rgba(227, 30, 36, 0.1) 0%,
        rgba(255, 107, 107, 0.05) 25%,
        rgba(227, 30, 36, 0.1) 50%,
        rgba(255, 107, 107, 0.05) 75%,
        rgba(227, 30, 36, 0.1) 100%);
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
    background-size: 400% 400%;
    animation: shimmerBackground 8s ease-in-out infinite;
}

@keyframes shimmerBackground {
    0%, 100% {
        background-position: 0% 50%;
        opacity: 0;
    }
    50% {
        background-position: 100% 50%;
        opacity: 0;
    }
}

/* Светящаяся точка в углу */
.feature-card::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 6px;
    height: 6px;
    background: var(--primary-red);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.6s ease;
    box-shadow: 0 0 15px rgba(227, 30, 36, 0.6);
}

/* Эффекты при наведении */
.feature-card:hover::before {
    opacity: 1;
    animation-play-state: running;
}

.feature-card:hover::after {
    opacity: 1;
    transform: scale(1.5);
    box-shadow: 0 0 25px rgba(227, 30, 36, 0.8);
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% {
        transform: scale(1.5);
        opacity: 1;
    }
    50% {
        transform: scale(2);
        opacity: 0.6;
    }
}

/* Анимация иконки */
.feature-icon {
    position: relative;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: -1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
}

.feature-card:hover .feature-icon::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    animation: iconGlow 3s ease-in-out infinite;
}

@keyframes iconGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.4;
    }
}

/* Анимация текста */
.feature-card h3 {
    position: relative;
    transition: all 0.4s ease;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    transform: translateX(-50%);
    transition: width 0.6s ease;
    opacity: 0;
}

.feature-card:hover h3::after {
    width: 60px;
    opacity: 1;
    animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes underlineGlow {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1);
    }
    50% {
        opacity: 0.6;
        transform: translateX(-50%) scaleX(1.2);
    }
}

/* Анимация описания */
.feature-card p {
    position: relative;
    transition: all 0.4s ease 0.1s;
}

.feature-card:hover p {
    color: var(--color-gray-700);
}

/* Плавные частицы вокруг карточки */
.feature-card .particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: 16px;
}

.feature-card .particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.6s ease;
}

.feature-card:hover .particle:nth-child(1) {
    top: 20%;
    left: 10%;
    opacity: 0.6;
    animation: floatParticle1 4s ease-in-out infinite;
}

.feature-card:hover .particle:nth-child(2) {
    top: 70%;
    left: 15%;
    opacity: 0.5;
    animation: floatParticle2 5s ease-in-out infinite;
}

.feature-card:hover .particle:nth-child(3) {
    top: 30%;
    right: 10%;
    opacity: 0.6;
    animation: floatParticle3 4.5s ease-in-out infinite;
}

.feature-card:hover .particle:nth-child(4) {
    top: 80%;
    right: 15%;
    opacity: 0.5;
    animation: floatParticle4 5.5s ease-in-out infinite;
}

@keyframes floatParticle1 {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-10px) rotate(180deg); opacity: 0.3; }
}

@keyframes floatParticle2 {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
    50% { transform: translateY(8px) rotate(-180deg); opacity: 0.2; }
}

@keyframes floatParticle3 {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-12px) rotate(180deg); opacity: 0.3; }
}

@keyframes floatParticle4 {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
    50% { transform: translateY(10px) rotate(-180deg); opacity: 0.2; }
}

/*
ИНСТРУКЦИЯ ПО ИСПОЛЬЗОВАНИЮ НОВЫХ АНИМАЦИЙ ДЛЯ FEATURE-CARD:

Для активации всех визуальных эффектов добавьте в HTML разметку карточек:

<div class="feature-card">
    <div class="inner-glow"></div>
    <div class="particle-container">
        <div class="particle"></div>
        <div class="particle"></div>
        <div class="particle"></div>
        <div class="particle"></div>
    </div>
    <div class="feature-icon">
        <img src="path-to-icon.svg" alt="Feature Icon">
    </div>
    <h3>Заголовок преимущества</h3>
    <p>Описание преимущества...</p>
</div>

ЭФФЕКТЫ ПРИ НАВЕДЕНИИ:
1. Анимированный градиентный фон с переливом
2. Пульсирующая точка в правом верхнем углу
3. Вращающийся внутренний световой эффект
4. Плавающие частицы по углам карточки
5. Свечение вокруг иконки
6. Анимированное подчеркивание заголовка
7. Легкое изменение яркости иконки

На мобильных устройствах эффекты автоматически упрощаются для оптимизации.
*/

/* Мобильная оптимизация для feature-card */
@media (max-width: 768px) {
    .feature-card {
        padding: 2rem 1.5rem;
        transition: all 0.4s ease;
    }

    /* Упрощенные анимации для мобильных */
    .feature-card::before {
        animation-duration: 12s;
        transition: opacity 0.4s ease;
    }

    .feature-card::after {
        display: none; /* Скрываем пульсирующую точку на мобильных */
    }

    .feature-card .inner-glow {
        animation-duration: 20s;
        transition: all 0.6s ease;
    }

    .feature-card:hover .feature-icon {
        transform: scale(1.02);
    }

    .feature-card:hover .feature-icon img {
        transform: scale(1.02);
        filter: brightness(1.05) drop-shadow(0 3px 10px rgba(227, 30, 36, 0.3));
    }

    .feature-card:hover h3::after {
        width: 40px;
        animation: none; /* Отключаем анимацию подчеркивания */
    }

    /* Упрощенные частицы для мобильных */
    .feature-card:hover .particle:nth-child(1),
    .feature-card:hover .particle:nth-child(2) {
        opacity: 0.3;
        animation: none;
    }

    .feature-card:hover .particle:nth-child(3),
    .feature-card:hover .particle:nth-child(4) {
        display: none; /* Скрываем часть частиц */
    }

    .feature-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1.2rem;
    }

    .feature-icon img {
        width: 60px;
        height: 60px;
    }

    /* Уменьшаем интенсивность всех эффектов */
    .feature-card:hover .feature-icon::before {
        opacity: 0.5;
        animation-duration: 5s;
    }
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.05), rgba(255, 107, 107, 0.02));
    border-radius: 50%;
    border: 1px solid rgba(227, 30, 36, 0.1);
}

.feature-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: brightness(1) drop-shadow(0 2px 8px rgba(227, 30, 36, 0.2));
}

.feature-card:hover .feature-icon img {
    transform: scale(1.05);
    filter: brightness(1.1) drop-shadow(0 4px 12px rgba(227, 30, 36, 0.4));
}

.feature-card h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: #F8F8F8;
    color: #1a1a1a;
    position: relative;
    overflow: hidden;
    animation-delay: 1.2s;
}

.contact-section-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(227, 30, 36, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(227, 30, 36, 0.12) 0%, transparent 40%);
    animation: gentlePulse 10s ease-in-out infinite;
    z-index: -1;
    filter: blur(60px);
}



.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    text-align: center;
    padding: 2.5rem;
    background: #FFFFFF;
    backdrop-filter: blur(20px);
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(227, 30, 36, 0.25);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.06),
        0 2px 6px rgba(227, 30, 36, 0.08);
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(227, 30, 36, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.contact-item:hover {
    background: #F8F8F8;
    transform: translateY(-12px) scale(1.05);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 6px 16px rgba(227, 30, 36, 0.15);
    border-color: rgba(227, 30, 36, 0.5);
}

.contact-item:hover::before {
    width: 300px;
    height: 300px;
}

.contact-item:hover .contact-icon {
    transform: scale(1.2) rotateY(360deg);
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.5), rgba(255, 107, 107, 0.3));
    border-color: rgba(227, 30, 36, 0.8);
    box-shadow: 
        0 0 35px rgba(227, 30, 36, 0.5),
        0 10px 35px rgba(227, 30, 36, 0.3),
        inset 0 1px 8px rgba(255, 255, 255, 0.2);
}

.contact-icon {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 85px;
    height: 85px;
    color: var(--primary-red);
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.1), rgba(255, 107, 107, 0.05));
    border-radius: 50%;
    border: 2px solid rgba(227, 30, 36, 0.3);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-shadow: none;
    box-shadow: 
        0 6px 25px rgba(227, 30, 36, 0.15),
        inset 0 1px 5px rgba(227, 30, 36, 0.05);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 25px rgba(227, 30, 36, 0.15);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 8px 30px rgba(227, 30, 36, 0.25);
    }
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.contact-item p {
    font-size: 1.1rem;
    color: #606060;
}

.lead-form-section {
    background: var(--color-white);
    color: var(--color-black);
    position: relative;
    overflow: hidden;
    padding: 5rem 0 5.5rem;
    animation-delay: 1.4s;
}

.lead-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 25% 30%, rgba(227, 30, 36, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(227, 30, 36, 0.12) 0%, transparent 55%);
    animation: gentlePulse 12s ease-in-out infinite;
    z-index: -1;
    filter: blur(70px);
}

.lead-form-intro {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.lead-form-intro h2 {
    color: #1a1a1a;
}

.lead-form-intro p {
    color: #606060;
}

.lead-form-wrapper {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 0 1.5rem;
}

.contact-form-card {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 3.5rem 4rem;
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    border: 2px solid var(--color-red);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    isolation: isolate;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top right, rgba(227, 30, 36, 0.35) 0%, transparent 55%);
    opacity: 0.4;
    z-index: -1;
    filter: blur(10px);
    transform: rotate(8deg);
}

.contact-form-card h3 {
    color: var(--color-black);
    font-size: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.contact-form-card p {
    color: var(--color-gray-600);
    margin-bottom: 1.75rem;
    font-size: 1.1rem;
}

.contact-form-card__body {
    position: relative;
}

.contact-form-card .wpcf7 {
    margin: 0;
}

.contact-form-card .wpcf7 form {
    display: grid;
    gap: 1.5rem;
}

.contact-form-card .wpcf7 form p {
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.contact-form-card .wpcf7-form-control-wrap {
    display: block;
}

.contact-form-card .wpcf7-form-control {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(227, 30, 36, 0.25);
    background: var(--color-gray-50);
    color: var(--color-black);
    font-size: 1.05rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.contact-form-card .wpcf7-form-control::placeholder {
    color: var(--color-gray-500);
}

.contact-form-card .wpcf7-form-control:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.25);
    background: var(--color-white);
}

.contact-form-card .wpcf7-textarea {
    min-height: 190px;
    resize: vertical;
}

.contact-form-card .wpcf7-submit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1.3rem 3.5rem;
    border-radius: var(--radius-full);
    border: none;
    background: var(--color-red);
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.contact-form-card .wpcf7-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-form-card .wpcf7-submit:hover::before {
    width: 300px;
    height: 300px;
}

.contact-form-card .wpcf7-submit:hover,
.contact-form-card .wpcf7-submit:focus {
    background: var(--color-black);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.contact-form-card .wpcf7-spinner {
    margin: 0 auto;
    display: block;
}

.contact-form-card .wpcf7-not-valid-tip {
    font-size: 0.8rem;
    color: #ffc9c9;
    margin-top: -0.25rem;
}

.contact-form-card .wpcf7-response-output {
    margin: 0;
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.contact-form-card .wpcf7-response-output.wpcf7-mail-sent-ok {
    background: rgba(76, 175, 80, 0.18);
    border-color: rgba(76, 175, 80, 0.45);
    color: #e6f7ea;
}

.contact-form-card .wpcf7-response-output.wpcf7-validation-errors,
.contact-form-card .wpcf7-response-output.wpcf7-acceptance-missing {
    background: rgba(227, 30, 36, 0.2);
    border-color: rgba(227, 30, 36, 0.5);
    color: #ffe6e6;
}

.contact-form-card .form-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .contact-form-card .form-grid.two-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.contact-form-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #808080;
    text-align: center;
}

.contact-form-placeholder {
    padding: 1.25rem 1.5rem;
    border-radius: 18px;
    border: 1px dashed rgba(227, 30, 36, 0.25);
    background: #F8F8F8;
    color: #606060;
    text-align: center;
}

.contact-form-placeholder__link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
}

.contact-form-placeholder__link:hover {
    text-decoration: underline;
}

.contact-cta {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .contact-form-card {
        padding: 2rem;
    }
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    border-top: 3px solid var(--color-red);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(227, 30, 36, 0.5), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.6rem;
    margin-bottom: 1.6rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin: 0;
    padding-bottom: 0.3rem;
    text-decoration: underline;
    text-decoration-color: white;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* Footer Navigation */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-menu a {
    color: white;
    text-decoration: underline;
    text-decoration-color: white;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    font-size: 0.85rem;
}

.footer-menu a:hover {
    color: white;
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-link {
    color: white;
    text-decoration: underline;
    text-decoration-color: white;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    font-size: 0.85rem;
}

.contact-link:hover {
    color: white;
}

.contact-text {
    color: white;
    font-size: 0.85rem;
}

/* Footer Social and Messengers */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 0.5rem;
}

.messenger-btn {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.8rem 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.messenger-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.messenger-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.12));
}

.messenger-btn:hover::before {
    opacity: 1;
}

/* Remove underlines from messenger buttons */
.messenger-btn,
.messenger-btn:hover {
    text-decoration: none !important;
}

.messenger-name,
.messenger-action,
.messenger-name:hover,
.messenger-action:hover {
    text-decoration: none !important;
}

.messenger-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.messenger-icon svg,
.messenger-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* Specific messenger icon colors */
.telegram-btn .messenger-icon {
    background: linear-gradient(135deg, #0088cc, #006ba6);
    border-color: rgba(0, 136, 204, 0.3);
}

.whatsapp-btn .messenger-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-color: rgba(37, 211, 102, 0.3);
}

.phone-btn .messenger-icon {
    background: linear-gradient(135deg, #FF6B6B, #EE5A24);
    border-color: rgba(255, 107, 107, 0.3);
}

.messenger-btn:hover .messenger-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.messenger-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.messenger-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

.messenger-action {
    font-size: 0.75rem;
    color: white;
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

.messenger-btn:hover .messenger-name,
.messenger-btn:hover .messenger-action {
    text-decoration: underline;
    text-decoration-color: white;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

/* Telegram Button */
.telegram-btn:hover {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.2), rgba(0, 107, 166, 0.15));
    border-color: rgba(0, 136, 204, 0.4);
}

.telegram-btn:hover .messenger-icon {
    background: linear-gradient(135deg, #0099e6, #0077b3);
    transform: scale(1.05);
}

/* WhatsApp Button */
.whatsapp-btn:hover {
    background: linear-gradient(135deg, #25d366 0%, #20b954 100%);
    border-color: #25d366;
}

.whatsapp-btn:hover .messenger-icon {
    background: rgba(255, 255, 255, 0.15);
}

/* Phone Button */
.phone-btn:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    border-color: #ff6b6b;
}

.phone-btn:hover .messenger-icon {
    background: rgba(255, 255, 255, 0.15);
}

/* Messenger icon backgrounds */
.telegram-btn .messenger-icon,
.whatsapp-btn .messenger-icon,
.phone-btn .messenger-icon {
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.messenger-btn:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.telegram-btn:hover .messenger-icon,
.whatsapp-btn:hover .messenger-icon,
.phone-btn:hover .messenger-icon {
    background: rgba(255, 255, 255, 0.2);
}

/* Ensure images fit properly */
.messenger-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Special styling for larger WhatsApp icon */
.whatsapp-icon-large {
    width: 56px;
    height: 56px;
}

.whatsapp-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Custom Contact Form Styles */
.custom-contact-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    align-items: flex-start;
}

.form-group {
    flex: 1;
}

.form-group.full-width {
    width: 100%;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    color: var(--color-black);
    font-size: var(--text-base);
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-control::placeholder {
    color: var(--color-gray-500);
    font-weight: 400;
    opacity: 0.8;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.15), 0 8px 24px rgba(227, 30, 36, 0.1);
    transform: translateY(-2px);
    background: var(--color-white);
}

.form-control:hover {
    border-color: var(--color-gray-300);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.submit-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 18px 40px;
    background: var(--color-red);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--text-lg);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(227, 30, 36, 0.25);
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    margin-top: var(--space-4);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
    width: 400px;
    height: 400px;
}

.submit-btn:hover {
    background: var(--color-black);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.admin-note {
    margin-top: var(--space-3);
    padding: var(--space-2);
    background: rgba(227, 30, 36, 0.05);
    border-left: 3px solid var(--color-red);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    text-align: center;
}

.admin-note a {
    color: var(--color-red);
    text-decoration: underline;
    font-weight: 600;
}

.admin-note a:hover {
    color: var(--color-black);
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: var(--color-white);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    font-size: var(--text-base);
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: slideInDown 0.6s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Responsive */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: var(--space-2);
    }

    .form-group {
        width: 100%;
    }

    .form-control {
        padding: 14px 16px;
        font-size: var(--text-sm);
    }

    .submit-btn {
        padding: 16px 32px;
        font-size: var(--text-base);
    }
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Scroll Animations - Experimental */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-on-scroll.animated {
    opacity: 1;
}

/* Slide from Left */
.slide-left {
    transform: translateX(-100px) rotate(-5deg);
}

.slide-left.animated {
    transform: translateX(0) rotate(0deg);
}

/* Slide from Right */
.slide-right {
    transform: translateX(100px) rotate(5deg);
}

.slide-right.animated {
    transform: translateX(0) rotate(0deg);
}

/* Scale Up */
.scale-up {
    transform: scale(0.8) rotate(180deg);
}

.scale-up.animated {
    transform: scale(1) rotate(0deg);
}

/* Flip In */
.flip-in {
    transform: perspective(1000px) rotateY(-90deg);
}

.flip-in.animated {
    transform: perspective(1000px) rotateY(0deg);
}

/* Bounce In */
.bounce-in {
    transform: scale(0.3);
    animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bounce-in.animated {
    transform: scale(1);
}

/* Slide Up Stagger */
.slide-up {
    transform: translateY(80px) scale(0.9);
    opacity: 0;
}

.slide-up.animated {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Rotate Scale */
.rotate-scale {
    transform: rotate(-180deg) scale(0.5);
    opacity: 0;
}

.rotate-scale.animated {
    transform: rotate(0deg) scale(1);
    opacity: 1;
}

/* Fixed Header - Desktop Only */
@media (min-width: 1025px) {
    body header.site-header,
    body .site-header,
    header.site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
        background: linear-gradient(135deg, #0a0a0a 0%, #141414 100%) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
        border-bottom: 3px solid rgba(180, 180, 180, 0.6) !important;
    }
}

/* Красивая анимированная полоска-разделитель */
body header.site-header::after,
body .site-header::after,
header.site-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(180, 180, 180, 0.6) 20%,
        rgba(200, 200, 200, 0.8) 50%,
        rgba(180, 180, 180, 0.6) 80%,
        transparent 100%
    );
    animation: shimmer 3s ease-in-out infinite;
    box-shadow: 0 2px 15px rgba(180, 180, 180, 0.3);
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.8;
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.02);
    }
}

/* Mobile Fixed Header - High Priority */
@media only screen and (max-width: 1024px) {
    body #main-content,
    #main-content {
        padding-top: 0 !important;
    }
}

/* ============================================
   RESPONSIVE DESIGN FOR HERO
   ============================================ */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .main-box {
        width: 340px;
        height: 340px;
        background-size: cover, cover;
    }
}

/* Mobile (640px and below) */
@media (max-width: 640px) {
    .header-container {
        padding: var(--space-2) var(--space-3);
    }

    .logo {
        font-size: 24px;
    }

    .logo-dot {
        font-size: 30px;
    }

    .header-cta {
        padding: 12px 24px;
        font-size: var(--text-sm);
    }

    .hero-left,
    #hero-left-side {
        padding: var(--space-6) var(--space-3);
        order: 2 !important;
        text-align: center;
    }

    .hero-right,
    #hero-right-side {
        order: 1 !important;
        margin-top: -40px !important;
    }

    .hero-title {
        font-size: 38px;
        letter-spacing: -1.5px;
    }

    .hero-subtitle {
        font-size: var(--text-md);
        margin-bottom: var(--space-3);
    }

    .hero-buttons,
    #hero-buttons-wrapper {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        padding: 18px 32px;
        font-size: var(--text-base);
        margin: 0 auto;
    }

    .main-box {
        width: 280px !important;
        height: 280px !important;
        max-width: 280px !important;
        max-height: 280px !important;
        min-width: 280px !important;
        min-height: 280px !important;
        background-size: cover !important;
        border: 2px solid var(--color-red) !important;
        box-shadow: 0 20px 40px rgba(227, 30, 36, 0.25) !important;
    }

    .product-item {
        transform: scale(0.7);
        opacity: 0.85;
    }

    .stats-strip {
        padding: var(--space-3) var(--space-2);
        gap: var(--space-2);
    }

    .stat-number {
        font-size: var(--text-4xl);
    }

    .stat-label {
        font-size: var(--text-xs);
    }
}

/* Extra small (480px and below) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .main-box {
        width: 240px !important;
        height: 240px !important;
        max-width: 240px !important;
        max-height: 240px !important;
        min-width: 240px !important;
        min-height: 240px !important;
        background-size: cover !important;
        border: 2px solid var(--color-red) !important;
        box-shadow: 0 15px 30px rgba(227, 30, 36, 0.2) !important;
    }

    .product-item {
        transform: scale(0.6);
        opacity: 0.8;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        padding-top: 70px !important;
        margin-top: 0 !important;
    }

    * {
        max-width: 100%;
    }

    .container {
        padding: 0 15px;
        width: 100%;
    }

    /* Обеспечиваем полноразмерность всех изображений на мобильных */
    img {
        max-width: 100%;
        height: auto;
    }

    .gallery-item,
    .service-card,
    .feature-card {
        width: 100%;
        margin: 0;
    }

    /* Hero секция на мобильных */
    .hero,
    #hero-section {
        display: flex !important;
        flex-direction: column !important;
        padding-top: 20px !important;
        padding-bottom: 0 !important;
        min-height: auto !important;
    }

    /* Визуальная часть (баннер) идет первой */
    .hero-right,
    #hero-right-side {
        order: 1 !important;
        width: 100% !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: -40px !important;
        padding: 0 !important;
    }

    /* Визуальный контейнер */
    .hero-visual,
    #hero-visual-container {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
    }

    /* Текстовый контент идет вторым */
    .hero-left,
    #hero-left-side {
        order: 2 !important;
        width: 100% !important;
        text-align: center;
        padding: 20px 15px !important;
        margin-top: 0 !important;
    }

    /* Статистика внизу */
    .stats-strip,
    #stats-strip-container {
        position: relative !important;
        width: 100% !important;
        order: 3 !important;
        margin-top: 20px;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Add space for fixed header */
    #main-content {
        padding-top: 0 !important;
    }

    /* Header for mobile - Fixed with high specificity */
    html body header.site-header,
    html body .site-header,
    body header.site-header,
    body .site-header,
    header.site-header,
    .site-header,
    header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 100vw !important;
        background: rgba(26, 26, 26, 0.98) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        z-index: 99999 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
        transform: translateZ(0) translate3d(0, 0, 0) !important;
        -webkit-transform: translateZ(0) translate3d(0, 0, 0) !important;
        will-change: transform !important;
        backface-visibility: hidden !important;
        -webkit-backface-visibility: hidden !important;
        margin: 0 !important;
        margin-top: 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* WordPress admin bar fix for mobile */
    body.admin-bar header.site-header,
    body.admin-bar .site-header {
        top: 46px !important;
    }

    .header-inner {
        padding: 1rem;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        position: relative;
    }

    /* Logo left aligned */
    .site-logo {
        font-size: 1.5rem !important;
        position: relative;
        left: auto;
        transform: none;
    }

    /* Hide desktop navigation */
    .main-nav {
        display: none;
    }







    /* Center images in service cards */
    .service-icon,
    .service-card img {
        margin: 0 auto;
        display: block;
    }

    /* Hero section - add space for fixed header */
    .hero-section {
        padding-top: 20px !important;
        min-height: calc(100vh - 70px) !important;
    }

    /* Кнопки hero на мобильных */
    .hero-buttons,
    #hero-buttons-wrapper {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .hero-buttons .btn,
    #hero-buttons-wrapper .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .main-nav a,
    .main-menu a {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
        text-align: center;
        display: block;
    }

    /* Hide floating sidebar on mobile */
    .floating-sidebar {
        display: none !important;
    }

    /* Typography adjustments */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.35rem; }
    h4 { font-size: 1.2rem; }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .section-title h2 {
        font-size: 1.85rem;
    }

    .section-title p {
        font-size: 1rem;
    }



    .hero-content {
        padding: 0 10px;
    }

    .cta-button {
        padding: 1rem 2.5rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }

    /* Reduce animation intensity for mobile */
    .animate-on-scroll {
        transition: all 0.5s ease;
    }

    .slide-left,
    .slide-right {
        transform: translateY(20px);
    }

    .slide-left.animated,
    .slide-right.animated {
        transform: translateY(0);
    }

    .scale-up {
        transform: scale(0.95);
    }

    .scale-up.animated {
        transform: scale(1);
    }

    .flip-in,
    .rotate-scale {
        transform: translateY(20px);
    }

    .flip-in.animated,
    .rotate-scale.animated {
        transform: translateY(0);
    }

    .bounce-in {
        transform: scale(0.95);
    }

    .bounce-in.animated {
        transform: scale(1);
    }

    /* Disable parallax effect on mobile */
    .hero-content,
    .service-card,
    .material-card {
        transform: none !important;
    }

    /* Снижение интенсивности анимаций баннера на мобильных */
    .main-box {
        animation: none !important;
    }

    .product-item {
        animation: floatProductMobile 6s ease-in-out infinite !important;
    }

    @keyframes floatProductMobile {
        0%, 100% {
            transform: translateY(0px) rotate(0deg);
        }
        50% {
            transform: translateY(-10px) rotate(3deg);
        }
    }

    .main-box::before {
        animation: pulseGlowMobile 4s ease-in-out infinite !important;
    }

    @keyframes pulseGlowMobile {
        0%, 100% {
            opacity: 0.05;
            transform: translate(-50%, -50%) scale(1);
        }
        50% {
            opacity: 0.08;
            transform: translate(-50%, -50%) scale(1.05);
        }
    }

    /* Grids to single column */
    .services-grid,
    .features-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .industries-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .materials-grid {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    /* Card adjustments */
    .service-card,
    .feature-card {
        padding: 2rem 1.5rem;
        margin: 0 auto;
        max-width: 100%;
    }

    .material-card {
        width: 150px;
        height: 150px;
        padding: 1.5rem;
    }

    .material-icon {
        font-size: 3.5rem;
    }

    .material-icon img {
        width: 60px;
        height: 60px;
    }

    .material-card h3 {
        font-size: 1rem;
    }

    .service-icon,
    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 3rem;
    }

    .service-icon img,
    .feature-icon img {
        width: 90px;
        height: 90px;
    }

    /* Contact section */
    .contact-item {
        padding: 2rem 1.5rem;
    }

    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 3rem;
    }

    /* Industry items */
    .industry-item {
        padding: 1.25rem 1.25rem 1.25rem 1.75rem;
    }

    .industry-item:hover {
        transform: translateX(8px);
    }

    /* Section padding */
    section {
        padding: 3rem 0;
    }

    /* Stats adjustments */
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* Benefits grid */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-text,
    .about-benefits {
        padding: 2rem 1.5rem;
    }

    /* Disable mouse trail on mobile */
    .mouse-trail {
        display: none !important;
    }

    /* Disable card tilt on mobile */
    .service-card,
    .feature-card,
    .material-card {
        transform: none !important;
    }
}









/* Extra small devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }

    .materials-grid {
        flex-wrap: wrap;
        gap: 1.25rem;
    }
    
    .industries-list {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .material-card {
        width: 160px;
        height: 160px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
        font-size: 1.3rem;
    }

    .site-logo {
        font-size: 1.5rem !important;
    }

    .site-header.scrolled .site-logo {
        font-size: 1.2rem !important;
    }

    .hero-section {
        padding-top: 0 !important;
        min-height: 100vh !important;
    }

    .mobile-dropdown-nav {
        max-width: 320px;
    }

    .mobile-dropdown-nav a {
        font-size: 0.95rem;
        padding: 0.9rem 1.25rem;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    /* Disable complex animations on mobile for better performance */
    .hero-section::before,
    .services-section::before,
    .services-section::after,
    .materials-section::before,
    .features-section::before,
    .industries-section::before,
    .contact-section::before {
        animation: none !important;
        opacity: 0.3;
    }

    /* Reduce blur effects on mobile */
    .site-header,
    .service-card,
    .material-card,
    .feature-card {
        backdrop-filter: blur(5px) !important;
        -webkit-backdrop-filter: blur(5px) !important;
    }

    /* Simplify shadows on mobile */
    .service-card,
    .material-card,
    .feature-card,
    .contact-item {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }

    /* Optimize text shadows */
    .hero-title,
    .site-logo,
    .sidebar-icon {
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
    }

    /* Ensure all sections fit within viewport */
    section,
    .hero-section,
    .services-section,
    .materials-section,
    .industries-section,
    .features-section,
    .contact-section {
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Add mobile body class styles */
    body.is-mobile .particle,
    body.is-mobile .particles-container {
        display: none !important;
    }
}

/* Smooth scrolling for mobile */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
}

/* Performance optimization */
@media (max-width: 768px) {
    * {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    
    .service-card,
    .material-card,
    .feature-card,
    .contact-item {
        will-change: auto !important;
    }
}

/* Desktop - Ensure Fixed Header */
@media (min-width: 1025px) {
    body header.site-header,
    body .site-header,
    header.site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
    }
}

/* ============================================
   ENHANCED ABOUT COMPANY SECTION - SEO OPTIMIZED
   ============================================ */

.enhanced-about-section {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F8F8 50%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    animation-delay: 0.3s;
}

/* Ambient background effects */
.enhanced-about-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.08) 0%, transparent 60%);
    animation: gentleFloat 15s ease-in-out infinite;
    filter: blur(60px);
    z-index: -1;
}

.enhanced-about-section::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: -5%;
    width: 35%;
    height: 50%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.06) 0%, transparent 55%);
    animation: gentleFloat 18s ease-in-out infinite reverse;
    filter: blur(70px);
    z-index: -1;
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.8;
    }
    50% {
        transform: translateY(10px) translateX(-5px);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-10px) translateX(15px);
        opacity: 0.7;
    }
}

/* Enhanced Hero Section */
.enhanced-about-hero {
    margin-bottom: 5rem;
    position: relative;
}

.enhanced-title {
    text-align: center;
    margin-bottom: 3rem;
}

.enhanced-title h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--color-black);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 4s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        filter: brightness(1);
        transform: translateY(0);
    }
    50% {
        filter: brightness(1.1);
        transform: translateY(-2px);
    }
}

.seo-subtitle {
    font-size: 1.3rem;
    color: var(--color-gray-600);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.05), rgba(255, 107, 107, 0.02));
    border-radius: 16px;
    border-left: 4px solid var(--primary-red);
    font-weight: 500;
}

/* Enhanced About Description */
.enhanced-about-description {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.main-seo-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 20px;
}

.main-seo-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary-red), rgba(227, 30, 36, 0.3));
    border-radius: 3px;
}

.main-seo-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray-700);
    margin-bottom: 2rem;
}

.seo-keywords-block {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F8F8 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(227, 30, 36, 0.1);
    box-shadow: 0 8px 32px rgba(227, 30, 36, 0.08);
}

.seo-keywords-block h3 {
    font-size: 1.4rem;
    color: var(--color-black);
    margin-bottom: 1.5rem;
    text-align: center;
}

.seo-services-list {
    list-style: none;
    padding: 0;
}

.seo-services-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(227, 30, 36, 0.1);
    color: var(--color-gray-700);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 25px;
}

.seo-services-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.seo-services-list li:hover::before {
    transform: translateX(5px);
}

.seo-services-list li:hover {
    color: var(--primary-red);
    padding-left: 30px;
}

.seo-services-list li:last-child {
    border-bottom: none;
}

/* Enhanced Stats */
.enhanced-about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.enhanced-stat-item {
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.05), rgba(255, 107, 107, 0.02));
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid rgba(227, 30, 36, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.enhanced-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(227, 30, 36, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.enhanced-stat-item:hover::before {
    opacity: 1;
}

.enhanced-stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(227, 30, 36, 0.15);
    border-color: var(--primary-red);
}

.enhanced-stat-item .stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-red), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.enhanced-stat-item:hover .stat-number {
    animation: statPulse 2s ease-in-out infinite;
}

@keyframes statPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.enhanced-stat-item .stat-label {
    font-size: 1rem;
    color: var(--color-gray-600);
    font-weight: 600;
    line-height: 1.4;
}

.enhanced-stat-item .stat-label span {
    display: block;
    font-size: 0.85rem;
    color: var(--color-gray-500);
    font-weight: 400;
    margin-top: 0.3rem;
}

/* SEO Rich Content */
.seo-rich-content {
    margin-bottom: 5rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.seo-content-left h2,
.seo-content-right h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.seo-content-left h2::after,
.seo-content-right h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), rgba(227, 30, 36, 0.3));
    border-radius: 2px;
}

.copaking-benefits {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary-red);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.08);
    margin-top: 2rem;
}

.copaking-benefits h3 {
    font-size: 1.3rem;
    color: var(--color-black);
    margin-bottom: 1.5rem;
}

.copaking-benefits ul {
    list-style: none;
    padding: 0;
}

.copaking-benefits li {
    padding: 0.8rem 0;
    color: var(--color-gray-700);
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(227, 30, 36, 0.1);
}

.copaking-benefits li:last-child {
    border-bottom: none;
}

/* Prepack Types */
.prepack-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.prepack-type {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F8F8 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(227, 30, 36, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.prepack-type:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(227, 30, 36, 0.12);
    border-color: var(--primary-red);
}

.prepack-type h4 {
    font-size: 1.1rem;
    color: var(--color-black);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.prepack-type p {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    line-height: 1.5;
}

/* Process Section */
.copacking-process {
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.05), rgba(255, 107, 107, 0.02));
    padding: 3rem;
    border-radius: 24px;
    margin-bottom: 5rem;
    text-align: center;
}

.copacking-process h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.copacking-process h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), rgba(227, 30, 36, 0.3));
    border-radius: 2px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-step {
    position: relative;
    padding: 2rem 1rem;
    background: #FFFFFF;
    border-radius: 16px;
    border: 2px solid rgba(227, 30, 36, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), #ff6b6b);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.process-step:hover::before {
    transform: scaleX(1);
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(227, 30, 36, 0.15);
    border-color: var(--primary-red);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), #ff6b6b);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.25);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 8px 25px rgba(227, 30, 36, 0.35);
}

.process-step h3 {
    font-size: 1.1rem;
    color: var(--color-black);
    margin-bottom: 1rem;
    font-weight: 600;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    line-height: 1.5;
}

/* Enhanced CTA Section */
.enhanced-about-cta {
    text-align: center;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.08), rgba(255, 107, 107, 0.04));
    border-radius: 24px;
    border: 2px solid rgba(227, 30, 36, 0.15);
    position: relative;
    overflow: hidden;
}

.enhanced-about-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.05) 0%, transparent 60%);
    animation: gentleRotate 20s linear infinite;
}

.enhanced-about-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.enhanced-about-cta p {
    font-size: 1.2rem;
    color: var(--color-gray-600);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-red), #ff6b6b);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(227, 30, 36, 0.3);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.cta-button.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-button.primary:hover::before {
    left: 100%;
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(227, 30, 36, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-red);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--primary-red);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.cta-button.secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-red);
    transition: left 0.3s ease;
    z-index: 1;
}

.cta-button.secondary span {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.cta-button.secondary:hover::before {
    left: 0;
}

.cta-button.secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.2);
    border-color: var(--primary-red);
}

.cta-button.secondary:hover span {
    color: white;
}

/* Mobile Optimization for Enhanced About Section */
@media (max-width: 1024px) {
    .enhanced-about-section {
        padding: 4rem 0;
    }

    .enhanced-title h1 {
        font-size: 2.8rem;
    }

    .seo-subtitle {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
    }

    .enhanced-about-description {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .prepack-types {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button.primary,
    .cta-button.secondary {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .enhanced-about-section {
        padding: 3rem 0;
    }

    .enhanced-title h1 {
        font-size: 2.2rem;
    }

    .enhanced-about-description {
        gap: 2rem;
    }

    .main-seo-content h2,
    .seo-content-left h2,
    .seo-content-right h2 {
        font-size: 1.6rem;
    }

    .enhanced-stat-item .stat-number {
        font-size: 2.8rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .enhanced-about-cta {
        padding: 2.5rem 1.5rem;
    }

    .enhanced-about-cta h2 {
        font-size: 1.8rem;
    }

    .enhanced-about-cta p {
        font-size: 1rem;
    }
}

/* ==========================================
   GALLERY SECTION STYLES
   ========================================== */

/* Gallery Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Gallery Item */
.gallery-item {
    background: var(--primary-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-16px);
    box-shadow: 0 24px 80px rgba(227, 30, 36, 0.20);
}

/* Hidden and Visible States */
.gallery-item.hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Gallery Image Container */
.gallery-image-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.gallery-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-image-container img {
    transform: scale(1.05);
    filter: brightness(1.02);
}

/* Gallery Info */
.gallery-info {
    padding: 2rem;
    background: var(--primary-white);
    text-align: center;
}

.gallery-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.gallery-info p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

/* Gallery Show More Section */
.gallery-show-more {
    text-align: center;
    margin: 3rem 0 2rem 0;
}

/* Общие стили для кнопок */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.3rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.btn-outline {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-outline:hover {
    background: var(--primary-red);
    color: var(--primary-white);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(227, 30, 36, 0.25);
}

.btn-icon {
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(227, 30, 36, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-outline:hover .btn-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(180deg);
}

/* Gallery CTA Section */
.gallery-cta {
    text-align: center;
    padding: 3.5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 24px;
    margin-top: 3rem;
}

.cta-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 2.5rem;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, #C71920 100%);
    color: var(--primary-white);
    box-shadow: 0 8px 24px rgba(227, 30, 36, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #C71920 0%, #A01519 100%);
    color: var(--primary-white);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(227, 30, 36, 0.4);
}

/* Gallery Overlay Effect */
.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, #FF6B6B 50%, var(--primary-red) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover::before {
    transform: scaleX(1);
}

/* Responsive Design for Gallery */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }

    .gallery-image-container {
        height: 450px;
    }
}

@media (max-width: 900px) {
    .section-container {
        padding: 0 1.2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        padding: 0;
        width: 100%;
    }

    .gallery-item {
        width: 100%;
        margin: 0;
    }

    .gallery-image-container {
        height: 400px;
        width: 100%;
    }

    .gallery-image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gallery-info {
        padding: 1.5rem;
    }

    .gallery-info h3 {
        font-size: 1.3rem;
    }

    .gallery-info p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .section-container {
        padding: 0 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0;
        width: 100%;
    }

    .gallery-item {
        width: 100%;
        margin: 0;
    }

    .gallery-image-container {
        height: 350px;
        width: 100%;
    }

    .gallery-image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gallery-info {
        padding: 1.3rem;
    }

    .gallery-info h3 {
        font-size: 1.2rem;
    }

    .gallery-info p {
        font-size: 0.95rem;
    }

    .cta-text {
        font-size: 1.3rem;
    }

    .btn {
        padding: 1.1rem 2.5rem;
        font-size: 1rem;
    }

    .gallery-cta {
        padding: 2.5rem 1.5rem;
    }

    .gallery-show-more {
        margin: 2rem 0 1.5rem 0;
    }
}

@media (max-width: 580px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }

    .gallery-item {
        width: 100%;
        margin: 0;
    }

    .gallery-image-container {
        height: 445px;
        width: 100%;
    }

    .gallery-image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gallery-info {
        padding: 1.5rem;
    }

    .gallery-info h3 {
        font-size: 1.2rem;
    }

    .gallery-info p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 0;
    }

    .gallery-item {
        width: 100%;
        margin: 0;
    }

    .gallery-image-container {
        height: 395px;
        width: 100%;
    }

    .gallery-image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gallery-info {
        padding: 1.3rem;
    }

    .gallery-info h3 {
        font-size: 1.1rem;
    }

    .gallery-info p {
        font-size: 0.95rem;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
}

/* Animation for gallery items on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }
.gallery-item:nth-child(9) { animation-delay: 0.9s; }
.gallery-item:nth-child(10) { animation-delay: 1.0s; }
.gallery-item:nth-child(11) { animation-delay: 1.1s; }
.gallery-item:nth-child(12) { animation-delay: 1.2s; }

/* ==========================================
   FOOTER RESPONSIVE STYLES
   ========================================== */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2.5rem;
    }

    .messenger-btn {
        padding: 0.9rem 1.1rem;
    }

    .messenger-icon {
        width: 44px;
        height: 44px;
    }

    .messenger-icon svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-column {
        gap: 1.2rem;
    }

    .footer-title {
        font-size: 1.1rem;
        padding-bottom: 0.4rem;
    }

    .footer-title::after {
        width: 30px;
        height: 2px;
    }

    .messenger-btn {
        padding: 0.9rem 1.1rem;
        gap: 1rem;
    }

    .messenger-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .messenger-icon svg,
    .messenger-icon img {
        width: 20px;
        height: 20px;
    }

    .messenger-name {
        font-size: 0.85rem;
    }

    .messenger-action {
        font-size: 0.7rem;
    }
}

@media (max-width: 580px) {
    .site-footer {
        padding: 2.5rem 0 1.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 1.5rem;
    }

    .footer-column:nth-child(3),
    .footer-column:nth-child(4) {
        order: 1;
    }

    .messenger-btn {
        padding: 0.8rem 0.9rem;
        gap: 0.9rem;
        border-radius: 12px;
    }

    .messenger-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .messenger-icon svg,
    .messenger-icon img {
        width: 18px;
        height: 18px;
    }

    .messenger-info {
        gap: 0.2rem;
    }

    .messenger-name {
        font-size: 0.8rem;
        font-weight: 600;
    }

    .messenger-action {
        font-size: 0.65rem;
    }

    .footer-bottom {
        text-align: center;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-bottom p {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.6);
    }
}

/* ============================================
   Scroll to Top Button
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-red, #e31e24);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(227, 30, 36, 0.3);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #c41a1f;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}
