/* Общие стили */
:root {
    --primary: #ff6b6b;
    --secondary: #4ecdc4;
    --accent: #ffbe0b;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --success: #38b000;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* Шапка */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
}

nav ul {
    display: flex;
    gap: 25px;
}

nav a {
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: var(--primary);
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn-login, .btn-register {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-login {
    background: transparent;
    color: var(--dark);
    border: 1px solid var(--gray);
}

.btn-register {
    background: var(--primary);
    color: white;
}

.btn-login:hover {
    background: #f0f0f0;
}

.btn-register:hover {
    background: #ff5252;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Главная секция */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--gray);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.btn-secondary:hover {
    background: rgba(255, 107, 107, 0.1);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Секция особенностей */
.features {
    padding: 80px 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

/* Как это работает */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

/* Подвал */
footer {
    background: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        text-align: center;
    }
    
    nav ul.active {
        display: flex;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 20px;
    }
    
    .features-grid, .steps {
        grid-template-columns: 1fr;
    }
}



/* Стили для внутренних страниц */

/* Заголовок страницы */
.page-header {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Секция с товарами */
.products-section {
    padding: 60px 0;
}

.products-section .container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

/* Фильтры */
.filters {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filters h3 {
    margin-bottom: 20px;
    color: var(--dark);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.filter-group select, .filter-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.price-range {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 12px;
    color: var(--gray);
}

.apply-filters {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
}

.apply-filters:hover {
    background: #ff5252;
}

/* Сетка товаров */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.product-description {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 15px;
}

.add-to-cart {
    width: 100%;
    padding: 10px;
    background: var(--accent);
    color: var(--dark);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
}

.add-to-cart:hover {
    background: #ffd166;
}

/* Стили для страницы поставщиков */
.suppliers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.supplier-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.supplier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.supplier-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}

.supplier-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.supplier-rating {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.supplier-products {
    color: var(--gray);
    margin-bottom: 20px;
}

.btn-supplier {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-supplier:hover {
    background: #ff5252;
}

/* Стили для страницы "О нас" */
.about-section {
    padding: 60px 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--dark);
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
}

.team-section {
    padding: 60px 0;
    background: var(--light);
}

.team-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
}

.team-member h3 {
    margin-bottom: 10px;
    color: var(--dark);
}

.member-position {
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 500;
}

/* Стили для страницы контактов */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.contact-info {
    color: var(--gray);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #ff5252;
}

/* Адаптивность для внутренних страниц */
@media (max-width: 992px) {
    .products-section .container {
        grid-template-columns: 1fr;
    }
    
    .filters {
        position: static;
        margin-bottom: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    /* Исправление для мобильного меню */
    body.menu-open {
        overflow: hidden;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        text-align: center;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 99;
    }
    
    nav ul.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .auth-buttons {
        display: none;
    }
}

@media (max-width: 576px) {
    .product-card {
        margin: 0 10px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .suppliers-grid {
        grid-template-columns: 1fr;
    }
}


/* Стили для страницы "О нас" */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--dark);
    position: relative;
    padding-bottom: 15px;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.about-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    text-align: left;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 60px 0;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 600;
}

.values-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
}

.values-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.value-card p {
    color: var(--gray);
    line-height: 1.6;
}

.team-section {
    padding: 80px 0;
    background: white;
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
    position: relative;
    padding-bottom: 15px;
}

.team-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.1), transparent);
    transition: left 0.5s ease;
}

.team-member:hover::before {
    left: 100%;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    position: relative;
    overflow: hidden;
    border: 5px solid #f8f9fa;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.member-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .member-photo::before {
    opacity: 1;
}

.team-member h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.member-position {
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

.team-member p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.member-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: all 0.3s ease;
    text-decoration: none;
}

.member-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.history-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.history-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
    padding: 0 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -50px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -50px;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 10px;
}

.timeline-text {
    color: var(--gray);
    line-height: 1.6;
}

