/* --- FLEET GRID --- */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.fleet-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.fleet-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 174, 239, 0.15);
    border-color: rgba(0, 174, 239, 0.2);
}

/* Треугольный акцент при наведении */
.fleet-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.1), transparent);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    opacity: 0;
    transition: 0.4s;
    pointer-events: none;
}

.fleet-card:hover::before {
    opacity: 1;
}

.fleet-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.fleet-image::after {
    content: '';
    position: absolute;
    inset: 0;
}

.fleet-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-dark);
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 174, 239, 0.1);
}

.fleet-info {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.fleet-info h3 {
    font-family: var(--font-head);
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text);
    font-weight: 700;
}

.fleet-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 174, 239, 0.1);
}

.spec {
    text-align: center;
}

.spec i {
    display: block;
    font-size: 20px;
    color: var(--accent);
    margin-bottom: 6px;
}

.spec span {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.spec small {
    font-size: 11px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fleet-desc {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.btn-fleet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    padding: 14px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
    text-align: center;
}

.btn-fleet:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 174, 239, 0.4);
}

/* --- NAVBAR ACTIVE STATE --- */
.nav-center a.active {
    color: var(--accent-dark);
    position: relative;
}

.nav-center a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
}

/* --- MOBILE ADAPTATIONS --- */
@media (max-width: 1024px) {
    .fleet-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 24px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .fleet-image {
        height: 200px;
    }
    
    .fleet-specs {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .spec {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }
    
    .spec i {
        margin-bottom: 0;
        width: 24px;
    }
    
    .spec small {
        display: none;
    }
}

@media (max-width: 768px) {
    .fleet-grid {
        grid-template-columns: 1fr;
    }
    
    .fleet-filters {
        justify-content: center;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .page-header {
        padding-top: 120px;
        padding-bottom: 40px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .user-name span {
        display: none;
    }
    
    .user-name {
        padding: 8px;
    }
}
