:root {
    --primary: #c8102e;
    --secondary: #1a1a2e;
    --accent: #e94560;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --white: #fff;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: var(--dark); background: var(--light); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; }

.site-header { background: var(--secondary); color: var(--white); padding: 15px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.header-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo { display: flex; align-items: center; color: var(--white); text-decoration: none; font-size: 1.8rem; font-weight: 800; letter-spacing: 1px; }
.logo img { width: 50px; height: 50px; border-radius: 50%; margin-right: 10px; object-fit: cover; }
.main-nav ul { display: flex; list-style: none; gap: 25px; }
.main-nav a { color: var(--white); text-decoration: none; font-weight: 500; transition: color 0.3s; padding: 5px 0; }
.main-nav a:hover, .main-nav .active { color: var(--accent); border-bottom: 2px solid var(--accent); }
.header-actions { }

.btn { display: inline-block; padding: 12px 25px; border: none; cursor: pointer; text-decoration: none; font-weight: 600; transition: all 0.3s; border-radius: 30px; font-size: 1rem; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }
.btn-secondary { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-secondary:hover { background: var(--primary); color: var(--white); }
.btn-small { padding: 8px 18px; font-size: 0.9rem; }

.hero { background-size: cover; background-position: center; color: var(--white); padding: 150px 0; text-align: center; position: relative; }
.hero::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); }
.hero-content { position: relative; z-index: 2; }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; text-shadow: 2px 2px 5px rgba(0,0,0,0.7); }
.hero p { font-size: 1.3rem; max-width: 800px; margin: 0 auto 30px; }

.section { padding: 80px 0; }
.section h2 { text-align: center; font-size: 2.5rem; margin-bottom: 40px; color: var(--secondary); }

.intro-section { background: var(--white); }

.advantages { background: var(--secondary); color: var(--white); }
.advantages h2 { color: var(--white); }
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 40px; }
.advantage-card { text-align: center; padding: 20px; border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; transition: transform 0.3s; }
.advantage-card:hover { transform: scale(1.05); }
.advantage-card img { width: 60px; height: 60px; border-radius: 50%; margin-bottom: 15px; }
.advantage-card h3 { margin-bottom: 10px; }
.stats { display: flex; justify-content: center; gap: 50px; margin-bottom: 30px; }
.stat-item { font-size: 1.2rem; }
.stat-item strong { font-size: 2rem; display: block; color: var(--accent); }

.services-description { background: var(--white); }
.services-description p { max-width: 900px; margin: 0 auto 20px; text-align: justify; }

.catalog { background: var(--light); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.product-card { background: var(--white); border-radius: 15px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); padding: 20px; text-align: center; transition: transform 0.3s; }
.product-card:hover { transform: translateY(-5px); }
.product-card img { width: 100%; height: 250px; object-fit: cover; border-radius: 10px; margin-bottom: 15px; }
.product-card h3 { margin-bottom: 10px; color: var(--secondary); }
.product-card p { margin-bottom: 10px; }
.price { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.product-card .btn { margin: 5px; }

.product-detail-flex { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.product-image { flex: 1 1 400px; }
.product-image img { width: 100%; border-radius: 15px; }
.product-info { flex: 1 1 400px; }
.product-info h1 { font-size: 2.5rem; margin-bottom: 20px; color: var(--secondary); }
.product-info p { margin-bottom: 20px; }
.product-info .btn { margin-right: 10px; }

.site-footer { background: var(--secondary); color: var(--white); padding: 50px 0 20px; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 30px; }
.footer-col h4 { margin-bottom: 15px; color: var(--accent); }
.footer-col ul { list-style: none; }
.footer-col a { color: var(--white); text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: var(--accent); }
.social-links { display: flex; gap: 15px; }
.social-links a { display: inline-block; }
.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; }

.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--dark); color: var(--white); padding: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; z-index: 1000; box-shadow: 0 -2px 10px rgba(0,0,0,0.5); }
.cookie-banner p { flex: 1 1 300px; }
.cookie-banner a { color: var(--accent); }
.cookie-close { background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

.contact-info { background: var(--white); padding: 20px; border-radius: 10px; margin-bottom: 20px; }
.contact-info p { margin-bottom: 10px; }

form label { display: block; margin-bottom: 5px; font-weight: 600; }
form input, form textarea { width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 5px; font-family: inherit; }
form textarea { min-height: 150px; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 30px; }
.team-card { background: var(--white); border-radius: 15px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); text-align: center; padding-bottom: 20px; }
.team-card img { width: 100%; height: 300px; object-fit: cover; }
.team-card h3 { margin: 15px 0 5px; }
.team-card p { padding: 0 15px; }

.success-box { text-align: center; background: var(--white); padding: 60px; border-radius: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.success-box h1 { color: var(--primary); margin-bottom: 20px; }

#cart-items { background: var(--white); padding: 20px; border-radius: 10px; margin-bottom: 20px; }
#cart-total { font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; }

@media (max-width: 768px) {
    .header-flex { flex-direction: column; gap: 10px; }
    .main-nav ul { gap: 15px; }
    .advantage-grid { grid-template-columns: 1fr 1fr; }
    .stats { flex-direction: column; gap: 20px; }
    .hero h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .product-detail-flex { flex-direction: column; }
}