/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Helvetica', sans-serif;
}

:root {
    --accent: #c62828;
    --primary: #a02020;
    --dark: #333;
    --light: #f5f5f5;
    --text: #333;
    --white: #fff;
    --gray: #999;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
    color: #333;
    line-height: 1.6;
    background-color: white;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
span{
    color: var(--accent);
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin: auto;
}

/* Анимированный заголовок секции */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-title.in-view {
    opacity: 1;
    transform: translateY(0);
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary);
    position: relative;
    display: inline-block;
    animation: fadeIn 0.8s ease forwards;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    border-radius: 2px;
    animation: widthGrow 1s 0.3s forwards;
    width: 0;
}

@keyframes widthGrow {
    to { width: 80px; }
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeIn 0.8s 0.2s ease forwards;
    opacity: 0;
}

/* Анимированная шапка */
.header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transform: translateY(0);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header-container.hide {
    transform: translateY(-100%);
}

.header-info {
    display: flex;
    width: 100%;
    color: var(--white);
    padding: 15px 30px;
    flex-direction: row;
    align-items: center;
    background: linear-gradient(90deg, var(--dark), #222);
}

.header-info .label h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.header-info .label h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.header-info .label:hover h1::after {
    transform: translateX(0);
}

.header-info .header-number {
    margin-left: auto;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-info .header-number a {
    all: unset;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-info .header-number a:hover { 
    color: var(--accent);
    transform: translateX(5px);
}

/* Главный хедер с анимациями */
 header {
            display: flex;
            background: linear-gradient(135deg, var(--dark), var(--gray));
            color: var(--white);
            position: relative;
            overflow: hidden;
            animation: gradient 15s ease infinite;
            background-size: 200% 200%;
            min-height: 100vh; /* Занимает всю высоту экрана */
        }
        
        header::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, #ff6b6b, #d35400, #ff6b6b);
            animation: gradient 3s ease infinite;
            background-size: 200% 200%;
        }
        
        header .container {
            display: flex;
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 10px 0 0 0;
            position: relative;
            z-index: 2;
            
        }
        
        .text-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: start;
            margin-top: 10%;
            padding: 40px;
            text-align: left;
            max-width: 800px;
        }
        
        header h1 {
            font-size: 3.5rem;
            margin-bottom: 25px;
            font-weight: 800;
            text-shadow: 0 4px 10px rgba(0,0,0,0.3);
            animation: fadeIn 1s ease forwards, float 4s ease-in-out infinite 1s;
            opacity: 0;
            line-height: 1.2;
        }
        
        header p {
            font-size: 1.5rem;
            margin: 0 0 50px;
            opacity: 0.9;
            animation: fadeIn 1.2s ease forwards;
            opacity: 0;
            font-weight: 300;
        }
        
        .header-btn {
            display: inline-block;
            background-color: var(--accent);
            color: var(--white);
            padding: 18px 50px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.2rem;
            transition: var(--transition);
            box-shadow: 0 6px 20px rgba(0,0,0,0.2);
            animation: fadeIn 1.4s ease forwards, pulse 2s ease-in-out infinite;
            opacity: 0;
            width: 100%;
            position: relative;
            overflow: hidden;
            z-index: 1;
            align-self: center;
            text-align: center;
            border: none;
            cursor: pointer;
        }
        
        .header-btn::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background: var(--primary);
            transition: width 0.5s ease;
            z-index: -1;
        }
        
        .header-btn:hover {
            color: white;
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.3);
        }
        
        .header-btn:hover::before {
            width: 100%;
        }

        .image-alena {
    flex: 1;
    position: relative;
    border-radius: 10px 0 0 10px;
    margin: 80px 0 0 0;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1.6s ease forwards;
    opacity: 0;
    overflow: hidden; 
}

.image-alena img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Аналог background-size: cover */
    display: block; /* Убирает лишние отступы */
    border-radius: 10px 0 0 10px;
}

