:root {
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-light: #eff6ff;
    --border: #e2e8f0;
    --border-dark: #1e293b;
    
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.section { padding: 120px 0; }
.bg-white { background-color: var(--bg-white); }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: #fff; }
.text-center { text-align: center; }
.text-accent { color: var(--accent) !important; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-700 { max-width: 700px; }
.w-100 { width: 100%; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h2 { font-size: 2.75rem; margin-bottom: 24px; }

.eyebrow {
    display: inline-block; color: var(--accent); text-transform: uppercase;
    font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 16px;
}

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px; font-weight: 600; font-size: 1rem; border-radius: var(--radius-sm);
    text-decoration: none; transition: var(--transition); border: 2px solid transparent; cursor: pointer;
}
.btn-large { padding: 18px 36px; font-size: 1.1rem; }
.btn-primary { background-color: var(--accent); color: #fff; }
.btn-primary:hover { background-color: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2); }
.btn-outline { border-color: var(--text-main); color: var(--text-main); background: transparent; }
.btn-outline:hover { background-color: var(--text-main); color: #fff; transform: translateY(-3px); }

/* --- HEADER --- */
header {
    position: fixed; top: 0; left: 0; width: 100%;
    background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px);
    z-index: 1000; padding: 14px 0; transition: var(--transition); border-bottom: 1px solid var(--border);
}

header.scrolled { padding: 10px 0; box-shadow: var(--shadow-sm); }

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo h2 { color: #11457d; font-weight: 800; font-size: 1.6rem; margin: 0; letter-spacing: 0.5px; }
.desktop-nav ul { display: flex; gap: 36px; list-style: none; }
.desktop-nav a { color: var(--text-main); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: var(--transition); }
.desktop-nav a:hover { color: var(--accent); }

.header-right { display: flex; align-items: center; gap: 32px; }

.lang-selector { position: relative; color: var(--text-main); font-weight: 700; font-size: 0.95rem; cursor: pointer; padding: 4px 0; margin: 0; }
.lang-dropdown {
    position: absolute; top: 100%; right: 0; background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-sm); list-style: none; width: 80px; box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition);
}
.lang-selector:hover .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown li { padding: 12px; text-align: center; color: var(--text-main); transition: background 0.2s; }
.lang-dropdown li:hover { background: var(--bg-light); color: var(--accent); }

.header-socials .phone-link {
    display: flex; align-items: center; gap: 10px; color: var(--text-main); text-decoration: none;
    font-weight: 700; font-size: 1.1rem; transition: var(--transition);
}
.header-socials .phone-link i { color: var(--accent); background: var(--accent-light); padding: 10px; border-radius: 50%; }
.header-socials .phone-link:hover { color: var(--accent); }

.mobile-menu-btn { display: none; font-size: 1.6rem; color: var(--text-main); cursor: pointer; margin: 0; }

/* --- MOBILE MENU --- */
.mobile-menu-overlay {
    position: fixed; top: 0; right: -100%; width: 280px; max-width: 100%; height: 100vh;
    background: var(--bg-white); box-shadow: -10px 0 30px rgba(0,0,0,0.1); z-index: 2000;
    padding: 80px 30px 40px; display: flex; flex-direction: column; transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu-overlay.active { right: 0; }
.close-menu { position: absolute; top: 25px; right: 25px; font-size: 2rem; color: var(--text-main); cursor: pointer; transition: var(--transition); }
.close-menu:hover { color: var(--accent); transform: rotate(90deg); }
.mobile-nav-links { list-style: none; display: flex; flex-direction: column; gap: 25px; flex: 1; }
.mobile-nav-links a { font-size: 1.25rem; font-weight: 700; color: var(--text-main); text-decoration: none; transition: var(--transition); }
.mobile-nav-links a:hover, .mobile-nav-links a:active { color: var(--accent); }
.mobile-menu-footer { margin-top: auto; }

/* --- HERO --- */
.hero { position: relative; height: 100vh; min-height: 800px; display: flex; align-items: center; overflow: hidden; padding-top: 80px; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('fura2.png') center/cover; transform: scale(1.05); animation: slowZoom 25s ease-out infinite alternate; z-index: 0; }
@keyframes slowZoom { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(105deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.7) 45%, rgba(255,255,255,0.1) 100%); }
.hero-content { position: relative; z-index: 1; width: 100%; }
.hero-text-box { max-width: 750px; }
.badge { display: inline-block; padding: 8px 20px; background-color: var(--accent-light); color: var(--accent); font-weight: 700; font-size: 0.9rem; border-radius: 50px; margin-bottom: 24px; border: 1px solid rgba(37, 99, 235, 0.2); }
.hero h1 { font-size: 3.5rem; margin-bottom: 24px; color: var(--text-main); }
.hero p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 48px; max-width: 650px; line-height: 1.8; }
.hero-actions { display: flex; gap: 20px; align-items: center; }

