/* ===== RESET & БАЗА ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

/* ===== ЦВЕТОВАЯ СХЕМА: КРАСНЫЙ + БЕЛЫЙ ===== */
:root {
    --primary: #dc2626;       /* яркий красный */
    --primary-dark: #b91c1c;  /* темно-красный */
    --primary-light: #fef2f2; /* очень светлый красный (фон) */
    --secondary: #111111;     /* почти черный для текста */
    --accent: #ef4444;        /* дополнительный красный */
    --bg-light: #ffffff;      /* чисто белый */
    --bg-card: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --border: #e5e5e5;
    --shadow: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 30px -12px rgba(220,38,38,0.15);
}

/* ===== ТИПОГРАФИКА ===== */
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    color: var(--secondary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 12px auto 0;
    border-radius: 4px;
}

.accent-text {
    color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: 48px;
    font-weight: 700;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(220,38,38,0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220,38,38,0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(220,38,38,0.05);
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
.header {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
}

.logo img {
    max-height: 80px;
    width: auto;
}

.main-nav .nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
    border-bottom-color: var(--primary);
    color: var(--primary);
}

.header-contacts {
    text-align: right;
}

.header-phone {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.work-time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.cart-icon {
    position: relative;
    font-size: 1.7rem;
    color: var(--secondary);
    transition: color 0.2s;
}

.cart-icon:hover {
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.7rem;
    cursor: pointer;
    color: var(--primary);
}

/* ===== HERO СЕКЦИЯ (увеличенная карусель) ===== */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
    padding: 60px 0 80px;
    border-bottom: 1px solid var(--border);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 8px 20px;
    border-radius: 60px;
    box-shadow: var(--shadow);
    font-weight: 600;
    border: 1px solid var(--border);
}

.hero-feature i {
    color: var(--primary);
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Увеличенная карусель в hero */
.hero-image {
    flex: 1;
    min-width: 350px;
}

.hero-slider {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: white;
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.1);
}

.hero-slider-viewport {
    overflow: hidden;
    border-radius: 24px;
}

.hero-slider-track {
    display: flex;
    transition: transform 0.4s ease;
}

.hero-slide {
    min-width: 100%;
    position: relative;
    display: block;
}

.hero-slide img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.promo-slide-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    color: white;
    padding: 12px 28px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.1rem;
}

.promo-slide-content h3 {
    color: var(--primary);
    margin-bottom: 4px;
}

.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 60px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 3;
    transition: 0.2s;
    font-size: 1.2rem;
}

.hero-slider-prev { left: 16px; }
.hero-slider-next { right: 16px; }

.hero-slider-arrow:hover {
    background: var(--primary);
    color: white;
}

.hero-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.hero-slider-dots .dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.hero-slider-dots .dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 10px;
}

/* ===== КАРУСЕЛЬ ТОВАРОВ (увеличенная) ===== */
.carousel-section {
    padding: 70px 0;
    background: white;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
    border-radius: 24px;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.carousel-arrow {
    background: white;
    border: 2px solid var(--border);
    width: 50px;
    height: 50px;
    border-radius: 60px;
    font-size: 1.4rem;
    cursor: pointer;
    transition: 0.2s;
    flex-shrink: 0;
    color: var(--secondary);
}

.carousel-arrow:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.carousel-dots span {
    width: 10px;
    height: 10px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.carousel-dots span.active {
    background: var(--primary);
    width: 30px;
    border-radius: 10px;
}

/* Увеличенные карточки товаров */
.product-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
    min-width: 300px;
    flex: 1;
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.product-card img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    background: #fafafa;
    padding: 20px;
}

.product-info {
    padding: 24px;
}

.product-title {
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--secondary);
}

.product-price {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--primary);
    margin: 12px 0;
}

.product-card .btn-sm {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.product-card .btn-sm:hover {
    background: var(--primary-dark);
}

/* ===== СПЕЦИАЛЬНЫЙ ЗАКАЗ (красный акцент) ===== */
.special-order {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    color: white;
    text-align: center;
    padding: 70px 24px;
    position: relative;
    overflow: hidden;
}

.special-order::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: var(--primary);
    opacity: 0.05;
    border-radius: 50%;
}

.special-order i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.special-order h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    font-weight: 800;
}

.special-order p {
    max-width: 560px;
    margin: 0 auto 32px;
    opacity: 0.85;
}

.special-order .btn-primary {
    background: var(--primary);
    font-size: 1rem;
    padding: 14px 36px;
}

/* ===== ФОРМА ПОПАП ===== */
.request-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
}

.request-form-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    max-width: 540px;
    width: 90%;
    border-radius: 32px;
    padding: 32px;
    z-index: 1001;
    display: none;
    box-shadow: 0 30px 50px rgba(0,0,0,0.3);
}

.request-form-popup .popup-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    transition: 0.2s;
}

.request-form-popup .popup-close:hover {
    color: var(--primary);
}

.popup-header {
    text-align: center;
    margin-bottom: 24px;
}

.popup-header i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.popup-header h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
    color: var(--secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 16px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

.checkbox-group {
    display: flex;
    gap: 12px;
    margin: 24px 0;
    align-items: center;
}

.submit-btn {
    width: 100%;
    justify-content: center;
    background: var(--primary);
}

.submit-btn:hover {
    background: var(--primary-dark);
}

/* ===== ПОДВАЛ ===== */
.footer {
    background: #111111;
    color: #e0e0e0;
    padding: 56px 0 28px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: space-between;
    margin-bottom: 48px;
}

.footer-col {
    flex: 1;
    min-width: 180px;
}

.footer-logo img {
    max-height: 70px;
}

.footer h4 {
    color: white;
    font-weight: 800;
    margin-bottom: 20px;
    font-size: 1rem;
    letter-spacing: 1px;
}

.footer-links li, .footer-contacts li {
    margin-bottom: 12px;
}

.footer-links a:hover, .footer-contacts a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #2a2a2a;
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-social a {
    background: #2a2a2a;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 10px;
    transition: 0.2s;
    color: white;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1100px) {
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-slide img {
        height: 320px;
    }
}

@media (max-width: 860px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 280px;
        height: 100%;
        background: white;
        box-shadow: 4px 0 20px rgba(0,0,0,0.1);
        transition: left 0.3s;
        z-index: 99;
        padding: 40px 28px;
    }
    
    .main-nav.open {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 24px;
    }
    
    .header-contacts {
        display: none;
    }
    
    .hero-container {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .product-card {
        min-width: 260px;
    }
    
    .product-card img {
        height: 220px;
    }
}

@media (max-width: 640px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-slide img {
        height: 240px;
    }
    
    .carousel-arrow {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .promo-slide-content {
        bottom: 15px;
        left: 15px;
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}