/* Декоративные элементы */
.image-alena::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    z-index: 1; /* Помещаем поверх изображения */
}
        
        /* Анимации */
        @keyframes gradient {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        /* Адаптивность */
        @media (max-width: 900px) {
            .container {
                flex-direction: column;
                padding: 20px;
            }
            
            .text-content {
                text-align: center;
                padding: 30px 20px;
                max-width: 100%;
            }
            
            header h1 {
                font-size: 2.5rem;
            }
            
            header p {
                font-size: 1.2rem;
            }
            
            .header-btn {
                align-self: center;
            }
            
            .image-alena {
                height: 400px;
                width: 100%;
                margin: auto;
                border-radius: 10px;
            }
        }
        
        @media (max-width: 480px) {
            header h1 {
                font-size: 2rem;
            }
            
            header p {
                font-size: 1.1rem;
            }
            
            .header-btn {
                padding: 15px 35px;
                font-size: 1rem;
            }
            
            .image-alena {
                height: 300px;
            }
        }

/* Секции */
section {
    padding: 100px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ПЕРЕРАБОТАННЫЙ БЛОК ПРЕИМУЩЕСТВ */
.benefits {
    background-color: var(--light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.benefit-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: var(--transition);
    transform: translateY(30px);
    opacity: 0;
}

.benefit-item.in-view {
    transform: translateY(0);
    opacity: 1;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.benefit-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.benefit-item:hover .benefit-icon {
    transform: rotateY(360deg);
    animation: none;
}

.benefit-icon svg {
    width: 50px;
    height: 50px;
    fill: white;
}

.benefit-item h3 {
    color: var(--text);
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

.benefit-item p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Как это работает */
.process {
    background-color: white;
    position: relative;
}

.process::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="rgba(160, 32, 32, 0.05)" stroke-width="1"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.timeline {
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--dark), var(--gray));
    z-index: 1;
    animation: heightGrow 1.5s ease forwards;
    height: 0;
}

@keyframes heightGrow {
    to { height: 100%; }
}

.step {
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    padding-left: 60px;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.step.in-view {
    opacity: 1;
    transform: translateX(0);
}

.step:nth-child(even) {
    transform: translateX(20px);
}

.step:nth-child(even).in-view {
    transform: translateX(0);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    left: 0;
    box-shadow: 0 5px 15px rgba(198, 40, 40, 0.4);
    transition: var(--transition);
}


.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(198, 40, 40, 0.6);
}

.step-content {
    background: white;
    border: 2px solid rgba(160, 32, 32, 0.1);
    border-radius: 15px;
    padding: 25px 30px;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.step:hover .step-content {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.step-content h3 {
    color: black;
    margin-bottom: 15px;
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.step-content h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.step-content p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Товары */
.products-section {

    padding: 20px;
            
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            color: var(--text);
            margin-bottom: 15px;
            font-weight: 700;
            position: relative;
            display: inline-block;
        }
        
        .section-title h2::after {
            content: "";
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: #a02020;
            border-radius: 2px;
        }
        
        .section-title p {
            font-size: 1.1rem;
            color: #777;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .products-container {
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .product-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            transition: all 0.4s ease;
            position: relative;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .product-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }
        
        .product-img {
            height: 220px;
            overflow: hidden;
            position: relative;
        }
        
        .product-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .product-card:hover .product-img img {
            transform: scale(1.05);
        }
        
        .product-info {
            padding: 25px;
            position: relative;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }
        
        .product-type {
            position: absolute;
            top: -15px;
            left: 20px;
            background: #a02020;
            color: white;
            padding: 6px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            z-index: 2;
        }
        
        .product-title {
            font-size: 1.5rem;
            color: #333;
            margin-bottom: 15px;
            font-weight: 700;
        }
        
        .product-description {
            color: #777;
            line-height: 1.6;
            margin-bottom: 20px;
            font-size: 1rem;
            flex-grow: 1;
        }
        
        .product-price {
            font-size: 1.8rem;
            font-weight: 700;
            color: #333;
            margin-bottom: 20px;
        }
        
        .product-price span {
            font-size: 1rem;
            color: #a02020;
            font-weight: 600;
        }
        
        .product-btn {
            display: block;
            width: 100%;
            background: #a02020;
            color: white;
            text-align: center;
            padding: 14px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: 2px solid #a02020;
            margin-top: auto;
        }
        
        .product-btn:hover {
            background: transparent;
            color: #a02020;
        }
        
        @media (max-width: 768px) {
            .products-container {
                grid-template-columns: 1fr;
                max-width: 500px;
                margin: 0 auto;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
        }
/* Призыв к действию */
.cta {
    text-align: center;
    padding: 120px 20px;
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.9)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="rgba(160, 32, 32, 0.2)"/></svg>');
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    animation: gradient 3s ease infinite;
    background-size: 200% 200%;
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    animation: fadeIn 1s ease forwards, float 4s ease-in-out infinite 1s;
    opacity: 0;
}

.cta p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeIn 1.2s ease forwards;
    opacity: 0;
    font-weight: 300;
}

.cta .container .btn {
    all:unset;
    background: var(--primary);
    color: var(--white);
    max-width: 280px;
    margin: 20px auto 0;
    font-weight: 700;
    padding: 16px 40px;
    animation: fadeIn 1.4s ease forwards, pulse 2s ease-in-out infinite;
    opacity: 0;
    transition: 0.3s;
    cursor: pointer;
    border-radius: 16px;
}



.cta .btn:hover {
    background: var(--accent);
    color: white;
}

/* Футер */
footer {
    background: linear-gradient(135deg, #111, #000);
    color: white;
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    animation: gradient 3s ease infinite;
    background-size: 200% 200%;
}

.container {
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
    width: 100%;
}

/* Стили для колонок */
.footer-column {
    padding: 15px;
    text-align: left;
}

.footer-column h3 {
    color: #ff6b6b;
    margin-bottom: 25px;
    font-size: 1.6rem;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.footer-column:hover h3::after {
    width: 100px;
}

.footer-column p, 
.footer-column li {
    color: #ddd;
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: left;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer a {
    cursor: pointer;
}

.footer-column ul li {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
}

.footer-column ul li i {
    color: var(--accent);
    margin-right: 15px;
    font-size: 1.1rem;
    margin-top: 5px;
}

/* Стили для нижнего блока */
.copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 1rem;
    width: 100%;
}

.copyright-left {
    text-align: left;
    flex: 1;
    min-width: 300px;
    margin-bottom: 15px;
}

.copyright-right {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.copyright-right a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.copyright-right a:hover {
    color: #ff6b6b;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: flex-start; /* Иконки по левому краю */
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 5px 15px rgba(198, 40, 40, 0.4);
}

.contact-info li {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Контактная информация по левому краю */
}

.contact-info i {
    min-width: 25px;}
/* Анимация появления при скролле */
@keyframes slideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 992px) {
    
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .benefit-icon {
        width: 85px;
        height: 85px;
    }
    
    .step-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .header-info {
        padding: 12px 20px;
    }
    
    .header-info .label h1 {
        font-size: 1.5rem;
    }
    
    .header-info .header-number {
        font-size: 1rem;
    }
    
    
    
    section {
        padding: 80px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .benefits-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-column {
        padding: 0;
        /* Убрали text-align: center; */
    }
    
    .footer-column h3::after {
        /* Убрали transform: translateX(-50%); */
        left: 0; /* Линия под заголовком начинается слева */
    }
    
    .footer-column:hover h3::after {
        width: 80px;
    }
    
    .footer-column ul li {
        justify-content: flex-start; /* Выравнивание элементов списка по левому краю */
    }
    
    .copyright {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .copyright .user-info {
        width: 100%;
        margin-top: 20px;
    }
    
    .copyright .user-info a {
        text-align: center;
    }
    
    .social-icons {
        justify-content: flex-start; /* Иконки по левому краю */
    }
    
    .steps-container {
        gap: 50px;
    }
    
    .step {
        padding-left: 45px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    .timeline {
        left: 22px;
    }
}

@media (max-width: 480px) {
    .header-info {
        padding: 10px 15px;
    }
    
    .header-info .label h1 {
        font-size: 1.3rem;
    }
    
    
    
    section {
        padding: 70px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .cta {
        padding: 80px 20px;
    }
    
    .cta h2 {
        font-size: 2.2rem;
    }
    
    .cta p {
        font-size: 1.1rem;
    }
    
    .step {
        padding-left: 40px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .timeline {
        left: 20px;
    }
    
    /* Дополнительные стили для футера в мобильной версии */
    .footer-column {
        text-align: left; /* Гарантированное выравнивание по левому краю */
    }
    
    .footer-column h3 {
        text-align: left; /* Заголовки по левому краю */
    }
    
    .footer-column p {
        text-align: left; /* Текст по левому краю */
    }
    
    .footer-column ul {
        text-align: left; /* Списки по левому краю */
        padding-left: 0; /* Убираем отступ слева */
    }
    
    .footer-column ul li {
        justify-content: flex-start; /* Элементы списка по левому краю */
    }
    
    .social-icons {
        justify-content: flex-start; /* Иконки по левому краю */
    }
    
    .contact-info li {
        justify-content: flex-start; /* Контакты по левому краю */
    }
}


.faq-container {
            max-width: 1000px;
            margin: 40px auto;
            padding: 40px 30px;
            background: linear-gradient(135deg, var(--dark), var(--gray));
            border-radius: 16px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
            animation: fadeIn 1.5s ease forwards;
            opacity: 0;
        }
        
        .faq-header {
            text-align: center;
            margin-bottom: 50px;
            animation: fadeInDown 0.8s ease forwards;
            opacity: 0;
        }
        
        .faq-header h1 {
            font-size: 2.8rem;
            color: white;
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
            animation: fadeIn 1s ease forwards, float 4s ease-in-out infinite 1s;
            opacity: 0;
        }
        
        .faq-header h1::after {
            content: "";
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            height: 4px;
            background: linear-gradient(90deg, #ff6b6b, #d35400, #ff6b6b);
            border-radius: 2px;
            animation: gradient 3s ease infinite;
            background-size: 200% 200%;
        }
        
        .faq-header p {
            color: white;
            font-size: 1.3rem;
            max-width: 700px;
            margin: 30px auto 0;
            font-weight: 300;
            animation: fadeIn 1.2s ease forwards;
            opacity: 0;
        }
        
        /* Аккордеон FAQ */
        .faq-accordion {
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            overflow: hidden;
            transition: height 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            overflow: hidden;
        }
        
        .faq-item {
            border-bottom: 1px solid #eee;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.6s ease forwards;
        }
        
        .faq-item:nth-child(1) { animation-delay: 0.2s; }
        .faq-item:nth-child(2) { animation-delay: 0.3s; }
        .faq-item:nth-child(3) { animation-delay: 0.4s; }
        .faq-item:nth-child(4) { animation-delay: 0.5s; }
        .faq-item:nth-child(5) { animation-delay: 0.6s; }
        
        .faq-item:last-child {
            border-bottom: none;
        }
        
        .faq-question {
            padding: 25px 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            transition: var(--transition);
            background: white;
        }
        
        .faq-question:hover {
            background: #fafafa;
        }
        
        .faq-question h3 {
            font-size: 1.3rem;
            font-weight: 600;
            color: #333;
            display: flex;
            align-items: center;
            gap: 15px;
            margin: 0;
        }
        
        .faq-question h3 i {
            color: #c62828;
            font-size: 1.2rem;
            width: 25px;
            text-align: center;
        }
        
        .faq-icon {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        .faq-icon i {
            color: #c62828;
            transition: all 0.3s ease;
        }
        
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            background: rgba(198, 40, 40, 0.03);
            padding-bottom: 0; 
            transition: max-height 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            
                
        }
        
        .faq-answer-content {
            padding: 0 30px 0 65px;
            color: #666;
            line-height: 1.8;
            opacity: 0;
            transition: opacity 0.4s ease; 
        }

        
        .faq-answer-content p {
            margin-bottom: 15px;
        }
        
        .faq-answer-content ul {
            padding-left: 20px;
            margin: 15px 0;
        }
        
        .faq-answer-content li {
            margin-bottom: 10px;
            position: relative;
            padding-left: 20px;
        }
        
        .faq-answer-content li::before {
            content: "•";
            color: #c62828;
            position: absolute;
            left: 0;
            font-size: 1.2rem;
        }
        
        /* Активное состояние */
        .faq-item.active {
            border-bottom: 1px solid rgba(198, 40, 40, 0.2);
        }
        
        .faq-item.active .faq-question {
            background: rgba(198, 40, 40, 0.05);
        }
        
        .faq-item.active .faq-icon {
            transform: rotate(180deg);
        }
        
        .faq-item.active .faq-icon i {
            color: #c62828;
        }
        
        .faq-item.active .faq-answer {
            max-height: 500px;
            padding: 0 30px 25px; 
        }
        
        .faq-item.active .faq-answer-content {
            opacity: 1;
            padding-bottom: 20px; 
        }
        
        /* Анимации */
        @keyframes gradient {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes fadeInDown {
            from { 
                opacity: 0; 
                transform: translateY(-30px);
            }
            to { 
                opacity: 1; 
                transform: translateY(0);
            }
        }
        
        @keyframes fadeInUp {
            from { 
                opacity: 0; 
                transform: translateY(30px);
            }
            to { 
                opacity: 1; 
                transform: translateY(0);
            }
        }
        
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        /* Адаптивность */
        @media (max-width: 768px) {
            .faq-container {
                padding: 30px 20px;
            }
            
            .faq-header h1 {
                font-size: 2.2rem;
            }
            
            .faq-header p {
                font-size: 1.1rem;
            }
            
            .faq-question {
                padding: 20px;
            }
            
            .faq-question h3 {
                font-size: 1.1rem;
            }
            
            .faq-answer-content {
                padding: 0 20px 0 45px;
            }
        }

/* Контактный блок */
.contact-box {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 40px;
    margin-top: 40px;
    text-align: center;
}

.contact-box h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
}

.contact-box h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #c62828;
    border-radius: 2px;
}

.contact-box p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-btn {
    background: #c62828;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}



.contact-btn:hover {
    background: #a51c1c;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(198, 40, 40, 0.3);
}

/* Анимации */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .faq-container {
        margin-top: 100px;
    }
    
    .faq-header h1 {
        font-size: 2rem;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
        gap: 10px;
    }
    
    .faq-answer-content {
        padding: 0 20px 20px 45px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
    
    .contact-box {
        padding: 25px;
    }
    
    .contact-btn {
        width: 100%;
        justify-content: center;
    }
}



.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2b2b2b;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    font-size: 14px;
    transform: translateY(0);
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 1;
}

.cookie-banner.hide {
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s, transform 0.5s;
}

.cookie-banner p {
    margin: 0;
    max-width: 80%;
}

.cookie-banner a {
    color: #f1c40f;
    text-decoration: underline;
}

.cookie-banner button {
    background: #f1c40f;
    border: none;
    padding: 8px 16px;
    color: #000;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

.cookie-banner button:hover {
    background: #e0b800;
}