/* --- TRUST SLIDER --- */
.trust-slider { padding: 50px 0; background: #fff; border-bottom: 1px solid var(--border); }
.slider-title { text-align: center; color: var(--text-muted); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 30px; }
.marquee { overflow: hidden; white-space: nowrap; position: relative; width: 100%; }
.marquee-track { display: flex; width: max-content; animation: scrollMarquee 35s linear infinite; }
.partner-logo { font-size: 1.4rem; font-weight: 800; color: #cbd5e1; margin: 0 40px; text-transform: uppercase; letter-spacing: 1px; }
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- ABOUT --- */
.about-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 24px; }
.stats-row { display: flex; gap: 40px; margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--border); }
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-size: 2.75rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat-desc { font-size: 0.95rem; font-weight: 600; color: var(--text-main); }
.about-images { position: relative; }
.img-main { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.experience-badge { position: absolute; bottom: -30px; left: -30px; background: #fff; padding: 30px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); text-align: center; border: 1px solid var(--border); }
.experience-badge h3 { font-size: 2.5rem; color: var(--accent); margin-bottom: 5px; }
.experience-badge p { font-weight: 600; color: var(--text-main); margin: 0; }

/* --- PROFESSIONALISM --- */
.prof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; align-items: stretch; }
.prof-card { display: flex; flex-direction: column; background: #fff; padding: 40px; border-radius: var(--radius-md); text-align: center; border: 1px solid var(--border); transition: var(--transition); height: 100%; }
.prof-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.prof-card i { font-size: 2.5rem; color: var(--accent); margin-bottom: 20px; }
.prof-card h4 { font-size: 1.25rem; margin-bottom: 12px; }
.prof-card p { color: var(--text-muted); font-size: 1.05rem; flex-grow: 1; margin: 0; }

/* --- SPECIALIZATION --- */
.section-header { margin-bottom: 64px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; align-items: stretch; }
.service-card { display: flex; flex-direction: column; background: #fff; padding: 48px 32px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition); height: 100%; }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--accent-light); }
.icon-circle { width: 72px; height: 72px; background: var(--accent-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--accent); margin-bottom: 24px; transition: var(--transition); }
.service-card:hover .icon-circle { background: var(--accent); color: #fff; }

/* ВИПРАВЛЕНО: Фіксована висота для заголовка. Тепер весь текст під ним починається на одній лінії */
.service-card h3 { font-size: 1.4rem; margin-bottom: 16px; min-height: 3.6rem; }

.service-card p { color: var(--text-muted); font-size: 1.05rem; flex-grow: 1; margin: 0; }
.card-adr { background: #fffafb; border-color: #fee2e2; }
.card-adr .icon-circle { background: #fee2e2; color: #e11d48; }
.card-adr:hover .icon-circle { background: #e11d48; color: #fff; }

/* --- PROCESS --- */
.process-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.process-timeline::before { content: ''; position: absolute; top: 35px; left: 0; width: 100%; height: 2px; background: var(--border); z-index: 1; }
.process-step { position: relative; z-index: 2; padding-top: 70px; }
.step-num { position: absolute; top: 0; left: 0; width: 70px; height: 70px; background: #fff; border: 2px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 700; color: var(--accent); transition: var(--transition); }
.process-step:hover .step-num { background: var(--accent); color: #fff; border-color: var(--accent); }
.process-step h4 { font-size: 1.3rem; margin-bottom: 12px; }
.process-step p { color: var(--text-muted); font-size: 1.05rem; }

/* --- SECURITY --- */
.security-flex { display: flex; gap: 60px; align-items: center; }
.security-image { flex: 1; display: flex; justify-content: center; align-items: center; }
.sec-img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.security-text { flex: 1.2; }
.sec-list { display: flex; flex-direction: column; gap: 30px; margin-top: 30px; }
.sec-item { display: flex; gap: 20px; align-items: flex-start; }
.sec-item i { font-size: 1.6rem; color: var(--accent); background: var(--accent-light); width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.sec-item h4 { font-size: 1.25rem; margin-bottom: 8px; }
.sec-item p { color: var(--text-muted); font-size: 1.05rem; }

/* --- GUARANTEES --- */
.guarantees-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.check-list { list-style: none; margin-top: 32px; }
.check-list li { position: relative; padding-left: 50px; margin-bottom: 24px; font-size: 1.15rem; color: #cbd5e1; }
.check-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 2px; color: var(--accent); background: rgba(37, 99, 235, 0.1); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.guarantees-image img { width: 100%; border-radius: var(--radius-lg); opacity: 0.9; }

/* --- FLEET --- */
.fleet-showcase { position: relative; margin-top: 32px; }
.fleet-main-img { width: 100%; height: 500px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ВИПРАВЛЕНО: Розміщення плашки та вирівнювання іконок */
.fleet-features-float { 
    position: absolute; 
    bottom: -30px; 
    left: 50%; 
    transform: translateX(-50%); 
    display: flex; 
    gap: 30px; 
    background: #fff; 
    padding: 20px 40px; 
    border-radius: var(--radius-md); 
    box-shadow: var(--shadow-md); 
    border: 1px solid var(--border); 
    width: max-content; 
    max-width: 95%;
    justify-content: center; 
    flex-wrap: wrap; 
    z-index: 3; 
}
.feature-tag { 
    display: flex; 
    align-items: flex-start; /* Вирівнюємо іконку по верхньому краю тексту */
    gap: 12px; 
    font-weight: 700; 
    font-size: 1.05rem; 
    text-align: left; /* Текст завжди зліва */
}
.feature-tag i { 
    color: var(--accent); 
    margin-top: 4px; /* Візуально центруємо іконку з першим рядком */
}

/* --- PRICING --- */
.pricing-flex { display: flex; align-items: center; gap: 80px; }
.pricing-info { flex: 1; }
.pricing-info p { color: var(--text-muted); font-size: 1.15rem; }
.pricing-tags { flex: 1.5; display: flex; flex-wrap: wrap; gap: 16px; }
.pricing-tags span { padding: 14px 28px; background: #fff; border: 1px solid var(--border); border-radius: 50px; font-weight: 600; font-size: 1.05rem; transition: var(--transition); color: var(--text-main); }
.pricing-tags span:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* --- CTA SECTION --- */
.cta-section { padding: 80px 40px; background: #0b1120; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-lg); }
.cta-title { font-size: 3rem; color: #fff; margin-bottom: 20px; line-height: 1.15; }
.cta-title span { color: #00d4ff; }
.cta-desc { font-size: 1.15rem; color: #94a3b8; max-width: 600px; margin: 0 auto 40px; }
.cta-buttons { display: flex; gap: 20px; justify-content: center; align-items: center; flex-wrap: wrap; }
.btn-cyan { background: #00d4ff; color: #0b1120; border: none; }
.btn-cyan:hover { background: #00b8e6; color: #0b1120; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3); }

/* --- FOOTER & MAP --- */
.footer { background: #0b1120; color: #fff; padding: 80px 0 32px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 64px; }
.footer-brand h2 { font-weight: 800; font-size: 2rem; margin-bottom: 16px; color: #fff; letter-spacing: 0.5px;}
.footer-brand p { color: #94a3b8; max-width: 350px; font-size: 1.05rem; }
.footer-links ul { list-style: none; margin-top: 20px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #94a3b8; text-decoration: none; transition: var(--transition); font-size: 1.05rem; }
.footer-links a:hover { color: var(--accent); }
.footer-socials strong, .footer-links strong, .footer-map strong { color: #fff; font-size: 1.2rem; display: block; margin-bottom: 20px; }
.social-icons { display: flex; gap: 16px; }
.social-icons a { width: 44px; height: 44px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; text-decoration: none; transition: var(--transition); }
.social-icons a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-map iframe { border-radius: var(--radius-sm); box-shadow: 0 5px 15px rgba(0,0,0,0.3); width: 100%; height: 160px; opacity: 0.85; transition: var(--transition); }
.footer-map iframe:hover { opacity: 1; transform: translateY(-3px); }
.footer-bottom { text-align: center; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); color: #64748b; font-size: 0.95rem; }

/* --- MESSENGERS --- */
.messenger-fab { position: fixed; bottom: 40px; right: 40px; z-index: 2000; display: flex; flex-direction: column; gap: 15px; }
.messenger-fab a { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.8rem; text-decoration: none; transition: var(--transition); box-shadow: var(--shadow-lg); }
.messenger-fab a:hover { transform: scale(1.1); }
.messenger-fab .tg { background: #229ED9; }
.messenger-fab .wa { background: #25D366; }
.messenger-fab .vb { background: #7360f2; }

/* --- ANIMATIONS --- */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* =========================================
   АДАПТИВНІСТЬ
========================================= */

@media (max-width: 1024px) {
    .section { padding: 80px 0; }
    .about-wrapper, .guarantees-wrapper { grid-template-columns: 1fr; gap: 50px; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 40px; }
    .process-timeline { grid-template-columns: 1fr 1fr; }
    .process-timeline::before { display: none; }
    .hero h1 { font-size: 3rem; }
    .experience-badge { display: none; }
    .desktop-nav, .header-socials .phone-link { display: none; }
    .mobile-menu-btn { display: block; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .header-right { gap: 16px; }
    .lang-selector { font-size: 0.9rem; }
    .hero { min-height: 100vh; padding-top: 80px; }
    
    .hero-text-box { text-align: center; display: flex; flex-direction: column; align-items: center; margin: 0 auto; }
    .hero h1 { font-size: 2.2rem; margin-bottom: 16px; text-align: center; }
    .hero p { font-size: 1.05rem; margin-bottom: 30px; text-align: center; }
    .badge { margin: 0 auto 20px; }
    .hero-actions { flex-direction: column; width: 100%; align-items: center; gap: 15px; }
    .btn { width: 100%; max-width: 350px; text-align: center; }

    .cta-section { padding: 50px 20px; }
    .cta-title { font-size: 2rem; }

    .about-text { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .about-text .eyebrow { margin: 0 auto 16px; }
    .stats-row { flex-direction: column; gap: 30px; align-items: center; text-align: center; width: 100%; }

    .security-flex { flex-direction: column; text-align: center; }
    .security-image { width: 100%; padding: 0; }
    .sec-item { flex-direction: column; align-items: center; text-align: center; }

    .service-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 20px; }
    .icon-circle { margin: 0 auto 20px; }

    .process-timeline { grid-template-columns: 1fr; gap: 40px; }
    .process-step { padding-top: 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
    .step-num { position: relative; top: 0; left: 0; margin: 0 auto 20px; }

    .guarantees-text { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .check-list { display: flex; flex-direction: column; gap: 15px; align-items: flex-start; padding: 0 10px; margin-top: 20px; }
    .check-list li { text-align: left; padding-left: 45px; padding-top: 0; }
    .check-list li::before { left: 0; transform: none; top: 2px; }

    /* ВИПРАВЛЕНО: Центрування плашки автопарку на телефоні */
    .fleet-features-float { 
        position: relative; 
        bottom: 0; 
        margin: 20px auto 0; /* Авто відступи центрують блок */
        width: fit-content;  /* Блок обгортає вміст */
        max-width: 90%;
        transform: none; 
        left: 0; 
        flex-direction: column; 
        align-items: flex-start; /* Вирівнюємо іконки рівно в одну лінію */
        padding: 25px; 
        gap: 15px; 
    }

    .pricing-flex { flex-direction: column; align-items: center; text-align: center; gap: 30px; }
    .pricing-info { display: flex; flex-direction: column; align-items: center; }
    .pricing-tags { justify-content: center; }

    .footer-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .footer-brand { display: flex; flex-direction: column; align-items: center; }
    .social-icons { justify-content: center; }
    .footer-map iframe { height: 250px; }

    .partner-logo { font-size: 1.2rem; margin: 0 30px; }
    .messenger-fab { bottom: 20px; right: 20px; }
    .messenger-fab a { width: 50px; height: 50px; font-size: 1.4rem; }
}

@media (max-width: 400px) {
    .container { padding: 0 15px; }
    .hero h1 { font-size: 1.9rem; line-height: 1.2; }
    .hero p { font-size: 1rem; }
    h2 { font-size: 2rem; }
    .stat-num { font-size: 2.2rem; }
}