:root {
    --primary: #ff6600;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #222;
    line-height: 1.6;
}

/* NAV */
.nav {
    position: fixed;
    width: 100%;
    top: 0;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    color: white;
    z-index: 1000;
}

.nav b {
    font-size: 22px;
    letter-spacing: 1px;
}

.lang-btn {
    cursor: pointer;
    font-weight: 600;
    margin-left: 12px;
    transition: 0.3s;
}

.lang-btn:hover {
    color: var(--primary);
}

/* HERO */
.hero {
    height: 100vh;
    background: url('truck.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 40px;
    color: white;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.75), rgba(0,0,0,0.35));
}

.hero-content {
    position: relative;
    max-width: 700px;
    z-index: 2;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 19px;
    opacity: 0.95;
    margin-bottom: 30px;
}

/* BUTTON */
.btn {
    display: inline-block;
    background: linear-gradient(45deg, #ff6600, #ff8533);
    color: white;
    padding: 16px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(255, 102, 0, 0.4);
}

/* SECTIONS */
.section {
    padding: 90px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.section h2 {
    font-size: 34px;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.section h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 70px;
    height: 4px;
    background: var(--primary);
}

ul {
    margin-top: 15px;
}

ul li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    font-size: 17px;
}

ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.dark {
    background: #111;
    color: white;
}

/* CONTACT */
#contact {
    text-align: center;
    background: #f8f9fa;
}

/* LANGUAGE */
[data-lang] {
    display: none;
}

/* MOBILE */
@media (max-width: 768px) {
    .nav {
        padding: 15px 20px;
    }

    .hero {
        height: 90vh;
        padding: 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 17px;
    }

    .section h2 {
        font-size: 28px;
    }
}

/* SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.service-item {
    background: rgba(255,255,255,0.08);
    padding: 18px 22px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 17px;
    transition: all 0.3s;
    border: 1px solid rgba(255,102,0,0.2);
}

.service-item:hover {
    background: rgba(255,102,0,0.15);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.check {
    color: #ff6600;
    font-size: 22px;
    font-weight: bold;
    min-width: 28px;
}

/* Для мобильных */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* FOOTER */
.footer {
    background: #111;
    color: #ddd;
    padding: 60px 20px 30px;
    margin-top: 50px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 70px;     /* ← Измени это значение */
    margin-top: 20px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 20px;
}

.footer-col h4 {
    color: #ff6600;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-col a {
    color: #ddd;
    text-decoration: none;
}

.footer-col a:hover {
    color: #ff6600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
    padding-left: 0;
}

.footer-col ul li::before {
    content: "";
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: #888;
}

/* Mobile */
@media (max-width: 768px) {
    .footer {
        padding: 40px 20px 25px;
    }
    
    .footer-grid {
        gap: 30px;
    }
}

.email-link {
    color: #ddd;
    text-decoration: none;
    border-bottom: 1px dashed #ff6600;
    transition: 0.3s;
}

.email-link:hover {
    color: #ff6600;
    border-bottom: 1px solid #ff6600;
}

/* Чтобы при клике не было резкого перехода */
.email-link:active {
    opacity: 0.7;
}



/* ===================== */
/*      FLEET SECTION    */
/* ===================== */

.fleet-section {
    background: #111;
    padding: 90px 20px;
    margin-bottom: 60px;
}

.fleet-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.fleet-inner h2 {
    font-size: 34px;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    color: white;
}

.fleet-inner h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 70px;
    height: 4px;
    background: var(--primary);
}

.fleet-inner .section-subtitle {
    color: #aaa;
    margin-bottom: 40px;
    margin-top: 20px;
    font-size: 16px;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.fleet-card {
    position: relative;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255,102,0,0.2);
    transition: border-color 0.4s;
}

.fleet-card:hover {
    border-color: var(--primary);
}

.fleet-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #1e1e1e;
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fleet-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.3) 50%,
        rgba(0,0,0,0.1) 100%
    );
}

.fleet-card:hover .fleet-img {
    width: 35%;
}

.fleet-info {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: rgba(15, 15, 15, 0.97);
    overflow: hidden;
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 36px;
    border-left: 0px solid var(--primary);
}

.fleet-card:hover .fleet-info {
    width: 67%;
    border-left-width: 3px;
}

.fleet-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    white-space: normal;
    margin-bottom: 6px;
    padding: 0 28px;
    opacity: 0;
    transform: none;
    transition: opacity 0.4s ease;
    transition-delay: 0.52s;
}

.fleet-info .fleet-tag {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    white-space: normal;
    margin-bottom: 18px;
    padding: 0 28px;
    opacity: 0;
    transform: none;
    transition: opacity 0.4s ease;
    transition-delay: 0.6s;
}

.fleet-card:hover .fleet-info h3,
.fleet-card:hover .fleet-info .fleet-tag {
    opacity: 1;
}

.fleet-list {
    list-style: none;
    margin: 0;
    padding: 0 28px;
}

.fleet-list li {
    font-size: 14px;
    color: #ccc;
    padding-left: 0;
    margin-bottom: 10px;
    white-space: normal;
    opacity: 0;
    transform: none;
    transition: opacity 0.4s ease;
    position: static;
}

.fleet-list li::before {
    content: "—";
    color: var(--primary);
    margin-right: 8px;
    font-weight: bold;
    position: static;
}

.fleet-card:hover .fleet-list li { opacity: 1; }
.fleet-card:hover .fleet-list li:nth-child(1) { transition-delay: 0.68s; }
.fleet-card:hover .fleet-list li:nth-child(2) { transition-delay: 0.74s; }
.fleet-card:hover .fleet-list li:nth-child(3) { transition-delay: 0.80s; }
.fleet-card:hover .fleet-list li:nth-child(4) { transition-delay: 0.86s; }

/* Mobile */
@media (max-width: 768px) {
    .fleet-section { padding: 60px 16px; }
    .fleet-grid { grid-template-columns: 1fr; gap: 16px; }
    .fleet-card { height: auto; display: flex; flex-direction: column; border-radius: 12px; }
    .fleet-img { position: relative; height: 180px; width: 100% !important; flex-shrink: 0; }
    .fleet-info {
        position: relative; width: 100% !important; height: auto;
        padding: 20px; border-left: none; border-top: 3px solid var(--primary);
        justify-content: flex-start;
    }
    .fleet-info h3, .fleet-info .fleet-tag, .fleet-list { padding: 0; }
    .fleet-info h3,
    .fleet-info .fleet-tag,
    .fleet-list li {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.fleet-section {
    margin-bottom: 60px;
}


/* SERVICES full-width */
.services-section {
    background: #111;
    color: white;
    padding: 90px 20px;
}

.services-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.services-inner h2 {
    font-size: 34px;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    color: white;
}

.services-inner h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 70px;
    height: 4px;
    background: var(--primary);
}

.services-inner .section-subtitle {
    color: #aaa;
    margin-bottom: 30px;
    margin-top: 20px;
    font-size: 16px;
}

/* EMAIL LINK - универсальный */
.email-link {
    color: inherit;           /* берёт цвет от родителя */
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.email-link:hover {
    color: #ff6600 !important;
    
    text-underline-offset: 4px;
}