:root {
    --primary: #BD1F32;
    --primary-dark: #8B1625;
    --secondary: #1A1A2E;
    --text: #1A1A2E;
    --text-light: #5A5A6E;
    --bg-light: #F8F9FC;
    --white: #FFFFFF;
    --shadow: 0 10px 40px rgba(0,0,0,0.1);
    --radius: 16px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.6; }

/* HEADER */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-container {
    max-width: 1400px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between; height: 80px;
}
.logo img { height: 45px; }
.nav-menu { display: flex; gap: 30px; list-style: none; }
.nav-menu a { text-decoration: none; color: var(--text-light); font-weight: 500; font-size: 15px; transition: var(--transition); }
.nav-menu a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 15px; }
.header-phone { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 600; }
.header-phone i { width: 36px; height: 36px; background: var(--bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius); font-weight: 600; font-size: 14px; text-decoration: none; transition: var(--transition); cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-secondary { background: white; color: var(--text); border: 2px solid var(--bg-light); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.mobile-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* HERO SLIDER */
.hero { min-height: 100vh; position: relative; overflow: hidden; padding-top: 80px; }
.slider { position: relative; height: calc(100vh - 80px); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%); }
.slide-content { position: absolute; top: 50%; left: 10%; transform: translateY(-50%); max-width: 600px; color: white; }
.slide-content h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.slide-content p { font-size: 18px; margin-bottom: 30px; opacity: 0.9; }
.slider-nav { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.slider-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: var(--transition); border: none; }
.slider-dot.active { background: var(--primary); width: 30px; border-radius: 6px; }
.slider-arrows { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; padding: 0 20px; z-index: 10; }
.slider-arrow { width: 50px; height: 50px; background: rgba(255,255,255,0.9); border: none; border-radius: 50%; cursor: pointer; font-size: 18px; transition: var(--transition); }
.slider-arrow:hover { background: var(--primary); color: white; }

/* SECTIONS */
.section { padding: 100px 20px; }
.container { max-width: 1400px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-label { display: inline-block; padding: 8px 20px; background: rgba(189,31,50,0.1); border-radius: 50px; font-size: 13px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.section-title { font-size: clamp(28px, 4vw, 44px); font-weight: 700; margin-bottom: 15px; }
.section-subtitle { font-size: 17px; color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* ABOUT */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-content h2 { font-size: 36px; margin-bottom: 20px; }
.about-content p { color: var(--text-light); margin-bottom: 20px; }
.about-stats { display: flex; gap: 40px; margin-top: 30px; }
.stat { text-align: center; }
.stat h3 { font-size: 40px; color: var(--primary); font-weight: 800; }
.stat p { font-size: 14px; color: var(--text-light); }

/* PRODUCTS */
.products { background: var(--bg-light); }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { background: white; border-radius: var(--radius); padding: 30px; text-align: center; transition: var(--transition); border: 1px solid rgba(0,0,0,0.05); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.product-card img { width: 80px; height: 80px; margin-bottom: 20px; }
.product-card h3 { font-size: 17px; margin-bottom: 10px; }
.product-card p { font-size: 14px; color: var(--text-light); margin-bottom: 15px; }
.product-card a { color: var(--primary); font-weight: 600; font-size: 14px; text-decoration: none; }

/* FEATURES */
.features { background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { background: var(--bg-light); padding: 40px; border-radius: var(--radius); transition: var(--transition); }
.feature-card:hover { background: var(--secondary); color: white; }
.feature-card:hover p { color: rgba(255,255,255,0.7); }
.feature-icon { width: 60px; height: 60px; background: white; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 24px; color: var(--primary); }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; }
.feature-card p { color: var(--text-light); }

/* TESTIMONIALS */
.testimonials { background: linear-gradient(135deg, var(--secondary) 0%, #16213E 100%); color: white; }
.testimonials .section-title, .testimonials .section-subtitle { color: white; }
.testimonials .section-subtitle { opacity: 0.7; }
.testimonial-slider { display: flex; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 0; }
.testimonial-card { flex: 0 0 calc(33.333% - 20px); min-width: 300px; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); padding: 30px; border-radius: var(--radius); scroll-snap-align: start; }
.testimonial-card p { font-size: 15px; line-height: 1.8; margin-bottom: 20px; opacity: 0.9; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial-author h4 { font-size: 16px; }
.testimonial-author span { font-size: 13px; opacity: 0.7; }
.stars { color: #FFD700; margin-bottom: 15px; }

/* PARTNERS */
.partners { background: var(--white); }
.partners-grid { display: flex; justify-content: center; align-items: center; gap: 60px; flex-wrap: wrap; opacity: 0.6; }
.partners-grid img { height: 50px; filter: grayscale(100%); transition: var(--transition); }
.partners-grid img:hover { filter: grayscale(0%); opacity: 1; }

/* CTA */
.cta { background: var(--primary); color: white; text-align: center; }
.cta h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 15px; }
.cta p { font-size: 18px; opacity: 0.9; margin-bottom: 30px; }
.cta .btn { background: white; color: var(--primary); }
.cta .btn:hover { background: var(--bg-light); }

/* FOOTER */
.footer { background: var(--secondary); color: white; padding: 80px 20px 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 14px; margin-top: 15px; }
.footer h4 { font-size: 16px; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: white; }
.footer-contact p { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 12px; }
.footer-contact i { color: var(--primary); margin-top: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 14px; }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; transition: var(--transition); }
.social-links a:hover { background: var(--primary); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-menu { display: none; position: absolute; top: 80px; left: 0; right: 0; background: white; flex-direction: column; padding: 20px; box-shadow: var(--shadow); }
    .nav-menu.active { display: flex; }
    .mobile-toggle { display: block; }
    .header-phone span { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .testimonial-card { flex: 0 0 calc(100% - 20px); }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 15px; }
    .slide-content { left: 5%; right: 5%; }
    .about-stats { justify-content: center; }
}
@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .about-stats { flex-direction: column; gap: 20px; }
    .section { padding: 60px 15px; }
}