/* Адаптивность для страницы "О нас" */
@media (max-width: 992px) {
    .about-content h2,
    .values-section h2,
    .team-section h2,
    .history-section h2 {
        font-size: 2.2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-section,
    .values-section,
    .team-section,
    .history-section {
        padding: 60px 0;
    }
    
    .about-content h2,
    .values-section h2,
    .team-section h2,
    .history-section h2 {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
        left: 0 !important;
    }
    
    .timeline-content::before {
        left: -40px !important;
        right: auto !important;
    }
    
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin: 40px 0;
        padding: 30px 20px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .about-content h2,
    .values-section h2,
    .team-section h2,
    .history-section h2 {
        font-size: 1.8rem;
    }
    
    .about-content p {
        font-size: 1rem;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .value-card,
    .team-member {
        padding: 25px 20px;
    }
    
    .member-photo {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }
    
    .timeline-item {
        padding-left: 50px;
        padding-right: 10px;
    }
    
    .timeline-content::before {
        left: -30px !important;
        width: 15px;
        height: 15px;
    }
    
    .timeline-content {
        padding: 20px;
    }
}


/* Стили для страницы поставщиков */
.suppliers-section {
    padding: 60px 0;
    background: white;
}

.suppliers-filters {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 50px;
}

.suppliers-filters h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark);
    font-size: 2rem;
}

.filters-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.suppliers-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 50px 0;
}

.stat-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--gray);
    font-weight: 500;
}

.suppliers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.supplier-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.supplier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.supplier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.supplier-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.supplier-badge {
    background: var(--accent);
    color: var(--dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.supplier-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.supplier-rating {
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 600;
}

.supplier-info {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.info-label {
    color: var(--gray);
    font-weight: 500;
}

.info-value {
    color: var(--dark);
    font-weight: 600;
}

.supplier-description {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 25px;
}

.supplier-actions {
    display: flex;
    gap: 10px;
}

.supplier-actions button {
    flex: 1;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.suppliers-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 60px 40px;
    border-radius: 20px;
    color: white;
    margin-top: 60px;
}

.suppliers-cta h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.suppliers-cta > p {
    text-align: center;
    margin-bottom: 40px;
    opacity: 0.9;
    font-size: 1.1rem;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.cta-benefits h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.cta-benefits ul {
    list-style: none;
}

.cta-benefits li {
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.cta-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.cta-form h3 {
    margin-bottom: 20px;
    text-align: center;
}

.cta-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cta-form input,
.cta-form select {
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: white;
    color: var(--dark);
}

.cta-form button {
    margin-top: 10px;
    background: var(--accent);
    color: var(--dark);
}

.cta-form button:hover {
    background: #ffd166;
}

/* Стили для страницы контактов */
.contact-section {
    padding: 60px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.contact-info p {
    margin-bottom: 10px;
    color: var(--gray);
    font-weight: 500;
}

.contact-hours {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    color: var(--primary);
    font-weight: 600;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.social-media {
    margin: 40px 0;
}

.social-media h3 {
    margin-bottom: 20px;
    color: var(--dark);
}

.social-links-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--light);
    border-radius: 10px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 12px;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.social-icon {
    font-size: 1.5rem;
}

.faq-preview {
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.faq-preview h3 {
    margin-bottom: 20px;
    color: var(--dark);
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--gray);
    line-height: 1.6;
}

.contact-form {
    background: var(--light);
    padding: 40px;
    border-radius: 15px;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox input {
    width: auto;
}

.map-section {
    margin-top: 60px;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark);
    font-size: 2rem;
}

.map-container {
    background: var(--light);
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    color: var(--dark);
}

.map-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.map-content p {
    margin-bottom: 10px;
    color: var(--gray);
}

.map-content button {
    margin-top: 20px;
}

/* Адаптивность для новых страниц */
@media (max-width: 992px) {
    .suppliers-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .suppliers-filters {
        padding: 30px 20px;
    }
    
    .filters-row {
        grid-template-columns: 1fr;
    }
    
    .suppliers-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .suppliers-grid {
        grid-template-columns: 1fr;
    }
    
    .supplier-card {
        padding: 25px 20px;
    }
    
    .social-links-large {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .map-container {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .suppliers-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 25px 15px;
    }
    
    .suppliers-cta {
        padding: 40px 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .faq-preview {
        padding: 20px 15px;
    }
    
    .map-container {
        height: 250px;
    }
    
    .map-content h3 {
        font-size: 1.2rem;
    }
}