:root {
    --primary: #1e293b;
    --accent: #d63031;
    --light: #f8fafc;
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-light: #475569;
    --border: #e2e8f0;
    --shadow: 0 10px 30px -5px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 100%; }
body { font-family: 'Barlow', sans-serif; color: var(--text-dark); background-color: var(--light); line-height: 1.6; font-size: 1rem; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; height: auto; }
.icon-svg { width: 24px; height: 24px; fill: currentColor; display: inline-block; vertical-align: middle; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; background: var(--accent); color: white; font-weight: 700; border-radius: 4px; border: 2px solid var(--accent); cursor: pointer; font-size: 0.95rem; }
.btn:hover { background: transparent; color: var(--accent); transform: translateY(-3px); }
.btn-white { background: white; color: var(--primary); border: 2px solid white; }
.btn-white:hover { background: transparent; color: white; border-color: white; }
h1, h2, h3, h4 { font-family: 'Rajdhani', sans-serif; font-weight: 700; color: var(--primary); text-transform: uppercase; line-height: 1.2; }
.subtitle-style { color: var(--accent); margin-bottom: 10px; font-weight: 700; font-family: 'Rajdhani', sans-serif; display: block; font-size: 1.15rem; }
.section-header { text-align: center; margin-bottom: 50px; max-width: 800px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 15px; position: relative; display: inline-block; }
.section-header h2::after { content: ''; display: block; width: 80px; height: 4px; background: var(--accent); margin: 10px auto 0; border-radius: 2px; }
.section-header p { color: var(--text-light); font-size: 1.1rem; }
header, #main-header { background: var(--white) !important; height: 80px; position: fixed; top: 0; width: 100%; z-index: 10000; box-shadow: 0 2px 20px rgba(0,0,0,0.05); transition: var(--transition); display: block; }
header.scrolled { height: 70px; background: rgba(255,255,255,0.98) !important; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.navbar { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo { font-family: 'Rajdhani'; font-size: 1.8rem; font-weight: 800; color: var(--primary); letter-spacing: -1px; }
.logo span { color: var(--accent); }
.nav-menu { display: flex; gap: 20px; align-items: center; }
.nav-menu > a { font-weight: 600; font-size: 0.95rem; text-transform: uppercase; padding: 25px 0; }
.nav-menu > a:hover { color: var(--accent); }
.header-contact-desktop { display: flex; align-items: center; gap: 10px; font-weight: 700; background: rgba(214,48,49,0.08); padding: 10px 20px; border-radius: 50px; font-size: 0.95rem; }
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }
.mobile-nav-call { display: none; width: 100%; text-align: center; background: var(--accent); color: white !important; padding: 15px; border-radius: 6px; margin-top: 20px; justify-content: center; gap: 8px; }
.dropdown { position: relative; display: flex; align-items: center; height: 100%; }
.dropbtn { font-weight: 600; cursor: pointer; padding: 25px 0; text-transform: uppercase; font-size: 0.95rem; display: flex; align-items: center; gap: 5px; }
.dropdown-content { display: none; position: absolute; background: white; min-width: 240px; box-shadow: var(--shadow); border-top: 3px solid var(--accent); top: 100%; left: 0; z-index: 10001; }
.mega-menu-content { min-width: 550px; left: -150px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #f1f5f9; }
.mega-col { padding: 20px; }
.mega-col:first-child { background: #fcfcfc; border-right: 1px solid #eee; }
.mega-title { font-size: 0.85rem; font-weight: 800; color: var(--accent); margin-bottom: 12px; display: block; text-transform: uppercase; }
.dropdown-content a { padding: 10px 15px; display: block; font-size: 0.92rem; border-bottom: 1px solid #f8fafc; transition: 0.2s; }
.dropdown-content a:hover { background: #f1f5f9; color: var(--accent); padding-left: 20px; }
.hero { position: relative; display: flex; align-items: center; padding: 130px 0 100px; overflow: hidden; min-height: 600px; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.4) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 750px; background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); padding: 40px; border-left: 5px solid var(--accent); border-radius: 0 15px 15px 0; }
.hero h1 { font-size: clamp(2rem, 3.5vw, 3.2rem); color: white; margin-bottom: 20px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero p { color: #f1f5f9; margin-bottom: 30px; font-size: 1.15rem; }
.prestige-strip { background: white; margin-top: -60px; position: relative; z-index: 10; box-shadow: 0 20px 50px rgba(0,0,0,0.1); padding: 35px 0; border-radius: 8px; border-bottom: 4px solid var(--accent); }
.prestige-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center; }
.truck-display { display: flex; justify-content: center; align-items: flex-end; gap: 20px; height: 100%; }
.truck-display img { height: 130px !important; width: auto !important; max-width: none; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15)); transition: transform 0.3s ease; }
.truck-display img:hover { transform: scale(1.05) translateY(-5px); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img img { border-radius: 12px; box-shadow: 20px 20px 0 var(--light); }
.stat-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; background: var(--white); padding: 25px; border-radius: 12px; margin-top: 30px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.stat-item { text-align: center; position: relative; display: flex; flex-direction: column; align-items: center; }
.stat-item:not(:last-child)::after { content: ''; position: absolute; right: -7px; top: 20%; height: 60%; width: 1px; background: #eee; }
.stat-number { font-size: 1.8rem; font-weight: 700; color: var(--primary); font-family: 'Rajdhani'; line-height: 1; }
.stat-icon { color: var(--accent); margin-bottom: 10px; width: 32px; height: 32px; }
.tech-card { display: grid; grid-template-columns: 1fr 1.2fr; background: white; border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.tech-visual { background: url('../img/retarder-ariza-ekrani.webp') center/cover; min-height: 350px; position: relative; }
.tech-visual::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(30,41,59,0.4); }
.tech-visual-badge { position: absolute; top: 20px; left: 20px; background: var(--accent); color: white; padding: 5px 15px; font-weight: 700; border-radius: 4px; font-size: 0.8rem; }
.tech-details { padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.tech-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; border-bottom: 2px solid #f1f5f9; padding-bottom: 20px; }
.tech-header svg { width: 40px; height: 40px; color: var(--accent); }
.error-code-box { background: #fff1f2; border-left: 5px solid var(--accent); padding: 15px; margin: 20px 0; color: #9f1239; font-family: monospace; font-weight: 700; font-size: 1.1rem; display: block; }
.services-grid, .brands-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card, .brand-card { background: white; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; transition: 0.3s; }
.service-card:hover, .brand-card:hover { transform: translateY(-8px); border-color: var(--accent); box-shadow: var(--shadow); }
.service-img, .brand-img-box { height: 220px; overflow: hidden; position: relative; background: #f8fafc; display: flex; align-items: center; justify-content: center; }
.service-img img, .brand-img-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.service-card:hover img, .brand-card:hover img { transform: scale(1.1); }
.service-content, .brand-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.service-link, .brand-link { margin-top: auto; color: var(--accent); font-weight: 800; text-transform: uppercase; font-size: 0.9rem; display: flex; align-items: center; gap: 5px; }
.brand-link { background: var(--light); padding: 12px; text-align: center; justify-content: center; border-radius: 4px; }
.brand-link:hover { background: var(--accent); color: white; }
.brand-logo-overlay { position: absolute; top: 15px; left: 15px; background: white; padding: 6px 12px; border-radius: 4px; font-weight: 800; font-family: 'Rajdhani'; color: var(--primary); font-size: 0.9rem; z-index: 2; box-shadow: 0 3px 10px rgba(0,0,0,0.1); }
.seo-mega-section { background: #f8fafc; padding: 80px 0; border-top: 1px solid var(--border); }
.seo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.seo-col { background: white; padding: 30px; border-radius: 10px; border: 1px solid var(--border); transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.seo-col:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: var(--accent); }
.seo-col h3 { font-size: 1.25rem; margin-bottom: 20px; color: var(--primary); border-bottom: 2px solid #f1f5f9; padding-bottom: 12px; width: 100%; }
.seo-col p { font-size: 0.95rem; color: #475569; text-align: justify; margin-bottom: 15px; line-height: 1.7; }
.seo-col ul li { margin-bottom: 8px; font-size: 0.95rem; display: flex; align-items: flex-start; gap: 10px; color: #475569; }
.seo-col ul li svg { color: var(--accent); margin-top: 5px; width: 14px; height: 14px; margin-right: 5px; }
.keyword-highlight { font-weight: 700; color: var(--primary); }
.faq-grid { display: grid; grid-template-columns: 1fr; max-width: 800px; margin: 0 auto; gap: 12px; }
details { background: white; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; transition: 0.3s; }
details:hover { border-color: #cbd5e1; }
details[open] { border-color: var(--accent); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
summary { padding: 18px; font-weight: 700; cursor: pointer; list-style: none; position: relative; color: var(--primary); font-size: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 20px; font-size: 1.5rem; color: var(--accent); font-weight: 400; top: 50%; transform: translateY(-50%); }
details[open] summary::after { content: '-'; }
details p { padding: 0 18px 18px; color: var(--text-dark); font-size: 1rem; line-height: 1.6; }
.contact-map-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; background: white; padding: 30px; border-radius: 12px; box-shadow: var(--shadow); }
.contact-item { display: flex; gap: 20px; margin-bottom: 25px; }
.contact-item-icon { width: 50px; height: 50px; background: #fff1f2; color: var(--accent); display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.contact-item-icon svg { width: 20px; height: 20px; }
.contact-item h3 { color: var(--primary); font-size: 1.2rem; margin-bottom: 5px; margin-top: 0; }
.map-frame { height: 100%; min-height: 400px; border-radius: 8px; overflow: hidden; background: #eee; }
footer, #footer-placeholder { background: #0f172a; color: #94a3b8; padding: 70px 0 0; font-size: 0.95rem; position: relative; display: block; }
footer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--accent) 0%, #3b82f6 100%); }
.footer-grid { padding: 20px; display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 40px; margin-bottom: 50px; }
.footer-brand h2 { color: white; margin-bottom: 15px; font-size: 1.8rem; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; border-radius: 4px; color: white; transition: 0.3s; }
.social-links a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-title { color: white; font-size: 1rem; margin-bottom: 20px; position: relative; padding-bottom: 10px; font-weight: 700; }
.footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--accent); }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: white; padding-left: 5px; }
.copyright { background: #020617; padding: 20px 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); }
.floating-actions { position: fixed; bottom: 30px; right: 30px; z-index: 9999; display: flex; flex-direction: column; gap: 15px; }
.float-btn { width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; box-shadow: 0 5px 15px rgba(0,0,0,0.3); position: relative; }
.float-btn::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; z-index: -1; animation: pulse 2s infinite; }
.btn-wp { background: #25d366; } .btn-wp::before { background: #25d366; }
.btn-call { background: var(--accent); } .btn-call::before { background: var(--accent); }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }

@media (min-width: 992px) {
    .dropdown:hover .dropdown-content { display: block; }
}

@media (max-width: 991px) {
    .menu-toggle { display: block; order: 3; margin-left: 15px; }
    .header-contact-desktop { display: none; }
    .nav-menu { position: fixed; top: 80px; right: -100%; width: 100%; height: calc(100vh - 80px); background: white; flex-direction: column; align-items: flex-start; padding: 30px 20px; transition: 0.3s; border-top: 1px solid #eee; overflow-y: auto; }
    .nav-menu.active { right: 0; }
    .nav-menu > a, .dropbtn { width: 100%; border-bottom: 1px solid #f5f5f5; padding: 15px 0; font-size: 1.1rem; display: block; }
    .dropdown { width: 100%; display: block; height: auto; }
    .dropdown-content, .mega-menu-content { position: static; box-shadow: none; border-top: none; padding-left: 20px; display: none; width: 100%; }
    
    .dropdown.active .dropdown-content { display: block; }
    
    .mega-grid { display: block; border: none; }
    .mega-col { padding: 0; background: transparent !important; }
    .mobile-nav-call { display: flex; }
    .hero-bg { object-position: left center; }
    .prestige-grid, .about-grid, .stat-box, .footer-grid, .seo-grid, .tech-card, .contact-map-grid { grid-template-columns: 1fr; }
    .prestige-strip { padding: 25px 20px; margin-top: 0; border-radius: 0; }
    .truck-display { margin-top: 30px; justify-content: center; }
    .truck-display img { height: 90px !important; }
    .tech-visual { min-height: 250px; }
    .tech-details { padding: 30px; }

    .mega-title { color: var(--primary); font-weight: 800; padding: 15px 20px 5px 20px; display: block; border-bottom: none; }
    .mega-col a, .dropdown-inner a:not(.mobile-all-link) { padding-left: 40px !important; font-size: 0.95rem; color: var(--text-light); }
    .mobile-all-link { display: block !important; padding: 15px 0px !important; font-weight: 800; color: var(--primary) !important; border-bottom: 1px solid #f1f5f9; }
}